[ CCode ( has_construct_function = false , type = "GPermission*" ) ]
[ Version ( since = "2.26" ) ]
public SimplePermission (bool allowed)
Creates a new Permission instance that represents an action that is either always or never allowed.
allowed |
true if the action is allowed |
the SimplePermission, as a Permission |