![]() |

Public Types | |
| typedef Glib::Source | CppObjectType |
| typedef GSource | BaseObjectType |
Public Member Functions | |
| unsigned int | attach (const Glib::RefPtr<MainContext>& context) |
| Adds a Source to a context so that it will be executed within that context. | |
| unsigned int | attach () |
| Adds a Source to a context so that it will be executed within that context. | |
| void | destroy () |
| Removes a source from its MainContext, if any, and marks it as destroyed. | |
| void | set_priority (int priority) |
| Sets the priority of a source. | |
| int | get_priority () const |
| Gets the priority of a source. | |
| void | set_can_recurse (bool can_recurse) |
| Sets whether a source can be called recursively. | |
| bool | get_can_recurse () const |
| Checks whether a source is allowed to be called recursively. | |
| unsigned int | get_id () const |
| Returns the numeric ID for a particular source. | |
| Glib::RefPtr<MainContext> | get_context () |
| Gets the MainContext with which the source is associated. run().
|
|
|
|
Stops a MainLoop from running. Any calls to run() for the loop will return. |
|
|
Increases the reference count on a MainLoop object by one.
|
|
|
Runs a main loop until quit() is called on the loop. If this is called for the thread of the loop's MainContext, it will process events from the loop, otherwise it will simply wait. |
|
|
Decreases the reference count on a MainLoop object by one. If the result is zero, free the loop and free all associated memory. |