attach


Description:

public uint attach (MainContext? context)

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

a MainContext

Returns:

the ID (greater than 0) for the source within the GMainContext.




2022 vala-language.org