SimplePermission


Description:

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

Parameters:

allowed

true if the action is allowed

Returns:

the SimplePermission, as a Permission




2022 vala-language.org