SimplePermission
Superclasses: Permission
, Object
- Constructors:
SimplePermission(**properties)
new(allowed:bool) -> Gio.Permission
Constructors
- class SimplePermission
- classmethod new(allowed: bool) Permission
Creates a new
Permission
instance that represents an action that is either always or never allowed.Added in version 2.26.
- Parameters:
allowed –
True
if the action is allowed