Table of Contents

Class Permission

Namespace
Gio
Assembly
Gio-2.0.dll
public class Permission : Object, IObject, INotifyPropertyChanged, IDisposable, IHandle, GTypeProvider
Inheritance
Permission
Implements
Derived
Inherited Members

Constructors

Permission(bool, params ConstructArgument[])

protected Permission(bool owned, params ConstructArgument[] constructArguments)

Parameters

owned bool
constructArguments ConstructArgument[]

Permission(IntPtr, bool)

protected Permission(IntPtr ptr, bool ownedRef)

Parameters

ptr IntPtr
ownedRef bool

Fields

AllowedPropertyDefinition

public static readonly Property<bool, Permission> AllowedPropertyDefinition

Field Value

Property<bool, Permission>

CanAcquirePropertyDefinition

public static readonly Property<bool, Permission> CanAcquirePropertyDefinition

Field Value

Property<bool, Permission>

CanReleasePropertyDefinition

public static readonly Property<bool, Permission> CanReleasePropertyDefinition

Field Value

Property<bool, Permission>

Properties

Allowed

public bool Allowed { get; }

Property Value

bool

CanAcquire

public bool CanAcquire { get; }

Property Value

bool

CanRelease

public bool CanRelease { get; }

Property Value

bool

Methods

Acquire(Cancellable?)

[Version("2.26")]
public bool Acquire(Cancellable? cancellable)

Parameters

cancellable Cancellable

Returns

bool

AcquireFinish(AsyncResult)

[Version("2.26")]
public bool AcquireFinish(AsyncResult result)

Parameters

result AsyncResult

Returns

bool

GetAllowed()

[Version("2.26")]
public bool GetAllowed()

Returns

bool

GetCanAcquire()

[Version("2.26")]
public bool GetCanAcquire()

Returns

bool

GetCanRelease()

[Version("2.26")]
public bool GetCanRelease()

Returns

bool

GetGType()

public static Type GetGType()

Returns

Type

ImplUpdate(bool, bool, bool)

[Version("2.26")]
public void ImplUpdate(bool allowed, bool canAcquire, bool canRelease)

Parameters

allowed bool
canAcquire bool
canRelease bool

Release(Cancellable?)

[Version("2.26")]
public bool Release(Cancellable? cancellable)

Parameters

cancellable Cancellable

Returns

bool

ReleaseFinish(AsyncResult)

[Version("2.26")]
public bool ReleaseFinish(AsyncResult result)

Parameters

result AsyncResult

Returns

bool