Gnome::Gio::SimplePermission
Table of Contents
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§
UNKNOWN image§
=for image :class<inline> :src<asset_files/images/plantuml/SimplePermission.png> :width<70\%>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! )
Code
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 \)
Code
- $allowed; True if the action is allowed.
About my projects, examples and tutorials