Import line: | GLib = imports.gi.GLib; |
GIR File: | GLib-2.0.gir |
C documentation: | GMainContext |
Struct : | MainContext |
Show / Hide Inherited methods, properties and signals |
None |
Method / Constructor | Defined By | |
---|---|---|
new GLib.MainContext.c_new
()
:
GLib.MainContext
Create a new GLib.MainContext
Create a new GLib.MainContext
|
||
acquire
()
:
Boolean
|
GLib.MainContext | |
|
GLib.MainContext | |
|
GLib.MainContext | |
dispatch
()
:
none
|
GLib.MainContext | |
|
GLib.MainContext | |
find_source_by_id
(Number source_id)
:
GLib.Source
|
GLib.MainContext | |
find_source_by_user_data
(void* user_data)
:
GLib.Source
|
GLib.MainContext | |
get_poll_func
()
:
[object Object]
|
GLib.MainContext | |
is_owner
()
:
Boolean
|
GLib.MainContext | |
GLib.MainContext | ||
pending
()
:
Boolean
|
GLib.MainContext | |
pop_thread_default
()
:
none
|
GLib.MainContext | |
GLib.MainContext | ||
push_thread_default
()
:
none
|
GLib.MainContext | |
GLib.MainContext | ||
release
()
:
none
|
GLib.MainContext | |
remove_poll
(PollFD fd)
:
none
|
GLib.MainContext | |
set_poll_func
(Function func)
:
none
|
GLib.MainContext | |
|
GLib.MainContext | |
wakeup
()
:
none
|
GLib.MainContext |
None |
Class / Namespace | Method / Signal / Properties |
---|---|
GLib
Method |
GLib.main_context_default
()
:
GLib.MainContext
|
GLib
Method |
GLib.main_context_get_thread_default
()
:
GLib.MainContext
|
GLib.MainLoop
Method |
Create a new GLib.MainLoop
|
GLib.MainLoop
Method |
get_context
()
:
GLib.MainContext
|
GLib.Source
Method |
attach
(MainContext context)
:
Number
|
GLib.Source
Method |
get_context
()
:
GLib.MainContext
|
GSSDP.Client
Method |
Create a new GSSDP.Client
|
GSSDP.Client
Method |
get_main_context
()
:
GLib.MainContext
|
GUPnP.Context
Method |
Create a new GUPnP.Context
|
GstRtsp.RTSPWatch
Method |
attach
(MainContext context)
:
Number
Adds a GstRTSPWatch to a context so that it will be executed within that context.
|
Soup
Method |
NULL for the default context Adds function to be executed from inside async_context with the default priority.
|
Soup
Method |
NULL for the default context Adds an idle event as with g_idle_add(), but using the given If you want function to run "right away", use soup_add_completion(), since that sets a higher priority on the GSource than soup_add_idle() does.
|
Soup
Method |
Soup.add_io_watch
(MainContext async_context, IOChannel chan, IOCondition condition, Function function, void* data)
:
GLib.Source
NULL for the default context Adds an I/O watch as with g_io_add_watch(), but using the given with g_source_destroy().
|
Soup
Method |
Soup.add_timeout
(MainContext async_context, Number interval, Function function, void* data)
:
GLib.Source
NULL for the default context Adds a timeout as with g_timeout_add(), but using the given with g_source_destroy().
|
Soup.Address
Method |
resolve_async
(MainContext async_context, Cancellable cancellable, Function callback, void* user_data)
:
none
Asynchronously resolves the missing half of addr (its IP address if it was created with soup_address_new(), or its hostname if it was created with soup_address_new_from_sockaddr() or soup_address_new_any().
|
Soup.ProxyResolver
Method |
get_proxy_async
(Message msg, MainContext async_context, Cancellable cancellable, Function callback, void* user_data)
:
none
|
Soup.ProxyURIResolver
Method |
get_proxy_uri_async
(URI uri, MainContext async_context, Cancellable cancellable, Function callback, void* user_data)
:
none
Asynchronously determines a proxy URI to use for msg and calls
|
Soup.Server
Method |
get_async_context
()
:
GLib.MainContext
Gets server's async_context.
|
Soup.Session
Method |
get_async_context
()
:
GLib.MainContext
Gets session's async_context.
|