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” gchar *
The prompt's action id.
Flags: Read / Write / Construct Only
Default value: ""
“cookie”
property“cookie” gchar *
The prompt's cookie.
Flags: Read / Write / Construct Only
Default value: ""
“icon-name”
property“icon-name” gchar *
The prompt's icon name.
Flags: Read / Write / Construct Only
Default value: ""
“message”
property“message” gchar *
The prompt's message.
Flags: Read / Write / Construct Only
Default value: ""
“user-names”
property“user-names” GStrv
The user name's to authenticate as.
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