Constructor

GtkLockButtonnew

since: 3.2

Declaration [src]

GtkWidget*
gtk_lock_button_new (
  GPermission* permission
)

Description [src]

Creates a new lock button which reflects the permission.

Available since: 3.2

Parameters

permission

Type: GPermission

A GPermission.

The argument can be NULL.
The data is owned by the caller of the function.

Return value

Type: GtkWidget

A new GtkLockButton.

The data is owned by the called function.