attach
Description:
Attaches this to context
.
When the mainloop for context
is run, the client will be dispatched. When context
is null
, the default context will be used).
This function should be called when the client properties and urls are fully configured and the client is ready to start.
Parameters:
this |
a Client |
context |
Returns:
the ID (greater than 0) for the source within the GMainContext. |