| Top |
GObject ╰── GInitiallyUnowned ╰── GtkWidget ╰── GtkContainer ╰── GtkBin ╰── GtkWindow ╰── PhoshLayerSurface ╰── PhoshPolkitAuthPrompt
The PhoshPolkitAuthPrompt is used to ask policy kit authentication. This handles the interaction with PolkitAgentSession.
#define PHOSH_TYPE_POLKIT_AUTH_PROMPT (phosh_polkit_auth_prompt_get_type())
“action-id” property “action-id” char *
The prompt's action id.
Owner: PhoshPolkitAuthPrompt
Flags: Read / Write / Construct Only
Default value: ""
“cookie” property “cookie” char *
The prompt's cookie.
Owner: PhoshPolkitAuthPrompt
Flags: Read / Write / Construct Only
Default value: ""
“icon-name” property “icon-name” char *
The prompt's icon name.
Owner: PhoshPolkitAuthPrompt
Flags: Read / Write / Construct Only
Default value: ""
“message” property “message” char *
The prompt's message.
Owner: PhoshPolkitAuthPrompt
Flags: Read / Write / Construct Only
Default value: ""
“user-names” property“user-names” GStrv
The user name's to authenticate as.
Owner: PhoshPolkitAuthPrompt
Flags: Read / Write / Construct Only
“done” signalvoid user_function (PhoshPolkitAuthPrompt *self, gboolean arg1, gpointer user_data)
This signal is emitted when the prompt can be closed. The cancelled argument indicates whether the prompt was cancelled.
self |
The PhoshPolkitAuthPrompt instance. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last