MainContext.prepare

Prepares to poll sources within a main loop. The resulting information for polling is determined by calling g_main_context_query().

class MainContext
int
prepare
(
out int priority
)

Parameters

priority int

location to store priority of highest priority source already ready.

Return Value

Type: int

TRUE if some source is ready to be dispatched prior to polling.

Meta