Gtk.LockButton.prototype.get_permission

function get_permission():Gio.Permission {
    // Gjs wrapper for gtk_lock_button_get_permission()
}

Obtains the Gio.Permission object that controls button.

Since 3.2

Returns

the Gio.Permission of button