Constructor
GtkLockButtonnew
Declaration [src]
GtkWidget*
gtk_lock_button_new (
GPermission* permission
)
Description [src]
Creates a new lock button which reflects the permission
.
Deprecated since: | 4.10 |
This widget will be removed in GTK 5 |
Parameters
permission |
GPermission* |
A |
|
The argument can be NULL . | |
The data is owned by the caller of the function. |
Return value
Returns: | GtkWidget |
A new |
|
The data is owned by the called function. |