| Import line: | GLib = imports.gi.GLib; |
| GIR File: | GLib-2.0.gir |
| C documentation: | GSource |
| Struct : | Source |
| Properties | Defined By | |
|---|---|---|
|
callback_data : void*
read only
|
GLib.Source | |
|
callback_funcs : GLib.SourceCallbackFuncs
read only
|
GLib.Source | |
|
context : GLib.MainContext
read only
|
GLib.Source | |
|
flags : guint32
read only
|
GLib.Source | |
|
name : String
read only
|
GLib.Source | |
|
next : GLib.Source
read only
|
GLib.Source | |
|
poll_fds : Array
read only
|
GLib.Source | |
|
prev : GLib.Source
read only
|
GLib.Source | |
|
priority : gint32
read only
|
GLib.Source | |
|
priv : GLib.SourcePrivate
read only
|
GLib.Source | |
|
ref_count : guint32
read only
|
GLib.Source | |
|
source_funcs : GLib.SourceFuncs
read only
|
GLib.Source | |
|
source_id : guint32
read only
|
GLib.Source | |
| Method / Constructor | Defined By | |
|---|---|---|
|
new GLib.Source
()
Create a new GLib.Source
Create a new GLib.Source
|
||
|
add_child_source
(Source child_source)
:
none
|
GLib.Source | |
|
add_poll
(PollFD fd)
:
none
|
GLib.Source | |
|
attach
(MainContext context)
:
guint32
|
GLib.Source | |
|
destroy
()
:
none
|
GLib.Source | |
|
get_can_recurse
()
:
gboolean
|
GLib.Source | |
|
get_current_time
(TimeVal timeval)
:
none
|
GLib.Source | |
|
get_id
()
:
guint32
|
GLib.Source | |
|
get_name
()
:
String
|
GLib.Source | |
|
get_priority
()
:
gint32
|
GLib.Source | |
|
get_time
()
:
gint64
|
GLib.Source | |
|
is_destroyed
()
:
gboolean
|
GLib.Source | |
|
remove_child_source
(Source child_source)
:
none
|
GLib.Source | |
|
remove_poll
(PollFD fd)
:
none
|
GLib.Source | |
| GLib.Source | ||
|
set_callback_indirect
(void* callback_data, SourceCallbackFuncs callback_funcs)
:
none
|
GLib.Source | |
|
set_can_recurse
(gboolean can_recurse)
:
none
|
GLib.Source | |
|
set_funcs
(SourceFuncs funcs)
:
none
|
GLib.Source | |
|
set_name
(String name)
:
none
|
GLib.Source | |
|
set_priority
(gint32 priority)
:
none
|
GLib.Source | |
| None |
| Class / Namespace | Method / Signal / Properties |
|---|---|
|
GLib
Method |
|
|
GObject
Method |
Set the callback for a source as a GClosure.
|
|
GObject
Method |
GObject.source_set_dummy_callback
(Source source)
:
none
Sets a dummy callback for source.
|