SimplePermission.this

Creates a new #GPermission instance that represents an action that is either always or never allowed.

  1. this(GSimplePermission* gSimplePermission, bool ownedRef)
  2. this(bool allowed)
    class SimplePermission
    this
    (
    bool allowed
    )

Parameters

allowed bool

%TRUE if the action is allowed

Return Value

the #GSimplePermission, as a #GPermission

Throws

ConstructionException GTK+ fails to create the object.

Meta

Since

2.26