5 This is a stub for documentation
8 @chapter GLib Main loop
10 @RFunction g-source-remove
12 (g-source-remove source-id)
16 An integer identifier of the source.
19 Removes the source with the given @var{source-id} from the default main context.
21 @RConstant +g-priority-high+
22 Use this for high priority event sources. It is not used within GLib or GTK+.
24 @RConstant +g-priority-default+
25 Use this for default priority event sources. In GLib this priority is used when adding timeout functions with g_timeout_add(). In GDK this priority is used for events from the X server.
27 @RConstant +g-priority-high-idle+
28 Use this for high priority idle functions. GTK+ uses @code{(+ 10 +g-priority-high-idle+)} for resizing operations, and @code{(+ 20 +g-priority-high-idle+)} for redrawing operations. (This is done to ensure that any pending resizes are processed before any pending redraws, so that widgets are not redrawn twice unnecessarily.)
30 @RConstant +g-priority-default-idle+
31 Use this for default priority idle functions. In GLib this priority is used when adding idle functions with g_idle_add().
33 @RConstant +g-priority-low+
34 Use this for very low priority background tasks. It is not used within GLib or GTK+.