2.9.1
[platform/upstream/glib.git] / docs / reference / glib / tmpl / main.sgml
1 <!-- ##### SECTION Title ##### -->
2 The Main Event Loop
3
4 <!-- ##### SECTION Short_Description ##### -->
5 manages all available sources of events.
6
7 <!-- ##### SECTION Long_Description ##### -->
8   <para>
9     The main event loop manages all the available sources of events for
10     GLib and GTK+ applications. These events can come from any number of
11     different types of sources such as file descriptors (plain files,
12     pipes or sockets) and timeouts.  New types of event sources can also
13     be added using g_source_attach().
14   </para>
15   <para>
16     To allow multiple independent sets of sources to be handled in
17     different threads, each source is associated with a #GMainContext.
18     A #GMainContext can only be running in a single thread, but
19     sources can be added to it and removed from it from other threads.
20   </para>
21   <para>
22     Each event source is assigned a priority.  The default priority,
23     #G_PRIORITY_DEFAULT, is 0.  Values less than 0 denote higher
24     priorities.  Values greater than 0 denote lower priorities.  Events
25     from high priority sources are always processed before events from
26     lower priority sources.
27   </para>
28   <para>
29     Idle functions can also be added, and assigned a priority. These will
30     be run whenever no events with a higher priority are ready to be
31     processed.
32   </para>
33   <para>
34     The #GMainLoop data type represents a main event loop.  A #GMainLoop
35     is created with g_main_loop_new(). After adding the initial event sources,
36     g_main_loop_run() is called. This continuously checks for new events from
37     each of the event sources and dispatches them.  Finally, the
38     processing of an event from one of the sources leads to a call to
39     g_main_loop_quit() to exit the main loop, and g_main_loop_run() returns.
40   </para>
41   <para>
42     It is possible to create new instances of #GMainLoop recursively.
43     This is often used in GTK+ applications when showing modal dialog
44     boxes. Note that event sources are associated with a particular
45     #GMainContext, and will be checked and dispatched for all main
46     loops associated with that #GMainContext.
47   </para>
48   <para>
49     GTK+ contains wrappers of some of these functions, e.g. gtk_main(),
50     gtk_main_quit() and gtk_events_pending(). 
51   </para>
52   <refsect2>
53     <title>Creating new sources types</title>
54     <para>
55       One of the unusual features of the GTK+ main loop functionality
56       is that new types of event source can be created and used in
57       addition to the builtin type of event source. A new event source
58       type is used for handling GDK events. A new source type is
59       created by <firstterm>deriving</firstterm> from the #GSource
60       structure. The derived type of source is represented by a
61       structure that has the #GSource structure as a first element,
62       and other elements specific to the new source type. To create
63       an instance of the new source type, call g_source_new() passing
64       in the size of the derived structure and a table of functions.
65       These #GSourceFuncs determine the behavior of the new source
66       types.
67     </para>
68     <para>
69       New source types basically interact with with the main context
70       in two ways. Their prepare function in #GSourceFuncs can set
71       a timeout to determine the maximum amount of time that the
72       main loop will sleep before checking the source again.  In
73       addition, or as well, the source can add file descriptors to
74       the set that the main context checks using g_source_add_poll().
75     </para>
76   </refsect2>
77   <refsect2>
78     <title>Customizing the main loop iteration</title>
79     <para>
80       Single iterations of a #GMainContext can be run with
81       g_main_context_iteration(). In some cases, more detailed control
82       of exactly how the details of the main loop work is desired,
83       for instance, when integrating the #GMainLoop with an external
84       main loop. In such cases, you can call the component functions
85       of g_main_context_iteration() directly. These functions
86       are g_main_context_prepare(), g_main_context_query(),
87       g_main_context_check() and g_main_context_dispatch().
88     </para>
89     <para>
90       The operation of these functions can best be seen in terms
91       of a state diagram, as shown in <xref linkend="mainloop-states"/>.
92     </para>
93     <figure id="mainloop-states">
94       <title>States of a Main Context</title>
95       <graphic fileref="mainloop-states.gif" format="GIF"></graphic>
96     </figure>
97   </refsect2>
98
99 <!-- ##### SECTION See_Also ##### -->
100 <para>
101
102 </para>
103
104 <!-- ##### SECTION Stability_Level ##### -->
105
106
107 <!-- ##### STRUCT GMainLoop ##### -->
108 <para>
109 The <structname>GMainLoop</structname> struct is an opaque data type 
110 representing the main event loop of a GLib or GTK+ application.
111 </para>
112
113
114 <!-- ##### FUNCTION g_main_loop_new ##### -->
115 <para>
116
117 </para>
118
119 @context: 
120 @is_running: 
121 @Returns: 
122
123
124 <!-- ##### FUNCTION g_main_loop_ref ##### -->
125 <para>
126
127 </para>
128
129 @loop: 
130 @Returns: 
131
132
133 <!-- ##### FUNCTION g_main_loop_unref ##### -->
134 <para>
135
136 </para>
137
138 @loop: 
139
140
141 <!-- ##### FUNCTION g_main_loop_run ##### -->
142 <para>
143
144 </para>
145
146 @loop: 
147
148
149 <!-- ##### FUNCTION g_main_loop_quit ##### -->
150 <para>
151
152 </para>
153
154 @loop: 
155
156
157 <!-- ##### FUNCTION g_main_loop_is_running ##### -->
158 <para>
159
160 </para>
161
162 @loop: 
163 @Returns: 
164
165
166 <!-- ##### FUNCTION g_main_loop_get_context ##### -->
167 <para>
168
169 </para>
170
171 @loop: 
172 @Returns: 
173
174
175 <!-- ##### MACRO g_main_new ##### -->
176 <para>
177 Creates a new #GMainLoop for the default main loop. 
178 </para>
179
180 @is_running: set to %TRUE to indicate that the loop is running. This is not
181 very important since calling g_main_run() will set this to %TRUE anyway.
182 @Returns: a new #GMainLoop.
183 <!-- # Unused Parameters # -->
184 @Deprecated:2.2: Use g_main_loop_new() instead.
185
186
187 <!-- ##### MACRO g_main_destroy ##### -->
188 <para>
189 Frees the memory allocated for the #GMainLoop. 
190 </para>
191
192 @loop: a #GMainLoop.
193 <!-- # Unused Parameters # -->
194 @Deprecated:2.2: Use g_main_loop_unref() instead.
195
196
197 <!-- ##### MACRO g_main_run ##### -->
198 <para>
199 Runs a main loop until it stops running. 
200 </para>
201
202 @loop: a #GMainLoop.
203 <!-- # Unused Parameters # -->
204 @Deprecated:2.2: Use g_main_loop_run() instead.
205
206
207 <!-- ##### MACRO g_main_quit ##### -->
208 <para>
209 Stops the #GMainLoop. If g_main_run() was called to run the #GMainLoop,
210 it will now return. 
211 </para>
212
213 @loop: a #GMainLoop.
214 <!-- # Unused Parameters # -->
215 @Deprecated:2.2: Use g_main_loop_quit() instead.
216
217
218 <!-- ##### MACRO g_main_is_running ##### -->
219 <para>
220 Checks if the main loop is running. 
221 </para>
222
223 @loop: a #GMainLoop.
224 @Returns: %TRUE if the main loop is running.
225 <!-- # Unused Parameters # -->
226 @Deprecated:2.2: USe g_main_loop_is_running() instead.
227
228
229 <!-- ##### MACRO G_PRIORITY_HIGH ##### -->
230 <para>
231 Use this for high priority event sources.
232 It is not used within GLib or GTK+.
233 </para>
234
235
236
237 <!-- ##### MACRO G_PRIORITY_DEFAULT ##### -->
238 <para>
239 Use this for default priority event sources.
240 In GLib this priority is used when adding timeout functions with
241 g_timeout_add().
242 In GDK this priority is used for events from the X server.
243 </para>
244
245
246
247 <!-- ##### MACRO G_PRIORITY_HIGH_IDLE ##### -->
248 <para>
249 Use this for high priority idle functions.
250 GTK+ uses #G_PRIORITY_HIGH_IDLE + 10 for resizing operations, and
251 #G_PRIORITY_HIGH_IDLE + 20 for redrawing operations. (This is done to
252 ensure that any pending resizes are processed before any pending redraws,
253 so that widgets are not redrawn twice unnecessarily.)
254 </para>
255
256
257
258 <!-- ##### MACRO G_PRIORITY_DEFAULT_IDLE ##### -->
259 <para>
260 Use this for default priority idle functions.
261 In GLib this priority is used when adding idle functions with g_idle_add().
262 </para>
263
264
265
266 <!-- ##### MACRO G_PRIORITY_LOW ##### -->
267 <para>
268 Use this for very low priority background tasks.
269 It is not used within GLib or GTK+.
270 </para>
271
272
273
274 <!-- ##### STRUCT GMainContext ##### -->
275 <para>
276 The <structname>GMainContext</structname> struct is an opaque data type 
277 representing a set of sources to be handled in a main loop. 
278 </para>
279
280
281 <!-- ##### FUNCTION g_main_context_new ##### -->
282 <para>
283
284 </para>
285
286 @Returns: 
287
288
289 <!-- ##### FUNCTION g_main_context_ref ##### -->
290 <para>
291
292 </para>
293
294 @context: 
295 @Returns: 
296
297
298 <!-- ##### FUNCTION g_main_context_unref ##### -->
299 <para>
300
301 </para>
302
303 @context: 
304
305
306 <!-- ##### FUNCTION g_main_context_default ##### -->
307 <para>
308
309 </para>
310
311 @Returns: 
312
313
314 <!-- ##### FUNCTION g_main_context_iteration ##### -->
315 <para>
316
317 </para>
318
319 @context: 
320 @may_block: 
321 @Returns: 
322
323
324 <!-- ##### MACRO g_main_iteration ##### -->
325 <para>
326 Runs a single iteration for the default #GMainContext.
327 </para>
328
329 @may_block: set to %TRUE if it should block (i.e. wait) until an event source
330 becomes ready. It will return after an event source has been processed.
331 If set to %FALSE it will return immediately if no event source is ready to be
332 processed.
333 @Returns: %TRUE if more events are pending.
334 <!-- # Unused Parameters # -->
335 @Deprecated:2.2: Use g_main_context_iteration() instead.
336
337
338 <!-- ##### FUNCTION g_main_context_pending ##### -->
339 <para>
340
341 </para>
342
343 @context: 
344 @Returns: 
345
346
347 <!-- ##### MACRO g_main_pending ##### -->
348 <para>
349 Checks if any events are pending for the default #GMainContext
350 (i.e. ready to be processed).  
351 </para>
352
353 @Returns: %TRUE if any events are pending.
354 <!-- # Unused Parameters # -->
355 @Deprecated:2.2: Use g_main_context_pending() instead.
356
357
358 <!-- ##### FUNCTION g_main_context_find_source_by_id ##### -->
359 <para>
360
361 </para>
362
363 @context: 
364 @source_id: 
365 @Returns: 
366 <!-- # Unused Parameters # -->
367 @id: 
368
369
370 <!-- ##### FUNCTION g_main_context_find_source_by_user_data ##### -->
371 <para>
372
373 </para>
374
375 @context: 
376 @user_data: 
377 @Returns: 
378
379
380 <!-- ##### FUNCTION g_main_context_find_source_by_funcs_user_data ##### -->
381 <para>
382
383 </para>
384
385 @context: 
386 @funcs: 
387 @user_data: 
388 @Returns: 
389
390
391 <!-- ##### FUNCTION g_main_context_wakeup ##### -->
392 <para>
393
394 </para>
395
396 @context: 
397
398
399 <!-- ##### FUNCTION g_main_context_acquire ##### -->
400 <para>
401
402 </para>
403
404 @context: 
405 @Returns: 
406
407
408 <!-- ##### FUNCTION g_main_context_release ##### -->
409 <para>
410
411 </para>
412
413 @context: 
414
415
416 <!-- ##### FUNCTION g_main_context_wait ##### -->
417 <para>
418
419 </para>
420
421 @context: 
422 @cond: 
423 @mutex: 
424 @Returns: 
425
426
427 <!-- ##### FUNCTION g_main_context_prepare ##### -->
428 <para>
429
430 </para>
431
432 @context: 
433 @priority: 
434 @Returns: 
435
436
437 <!-- ##### FUNCTION g_main_context_query ##### -->
438 <para>
439
440 </para>
441
442 @context: 
443 @max_priority: 
444 @timeout_: 
445 @fds: 
446 @n_fds: 
447 @Returns: 
448
449
450 <!-- ##### FUNCTION g_main_context_check ##### -->
451 <para>
452
453 </para>
454
455 @context: 
456 @max_priority: 
457 @fds: 
458 @n_fds: 
459 @Returns: 
460
461
462 <!-- ##### FUNCTION g_main_context_dispatch ##### -->
463 <para>
464
465 </para>
466
467 @context: 
468
469
470 <!-- ##### FUNCTION g_main_context_set_poll_func ##### -->
471 <para>
472
473 </para>
474
475 @context: 
476 @func: 
477
478
479 <!-- ##### FUNCTION g_main_context_get_poll_func ##### -->
480 <para>
481
482 </para>
483
484 @context: 
485 @Returns: 
486
487
488 <!-- ##### USER_FUNCTION GPollFunc ##### -->
489 <para>
490 Specifies the type of function passed to g_main_context_set_poll_func().
491 The semantics of the function should match those of the
492 <function>poll()</function> system call.
493 </para>
494
495 @ufds: an array of #GPollFD elements.
496 @nfsd: the number of elements in @ufds.
497 @timeout_: the maximum time to wait for an event of the file descriptors.
498           A negative value indicates an infinite timeout.
499 @Returns: the number of #GPollFD elements which have events or errors reported,
500 or -1 if an error occurred.
501
502
503 <!-- ##### FUNCTION g_main_context_add_poll ##### -->
504 <para>
505
506 </para>
507
508 @context: 
509 @fd: 
510 @priority: 
511
512
513 <!-- ##### FUNCTION g_main_context_remove_poll ##### -->
514 <para>
515
516 </para>
517
518 @context: 
519 @fd: 
520
521
522 <!-- ##### FUNCTION g_main_depth ##### -->
523 <para>
524
525 </para>
526
527 @Returns: 
528
529
530 <!-- ##### MACRO g_main_set_poll_func ##### -->
531 <para>
532 Sets the function to use for the handle polling of file descriptors
533 for the default main context. 
534 </para>
535
536 @func: the function to call to poll all file descriptors.
537 <!-- # Unused Parameters # -->
538 @Deprecated:2.2: Use g_main_context_set_poll_func() instead.
539
540
541 <!-- ##### FUNCTION g_timeout_source_new ##### -->
542 <para>
543
544 </para>
545
546 @interval: 
547 @Returns: 
548
549
550 <!-- ##### FUNCTION g_timeout_add ##### -->
551 <para>
552 </para>
553
554 @interval: 
555 @function: 
556 @data: 
557 @Returns: 
558
559
560 <!-- ##### FUNCTION g_timeout_add_full ##### -->
561 <para>
562 </para>
563
564 @priority: 
565 @interval: 
566 @function: 
567 @data: 
568 @notify: 
569 @Returns: 
570
571
572 <!-- ##### FUNCTION g_idle_source_new ##### -->
573 <para>
574
575 </para>
576
577 @Returns: 
578
579
580 <!-- ##### FUNCTION g_idle_add ##### -->
581 <para>
582 </para>
583
584 @function: 
585 @data: 
586 @Returns: 
587
588
589 <!-- ##### FUNCTION g_idle_add_full ##### -->
590 <para>
591 </para>
592
593 @priority: 
594 @function: 
595 @data: 
596 @notify: 
597 @Returns: 
598
599
600 <!-- ##### FUNCTION g_idle_remove_by_data ##### -->
601 <para>
602 </para>
603
604 @data: 
605 @Returns: 
606
607
608 <!-- ##### TYPEDEF GPid ##### -->
609 <para>
610 A type which is used to hold a process identification. 
611 On Unix, processes are identified by a process id (an 
612 integer), while Windows uses process handles (which are 
613 pointers).
614 </para>
615
616
617 <!-- ##### USER_FUNCTION GChildWatchFunc ##### -->
618 <para>
619 The type of functions to be called when a child exists.
620 </para>
621
622 @pid: the process id of the child process
623 @status: Status information about the child process,
624   see waitpid(2) for more information about this field
625 @data: user data passed to g_child_watch_add()
626
627
628 <!-- ##### FUNCTION g_child_watch_source_new ##### -->
629 <para>
630
631 </para>
632
633 @pid: 
634 @Returns: 
635
636
637 <!-- ##### FUNCTION g_child_watch_add ##### -->
638 <para>
639
640 </para>
641
642 @pid: 
643 @function: 
644 @data: 
645 @Returns: 
646
647
648 <!-- ##### FUNCTION g_child_watch_add_full ##### -->
649 <para>
650
651 </para>
652
653 @priority: 
654 @pid: 
655 @function: 
656 @data: 
657 @notify: 
658 @Returns: 
659
660
661 <!-- ##### STRUCT GPollFD ##### -->
662 <para>
663
664 <informaltable pgwide="1" frame="none" role="struct">
665 <tgroup cols="2"><colspec colwidth="2*"/><colspec colwidth="8*"/>
666 <tbody>
667
668 <row>
669 <entry>#gint fd;</entry>
670 <entry>the file descriptor to poll (or a <type>HANDLE</type> on Win32 platforms).</entry>
671 </row>
672
673 <row>
674 <entry>#gushort events;</entry>
675 <entry>a bitwise combination of flags from #GIOCondition, specifying which
676 events should be polled for. Typically for reading from a file descriptor
677 you would use %G_IO_IN | %G_IO_HUP | %G_IO_ERR, and for writing you would use
678 %G_IO_OUT | %G_IO_ERR.
679 </entry>
680 </row>
681
682 <row>
683 <entry>#gushort revents;</entry>
684 <entry>a bitwise combination of flags from #GIOCondition, returned from the
685 <function>poll()</function> function to indicate which events occurred.
686 </entry>
687 </row>
688 </tbody></tgroup></informaltable>
689
690 </para>
691
692 @fd: 
693 @events: 
694 @revents: 
695
696 <!-- ##### STRUCT GSource ##### -->
697 <para>
698 The <structname>GSource</structname> struct is an opaque data type representing
699 an event source.
700 </para>
701
702
703 <!-- ##### USER_FUNCTION GSourceDummyMarshal ##### -->
704 <para>
705 This is just a placeholder for #GClosureMarshal, which cannot be used here
706 for dependency reasons.
707 </para>
708
709
710
711 <!-- ##### STRUCT GSourceFuncs ##### -->
712 <para>
713 The #GSourceFuncs struct contains a table of functions used to handle
714 event sources in a generic manner.
715
716 <informaltable pgwide="1" frame="none" role="struct">
717 <tgroup cols="2"><colspec colwidth="2*"/><colspec colwidth="8*"/>
718 <tbody>
719
720 <row>
721 <entry>prepare</entry>
722 <entry>
723 Called before all the file descriptors are polled.
724 If the source can determine that it is ready here (without waiting for the
725 results of the <function>poll()</function> call) it should return %TRUE.
726 It can also return a @timeout_ value which should be the maximum timeout
727 (in milliseconds) which should be passed to the <function>poll()</function> call.
728 The actual timeout used will be -1 if all sources returned -1, or it will
729 be the minimum of all the @timeout_ values returned which were >= 0.
730 </entry>
731 </row>
732
733 <row>
734 <entry>check</entry>
735 <entry>
736 Called after all the file descriptors are polled.
737 The source should return %TRUE if it is ready to be dispatched.
738 Note that some time may have passed since the previous prepare function was
739 called, so the source should be checked again here.
740 </entry>
741 </row>
742
743 <row>
744 <entry>dispatch</entry>
745 <entry>
746 Called to dispatch the event source, after it has returned %TRUE in
747 either its @prepare or its @check function. The @dispatch function is
748 passed in a callback function and data. The callback function may be
749 %NULL if the source was never connected to a callback using
750 g_source_set_callback(). The @dispatch function should call the
751 callback function with @user_data and whatever additional parameters are
752 needed for this type of event source.
753 </entry>
754 </row>
755
756 <row>
757 <entry>finalize</entry>
758 <entry>
759 Called when the source is finalized.
760 </entry>
761 </row>
762 </tbody></tgroup></informaltable>
763 </para>
764
765 <para>
766 For idle sources, the prepare and check functions always return %TRUE to
767 indicate that the source is always ready to be processed.
768 The prepare function also returns a timeout value of 0 to ensure that the
769 <function>poll()</function> call doesn't block (since that would be time 
770 wasted which could have been spent running the idle function).
771 </para>
772 <para>
773 For timeout sources, the prepare and check functions both return %TRUE if the
774 timeout interval has expired. The prepare function also returns a timeout 
775 value to ensure that the <function>poll()</function> call doesn't block too 
776 long and miss the next timeout.
777 </para>
778 <para>
779 For file descriptor sources, the prepare function typically returns %FALSE,
780 since it must wait until <function>poll()</function> has been called before 
781 it knows whether any events need to be processed. It sets the returned 
782 timeout to -1 to indicate that it doesn't mind how long the 
783 <function>poll()</function> call blocks.
784 In the check function, it tests the results of the <function>poll()</function>
785 call to see if the required condition has been met, and returns %TRUE if so.
786 </para>
787
788 @prepare: 
789 @check: 
790 @dispatch: 
791 @finalize: 
792 @closure_callback: 
793 @closure_marshal: 
794
795 <!-- ##### STRUCT GSourceCallbackFuncs ##### -->
796 <para>
797 The <structname>GSourceCallbackFuncs</structname> struct contains
798 functions for managing callback objects. 
799 </para>
800
801 @ref: Called when a reference is added to the callback object.
802 @unref: Called when a reference to the callback object is dropped.
803 @get: Called to extract the callback function and data from the callback object.
804
805 <!-- ##### FUNCTION g_source_new ##### -->
806 <para>
807
808 </para>
809
810 @source_funcs: 
811 @struct_size: 
812 @Returns: 
813
814
815 <!-- ##### FUNCTION g_source_ref ##### -->
816 <para>
817
818 </para>
819
820 @source: 
821 @Returns: 
822
823
824 <!-- ##### FUNCTION g_source_unref ##### -->
825 <para>
826
827 </para>
828
829 @source: 
830
831
832 <!-- ##### FUNCTION g_source_attach ##### -->
833 <para>
834
835 </para>
836
837 @source: 
838 @context: 
839 @Returns: 
840
841
842 <!-- ##### FUNCTION g_source_destroy ##### -->
843 <para>
844
845 </para>
846
847 @source: 
848
849
850 <!-- ##### FUNCTION g_source_set_priority ##### -->
851 <para>
852
853 </para>
854
855 @source: 
856 @priority: 
857
858
859 <!-- ##### FUNCTION g_source_get_priority ##### -->
860 <para>
861
862 </para>
863
864 @source: 
865 @Returns: 
866
867
868 <!-- ##### FUNCTION g_source_set_can_recurse ##### -->
869 <para>
870
871 </para>
872
873 @source: 
874 @can_recurse: 
875
876
877 <!-- ##### FUNCTION g_source_get_can_recurse ##### -->
878 <para>
879
880 </para>
881
882 @source: 
883 @Returns: 
884
885
886 <!-- ##### FUNCTION g_source_get_id ##### -->
887 <para>
888
889 </para>
890
891 @source: 
892 @Returns: 
893
894
895 <!-- ##### FUNCTION g_source_get_context ##### -->
896 <para>
897
898 </para>
899
900 @source: 
901 @Returns: 
902
903
904 <!-- ##### FUNCTION g_source_set_callback ##### -->
905 <para>
906
907 </para>
908
909 @source: 
910 @func: 
911 @data: 
912 @notify: 
913
914
915 <!-- ##### USER_FUNCTION GSourceFunc ##### -->
916 <para>
917 Specifies the type of function passed to g_timeout_add(), g_timeout_add_full(),
918 g_idle_add(), and g_idle_add_full().
919 </para>
920
921 @data: data passed to the function, set when the source was created with one
922 of the above functions.
923 @Returns: it should return %FALSE if the source should be removed.
924
925
926 <!-- ##### FUNCTION g_source_set_callback_indirect ##### -->
927 <para>
928
929 </para>
930
931 @source: 
932 @callback_data: 
933 @callback_funcs: 
934
935
936 <!-- ##### FUNCTION g_source_add_poll ##### -->
937 <para>
938
939 </para>
940
941 @source: 
942 @fd: 
943
944
945 <!-- ##### FUNCTION g_source_remove_poll ##### -->
946 <para>
947
948 </para>
949
950 @source: 
951 @fd: 
952
953
954 <!-- ##### FUNCTION g_source_get_current_time ##### -->
955 <para>
956
957 </para>
958
959 @source: 
960 @timeval: 
961
962
963 <!-- ##### FUNCTION g_source_remove ##### -->
964 <para>
965 </para>
966
967 @tag: 
968 @Returns: 
969
970
971 <!-- ##### FUNCTION g_source_remove_by_funcs_user_data ##### -->
972 <para>
973 </para>
974
975 @funcs: 
976 @user_data: 
977 @Returns: 
978
979
980 <!-- ##### FUNCTION g_source_remove_by_user_data ##### -->
981 <para>
982 </para>
983
984 @user_data: 
985 @Returns: 
986
987 <!--
988 Local variables:
989 mode: sgml
990 sgml-parent-document: ("../glib-docs.sgml" "book" "refsect2" "")
991 End:
992 -->
993
994