Class SimplePermission

All Implemented Interfaces:
PointerInterface

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

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

  • Constructor Details

    • 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.
      Parameters:
      allowed - %TRUE if the action is allowed
  • Method Details

    • 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()