GLib.PollableSource – gio-2.0 Reference Manual
Packages
gio-2.0
GLib
PollableSource
PollableSource
PollableSource.full
set_callback
PollableSource
Object Hierarchy:
Description:
[
CCode
( cname =
"GSource"
, ref_function =
"g_source_ref"
, unref_function =
"g_source_unref"
) ]
[
Compact
]
public
class
PollableSource
:
Source
Namespace:
GLib
Package:
gio-2.0
Content:
Creation methods:
public
PollableSource
(
Object
pollable_stream)
Utility method for
PollableInputStream
and
PollableOutputStream
implementations.
public
PollableSource.full
(
Object
pollable_stream,
Source
? child_source =
null
,
Cancellable
? cancellable =
null
)
Utility method for
PollableInputStream
and
PollableOutputStream
implementations.
Methods:
public
void
set_callback
(
owned
PollableSourceFunc
func)
Inherited Members:
All known members inherited from class GLib.Source
CONTINUE
REMOVE
add_child_source
add_poll
add_unix_fd
attach
check
destroy
dispatch
get_can_recurse
get_context
get_current_time
get_id
get_name
get_priority
get_ready_time
get_time
is_destroyed
modify_unix_fd
prepare
query_unix_fd
remove
remove_by_funcs_user_data
remove_by_user_data
remove_child_source
remove_poll
remove_unix_fd
set_callback
set_callback_indirect
set_can_recurse
set_dispose_function
set_funcs
set_name
set_name_by_id
set_priority
set_ready_time
set_static_name