Top | ![]() |
![]() |
![]() |
![]() |
gchar * | body | Read / Write / Construct Only |
gchar * | deny-label | Read / Write / Construct Only |
gchar * | grant-label | Read / Write / Construct Only |
GIcon * | icon | Read / Write / Construct Only |
gboolean | offer-remember | Read / Write / Construct Only |
gchar * | 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” gchar *
The auth dialog body.
Flags: Read / Write / Construct Only
Default value: ""
“deny-label”
property“deny-label” gchar *
The auth dialog's deny access button label.
Flags: Read / Write / Construct Only
Default value: ""
“grant-label”
property“grant-label” gchar *
The auth dialog's grant access button label.
Flags: Read / Write / Construct Only
Default value: ""
“offer-remember”
property“offer-remember” gboolean
Whether to offer to remember the auth decision result.
Flags: Read / Write / Construct Only
Default value: FALSE
“subtitle”
property“subtitle” gchar *
The auth dialog subtitle.
Flags: Read / Write / Construct Only
Default value: ""
“closed”
signalvoid user_function (PhoshAppAuthPrompt *phoshappauthprompt, gpointer user_data)
Flags: Run Last