Klasse SimplePermission

Alle implementierten Schnittstellen:
PointerInterface

public class SimplePermission extends 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.

https://docs.gtk.org/gio/class.SimplePermission.html

  • Konstruktordetails

    • SimplePermission

      public SimplePermission(PointerContainer pointer)
    • SimplePermission

      public SimplePermission(boolean allowed)
      Creates a new #GPermission instance that represents an action that is
      either always or never allowed.
      Parameter:
      allowed - %TRUE if the action is allowed
  • Methodendetails

    • getClassHandler

      public static ClassHandler getClassHandler()
    • getTypeID

      public static long getTypeID()
    • getParentTypeID

      public static long getParentTypeID()
    • getTypeSize

      public static TypeSystem.TypeSize getTypeSize()
    • getParentTypeSize

      public static TypeSystem.TypeSize getParentTypeSize()
    • getInstanceSize

      public static int getInstanceSize()