]> Pileus Git - ~andy/gtk/blob - docs/reference/gtk/tmpl/gtk-unused.sgml
docs on GdkKeymap
[~andy/gtk] / docs / reference / gtk / tmpl / gtk-unused.sgml
1 <!-- ##### SECTION ./tmpl/gtkdebug.sgml:Title ##### -->
2 Debugging
3
4
5 <!-- ##### SECTION ./tmpl/gtkenums.sgml.sgml:Title ##### -->
6 gtkenums.sgml
7
8
9 <!-- ##### SECTION ./tmpl/gtkimcontextsimple.sgml:Title ##### -->
10 GtkIMContextSimple
11
12
13 <!-- ##### SECTION ./tmpl/gtkmarshal.sgml:Long_Description ##### -->
14 <refsect2>
15 <title>What are Signal Marshallers?</title>
16 <para>
17 Marshals are functions which all have the same prototype:
18 they take a #GtkObject, a #GtkSignalFunc, a #gpointer,
19 and an array of argument values.
20 The functions are names gtk_marshall_RETURNTYPE__PARAMTYPE1_PARAMTYPE2....
21 </para>
22 <para>
23 They then call a native function:  the GtkObject is the first
24 parameter passed in.  The arguments are passed in the native
25 calling convention:  chars, shorts, ints, longs may be packed
26 on the stack, or tucked in registers:  it doesn't matter
27 because the same calling convention will be generated
28 inside the gtkmarshal code as is expected where you define
29 your handlers.
30 </para>
31 <para>
32 So the function named:
33 <programlisting>
34 gtk_marshal_BOOL__POINTER_INT_INT_UINT(GtkObject*, GtkSignalFunc, gpointer, GtkArg*);
35 </programlisting>
36 will call the #GtkSignalFunc assuming it was a function with signature:
37 <programlisting>
38 gboolean sigfunc(gpointer,gint,gint,guint);
39 </programlisting>
40 </para>
41 </refsect2>
42 <refsect2>
43 <title>Writing Custom Marshals</title>
44 <para>
45 Marshals are primarily used as arguments to gtk_signal_new().
46 Sometimes, you may find that a marshaller you need isn't available
47 in the standard list.  Then you have to write your own.
48 </para>
49 <para>
50 If you wish to define a signal with a new type of argument list.
51 Suppose you want 2 pointers and 2 integers.
52 You would write:
53 <programlisting>
54 typedef int (*GtkSignal_INT__POINTER_POINTER_INT_INT)(
55                         gpointer, gpointer, gint, gint
56 );
57
58 void marshal_INT__POINTER_POINTER_INT_INT(GtkObject*    object,
59                                            GtkSignalFunc func,
60                                            gpointer      func_data,
61                                            GtkArg*       args)
62 {
63         GtkSignal_NONE__POINTER_POINTER_INT_INT rfunc;
64         gint* return_val;
65         return_val = GTK_RETLOC_INT(args[4]);
66         rfunc = (GtkSignal_INT__POINTER_POINTER_INT_INT)func;
67         *return_val = (*rfunc)(object,
68                                GTK_VALUE_POINTER(args[0]),
69                                GTK_VALUE_POINTER(args[1]),
70                                GTK_VALUE_INT(args[2]),
71                                GTK_VALUE_INT(args[3]),
72                                func_data);
73 }
74 </programlisting>
75 </para>
76 </refsect2>
77
78
79 <!-- ##### SECTION ./tmpl/gtkmarshal.sgml:See_Also ##### -->
80 <para>
81 <variablelist>
82
83 <varlistentry>
84 <term>#GtkSignal</term>
85 <listitem><para>The signal handling functions (of which marshallers are 
86 really an implementation detail).</para></listitem>
87 </varlistentry>
88
89 </variablelist>
90 </para>
91
92
93 <!-- ##### SECTION ./tmpl/gtkmarshal.sgml:Short_Description ##### -->
94 Functions to adapt C structures to native calling convention.
95
96
97 <!-- ##### SECTION ./tmpl/gtkmarshal.sgml:Title ##### -->
98 Signal Marshallers
99
100
101 <!-- ##### SECTION ./tmpl/gtkprivate.sgml:Title ##### -->
102 Private Information
103
104
105 <!-- ##### MACRO GTK_CLIST_CHILD_HAS_FOCUS ##### -->
106 <para>
107 A macro to check whether a child widget of the CList
108 has the focus.
109 </para>
110
111 @clist: The #GtkCList widget to check.
112
113 <!-- ##### MACRO GTK_ICON_SIZE_BUTTON ##### -->
114 <para>
115
116 </para>
117
118
119 <!-- ##### MACRO GTK_ICON_SIZE_DIALOG ##### -->
120 <para>
121
122 </para>
123
124
125 <!-- ##### MACRO GTK_ICON_SIZE_LARGE_TOOLBAR ##### -->
126 <para>
127
128 </para>
129
130
131 <!-- ##### MACRO GTK_ICON_SIZE_MENU ##### -->
132 <para>
133
134 </para>
135
136
137 <!-- ##### MACRO GTK_ICON_SIZE_SMALL_TOOLBAR ##### -->
138 <para>
139
140 </para>
141
142
143 <!-- ##### MACRO GTK_OBJECT_CONSTRUCTED ##### -->
144 <para>
145 Test whether a GtkObject's arguments have been prepared.
146 </para>
147
148 @obj: the object to examine.
149
150 <!-- ##### MACRO GTK_OBJECT_NSIGNALS ##### -->
151 <para>
152 Get the number of signals defined by this object.
153 </para>
154
155 @obj: the object to query.
156
157 <!-- ##### MACRO GTK_OBJECT_SIGNALS ##### -->
158 <para>
159 Get the array of signals defined for this object.
160 </para>
161
162 @obj: the object to fetch the signals from.
163
164 <!-- ##### MACRO GTK_TREE_SELECTION ##### -->
165 <para>
166 A macro that returns a GList that contains the selection of the root tree of @obj.
167 </para>
168
169 @obj: A pointer to the #GtkTree. @obj will accept any pointer, but it the pointer does not point to a #GtkTree, the results are undefined.
170
171 <!-- ##### MACRO GTK_TYPE_FLAT_FIRST ##### -->
172 <para>
173 The first "flat" (no struct) enumerated type value.
174 </para>
175
176
177 <!-- ##### MACRO GTK_TYPE_FLAT_LAST ##### -->
178 <para>
179 The last "flat" (no struct) enumerated type value.
180 </para>
181
182
183 <!-- ##### MACRO GTK_TYPE_IDENTIFIER ##### -->
184 <para>
185 Hide the name of gtk_identifier_get_type
186 </para>
187
188
189 <!-- ##### MACRO GTK_TYPE_MAKE ##### -->
190 <para>
191 Combine a fundemantal type and a sequence number to create a gtk type.
192 </para>
193
194 @parent_t: 
195 @seqno: 
196
197 <!-- ##### MACRO GTK_TYPE_NUM_BUILTINS ##### -->
198 <para>
199 No idea.
200 </para>
201
202
203 <!-- ##### MACRO GTK_TYPE_SEQNO ##### -->
204 <para>
205 Convert a gtk type into its sequence number
206 </para>
207
208 @type: 
209
210 <!-- ##### MACRO GTK_TYPE_STRUCTURED_FIRST ##### -->
211 <para>
212 The first structured enumerated type value.
213 </para>
214
215
216 <!-- ##### MACRO GTK_TYPE_STRUCTURED_LAST ##### -->
217 <para>
218 The last structured enumerated type value.
219 </para>
220
221
222 <!-- ##### MACRO GTK_TYPE_TREE_COLUMN ##### -->
223 <para>
224
225 </para>
226
227
228 <!-- ##### MACRO GTK_VALUE_ARGS ##### -->
229 <para>
230 Use to get the value of a GtkArg whose GtkType is GTK_TYPE_ARGS
231 </para>
232
233 @a: 
234
235 <!-- ##### MACRO GTK_VALUE_CALLBACK ##### -->
236 <para>
237 Use to get the value of a GtkArg whose GtkType is GTK_TYPE_CALLBACK
238 </para>
239
240 @a: 
241
242 <!-- ##### MACRO GTK_VALUE_C_CALLBACK ##### -->
243 <para>
244 Use to get the value of a GtkArg whose GtkType is GTK_TYPE_C_CALLBACK
245 </para>
246
247 @a: 
248
249 <!-- ##### MACRO GTK_VALUE_FOREIGN ##### -->
250 <para>
251 Use to get the value of a GtkArg whose GtkType is GTK_TYPE_C_FOREIGN
252 </para>
253
254 @a: 
255
256 <!-- ##### STRUCT GtkData ##### -->
257 <para>
258 The #GtkData-struct struct contains no public fields.
259 </para>
260
261
262 <!-- ##### SIGNAL GtkData::disconnect ##### -->
263 <para>
264 Emitted to notify any views on the #GtkData object to disconnect from it,
265 possibly because the #GtkData object is about to be destroyed.
266 </para>
267
268 @data: the object which received the signal.
269
270 <!-- ##### SIGNAL GtkEditable::activate ##### -->
271 <para>
272 Indicates that the user has activated the widget
273 in some fashion. Generally, this will be done
274 with a keystroke. (The default binding for this
275 action is Return for #GtkEntry and
276 Control-Return for #GtkText.)
277 </para>
278
279 @editable: the object which received the signal.
280
281 <!-- ##### SIGNAL GtkEditable::changed ##### -->
282 <para>
283 Indicates that the user has changed the contents
284 of the widget.
285 </para>
286
287 @editable: the object which received the signal.
288
289 <!-- ##### SIGNAL GtkEditable::copy-clipboard ##### -->
290 <para>
291 An action signal. Causes the characters in the current selection to
292 be copied to the clipboard.
293 </para>
294
295 @editable: the object which received the signal.
296
297 <!-- ##### SIGNAL GtkEditable::cut-clipboard ##### -->
298 <para>
299 An action signal. Causes the characters in the current
300 selection to be copied to the clipboard and then deleted from
301 the widget.
302 </para>
303
304 @editable: the object which received the signal.
305
306 <!-- ##### SIGNAL GtkEditable::delete-text ##### -->
307 <para>
308 This signal is emitted when text is deleted from
309 the widget by the user. The default handler for
310 this signal will normally be responsible for inserting
311 the text, so by connecting to this signal and then
312 stopping the signal with gtk_signal_emit_stop(), it
313 is possible to modify the inserted text, or prevent
314 it from being inserted entirely. The @start_pos
315 and @end_pos parameters are interpreted as for
316 gtk_editable_delete_text()
317 </para>
318
319 @editable: the object which received the signal.
320 @start_pos: the starting position.
321 @end_pos: the end position.
322
323 <!-- ##### SIGNAL GtkEditable::insert-text ##### -->
324 <para>
325 This signal is emitted when text is inserted into
326 the widget by the user. The default handler for
327 this signal will normally be responsible for inserting
328 the text, so by connecting to this signal and then
329 stopping the signal with gtk_signal_emit_stop(), it
330 is possible to modify the inserted text, or prevent
331 it from being inserted entirely.
332 </para>
333
334 @editable: the object which received the signal.
335 @new_text: the new text to insert.
336 @new_text_length: the length of the new text.
337 @position: the position at which to insert the new text.
338            this is an in-out paramter. After the signal
339            emission is finished, it should point after   
340            the newly inserted text.
341
342 <!-- ##### SIGNAL GtkEditable::kill-char ##### -->
343 <para>
344 An action signal. Delete a single character.
345 </para>
346
347 @editable: the object which received the signal.
348 @direction: the direction in which to delete. Positive
349    indicates forward deletion, negative, backwards deletion.
350
351 <!-- ##### SIGNAL GtkEditable::kill-line ##### -->
352 <para>
353 An action signal. Delete a single line.
354 </para>
355
356 @editable: the object which received the signal.
357 @direction: the direction in which to delete. Positive
358    indicates forward deletion, negative, backwards deletion.
359
360 <!-- ##### SIGNAL GtkEditable::kill-word ##### -->
361 <para>
362 An action signal. Delete a single word.
363 </para>
364
365 @editable: the object which received the signal.
366 @direction: the direction in which to delete. Positive
367    indicates forward deletion, negative, backwards deletion.
368
369 <!-- ##### SIGNAL GtkEditable::move-cursor ##### -->
370 <para>
371 An action signal. Move the cursor position.
372 </para>
373
374 @editable: the object which received the signal.
375 @x: horizontal distance to move the cursor.
376 @y: vertical distance to move the cursor.
377
378 <!-- ##### SIGNAL GtkEditable::move-page ##### -->
379 <para>
380 An action signal. Move the cursor by pages.
381 </para>
382
383 @editable: the object which received the signal.
384 @x: Number of pages to move the cursor horizontally.
385 @y: Number of pages to move the cursor vertically.
386
387 <!-- ##### SIGNAL GtkEditable::move-to-column ##### -->
388 <para>
389 An action signal. Move the cursor to the given column.
390 </para>
391
392 @editable: the object which received the signal.
393 @column: the column to move to. (A negative value indicates
394          the last column)
395
396 <!-- ##### SIGNAL GtkEditable::move-to-row ##### -->
397 <para>
398 An action signal. Move the cursor to the given row.
399 </para>
400
401 @editable: the object which received the signal.
402 @row: the row to move to. (A negative value indicates 
403       the last row)
404
405 <!-- ##### SIGNAL GtkEditable::move-word ##### -->
406 <para>
407 An action signal. Move the cursor by words.
408 </para>
409
410 @editable: the object which received the signal.
411 @num_words: The number of words to move the
412 cursor. (Can be negative).
413
414 <!-- ##### SIGNAL GtkEditable::paste-clipboard ##### -->
415 <para>
416 An action signal. Causes the contents of the clipboard to
417 be pasted into the editable widget at the current cursor
418 position.
419 </para>
420
421 @editable: the object which received the signal.
422
423 <!-- ##### SIGNAL GtkEditable::set-editable ##### -->
424 <para>
425 Determines if the user can edit the text in the editable
426 widget or not. This is meant to be overriden by 
427 child classes and should not generally useful to
428 applications.
429 </para>
430
431 @editable: the object which received the signal.
432 @is_editable: %TRUE if the user is allowed to edit the text
433   in the widget.
434
435 <!-- ##### ARG GtkEditable:editable ##### -->
436 <para>
437 A boolean indicating whether the widget is editable by
438 the user.
439 </para>
440
441
442 <!-- ##### ARG GtkEditable:text-position ##### -->
443 <para>
444 The position of the cursor.
445 </para>
446
447
448 <!-- ##### USER_FUNCTION GtkEmissionHook ##### -->
449 <para>
450 A simple function pointer to get invoked when the
451 signal is emitted.  This allows you tie a hook to the signal type,
452 so that it will trap all emissions of that signal, from any object.
453 </para>
454 <para>
455 You may not attach these to signals created with the
456 #GTK_RUN_NO_HOOKS flag.
457 </para>
458
459 @object: 
460 @signal_id: 
461 @n_params: 
462 @params: 
463 @data: 
464 @Returns: 
465
466 <!-- ##### ENUM GtkFontFilterType ##### -->
467 <para>
468 A set of bit flags used to specify the filter being set
469 when calling gtk_font_selection_dialog_set_filter() or
470 gtk_font_selection_set_filter().
471 </para>
472
473 @GTK_FONT_FILTER_BASE: the base filter, which can't be changed by the user.
474 @GTK_FONT_FILTER_USER: the user filter, which can be changed from within the
475 'Filter' page of the #GtkFontSelection widget.
476
477 <!-- ##### ENUM GtkFontType ##### -->
478 <para>
479 A set of bit flags used to specify the type of fonts shown
480 when calling gtk_font_selection_dialog_set_filter() or
481 gtk_font_selection_set_filter().
482 </para>
483
484 @GTK_FONT_BITMAP: bitmap fonts.
485 @GTK_FONT_SCALABLE: scalable fonts.
486 @GTK_FONT_SCALABLE_BITMAP: scaled bitmap fonts.
487 @GTK_FONT_ALL: a bitwise combination of all of the above.
488
489 <!-- ##### STRUCT GtkIMContextSimple ##### -->
490 <para>
491
492 </para>
493
494 @object: 
495 @tables: 
496 @compose_buffer: 
497 @tentative_match: 
498 @tentative_match_len: 
499
500 <!-- ##### ARG GtkLabel:accel-keyval ##### -->
501 <para>
502
503 </para>
504
505
506 <!-- ##### ARG GtkObject:object-signal ##### -->
507 <para>
508 Setting this with a GtkType of GTK_TYPE_SIGNAL connects
509 the signal to the object, so that the user data and objects
510 and swapped when the signal handler is invoked.
511 </para>
512 <para>
513 This is useful for handlers that are primarily notifying
514 other objects and could just invoke an already existing function
515 if the parameters were swapped.
516 See gtk_signal_connect_object() for more details.
517 </para>
518
519
520 <!-- ##### ARG GtkObject:object-signal-after ##### -->
521 <para>
522 Setting this with a GtkType of GTK_TYPE_SIGNAL connects
523 the signal to the object, so that the user data and objects
524 and swapped when the signal handler is invoked,
525 and so that the handler is invoked after all others.
526 </para>
527 <para>
528 See gtk_signal_connect_object_after() for more details.
529 </para>
530
531
532 <!-- ##### ARG GtkObject:signal ##### -->
533 <para>
534 Setting this with a GtkType of GTK_TYPE_SIGNAL connects
535 the signal to the object.
536 </para>
537
538
539 <!-- ##### ARG GtkObject:signal-after ##### -->
540 <para>
541 Setting this with a GtkType of GTK_TYPE_SIGNAL connects
542 the signal to the object, so that the signal is always run
543 after other user handlers and the default handler.
544 </para>
545
546
547 <!-- ##### ENUM GtkPrivateFlags ##### -->
548 <para>
549
550 </para>
551
552 @PRIVATE_GTK_USER_STYLE: 
553 @PRIVATE_GTK_RESIZE_PENDING: 
554 @PRIVATE_GTK_RESIZE_NEEDED: 
555 @PRIVATE_GTK_LEAVE_PENDING: 
556 @PRIVATE_GTK_HAS_SHAPE_MASK: 
557 @PRIVATE_GTK_IN_REPARENT: 
558 @PRIVATE_GTK_DIRECTION_SET: 
559 @PRIVATE_GTK_DIRECTION_LTR: 
560
561 <!-- ##### USER_FUNCTION GtkSignalDestroy ##### -->
562 <para>
563 A function which you can use to clean up when the
564 signal handler is destroyed.
565 </para>
566 <para>
567 For example, if your handler requires a few variables
568 that you made into a struct and allocated (using g_new()
569 or something), then you will probably want to free
570 it as soon as the hook is destroyed.  This will
571 allow you to do that. (For this in particular
572 it is convenient to pass g_free() as a #GtkSignalDestroy
573 function).
574 </para>
575
576 @data: The user data associated with the hook that is being
577 destroyed.
578
579 <!-- ##### USER_FUNCTION GtkSignalMarshal ##### -->
580 <para>
581 This is currently a hack left in for a scheme wrapper library.
582 It may be removed.
583 </para>
584 <para>
585 Don't use it.
586 </para>
587
588 @object: The object which emits the signal.
589 @data: The user data associated with the hook.
590 @nparams: The number of parameters to the function.
591 @args: The actual values of the arguments.
592 @arg_types: The types of the arguments.
593 @return_type: The type of the return value from the function
594 or #GTK_TYPE_NONE for no return value.
595
596 <!-- ##### STRUCT GtkSignalQuery ##### -->
597 <para>
598 This structure contains all the information about a particular
599 signal:  its name, the type it affects, the signature of the handlers,
600 and its unique identifying integer.
601 </para>
602
603 @object_type: 
604 @signal_id: 
605 @signal_name: 
606 @is_user_signal: 
607 @signal_flags: 
608 @return_val: 
609 @nparams: 
610 @params: 
611
612 <!-- ##### ARG GtkSpinButton:shadow-type ##### -->
613 <para>
614 the type of border that surrounds the arrows of a spin button.
615 </para>
616
617
618 <!-- ##### STRUCT GtkStatusbarMsg ##### -->
619 <para>
620 Holds the data for a statusbar message. <structfield>text</structfield> holds the actual text string. <structfield>context_id</structfield> is the context that this message is associated with, and <structfield>message_id</structfield> is this particular message's identifier. However, these fields should not be modified directly.
621 </para>
622
623 @text: 
624 @context_id: 
625 @message_id: 
626
627 <!-- ##### ARG GtkTextTag:justify ##### -->
628 <para>
629 A #GtkJustification for the text. This is only used when the tag is
630 applied to the first character in a paragraph.
631 </para>
632
633
634 <!-- ##### ARG GtkTextTag:left-wrapped-line-margin ##### -->
635 <para>
636 Pixel width of the left margin of the text for lines after the first
637 line in a wrapped paragraph.
638 </para>
639
640
641 <!-- ##### ARG GtkTextTag:left-wrapped-line-margin-set ##### -->
642 <para>
643
644 </para>
645
646
647 <!-- ##### ARG GtkTextTag:offset ##### -->
648 <para>
649 Pixels to offset the text horizontally or vertically, useful to
650 produce superscript and subscript.
651 </para>
652
653
654 <!-- ##### ARG GtkTextView:justify ##### -->
655 <para>
656
657 </para>
658
659
660 <!-- ##### ARG GtkTextView:wrap-mode ##### -->
661 <para>
662
663 </para>
664
665
666 <!-- ##### SIGNAL GtkWidget::debug-msg ##### -->
667 <para>
668
669 </para>
670
671 @widget: the object which received the signal.
672 @message: 
673
674 <!-- ##### SIGNAL GtkWidget::draw ##### -->
675 <para>
676
677 </para>
678
679 @widget: the object which received the signal.
680 @area: 
681
682 <!-- ##### SIGNAL GtkWidget::draw-default ##### -->
683 <para>
684
685 </para>
686
687 @widget: the object which received the signal.
688
689 <!-- ##### SIGNAL GtkWidget::draw-focus ##### -->
690 <para>
691
692 </para>
693
694 @widget: the object which received the signal.
695
696 <!-- ##### FUNCTION gtk_button_box_child_requisition ##### -->
697 <para>\r
698 This is an internally used function and should never be called from an\r
699 application.\r
700 </para>
701
702 @widget: 
703 @nvis_children: 
704 @width: 
705 @height: 
706
707 <!-- ##### FUNCTION gtk_button_box_get_child_ipadding_default ##### -->
708 <para>\r
709 The internal padding of a button is the amount of space between the outside\r
710 of the button and the widget it contains. This function gets the default\r
711 amount of horizontal and vertical padding, placing the results in @ipad_x\r
712 and @ipad_y, respectively.\r
713 </para>
714
715 @ipad_x: the default horizontal internal button padding.
716 @ipad_y: the default vertical internal button padding.
717
718 <!-- ##### FUNCTION gtk_button_box_get_child_size_default ##### -->
719 <para>\r
720 Retrieves the default minimum width and height for all button boxes, and\r
721 places the values in @min_width and @min_height, respectively.\r
722 </para>
723
724 @min_width: the default minimum width of a child widget.
725 @min_height: the default minimum height of a child widget.
726
727 <!-- ##### FUNCTION gtk_button_box_set_child_ipadding_default ##### -->
728 <para>\r
729 Sets the default number of pixels that pad each button in every button box.\r
730 </para>
731
732 @ipad_x: new default horizontal padding.
733 @ipad_y: new default vertical padding.
734
735 <!-- ##### FUNCTION gtk_button_box_set_child_size_default ##### -->
736 <para>\r
737 Sets the default size of child buttons.\r
738 </para>
739
740 @min_width: minimum default width for child buttons.
741 @min_height: minimum default height for child buttons.
742
743 <!-- ##### FUNCTION gtk_button_new_accel ##### -->
744 <para>
745
746 </para>
747
748 @uline_label: 
749 @accel_group: 
750 @Returns: 
751
752 <!-- ##### FUNCTION gtk_button_new_stock ##### -->
753 <para>
754
755 </para>
756
757 @stock_id: 
758 @accel_group: 
759 @Returns: 
760
761 <!-- ##### FUNCTION gtk_clist_construct ##### -->
762 <para>
763 Initializes a previously allocated #GtkCList widget for use.  This should not
764 normally be used to create a #GtkCList widget.  Use gtk_clist_new() instead.
765 </para>
766
767 @clist: A pointer to an uninitialized #GtkCList widget.
768 @columns: The number of columns the #GtkCList should have.
769 @titles: An array of strings that should be used as the titles i
770 of the columns.  There should be enough strings in the array for
771 the number of columns specified.
772
773 <!-- ##### FUNCTION gtk_color_selection_set_opacity ##### -->
774 <para>
775 Controls whether opacity can be set with the #GtkColorSelection.
776 If this functionality is enabled, the necessary additional widgets
777 are added to the #GtkColorSelection and the opacity value can be
778 retrieved via the fourth value in the color array returned by
779 the gtk_color_selection_get_color() function.
780 </para>
781
782 @colorsel: a #GtkColorSelection.
783 @use_opacity: a boolean indicating whether the opacity selection
784 is enabled.
785
786 <!-- ##### FUNCTION gtk_ctree_construct ##### -->
787 <para>
788 This function is not usually used by users.
789 </para>
790
791 @ctree: 
792 @columns: 
793 @tree_column: 
794 @titles: 
795
796 <!-- ##### FUNCTION gtk_editable_changed ##### -->
797 <para>
798 Causes the "changed" signal to be emitted.
799 </para>
800
801 @editable: a #GtkEditable widget.
802
803 <!-- ##### FUNCTION gtk_editable_claim_selection ##### -->
804 <para>
805 Claim or disclaim ownership of the PRIMARY X selection.
806 </para>
807
808 @editable: a #GtkEditable widget.
809 @claim: if %TRUE, claim the selection, otherwise, disclaim it.
810 @time: the timestamp for claiming the selection.
811
812 <!-- ##### FUNCTION gtk_font_selection_dialog_set_filter ##### -->
813 <para>
814 Sets one of the two font filters, to limit the fonts shown.
815 </para>
816
817 @fsd: a #GtkFontSelectionDialog.
818 @filter_type: which of the two font filters to set, either
819 #GTK_FONT_FILTER_BASE or #GTK_FONT_FILTER_USER. The user filter
820 can be changed by the user, but the base filter is permanent.
821 @font_type: the types of font to be shown. This is a bitwise combination of
822 #GTK_FONT_BITMAP, #GTK_FONT_SCALABLE and #GTK_FONT_SCALABLE_BITMAP,
823 or #GTK_FONT_ALL to show all three font types.
824 @foundries: a NULL-terminated array of strings containing foundry names which
825 will be shown, or NULL to show all foundries.
826 @weights: a NULL-terminated array of strings containing weight names which
827 will be shown, or NULL to show all weights.
828 @slants: a NULL-terminated array of strings containing slant names which
829 will be shown, or NULL to show all slants.
830 @setwidths: a NULL-terminated array of strings containing setwidth names which
831 will be shown, or NULL to show all setwidths.
832 @spacings: a NULL-terminated array of strings containing spacings which
833 will be shown, or NULL to show all spacings.
834 @charsets: a NULL-terminated array of strings containing charset names which
835 will be shown, or NULL to show all charsets.
836
837 <!-- ##### FUNCTION gtk_font_selection_set_filter ##### -->
838 <para>
839 Sets one of the two font filters, to limit the fonts shown.
840 </para>
841
842 @fontsel: a #GtkFontSelection.
843 @filter_type: which of the two font filters to set, either
844 #GTK_FONT_FILTER_BASE or #GTK_FONT_FILTER_USER. The user filter
845 can be changed by the user, but the base filter is permanent.
846 @font_type: the types of font to be shown. This is a bitwise combination of
847 #GTK_FONT_BITMAP, #GTK_FONT_SCALABLE and #GTK_FONT_SCALABLE_BITMAP,
848 or #GTK_FONT_ALL to show all three font types.
849 @foundries: a NULL-terminated array of strings containing foundry names which
850 will be shown, or NULL to show all foundries.
851 @weights: a NULL-terminated array of strings containing weight names which
852 will be shown, or NULL to show all weights.
853 @slants: a NULL-terminated array of strings containing slant names which
854 will be shown, or NULL to show all slants.
855 @setwidths: a NULL-terminated array of strings containing setwidth names which
856 will be shown, or NULL to show all setwidths.
857 @spacings: a NULL-terminated array of strings containing spacings which
858 will be shown, or NULL to show all spacings.
859 @charsets: a NULL-terminated array of strings containing charset names which
860 will be shown, or NULL to show all charsets.
861
862 <!-- ##### FUNCTION gtk_identifier_get_type ##### -->
863 <para>
864 Get the type of GtkIdentifier.
865 </para>
866
867 @Returns: GtkType -- the enumerated type of something.
868
869 <!-- ##### FUNCTION gtk_label_set_markup_with_accel ##### -->
870 <para>
871
872 </para>
873
874 @label: 
875 @str: 
876 @Returns: 
877
878 <!-- ##### FUNCTION gtk_menu_ensure_uline_accel_group ##### -->
879 <para>
880
881 </para>
882
883 @menu: 
884 @Returns: 
885
886 <!-- ##### FUNCTION gtk_menu_get_uline_accel_group ##### -->
887 <para>
888
889 </para>
890
891 @menu: 
892 @Returns: 
893
894 <!-- ##### FUNCTION gtk_object_arg_get ##### -->
895 <para>
896 Private function to get an argument and argument info from an object.
897 </para>
898
899 @object: the object whose argument should be retrieved.
900 @arg: the argument, for the name on input, the rest is filled on output.
901 @info: a #GtkArgInfo structure to optionally fill in.
902
903 <!-- ##### FUNCTION gtk_object_arg_get_info ##### -->
904 <para>
905 Query information about an argument type.
906 </para>
907
908 @object_type: type of object to query about.
909 @arg_name: name of the argument.
910 @info_p: pointer to be filled in with a pointer to the GtkArgInfo.
911 @Returns: an error message, or NULL on success.
912 It is the caller's responsibility to call g_free() in the event of error.
913
914 <!-- ##### FUNCTION gtk_object_arg_set ##### -->
915 <para>
916 Private function to set an argument and argument info to an object.
917 </para>
918
919 @object: the object whose argument should be set.
920 @arg: the argument.
921 @info: infomation about this type of argument in general.
922
923 <!-- ##### FUNCTION gtk_object_args_collect ##### -->
924 <para>
925 Private: Gets an array of #GtkArgs from a va_list C structure.
926 </para>
927
928 @object_type: the type of object to collect arguments for.
929 @arg_list_p: pointer to be filled in with a list of parsed arguments.
930 @info_list_p: optional pointer for a returned list #GtkArgInfos.
931 @first_arg_name: name of first argument.
932 @var_args: value of first argument, followed by more key/value pairs,
933 terminated by NULL.
934 @Returns: an error message, or NULL on success.
935 It is the caller's responsibility to call g_free() in the event of error.
936
937 <!-- ##### FUNCTION gtk_object_class_add_signals ##### -->
938 <para>
939 Add an array of signals to a #GtkObjectClass.
940 Usually this is called when registering a new type of object.
941 </para>
942
943 @klass: the object class to append signals to.
944 @signals: the signals to append.
945 @nsignals: the number of signals being appended.
946
947 <!-- ##### FUNCTION gtk_object_class_user_signal_new ##### -->
948 <para>
949 Define a signal-handler for a new signal on an already defined
950 object.
951 </para>
952 <para>
953 See the signal documentation for more general information.
954 </para>
955
956 @klass: the object class to define the signal for.
957 @name: the name of the signal.
958 @signal_flags: the default emission behavior for the signal.
959 See gtk_signal_new().
960 @marshaller: a function that will take an array of GtkArgs
961 and invoke the appropriate handler with the normal calling
962 conventions.
963 @return_val: specify the return-value type for the signal
964 (or GTK_TYPE_NONE for no return-value).
965 @nparams: specify the number of parameters the signal
966 receives from the caller of gtk_signal_emit().
967 @Varargs: list of nparams #GtkTypes to pass to the signal handlers.
968 @Returns: the signal id.  (See #GtkSignals)
969
970 <!-- ##### FUNCTION gtk_object_class_user_signal_newv ##### -->
971 <para>
972 Define a signal-handler for a new signal on an already defined
973 object.
974 </para>
975
976 @klass: the object class to define the signal for.
977 @name: the name of the signal.
978 @signal_flags: the default emission behavior for the signal.
979 See gtk_signal_new().
980 @marshaller: takes a GtkObject, a #GtkSignalFunc, and an array
981 of arguments, and invokes the function using the appropriate
982 calling conventions.  Usually just select a function
983 out of gtkmarshal.h.
984 @return_val: specify the return-value type for the signal (possibly
985 #GTK_TYPE_NONE).
986 @nparams: specify the number of parameters the signal
987 receives from the caller of gtk_signal_emit().
988 @params: array of #GtkTypes the signal handlers for this signal
989 should have in their prototype (of length nparams).
990 @Returns: the signal id.  (See #GtkSignals)
991
992 <!-- ##### FUNCTION gtk_object_constructed ##### -->
993 <para>
994 Mark an allocated object as constructed.
995 This is used for situations
996 that require precise control of the construction process.
997 </para>
998 <para>
999 This is done when gtk_object_default_construct() is inadequate.
1000 In #GtkCList the need arises because #GtkCList does construction work that
1001 must happen <emphasis>after</emphasis> its derivers.  This work
1002 cannot be done in an initializer function, so an alternate
1003 constructor is mandatory.  It calls gtk_object_constructed() to
1004 indicate it has done its job, so that no other constructor will
1005 be invoked.
1006 </para>
1007 <para>
1008 Normally this function is just automatically run from
1009 gtk_object_default_construct().
1010 </para>
1011
1012 @object: object which has been constructed.  This is usually
1013 done automatically by gtk_object_new() and gtk_object_newv().
1014
1015 <!-- ##### FUNCTION gtk_object_default_construct ##### -->
1016 <para>
1017 This function is called to construct arguments that haven't been initialized
1018 but have the #GTK_ARG_CONSTRUCT flag set.
1019 </para>
1020 <para>
1021 All number arguments are set to 0.  All pointers and strings
1022 are set to NULL.
1023 </para>
1024 <para>
1025 Normally invoked by gtk_object_new() automatically; gtk_type_new() can
1026 be used to bypass it.
1027 </para>
1028
1029 @object: the object to initialize.
1030
1031 <!-- ##### FUNCTION gtk_object_getv ##### -->
1032 <para>
1033 Gets an array of argument values from an object.
1034 </para>
1035
1036 @object: the object to get arguments from.
1037 @n_args: the number of arguments to query.
1038 @args: the arguments to fill in.
1039
1040 <!-- ##### FUNCTION gtk_object_newv ##### -->
1041 <para>
1042 Construct an object with an array of arguments.
1043 </para>
1044
1045 @object_type: the type of the object to create.
1046 @n_args: the number of arguments to set.
1047 @args: an array of n_args arguments (which are name and value pairs).
1048 @Returns: the new GtkObject.
1049
1050 <!-- ##### FUNCTION gtk_object_query_args ##### -->
1051 <para>
1052 Get all the arguments that may be used for a given type.
1053 </para>
1054 <para>
1055 In Java, this type of mechanism is called 
1056 <wordasword>introspection</wordasword>.  It is used by applications
1057 like Glade, that have to determine what can be done to an object
1058 at run-time.
1059 </para>
1060
1061 @class_type: the GtkType of the ObjectClass
1062 (returned from GTK_OBJECT_CLASS(class)-&gt;type for example).
1063 @arg_flags: if non-NULL, obtains the #GtkArgFlags that apply to
1064 each argument.  You must g_free() this if you request it.
1065 @n_args: the number of arguments is returned in this field.
1066 @Returns: an array of arguments, that you must deallocate with g_free().
1067
1068 <!-- ##### FUNCTION gtk_object_setv ##### -->
1069 <para>
1070 Set an array of arguments.
1071 </para>
1072
1073 @object: the object whose arguments should be set.
1074 @n_args: the number of arguments to set.
1075 @args: the desired values, as an array of #GtkArgs (which contain 
1076 the names, types, and values of the arguments).
1077
1078 <!-- ##### FUNCTION gtk_paned_compute_position ##### -->
1079 <para>
1080 Internal function used by #GtkHPaned and #GtkVPaned
1081 </para>
1082
1083 @paned: 
1084 @allocation: 
1085 @child1_req: 
1086 @child2_req: 
1087
1088 <!-- ##### FUNCTION gtk_rc_init ##### -->
1089 <para>
1090 Internal function.
1091 </para>
1092
1093
1094 <!-- ##### FUNCTION gtk_ruler_draw_pos ##### -->
1095 <para>
1096
1097 </para>
1098
1099 @ruler: the gtkruler
1100
1101 <!-- ##### FUNCTION gtk_ruler_draw_ticks ##### -->
1102 <para>
1103
1104 </para>
1105
1106 @ruler: the gtkruler
1107
1108 <!-- ##### FUNCTION gtk_signal_add_emission_hook ##### -->
1109 <para>
1110 Add an emission hook for a type of signal, for any object.
1111 </para>
1112
1113 @signal_id: the type of signal to hook for.
1114 @hook_func: the function to invoke to handle the emission hook.
1115 @data: the user data passed in to hook_func.
1116 @Returns: the id (that you may pass as a parameter
1117 to gtk_signal_remove_emission_hook()).
1118 @i: 
1119 @h: 
1120 @d: 
1121
1122 <!-- ##### FUNCTION gtk_signal_add_emission_hook_full ##### -->
1123 <para>
1124 Add an emission hook for a type of signal, for any object.
1125 (with control of what happens when the hook is
1126 destroyed).
1127 </para>
1128
1129 @signal_id: the type of signal add the hook for.
1130 @hook_func: the function to invoke to handle the hook.
1131 @data: the user data passed in to hook_func.
1132 @destroy: a function to invoke when the hook is destroyed,
1133 to clean up any allocation done just for this
1134 signal handler.
1135 @Returns: the id (that you may pass as a parameter
1136 to gtk_signal_remove_emission_hook()).
1137
1138 <!-- ##### FUNCTION gtk_signal_handler_pending_by_id ##### -->
1139 <para>
1140 Returns whether a connection id is valid (and optionally not blocked).
1141 </para>
1142
1143 @object: the object to search for the desired handler.
1144 @handler_id: the connection id.
1145 @may_be_blocked: whether it is acceptable to return a blocked
1146 handler.
1147 @Returns: TRUE if the signal exists and wasn't blocked,
1148 unless #may_be_blocked was specified.  FALSE otherwise.
1149
1150 <!-- ##### FUNCTION gtk_signal_handlers_destroy ##### -->
1151 <para>
1152 Destroy all the signal handlers connected to an object.
1153 This is done automatically when the object is destroyed.
1154 </para>
1155 <para>
1156 This function is labeled private.
1157 </para>
1158
1159 @object: the object whose signal handlers should be destroyed.
1160
1161 <!-- ##### FUNCTION gtk_signal_init ##### -->
1162 <para>
1163
1164 </para>
1165
1166
1167 <!-- ##### FUNCTION gtk_signal_n_emissions ##### -->
1168 <para>
1169 Find out the recursion depth of emissions for a particular type
1170 of signal and object.  (So it will
1171 always return 0 or 1 if #GTK_RUN_NO_RECURSE is specified)
1172 This is a way to avoid recursion:  you can see if
1173 you are currently running in that signal handler and emit it only
1174 if you are.
1175 </para>
1176 <para>Another way to look at it is that this number increases
1177 by one when #gtk_signal_emit(), et al, are called,
1178 and decreases by one when #gtk_signal_emit() returns.
1179 </para>
1180
1181 @object: the object with the signal handler.
1182 @signal_id: the signal id.
1183 @Returns: the recursion depth of emissions of this signal for this
1184 object.
1185
1186 <!-- ##### FUNCTION gtk_signal_n_emissions_by_name ##### -->
1187 <para>
1188 Find out the recursion depth of emissions for a particular type
1189 of signal and object.  Just like gtk_signal_n_emissions()
1190 except it will lookup the signal id for you.
1191 </para>
1192
1193 @object: the object with the signal handler.
1194 @name: the signal name.
1195 @Returns: the recursion depth of emissions of this signal for this
1196 object.
1197
1198 <!-- ##### FUNCTION gtk_signal_query ##### -->
1199 <para>
1200 Obtain information about a signal.
1201 </para>
1202
1203 @signal_id: the signal type identifier.
1204 @Returns: a pointer to a GtkSignalQuery structure
1205 which contains all the information, or NULL.
1206 The pointer is allocated just for you:  you must g_free() it.
1207
1208 <!-- ##### FUNCTION gtk_signal_remove_emission_hook ##### -->
1209 <para>
1210 Delete an emission hook. (see gtk_signal_add_emission_hook())
1211 </para>
1212
1213 @signal_id: the id of the signal type.
1214 @hook_id: the id of the emission handler, returned by add_emission_hook().
1215 @i: 
1216 @h: 
1217
1218 <!-- ##### FUNCTION gtk_signal_set_funcs ##### -->
1219 <para>
1220 These set default functions to call when the user didn't
1221 supply a function when connecting.  (These are rarely
1222 used, and probably only for language bindings)
1223 </para>
1224 <para>
1225 By default, there are no such functions.
1226 </para>
1227
1228 @marshal_func: the function to invoke on every handlers for which there
1229 isn't a function pointer.  May be NULL.
1230 @destroy_func: the function to invoke when each hook is destroyed.
1231 May be NULL.
1232
1233 <!-- ##### FUNCTION gtk_spin_button_set_shadow_type ##### -->
1234 <para>
1235 Creates a border around the arrows of a #GtkSpinButton. The type of border is determined by @shadow_type.
1236 </para>
1237
1238 @spin_button: a #GtkSpinButton
1239 @shadow_type: the new border type.
1240
1241 <!-- ##### FUNCTION gtk_trace_referencing ##### -->
1242 <para>
1243 Private: print debugging information while doing a gtk_object_ref() or 
1244 a gtk_object_unref().
1245 </para>
1246
1247 @object: object to reference or unreference.
1248 @func: name of caller's function to print (used within macros).
1249 @dummy: unused.
1250 @line: line number (used within macros).
1251 @do_ref: whether to reference or unreference.
1252
1253 <!-- ##### FUNCTION gtk_tree_model_ref_iter ##### -->
1254 <para>
1255
1256 </para>
1257
1258 @tree_model: 
1259 @iter: 
1260
1261 <!-- ##### FUNCTION gtk_tree_model_unref_iter ##### -->
1262 <para>
1263
1264 </para>
1265
1266 @tree_model: 
1267 @iter: 
1268
1269 <!-- ##### FUNCTION gtk_type_check_class_cast ##### -->
1270 <para>
1271 Given a GtkTypeClass pointer @klass, and a GtkType @cast_type, make
1272 sure that it's okay to cast something of that @klass into a @cast_type.
1273 </para>
1274
1275 @klass: GtkTypeClass*
1276 @cast_type: GtkType
1277 @Returns: Always return @klass.
1278
1279 <!-- ##### FUNCTION gtk_type_check_object_cast ##### -->
1280 <para>
1281 Given a pointer to a GtkTypeObject @type_object, and a GtkType @cast_type,
1282 make sure that it's okay to cast @type_object into a @cast_type.
1283 </para>
1284
1285 @type_object: GtkTypeObject*
1286 @cast_type: GtkType
1287 @Returns: the same GtkTypeObject* as @type_object
1288
1289 <!-- ##### FUNCTION gtk_type_children_types ##### -->
1290 <para>
1291 Return the pointer to the type's children's types.
1292 </para>
1293
1294 @type: GtkType
1295 @Returns: pointer to a GList
1296
1297 <!-- ##### FUNCTION gtk_type_describe_heritage ##### -->
1298 <para>
1299 Print the types @type inherits from.
1300 </para>
1301
1302 @type: GtkType
1303
1304 <!-- ##### FUNCTION gtk_type_describe_tree ##### -->
1305 <para>
1306 Given a @type, describe all of its children, and their children.  Only
1307 show the size if @show_size is true.
1308 </para>
1309
1310 @type: GtkType
1311 @show_size: gboolean
1312
1313 <!-- ##### FUNCTION gtk_type_free ##### -->
1314 <para>
1315 Given the type of an object and a pointer to it, the object is freed.
1316 </para>
1317
1318 @type: GtkType
1319 @mem: gpointer to the object
1320
1321 <!-- ##### FUNCTION gtk_type_get_varargs_type ##### -->
1322 <para>
1323 Get the varargs type associated with @foreign_type
1324 </para>
1325
1326 @foreign_type: GtkType
1327 @Returns: GtkType
1328
1329 <!-- ##### FUNCTION gtk_type_parent_class ##### -->
1330 <para>
1331 Return the class of the parent.  Initialize the class if necessary.
1332 Return NULL if anything goes wrong.
1333 </para>
1334
1335 @type: GtkType
1336 @Returns: gpointer to the klass.
1337
1338 <!-- ##### FUNCTION gtk_type_query ##### -->
1339 <para>
1340 Given a type, return various interesting parameters of the type.
1341 </para>
1342
1343 @type: GtkType
1344 @Returns: GtkTypeQuery*
1345
1346 <!-- ##### FUNCTION gtk_type_register_enum ##### -->
1347 <para>
1348 Register a new set of enum @values and give them the name in
1349 @type_name.
1350 </para>
1351
1352 @type_name: must not be null.
1353 @values: GtkEnumValue*
1354 @Returns: 
1355
1356 <!-- ##### FUNCTION gtk_type_register_flags ##### -->
1357 <para>
1358 Register a new set of flags @values and give them the name in
1359 @type_name.
1360 </para>
1361
1362 @type_name: must not be null.
1363 @values: GtkFlagValue*
1364 @Returns: 
1365
1366 <!-- ##### FUNCTION gtk_type_set_chunk_alloc ##### -->
1367 <para>
1368 Set the mem_chunk size so it will hold @n_chunks of the objects of that @type.
1369 </para>
1370
1371 @type: There must be an unlocked TypeNode associated with this type otherwise nothing happens.
1372 @n_chunks: 
1373
1374 <!-- ##### FUNCTION gtk_type_set_varargs_type ##### -->
1375 <para>
1376 Set the varargs type for a fundamental type @foreign_type.
1377 </para>
1378
1379 @foreign_type: Must be a GtkType with a sequence number of zero.  Must not be a
1380 fundamental type.
1381 @varargs_type: Must be a GtkType which is either structured or flag, or NONE.
1382
1383 <!-- ##### FUNCTION gtk_window_get_default_accel_group ##### -->
1384 <para>
1385
1386 </para>
1387
1388 @window: 
1389 @Returns: 
1390