| Top |
| gchar * | action-id | Read / Write / Construct Only |
| gboolean | can-obtain | Read |
| gboolean | is-authorized | Read |
| gboolean | is-visible | Read |
| gchar * | text-lock | Read / Write / Construct |
| gchar * | text-lock-down | Read / Write / Construct |
| gchar * | text-not-authorized | Read / Write / Construct |
| gchar * | text-unlock | Read / Write / Construct |
| gchar * | tooltip-lock | Read / Write / Construct |
| gchar * | tooltip-lock-down | Read / Write / Construct |
| gchar * | tooltip-not-authorized | Read / Write / Construct |
| gchar * | tooltip-unlock | Read / Write / Construct |
GObject ╰── GInitiallyUnowned ╰── GtkObject ╰── GtkWidget ╰── GtkContainer ╰── GtkBox ╰── PolkitLockButton
PolkitLockButton implements AtkImplementorIface, GtkBuildable and GtkOrientable.
typedef struct _PolkitLockButton PolkitLockButton;
The PolkitLockButton structure contains only private data and should be accessed using the provided API.
“action-id” property“action-id” gchar *
The action identifier to use for the button.
Flags: Read / Write / Construct Only
Default value: NULL
“can-obtain” property“can-obtain” gboolean
Whether authorization can be obtained.
Flags: Read
Default value: FALSE
“is-authorized” property“is-authorized” gboolean
Whether the process is authorized.
Flags: Read
Default value: FALSE
“is-visible” property“is-visible” gboolean
Whether the widget is visible.
Flags: Read
Default value: TRUE
“text-lock” property“text-lock” gchar *
The text to display when prompting the user to lock.
Flags: Read / Write / Construct
Default value: "Click to prevent changes"
“text-lock-down” property“text-lock-down” gchar *
The text to display when prompting the user to lock down the action for all users.
Flags: Read / Write / Construct
Default value: "Click to lock down"
“text-not-authorized” property“text-not-authorized” gchar *
The text to display when the user cannot obtain authorization through authentication.
Flags: Read / Write / Construct
Default value: "Not authorized to make changes"
“text-unlock” property“text-unlock” gchar *
The text to display when prompting the user to unlock.
Flags: Read / Write / Construct
Default value: "Click to make changes"
“tooltip-lock” property“tooltip-lock” gchar *
The tooltip to display when prompting the user to lock.
Flags: Read / Write / Construct
Default value: "To prevent further changes, click the lock."
“tooltip-lock-down” property“tooltip-lock-down” gchar *
The tooltip to display when prompting the user to lock down the action for all users.
Flags: Read / Write / Construct
Default value: "To prevent users without administrative privileges from making changes, click the lock."
“tooltip-not-authorized” property“tooltip-not-authorized” gchar *
The tooltip to display when the user cannot obtain authorization through authentication.
Flags: Read / Write / Construct
Default value: "System policy prevents changes. Contact your system administator."
“tooltip-unlock” property“tooltip-unlock” gchar *
The tooltip to display when prompting the user to unlock.
Flags: Read / Write / Construct
Default value: "Authentication is needed to make changes."
“changed” signalvoid user_function (PolkitLockButton *button, gpointer user_data)
Emitted when something on button
changes.
Flags: Run Last