Top | ![]() |
![]() |
![]() |
![]() |
char * | body | Read / Write / Construct Only |
GVariant * | choices | Read / Write / Construct Only |
char * | deny-label | Read / Write / Construct Only |
char * | grant-label | Read / Write / Construct Only |
GIcon * | icon | Read / Write / Construct Only |
gboolean | offer-remember | Read / Write / Construct Only |
char * | subtitle | Read / Write / Construct Only |
GObject ╰── GInitiallyUnowned ╰── GtkWidget ╰── GtkContainer ╰── GtkBin ╰── GtkWindow ╰── PhoshLayerSurface ╰── PhoshSystemModal ╰── PhoshSystemModalDialog ╰── PhoshAppAuthPrompt
The PhoshAppAuthPrompt is used to authorize applications. It's used by the PhoshLocationManager and for org.freedesktop.impl.Access.
GtkWidget * phosh_app_auth_prompt_new (GIcon *icon
,const char *title
,const char *subtitle
,const char *body
,const char *grant_label
,const char *deny_label
,gboolean offer_remember
,GVariant *choices
);
gboolean
phosh_app_auth_prompt_get_grant_access
(GtkWidget *self
);
GVariant *
phosh_app_auth_prompt_get_selected_choices
(GtkWidget *self
);
“body”
property “body” char *
The auth dialog body.
Owner: PhoshAppAuthPrompt
Flags: Read / Write / Construct Only
Default value: ""
“choices”
property“choices” GVariant *
The dialogs shown permissions and their possible values.
Owner: PhoshAppAuthPrompt
Flags: Read / Write / Construct Only
Allowed values: GVariant<a(ssa(ss)s)>
Default value: NULL
“deny-label”
property “deny-label” char *
The auth dialog's deny access button label.
Owner: PhoshAppAuthPrompt
Flags: Read / Write / Construct Only
Default value: ""
“grant-label”
property “grant-label” char *
The auth dialog's grant access button label.
Owner: PhoshAppAuthPrompt
Flags: Read / Write / Construct Only
Default value: ""
“icon”
property“icon” GIcon *
The auth dialog icon.
Owner: PhoshAppAuthPrompt
Flags: Read / Write / Construct Only
“offer-remember”
property“offer-remember” gboolean
Whether to offer to remember the auth decision result.
Owner: PhoshAppAuthPrompt
Flags: Read / Write / Construct Only
Default value: FALSE
“closed”
signalvoid user_function (PhoshAppAuthPrompt *phoshappauthprompt, gpointer user_data)
Flags: Run Last