glib-sharp 2.0.0.0 This function is thread safe. Idle handlers for GLib-based main-loops GLib provides an implementation of a "main loop" (an event-based main loop that dispatches requests). The Idle handler class is used to register a routine to be called when the main loop is idle. System.Object Method System.UInt32 Installs an idle handler for the main loop. The delegate method that will be invoked. The handler code assigned to this idle handler. This function installs the as a handler to be invoked when the GLib mainloop is idle. If the handler returns the handler is kept for another round of Idle execution, if is returned, the handler is removed. This method can be invoked from a different thread than the one running the Gtk main loop. The delegate will be invoked within the context of the Gtk main loop. The thread-safety of this routine can be used to queue work by a thread to be performed in the context of the main Gtk thread. Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Method System.Boolean Removes an Idle handler from the Main Loop. an to remove. a