Gtk.LockButton.get_permission

### Method

# Gtk LockButtonget_permission

#### Declaration [src]

    GPermission*
    gtk_lock_button_get_permission (
      GtkLockButton* button
    )

#### Description [src]

Obtains the `GPermission` object that controls `button`.

Gets property | `Gtk.LockButton:permission`

#### Return value

Type: `GPermission`

The `GPermission` of `button`.

The data is owned by the instance.
The return value can be `NULL`.