GLib.SimpleAsyncResult – gio-2.0 Reference Manual
Packages
gio-2.0
GLib
SimpleAsyncResult
is_valid
report_gerror_in_idle
SimpleAsyncResult
SimpleAsyncResult.error
SimpleAsyncResult.from_error
complete
complete_in_idle
get_op_res_gboolean
get_op_res_gpointer
get_op_res_gssize
get_source_tag
propagate_error
run_in_thread
set_check_cancellable
set_error
set_error_va
set_from_error
set_handle_cancellation
set_op_res_gboolean
set_op_res_gpointer
set_op_res_gssize
take_error
SimpleAsyncResult
Object Hierarchy:
Description:
public
class
SimpleAsyncResult
:
Object
,
AsyncResult
,
AsyncResult
Namespace:
GLib
Package:
gio-2.0
Content:
Static methods:
public
static
bool
is_valid
(
AsyncResult
result,
Object
source,
void
* source_tag)
public
static
async
void
report_gerror_in_idle
(
Object
? object,
Error
error)
Creation methods:
public
SimpleAsyncResult
(
Object
? source_object,
void
* source_tag)
public
SimpleAsyncResult.error
(
Object
? source_object,
Quark
domain,
int
code,
string
format, ...)
public
SimpleAsyncResult.from_error
(
Object
? source_object,
Error
error)
Methods:
public
void
complete
()
public
void
complete_in_idle
()
public
bool
get_op_res_gboolean
()
public
weak
T
get_op_res_gpointer
<
T
> ()
public
ssize_t
get_op_res_gssize
()
public
void
*
get_source_tag
()
public
bool
propagate_error
()
throws
Error
public
void
run_in_thread
(
SimpleAsyncThreadFunc
func,
int
io_priority =
DEFAULT
,
Cancellable
? cancellable =
null
)
public
void
set_check_cancellable
(
Cancellable
? check_cancellable)
public
void
set_error
(
Quark
domain,
int
code,
string
format, ...)
public
void
set_error_va
(
Quark
domain,
int
code,
string
format,
va_list
args)
public
void
set_from_error
(
Error
error)
public
void
set_handle_cancellation
(
bool
handle_cancellation)
public
void
set_op_res_gboolean
(
bool
op_res)
public
void
set_op_res_gpointer
<
T
> (
owned
T
op_res)
public
void
set_op_res_gssize
(
ssize_t
op_res)
public
void
take_error
(
Error
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
All known members inherited from interface GLib.AsyncResult
get_source_object
get_user_data
is_tagged
legacy_propagate_error