Enumeration

GLibMainContextFlags

Declaration

flags GLib.MainContextFlags

Description

Flags to pass to g_main_context_new_with_flags() which affect the behaviour of a GMainContext.

Available since:2.72

Members

Name Description
G_MAIN_CONTEXT_FLAGS_NONE

Default behaviour.

G_MAIN_CONTEXT_FLAGS_OWNERLESS_POLLING

Assume that polling for events will free the thread to process other jobs. That’s useful if you’re using g_main_context_{prepare,query,check,dispatch} to integrate GMainContext in other event loops.