GLib.Permission – gio-2.0 Reference Manual
Packages
gio-2.0
GLib
Permission
allowed
can_acquire
can_release
Permission
acquire
acquire_async
get_allowed
get_can_acquire
get_can_release
impl_update
release
release_async
Permission
Object Hierarchy:
Description:
public
abstract
class
Permission
:
Object
All known sub-classes:
SimplePermission
Namespace:
GLib
Package:
gio-2.0
Content:
Properties:
public
bool
allowed
{
get
; }
public
bool
can_acquire
{
get
; }
public
bool
can_release
{
get
; }
Creation methods:
protected
Permission
()
Methods:
public
virtual
bool
acquire
(
Cancellable
? cancellable =
null
)
throws
Error
public
virtual
async
bool
acquire_async
(
Cancellable
? cancellable =
null
)
throws
Error
public
bool
get_allowed
()
public
bool
get_can_acquire
()
public
bool
get_can_release
()
public
void
impl_update
(
bool
allowed,
bool
can_acquire,
bool
can_release)
public
virtual
bool
release
(
Cancellable
? cancellable =
null
)
throws
Error
public
virtual
async
bool
release_async
(
Cancellable
? cancellable =
null
)
throws
Error
Inherited Members:
All known members inherited from class GLib.Object
@new
newv
new_valist
get_type
get_class
@ref
unref
ref_sink
weak_ref
weak_unref
add_weak_pointer
remove_weak_pointer
@get
@set
get_property
set_property
get_data
set_data
set_data_full
steal_data
get_qdata
set_qdata
set_qdata_full
steal_qdata
freeze_notify
thaw_notify
dispose
constructed
notify_property
connect
disconnect
add_toggle_ref
remove_toggle_ref
bind_property
notify
ref_count