Back to Seed Clases

GLib


Classes

Interfaces

Structs

Unions

Enums

Struct GLib.MainContext

Import line: GLib = imports.gi.GLib;
GIR File: GLib-2.0.gir
C documentation: GMainContext
Struct : MainContext
  Show / Hide Inherited methods, properties and signals
Properties
None
Methods / Constructors
Method / Constructor Defined By
 
new GLib.MainContext.c_new () : GLib.MainContext
Create a new GLib.MainContext
Create a new GLib.MainContext
Returns:
GLib.MainContext
 
Events
None
Used by These Methods / Signals / Properties
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
new GLib.MainLoop.c_new (MainContext context, Boolean is_running) : GLib.MainLoop
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
new GSSDP.Client.c_new (MainContext main_context, String interface) : GSSDP.Client
Create a new GSSDP.Client
GSSDP.Client
Method
get_main_context () : GLib.MainContext
GUPnP.Context
Method
new GUPnP.Context.c_new (MainContext main_context, String host_ip, Number port) : GUPnP.Context
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
Soup.add_completion (MainContext async_context, Function function, void* data) : GLib.Source
NULL for the default context Adds function to be executed from inside async_context with the default priority.
Soup
Method
Soup.add_idle (MainContext async_context, Function function, void* data) : GLib.Source
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.
Documentation generated by Introspection Doc Generator Loosely Based on JsDoc Toolkit on Tue Jun 22 2010 16:32:57 GMT+0800 (HKT)