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
interface_find_property
interface_install_property
interface_list_properties
@new
new_valist
newv
add_toggle_ref
add_weak_pointer
bind_property
connect
constructed
disconnect
dispose
dup_data
dup_qdata
force_floating
freeze_notify
@get
get_class
get_data
get_property
get_qdata
get_type
is_floating
notify_property
@ref
ref_sink
replace_data
replace_qdata
remove_toggle_ref
remove_weak_pointer
@set
set_data
set_data_full
set_property
set_qdata
set_qdata_full
set_valist
steal_data
steal_qdata
thaw_notify
unref
watch_closure
weak_ref
weak_unref
notify
ref_count