GLib.Cancellable – gio-2.0 Reference Manual
Packages
gio-2.0
GLib
Cancellable
get_current
Cancellable
cancel
connect
disconnect
get_fd
is_cancelled
make_pollfd
pop_current
push_current
release_fd
reset
set_error_if_cancelled
source_new
cancelled
Cancellable
Object Hierarchy:
Description:
public
class
Cancellable
:
Object
Namespace:
GLib
Package:
gio-2.0
Content:
Static methods:
public
static
weak
Cancellable
?
get_current
()
Creation methods:
public
Cancellable
()
Methods:
public
void
cancel
()
public
ulong
connect
(
owned
Func
<
Cancellable
> callback)
public
void
disconnect
(
ulong
handler_id)
public
int
get_fd
()
public
bool
is_cancelled
()
public
bool
make_pollfd
(
PollFD
pollfd)
public
void
pop_current
()
public
void
push_current
()
public
void
release_fd
()
public
void
reset
()
public
bool
set_error_if_cancelled
()
throws
IOError
public
CancellableSource
source_new
()
Signals:
public
virtual
signal
void
cancelled
()
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