Undocumented in source.
GtkLockButton is a widget that can be used in control panels or preference dialogs to allow users to obtain and revoke authorizations needed to operate the controls. The required authorization is represented by a gio.Permission object. Concrete implementations of gio.Permission may use PolicyKit or some other authorization framework. To obtain a PolicyKit-based gio.Permission, use Permission.new.