gio.simple_permission

Module for [SimplePermission] class

Types 3

[gio.simple_permission.SimplePermission] is a trivial implementation of [gio.permission.Permission] that represents a permission that is either always or never allowed. The value is given at construction and doesn’t change.

Calling [gio.permission.Permission.acquire] or [gio.permission.Permission.release] on a [gio.simple_permission.SimplePermission] will result in errors.

Methods
GType _gType() @property
SimplePermission self()Returns `this`, for use in `with` statements.
SimplePermissionGidBuilder builder()Get builder for [gio.simple_permission.SimplePermission] Returns: New builder object
Constructors
this(void * ptr, Flag!"Take" take)
this(bool allowed)Creates a new #GPermission instance that represents an action that is either always or never allowed.

Fluent builder for [gio.simple_permission.SimplePermission]