![]() |
![]() |
![]() |
polkit-gtk-1 Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Properties | Signals |
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBox +----GtkHBox +----PolkitLockButton
PolkitLockButton implements GtkBuildable, AtkImplementorIface and GtkOrientable.
"action-id" gchar* : Read / Write / Construct Only "can-obtain" gboolean : Read "is-authorized" gboolean : Read "is-visible" gboolean : Read "text-lock" gchar* : Read / Write / Construct "text-lock-down" gchar* : Read / Write / Construct "text-not-authorized" gchar* : Read / Write / Construct "text-unlock" gchar* : Read / Write / Construct "tooltip-lock" gchar* : Read / Write / Construct "tooltip-lock-down" gchar* : Read / Write / Construct "tooltip-not-authorized" gchar* : Read / Write / Construct "tooltip-unlock" gchar* : Read / Write / Construct
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* : Read / Write / Construct Only
The action identifier to use for the button.
Default value: NULL
"can-obtain"
property"can-obtain" gboolean : Read
Whether authorization can be obtained.
Default value: FALSE
"is-authorized"
property"is-authorized" gboolean : Read
Whether the process is authorized.
Default value: FALSE
"is-visible"
property"is-visible" gboolean : Read
Whether the widget is visible.
Default value: TRUE
"text-lock"
property"text-lock" gchar* : Read / Write / Construct
The text to display when prompting the user to lock.
Default value: "Click to prevent changes"
"text-lock-down"
property"text-lock-down" gchar* : Read / Write / Construct
The text to display when prompting the user to lock down the action for all users.
Default value: "Click to lock down"
"text-not-authorized"
property"text-not-authorized" gchar* : Read / Write / Construct
The text to display when the user cannot obtain authorization through authentication.
Default value: "Not authorized to make changes"
"text-unlock"
property"text-unlock" gchar* : Read / Write / Construct
The text to display when prompting the user to unlock.
Default value: "Click to make changes"
"tooltip-lock"
property"tooltip-lock" gchar* : Read / Write / Construct
The tooltip to display when prompting the user to lock.
Default value: "To prevent further changes, click the lock."
"tooltip-lock-down"
property"tooltip-lock-down" gchar* : Read / Write / Construct
The tooltip to display when prompting the user to lock down the action for all users.
Default value: "To prevent users without administrative privileges from making changes, click the lock."
"tooltip-not-authorized"
property"tooltip-not-authorized" gchar* : Read / Write / Construct
The tooltip to display when the user cannot obtain authorization through authentication.
Default value: "System policy prevents changes. Contact your system administator."
"tooltip-unlock"
property"tooltip-unlock" gchar* : Read / Write / Construct
The tooltip to display when prompting the user to unlock.
Default value: "Authentication is needed to make changes."
"changed"
signalvoid user_function (PolkitLockButton *button, gpointer user_data) : Run Last
Emitted when something on button
changes.
|
A PolkitLockButton. |
|
user data set when the signal handler was connected. |