SimplePermission
GSimplePermission
is 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 GSimplePermission
will result in errors.
Constructors
Properties
Functions
Attempts to acquire the permission represented by @permission.
Attempts to acquire the permission represented by @permission.
Collects the result of attempting to acquire the permission represented by @permission.
This function is called by the #GPermission implementation to update the properties of the permission. You should never call this function except from a #GPermission implementation.
Attempts to release the permission represented by @permission.
Attempts to release the permission represented by @permission.
Collects the result of attempting to release the permission represented by @permission.