
Gnome::Gio::SimplePermission
Description
Gnome::Gio::SimplePermission is a trivial implementation of Gnome::Gio::SimplePermission that represents a permission that is either always or never allowed. The value is given at construction and doesn’t change.
Calling .acquire()
in class Gnome::Gio::Permission
or .release()
in class Gnome::Gio::Permission
on a Gnome::Gio::SimplePermission will result in errors.
Uml Diagram

Class initialization
new
:native-object
Create an object using a native object from an object of the same type found elsewhere. See also Gnome::N::TopLevelSupportClass.
multi method new ( N-Object() :$native-object! )
new-simplepermission
Creates a new Gnome::Gio::Permission instance that represents an action that is either always or never allowed.
method new-simplepermission ( Bool() $allowed --> Gnome::Gio::SimplePermission \)
$allowed;
True
if the action is allowed.