Top | ![]() |
![]() |
![]() |
![]() |
char * | body | 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 will later on be used 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
);
gboolean
phosh_app_auth_prompt_get_grant_access
(GtkWidget *self
);
“body”
property “body” char *
The auth dialog body.
Owner: PhoshAppAuthPrompt
Flags: Read / Write / Construct Only
Default value: ""
“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