Class: Gio::SimplePermission
- Inherits:
-
Object
- Object
- Gio::SimplePermission
- Defined in:
- (unknown)
Overview
GSimple::Permission is a trivial implementation of #GPermission that represents a permission that is either always or never allowed. The value is given at construction and doesn’t change.
Calling request or release will result in errors.
Instance Method Summary collapse
-
#new(allowed) ⇒ Gio::Permission
Creates a new #GPermission instance that represents an action that is either always or never allowed.
Instance Method Details
#new(allowed) ⇒ Gio::Permission
Creates a new #GPermission instance that represents an action that is either always or never allowed.