glib-sharpGtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details.System.ObjectManages events in the main context.ConstructorCreate a new instance.This is the default constructor for .PropertySystem.Int32Nesting level of the currently executing main loop.A count of main loop levels.MethodSystem.BooleanRuns a single iteration for the given main loop.an object of type This is a convenience overload for with passed in.MethodSystem.Boolean
an object of type Runs a single iteration for the given main loop.an object of type This involves checking to see if any event sources are ready to be processed, then if no events sources are ready and is , waiting for a source to become ready, then dispatching the highest priority events sources that are ready. Note that even when is , it is still possible for g_main_context_iteration() to return , since the the wait may be interrupted for other reasons than an event source becoming ready.MethodSystem.BooleanChecks if any sources have pending events for the given context.an object of type