Gio.SimplePermission¶
- Subclasses:
- None 
Methods¶
- Inherited:
- Structs:
| class | 
 | 
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class Gio.SimplePermission(**kwargs)¶
- Bases:
- Abstract:
- No 
 - GSimplePermissionis a trivial implementation of [class`Gio`.Permission] that represents a permission that is either always or never allowed. The value is given at construction and doesn’t change.- Calling [method`Gio`.Permission.acquire] or [method`Gio`.Permission.release] on a - GSimplePermissionwill result in errors.- classmethod new(allowed)[source]¶
- Parameters:
- Returns:
- the - Gio.SimplePermission, as a- Gio.Permission
- Return type:
 - Creates a new - Gio.Permissioninstance that represents an action that is either always or never allowed.- New in version 2.26.