SimplePermission


Object Hierarchy:

GLib.SimplePermission GLib.SimplePermission GLib.SimplePermission GLib.Permission GLib.Permission GLib.Permission->GLib.SimplePermission GLib.Object GLib.Object GLib.Object->GLib.Permission

Description:

[ CCode ( type_id = "g_simple_permission_get_type ()" ) ]
public sealed class SimplePermission : Permission

`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.


Namespace: GLib
Package: gio-2.0

Content:

Creation methods:

Inherited Members: