SystemPrompter


Description:

[ CCode ( has_construct_function = false ) ]
public SystemPrompter (SystemPrompterMode mode, Type prompt_type)

Create a new system prompter service.

This prompter won't do anything unless you connect to its signals and show appropriate prompts.

If prompt_type is zero, then the new-prompt signal must be handled and return a valid prompt object implementing the Prompt interface.

If prompt_type is non-zero then the Type must implement the Prompt interface.

Parameters:

mode

the mode for the prompt

prompt_type

the gobject type for prompts created by this prompter

Returns:

a new prompter service




2022 vala-language.org