attach


Description:

public uint attach (MainContext context)

Adds a Watch to a context so that it will be executed within that context.

Parameters:

this

a Watch

context

a GMainContext (if NULL, the default context will be used)

Returns:

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




2022 vala-language.org