1 <!-- ##### SECTION ./tmpl/gtkarg.sgml:Long_Description ##### -->
3 All the functions in here are marked a Non-public.
4 We describe it anyway because it is occasionally useful
5 to understand how the work is done.
8 Arguments are a way of describing a named parameter to a function.
9 They have two important roles within gtk+:
13 they describe <wordasword>object properties</wordasword>.
14 This means that they present an interface to get and set a named-type
15 for any type of object in a consistent way.
16 (All the relevant functions to do this start with gtk_object_set
22 they describe <wordasword>signal arguments</wordasword>.
23 This is a lot less often needed but still useful.
24 Usually if you are just emitting or creating a particular signal
25 it is more convenient to just use g_signal_emit() or g_signal_new().
26 However if you are writing a function to emit or create an arbitrary
27 signal, you must use g_signal_emitv() or g_signal_newv().
34 <!-- ##### SECTION ./tmpl/gtkarg.sgml:See_Also ##### -->
40 <!-- ##### SECTION ./tmpl/gtkarg.sgml:Short_Description ##### -->
41 Utility function to manipulate lists of named, typed arguments.
44 <!-- ##### SECTION ./tmpl/gtkarg.sgml:Title ##### -->
45 Implementation of Object Properties
48 <!-- ##### SECTION ./tmpl/gtkcellrenderertextpixbuf.sgml:Long_Description ##### -->
54 <!-- ##### SECTION ./tmpl/gtkcellrenderertextpixbuf.sgml:See_Also ##### -->
60 <!-- ##### SECTION ./tmpl/gtkcellrenderertextpixbuf.sgml:Short_Description ##### -->
64 <!-- ##### SECTION ./tmpl/gtkcellrenderertextpixbuf.sgml:Title ##### -->
65 GtkCellRendererTextPixbuf
68 <!-- ##### SECTION ./tmpl/gtkclist.sgml:Long_Description ##### -->
70 The #GtkCList widget is a very useful multi-columned scrolling list.
71 It can display data in nicely aligned vertical columns, with titles
72 at the top of the list.
75 GtkCList has been deprecated since GTK+ 2.0 and should not be used
76 in newly written code. Use #GtkTreeView instead.
80 <!-- ##### SECTION ./tmpl/gtkclist.sgml:See_Also ##### -->
86 <!-- ##### SECTION ./tmpl/gtkclist.sgml:Short_Description ##### -->
87 A multi-columned scrolling list widget
90 <!-- ##### SECTION ./tmpl/gtkclist.sgml:Stability_Level ##### -->
94 <!-- ##### SECTION ./tmpl/gtkclist.sgml:Title ##### -->
98 <!-- ##### SECTION ./tmpl/gtkcombo.sgml:Long_Description ##### -->
100 The #GtkCombo widget consists of a single-line text entry field and a drop-down
101 list. The drop-down list is displayed when the user clicks on a small arrow
102 button to the right of the entry field.
105 The drop-down list is a #GtkList widget and can be accessed using the
106 <structfield>list</structfield> member of the #GtkCombo-struct.
107 List elements can contain arbitrary widgets, but if an element is not a
108 plain label, then you must use the gtk_list_set_item_string() function.
109 This sets the string which will be placed in the text entry field when the
113 By default, the user can step through the items in the list using the
114 arrow (cursor) keys, though this behaviour can be turned off with
115 gtk_combo_set_use_arrows().
118 As of GTK+ 2.4, #GtkCombo has been deprecated in favor of #GtkComboBoxEntry.
121 <example id="gtkcombo-simple-example">
122 <title>Creating a <structname>GtkCombo</structname> widget with simple text
128 items = g_list_append (items, "First Item");
129 items = g_list_append (items, "Second Item");
130 items = g_list_append (items, "Third Item");
131 items = g_list_append (items, "Fourth Item");
132 items = g_list_append (items, "Fifth Item");
134 combo = gtk_combo_new (<!-- -->);
135 gtk_combo_set_popdown_strings (GTK_COMBO (combo), items);
140 <title>Creating a <structname>GtkCombo</structname> widget with a complex item.</title>
142 GtkWidget *combo, *item, *hbox, *arrow, *label;
144 combo = gtk_combo_new (<!-- -->);
146 item = gtk_list_item_new (<!-- -->);
147 gtk_widget_show (item);
149 /* You can put almost anything into the GtkListItem widget. Here we will use
150 a horizontal box with an arrow and a label in it. */
151 hbox = gtk_hbox_new (FALSE, 3);
152 gtk_container_add (GTK_CONTAINER (item), hbox);
153 gtk_widget_show (hbox);
155 arrow = gtk_arrow_new (GTK_ARROW_RIGHT, GTK_SHADOW_OUT);
156 gtk_widget_show (arrow);
157 gtk_box_pack_start (GTK_BOX (hbox), arrow, FALSE, FALSE, 0);
159 label = gtk_label_new ("First Item");
160 gtk_widget_show (label);
161 gtk_box_pack_start (GTK_BOX (hbox), label, FALSE, FALSE, 0);
163 /* You must set the string to display in the entry field when the item is
165 gtk_combo_set_item_string (GTK_COMBO (combo), GTK_ITEM (item), "1st Item");
167 /* Now we simply add the item to the combo's list. */
168 gtk_container_add (GTK_CONTAINER (GTK_COMBO (combo)->list), item);
173 <!-- ##### SECTION ./tmpl/gtkcombo.sgml:See_Also ##### -->
179 <!-- ##### SECTION ./tmpl/gtkcombo.sgml:Short_Description ##### -->
180 A text entry field with a dropdown list
183 <!-- ##### SECTION ./tmpl/gtkcombo.sgml:Stability_Level ##### -->
187 <!-- ##### SECTION ./tmpl/gtkcombo.sgml:Title ##### -->
191 <!-- ##### SECTION ./tmpl/gtkdata.sgml:Long_Description ##### -->
193 The #GtkData object is a very simple object intended to be used as a base
194 class for objects which contain data (i.e. the 'Model' in the object-oriented
195 Model/View/Controller framework).
198 Currently it is not very useful since all it provides is a "disconnect" signal.
199 This signal could be emitted by a #GtkData subclass to notify any 'Views'
200 that they should disconnect from the #GtkData (the 'Model'), possibly just
201 before the #GtkData is destroyed.
205 <!-- ##### SECTION ./tmpl/gtkdata.sgml:See_Also ##### -->
211 <!-- ##### SECTION ./tmpl/gtkdata.sgml:Short_Description ##### -->
212 abstract base class for objects containing data.
215 <!-- ##### SECTION ./tmpl/gtkdata.sgml:Title ##### -->
219 <!-- ##### SECTION ./tmpl/gtkdebug.sgml:Title ##### -->
223 <!-- ##### SECTION ./tmpl/gtkenums.sgml.sgml:Title ##### -->
227 <!-- ##### SECTION ./tmpl/gtkfilesel.sgml:Long_Description ##### -->
229 #GtkFileSelection has been superseded by the newer #GtkFileChooser family
233 #GtkFileSelection should be used to retrieve file or directory names from
234 the user. It will create a new dialog window containing a directory list,
235 and a file list corresponding to the current working directory. The filesystem
236 can be navigated using the directory list or the drop-down history menu.
237 Alternatively, the TAB key can be used to navigate using filename
238 completion - common in text based editors such as emacs and jed.
241 File selection dialogs are created with a call to gtk_file_selection_new().
244 The default filename can be set using gtk_file_selection_set_filename() and the selected filename retrieved using gtk_file_selection_get_filename().
247 Use gtk_file_selection_complete() to display files and directories
248 that match a given pattern. This can be used for example, to show only
249 *.txt files, or only files beginning with gtk*.
252 Simple file operations; create directory, delete file, and rename file, are available from buttons at the top of the dialog. These can be hidden using gtk_file_selection_hide_fileop_buttons() and shown again using gtk_file_selection_show_fileop_buttons().
256 <title>Getting a filename from the user.</title>
259 /* The file selection widget and the string to store the chosen filename */
261 void store_filename (GtkWidget *widget, gpointer user_data) {
262 GtkWidget *file_selector = GTK_WIDGET (user_data);
263 const gchar *selected_filename;
265 selected_filename = gtk_file_selection_get_filename (GTK_FILE_SELECTION (file_selector));
266 g_print ("Selected filename: %s\n", selected_filename);
269 void create_file_selection (void) {
271 GtkWidget *file_selector;
273 /* Create the selector */
275 file_selector = gtk_file_selection_new ("Please select a file for editing.");
277 g_signal_connect (GTK_FILE_SELECTION (file_selector)->ok_button,
279 G_CALLBACK (store_filename),
282 /* Ensure that the dialog box is destroyed when the user clicks a button. */
284 g_signal_connect_swapped (GTK_FILE_SELECTION (file_selector)->ok_button,
286 G_CALLBACK (gtk_widget_destroy),
289 g_signal_connect_swapped (GTK_FILE_SELECTION (file_selector)->cancel_button,
291 G_CALLBACK (gtk_widget_destroy),
294 /* Display that dialog */
296 gtk_widget_show (file_selector);
304 <!-- ##### SECTION ./tmpl/gtkfilesel.sgml:See_Also ##### -->
309 <term>#GtkDialog</term>
310 <listitem><para>Add your own widgets into the #GtkFileSelection.</para></listitem>
316 <!-- ##### SECTION ./tmpl/gtkfilesel.sgml:Short_Description ##### -->
317 Prompt the user for a file or directory name
320 <!-- ##### SECTION ./tmpl/gtkfilesel.sgml:Stability_Level ##### -->
324 <!-- ##### SECTION ./tmpl/gtkfilesel.sgml:Title ##### -->
328 <!-- ##### SECTION ./tmpl/gtkitemfactory.sgml:Long_Description ##### -->
330 As of GTK+ 2.4, #GtkItemFactory has been deprecated in favour of #GtkUIManager.
334 <!-- ##### SECTION ./tmpl/gtkitemfactory.sgml:See_Also ##### -->
340 <!-- ##### SECTION ./tmpl/gtkitemfactory.sgml:Short_Description ##### -->
344 <!-- ##### SECTION ./tmpl/gtkitemfactory.sgml:Stability_Level ##### -->
348 <!-- ##### SECTION ./tmpl/gtkitemfactory.sgml:Title ##### -->
352 <!-- ##### SECTION ./tmpl/gtklist.sgml:Long_Description ##### -->
354 The #GtkList widget is a container whose children are displayed
355 vertically in order, and can be selected.
357 The list has many selection modes, which are programmer selective and
358 depend on how many elements are able to be selected at the same time.
361 GtkList has been deprecated since GTK+ 2.0 and should not be used
362 in newly written code. Use #GtkTreeView instead.
366 <!-- ##### SECTION ./tmpl/gtklist.sgml:See_Also ##### -->
370 <term>#GtkContainer</term>
371 <listitem><para>For functions that apply to every #GtkContainer
372 (like #GtkList).</para></listitem>
375 <term>#GtkListitem</term>
376 <listitem><para>Children of a #GtkList widget must be of this
377 type.</para></listitem>
383 <!-- ##### SECTION ./tmpl/gtklist.sgml:Short_Description ##### -->
384 Widget for packing a list of selectable items
387 <!-- ##### SECTION ./tmpl/gtklist.sgml:Stability_Level ##### -->
391 <!-- ##### SECTION ./tmpl/gtklist.sgml:Title ##### -->
395 <!-- ##### SECTION ./tmpl/gtklistitem.sgml:Long_Description ##### -->
397 The #GtkListItem widget is used for each item in a #GtkList.
400 GtkList has has been deprecated since GTK+ 2.0 and should not be used
401 in newly written code. Use #GtkTreeView instead.
405 <!-- ##### SECTION ./tmpl/gtklistitem.sgml:See_Also ##### -->
410 <term>#GtkList</term>
411 <listitem><para>the parent list widget.</para></listitem>
419 <!-- ##### SECTION ./tmpl/gtklistitem.sgml:Short_Description ##### -->
423 <!-- ##### SECTION ./tmpl/gtklistitem.sgml:Stability_Level ##### -->
427 <!-- ##### SECTION ./tmpl/gtklistitem.sgml:Title ##### -->
431 <!-- ##### SECTION ./tmpl/gtkmarshal.sgml:Long_Description ##### -->
433 <title>What are Signal Marshallers?</title>
435 Marshals are functions which all have the same prototype:
436 they take a #GtkObject, a #GtkSignalFunc, a #gpointer,
437 and an array of argument values.
438 The functions are names gtk_marshall_RETURNTYPE__PARAMTYPE1_PARAMTYPE2....
441 They then call a native function: the GtkObject is the first
442 parameter passed in. The arguments are passed in the native
443 calling convention: chars, shorts, ints, longs may be packed
444 on the stack, or tucked in registers: it doesn't matter
445 because the same calling convention will be generated
446 inside the gtkmarshal code as is expected where you define
450 So the function named:
452 gtk_marshal_BOOL__POINTER_INT_INT_UINT(GtkObject*, GtkSignalFunc, gpointer, GtkArg*);
454 will call the #GtkSignalFunc assuming it was a function with signature:
456 gboolean sigfunc(gpointer,gint,gint,guint);
461 <title>Writing Custom Marshals</title>
463 Marshals are primarily used as arguments to g_signal_new().
464 Sometimes, you may find that a marshaller you need isn't available
465 in the standard list. Then you have to write your own.
468 If you wish to define a signal with a new type of argument list.
469 Suppose you want 2 pointers and 2 integers.
472 typedef int (*GtkSignal_INT__POINTER_POINTER_INT_INT)(
473 gpointer, gpointer, gint, gint
476 void marshal_INT__POINTER_POINTER_INT_INT(GtkObject* object,
481 GtkSignal_NONE__POINTER_POINTER_INT_INT rfunc;
483 return_val = GTK_RETLOC_INT(args[4]);
484 rfunc = (GtkSignal_INT__POINTER_POINTER_INT_INT)func;
485 *return_val = (*rfunc)(object,
486 GTK_VALUE_POINTER(args[0]),
487 GTK_VALUE_POINTER(args[1]),
488 GTK_VALUE_INT(args[2]),
489 GTK_VALUE_INT(args[3]),
497 <!-- ##### SECTION ./tmpl/gtkmarshal.sgml:See_Also ##### -->
502 <term>#GtkSignal</term>
503 <listitem><para>The signal handling functions (of which marshallers are
504 really an implementation detail).</para></listitem>
511 <!-- ##### SECTION ./tmpl/gtkmarshal.sgml:Short_Description ##### -->
512 Functions to adapt C structures to native calling convention.
515 <!-- ##### SECTION ./tmpl/gtkmarshal.sgml:Title ##### -->
519 <!-- ##### SECTION ./tmpl/gtkpacker.sgml:Long_Description ##### -->
525 <!-- ##### SECTION ./tmpl/gtkpacker.sgml:See_Also ##### -->
531 <!-- ##### SECTION ./tmpl/gtkpacker.sgml:Short_Description ##### -->
535 <!-- ##### SECTION ./tmpl/gtkpacker.sgml:Title ##### -->
539 <!-- ##### SECTION ./tmpl/gtkpreview.sgml:Long_Description ##### -->
541 The #GtkPreview widget provides a simple interface
542 used to display images as RGB or grayscale data.
543 It's deprecated; just use a #GdkPixbuf displayed by a #GtkImage, or
544 perhaps a #GtkDrawingArea. #GtkPreview has no advantage over those
549 <!-- ##### SECTION ./tmpl/gtkpreview.sgml:See_Also ##### -->
555 <listitem><para>the backend used by #GtkPreview.</para></listitem>
562 <!-- ##### SECTION ./tmpl/gtkpreview.sgml:Short_Description ##### -->
563 A widget to display RGB or grayscale data
566 <!-- ##### SECTION ./tmpl/gtkpreview.sgml:Stability_Level ##### -->
570 <!-- ##### SECTION ./tmpl/gtkpreview.sgml:Title ##### -->
574 <!-- ##### SECTION ./tmpl/gtkprivate.sgml:Title ##### -->
578 <!-- ##### SECTION ./tmpl/gtkthemes.sgml:Long_Description ##### -->
584 <!-- ##### SECTION ./tmpl/gtkthemes.sgml:See_Also ##### -->
590 <!-- ##### SECTION ./tmpl/gtkthemes.sgml:Short_Description ##### -->
594 <!-- ##### SECTION ./tmpl/gtkthemes.sgml:Stability_Level ##### -->
598 <!-- ##### SECTION ./tmpl/gtkthemes.sgml:Title ##### -->
602 <!-- ##### SECTION ./tmpl/gtktipsquery.sgml:Long_Description ##### -->
604 The #GtkTipsQuery widget is a subclass of #GtkLabel which is used to display
605 help about widgets in a user interface.
608 A query is started with a call to gtk_tips_query_start_query(), usually
609 when some kind of 'Help' button is pressed. The #GtkTipsQuery then grabs all
610 events, stopping the user interface from functioning normally.
611 Then as the user moves the mouse over the widgets, the #GtkTipsQuery displays
612 each widget's tooltip text.
615 By connecting to the "widget-entered" or "widget-selected" signals, it is
616 possible to customize the #GtkTipsQuery to perform other actions when widgets
617 are entered or selected. For example, a help browser could be opened with
618 documentation on the widget selected.
621 At some point a call to gtk_tips_query_stop_query() must be made in order to
622 stop the query and return the interface to its normal state.
623 The gtk_tips_query_set_caller() function can be used to specify a widget
624 which the user can select to stop the query (often the same button used to
629 <!-- ##### SECTION ./tmpl/gtktipsquery.sgml:See_Also ##### -->
633 <term>#GtkTooltips</term>
634 <listitem><para>the object which handles tooltips.</para></listitem>
640 <!-- ##### SECTION ./tmpl/gtktipsquery.sgml:Short_Description ##### -->
641 Displays help about widgets in the user interface
644 <!-- ##### SECTION ./tmpl/gtktipsquery.sgml:Stability_Level ##### -->
648 <!-- ##### SECTION ./tmpl/gtktipsquery.sgml:Title ##### -->
652 <!-- ##### SECTION ./tmpl/gtktreemodelsimple.sgml:Long_Description ##### -->
658 <!-- ##### SECTION ./tmpl/gtktreemodelsimple.sgml:See_Also ##### -->
664 <!-- ##### SECTION ./tmpl/gtktreemodelsimple.sgml:Short_Description ##### -->
668 <!-- ##### SECTION ./tmpl/gtktreemodelsimple.sgml:Title ##### -->
672 <!-- ##### MACRO GTK_CELL_PIXMAP ##### -->
674 A macro to cast a generic #GtkCList cell item to a GtkCellPixmap pointer.
677 @cell: The #GtkCList cell item to convert.
679 <!-- ##### MACRO GTK_CELL_PIXTEXT ##### -->
681 A macro to cast a generic #GtkCList cell item to a GtkCellPixText pointer.
684 @cell: The #GtkCList cell item to convert.
686 <!-- ##### MACRO GTK_CELL_TEXT ##### -->
688 A macro to cast a generic #GtkCList cell item to a GtkCellText pointer.
691 @cell: The #GtkCList cell item to convert.
693 <!-- ##### MACRO GTK_CELL_WIDGET ##### -->
695 A macro to cast a generic #GtkCList cell item to a GtkCellWidget pointer.
698 @cell: The #GtkCList cell item to convert.
700 <!-- ##### MACRO GTK_CHECK_CAST ##### -->
702 Casts the object in @tobj into @cast. If %G_DISABLE_CAST_CHECKS is
703 defined, just cast it. Otherwise, check to see if we can cast @tobj
708 <!-- ##### MACRO GTK_CHECK_CLASS_CAST ##### -->
710 Casts the object in @tobj into @cast. If %G_DISABLE_CAST_CHECKS is
711 defined, just cast it. Otherwise, check to see if we can cast @tobj
715 @tclass: a #GtkClassInitFunc
716 @cast_type: a GTK+ type.
719 <!-- ##### MACRO GTK_CHECK_CLASS_TYPE ##### -->
721 Determines whether @type_class is a type of @otype.
724 @type_class: a #GtkTypeClass class.
726 <!-- ##### MACRO GTK_CHECK_GET_CLASS ##### -->
728 Gets the class of @tobj.
733 <!-- ##### MACRO GTK_CHECK_TYPE ##### -->
735 Determines whether @type_object is a type of @otype.
738 @type_object: a #GtkTypeObject object
740 <!-- ##### MACRO GTK_CLASS_NAME ##### -->
742 Returns the type name of @class.
745 @class: a #GtkTypeClass.
746 @Deprecated: Use g_type_name() and G_TYPE_FROM_CLASS() instead.
748 <!-- ##### MACRO GTK_CLASS_TYPE ##### -->
750 Returns the type of @class.
753 @class: a #GtkTypeClass.
754 @Deprecated: Use G_TYPE_FROM_CLASS() instead.
756 <!-- ##### MACRO GTK_CLIST_ADD_MODE ##### -->
758 A macro to test whether the CList is in "add mode."
761 @clist: The #GtkCList widget to check.
763 <!-- ##### MACRO GTK_CLIST_AUTO_RESIZE_BLOCKED ##### -->
765 A macro to check if automatic resizing of columns is blocked.
768 @clist: The #GtkCList widget to check.
770 <!-- ##### MACRO GTK_CLIST_AUTO_SORT ##### -->
772 A macro to test whether the CList has automatic sorting
776 @clist: The #GtkCList widget to check.
778 <!-- ##### MACRO GTK_CLIST_CHILD_HAS_FOCUS ##### -->
780 A macro to check whether a child widget of the CList
784 @clist: The #GtkCList widget to check.
786 <!-- ##### MACRO GTK_CLIST_DRAW_DRAG_LINE ##### -->
788 A macro to check if the DRAW_DRAG_LINE property is enabled.
791 @clist: The #GtkCList widget to check.
793 <!-- ##### MACRO GTK_CLIST_DRAW_DRAG_RECT ##### -->
795 A macro to check if the DRAW_DRAG_RECT property is enabled.
798 @clist: The #GtkCList widget to check.
800 <!-- ##### MACRO GTK_CLIST_FLAGS ##### -->
802 Reads the current flags of the specified CList.
805 @clist: The #GtkCList widget from which to get the flags
807 <!-- ##### MACRO GTK_CLIST_IN_DRAG ##### -->
809 A macro to check whether the #GtkCList is in "drag mode."
812 @clist: The #GtkCList to check.
814 <!-- ##### MACRO GTK_CLIST_REORDERABLE ##### -->
816 A macro to test if the CList's columns are re-orderable
819 @clist: The #GtkCList widget to check.
821 <!-- ##### MACRO GTK_CLIST_ROW ##### -->
823 A macro to cast a GList element to a CListRow pointer.
826 @_glist_: The GList element to convert.
828 <!-- ##### MACRO GTK_CLIST_ROW_HEIGHT_SET ##### -->
830 A macro to check whether the #GtkCList's row height is set.
833 @clist: The #GtkCList to check.
835 <!-- ##### MACRO GTK_CLIST_SET_FLAG ##### -->
837 A macro to set a particular flag for the specified CList.
840 @clist: The #GtkCList widget to affect.
841 @flag: A single #GtkCList flag to set. NOTE: Do not add the GTK_ prefix.
843 <!-- ##### MACRO GTK_CLIST_SHOW_TITLES ##### -->
845 A macro to check whether the flag for showing the
846 widget's column titles is set.
849 @clist: The #GtkCList widget to check.
851 <!-- ##### MACRO GTK_CLIST_UNSET_FLAG ##### -->
853 A macro to clear a particular flag for the specified CList.
856 @clist: The #GtkCList widget to affect.
857 @flag: A single #GtkCList flag to clear. NOTE: Do not add the GTK_ prefix.
859 <!-- ##### MACRO GTK_CLIST_USE_DRAG_ICONS ##### -->
861 A macro to check if the USE_DRAG_ICONS property is enabled.
864 @clist: The #GtkCList widget to check.
866 <!-- ##### MACRO GTK_FUNDAMENTAL_TYPE ##### -->
868 Converts a GTK+ type into a fundamental type.
872 <!-- ##### MACRO GTK_ICON_SIZE_BUTTON ##### -->
878 <!-- ##### MACRO GTK_ICON_SIZE_DIALOG ##### -->
884 <!-- ##### MACRO GTK_ICON_SIZE_LARGE_TOOLBAR ##### -->
890 <!-- ##### MACRO GTK_ICON_SIZE_MENU ##### -->
896 <!-- ##### MACRO GTK_ICON_SIZE_SMALL_TOOLBAR ##### -->
902 <!-- ##### MACRO GTK_IS_TIPS_QUERY ##### -->
909 <!-- ##### MACRO GTK_IS_TIPS_QUERY_CLASS ##### -->
916 <!-- ##### MACRO GTK_OBJECT_CONNECTED ##### -->
918 Tests whether a #GtkObject has had a signal connected to it.
921 @obj: the object to examine.
923 <!-- ##### MACRO GTK_OBJECT_CONSTRUCTED ##### -->
925 Test whether a GtkObject's arguments have been prepared.
928 @obj: the object to examine.
930 <!-- ##### MACRO GTK_OBJECT_DESTROYED ##### -->
932 Test whether a GtkObject has had gtk_object_destroy() invoked on it.
935 @obj: the object to examine.
937 <!-- ##### MACRO GTK_OBJECT_FLOATING ##### -->
939 Evaluates to %TRUE if the object still has its floating reference count.
940 See the overview documentation for #GtkObject.
943 @obj: the object to examine.
945 <!-- ##### MACRO GTK_OBJECT_NSIGNALS ##### -->
947 Get the number of signals defined by this object.
950 @obj: the object to query.
952 <!-- ##### MACRO GTK_OBJECT_SET_FLAGS ##### -->
954 Turns on certain object flags. (Private)
957 @obj: the object to affect.
958 @flag: the flags to set.
960 <!-- ##### MACRO GTK_OBJECT_SIGNALS ##### -->
962 Get the array of signals defined for this object.
965 @obj: the object to fetch the signals from.
967 <!-- ##### MACRO GTK_OBJECT_UNSET_FLAGS ##### -->
969 Turns off certain object flags. (Private)
972 @obj: the object to affect.
973 @flag: the flags to unset.
975 <!-- ##### MACRO GTK_PRINT_SETTINGS_NUM_COPIES ##### -->
981 <!-- ##### MACRO GTK_PRINT_SETTINGS_PRINT_TO_FILE ##### -->
987 <!-- ##### MACRO GTK_RETLOC_BOOL ##### -->
989 If the #GtkArg contains a pointer to the value, this macro will be a pointer to a %GTK_TYPE_BOOL.
994 <!-- ##### MACRO GTK_RETLOC_BOXED ##### -->
996 If the #GtkArg contains a pointer to the value, this macro will be a pointer to a %GTK_TYPE_BOXED.
1001 <!-- ##### MACRO GTK_RETLOC_CHAR ##### -->
1003 If the #GtkArg contains a pointer to the value, this macro will be a pointer to a %GTK_TYPE_CHAR.
1008 <!-- ##### MACRO GTK_RETLOC_DOUBLE ##### -->
1010 If the #GtkArg contains a pointer to the value, this macro will be a pointer to a %GTK_TYPE_DOUBLE.
1015 <!-- ##### MACRO GTK_RETLOC_ENUM ##### -->
1017 If the #GtkArg contains a pointer to the value, this macro will be a pointer to a %GTK_TYPE_ENUM.
1022 <!-- ##### MACRO GTK_RETLOC_FLAGS ##### -->
1024 If the #GtkArg contains a pointer to the value, this macro will be a pointer to a %GTK_TYPE_FLAGS.
1029 <!-- ##### MACRO GTK_RETLOC_FLOAT ##### -->
1031 If the #GtkArg contains a pointer to the value, this macro will be a pointer to a %GTK_TYPE_FLOAT.
1036 <!-- ##### MACRO GTK_RETLOC_INT ##### -->
1038 If the #GtkArg contains a pointer to the value, this macro will be a pointer to a %GTK_TYPE_INT.
1043 <!-- ##### MACRO GTK_RETLOC_LONG ##### -->
1045 If the #GtkArg contains a pointer to the value, this macro will be a pointer to a %GTK_TYPE_LONG.
1050 <!-- ##### MACRO GTK_RETLOC_OBJECT ##### -->
1052 If the #GtkArg contains a pointer to the value, this macro will be a pointer to a %GTK_TYPE_OBJECT.
1057 <!-- ##### MACRO GTK_RETLOC_POINTER ##### -->
1059 If the #GtkArg contains a pointer to the value, this macro will be a pointer to a %GTK_TYPE_POINTER.
1064 <!-- ##### MACRO GTK_RETLOC_STRING ##### -->
1066 If the #GtkArg contains a pointer to the value, this macro will be a pointer to a %GTK_TYPE_STRING.
1071 <!-- ##### MACRO GTK_RETLOC_UCHAR ##### -->
1073 If the #GtkArg contains a pointer to the value, this macro will be a pointer to a %GTK_TYPE_UCHAR.
1078 <!-- ##### MACRO GTK_RETLOC_UINT ##### -->
1080 If the #GtkArg contains a pointer to the value, this macro will be a pointer to a %GTK_TYPE_UINT.
1085 <!-- ##### MACRO GTK_RETLOC_ULONG ##### -->
1087 If the #GtkArg contains a pointer to the value, this macro will be a pointer to a %GTK_TYPE_ULONG.
1092 <!-- ##### MACRO GTK_SIGNAL_FUNC ##### -->
1094 Just a macroized cast into a #GtkSignalFunc.
1099 <!-- ##### MACRO GTK_STOCK_BUTTON_APPLY ##### -->
1105 <!-- ##### MACRO GTK_STOCK_BUTTON_CANCEL ##### -->
1111 <!-- ##### MACRO GTK_STOCK_BUTTON_CLOSE ##### -->
1117 <!-- ##### MACRO GTK_STOCK_BUTTON_NO ##### -->
1123 <!-- ##### MACRO GTK_STOCK_BUTTON_OK ##### -->
1129 <!-- ##### MACRO GTK_STOCK_BUTTON_YES ##### -->
1135 <!-- ##### MACRO GTK_STRUCT_OFFSET ##### -->
1137 Use in place of <function>offsetof()</function>, which is used if it exists.
1140 @Deprecated: Use G_STRUCT_OFFSET() instead.
1142 <!-- ##### MACRO GTK_TIPS_QUERY ##### -->
1149 <!-- ##### MACRO GTK_TIPS_QUERY_CLASS ##### -->
1156 <!-- ##### MACRO GTK_TIPS_QUERY_GET_CLASS ##### -->
1163 <!-- ##### MACRO GTK_TREE_MODEL_GET_IFACE ##### -->
1170 <!-- ##### MACRO GTK_TREE_SELECTION ##### -->
1172 A macro that returns a GList that contains the selection of the root tree of @obj.
1175 @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.
1177 <!-- ##### MACRO GTK_TYPE_FLAT_FIRST ##### -->
1179 The first "flat" (no struct) enumerated type value.
1183 <!-- ##### MACRO GTK_TYPE_FLAT_LAST ##### -->
1185 The last "flat" (no struct) enumerated type value.
1189 <!-- ##### MACRO GTK_TYPE_FUNDAMENTAL_LAST ##### -->
1191 The highest-numbered structured or flat enumerated type value.
1194 @Deprecated: Use #G_TYPE_LAST_RESERVED_FUNDAMENTAL - 1 instead.
1196 <!-- ##### MACRO GTK_TYPE_FUNDAMENTAL_MAX ##### -->
1198 The maximum fundamental enumerated type value.
1201 @Deprecated: Use #G_TYPE_FUNDAMENTAL_MAX instead.
1203 <!-- ##### MACRO GTK_TYPE_IDENTIFIER ##### -->
1205 Hide the name of gtk_identifier_get_type
1209 <!-- ##### MACRO GTK_TYPE_IS_OBJECT ##### -->
1211 Returns %TRUE if @type is a %GTK_TYPE_OBJECT.
1215 @Deprecated: Use G_TYPE_IS_OBJECT() instead.
1217 <!-- ##### MACRO GTK_TYPE_MAKE ##### -->
1219 Combine a fundemantal type and a sequence number to create a gtk type.
1225 <!-- ##### MACRO GTK_TYPE_NUM_BUILTINS ##### -->
1231 <!-- ##### MACRO GTK_TYPE_SEQNO ##### -->
1233 Convert a gtk type into its sequence number
1238 <!-- ##### MACRO GTK_TYPE_STRUCTURED_FIRST ##### -->
1240 The first structured enumerated type value.
1244 <!-- ##### MACRO GTK_TYPE_STRUCTURED_LAST ##### -->
1246 The last structured enumerated type value.
1250 <!-- ##### MACRO GTK_TYPE_TIPS_QUERY ##### -->
1256 <!-- ##### MACRO GTK_TYPE_TREE_COLUMN ##### -->
1262 <!-- ##### MACRO GTK_TYPE_TREE_VIEW_COLUMN ##### -->
1268 <!-- ##### MACRO GTK_VALUE_ARGS ##### -->
1270 Use to get the value of a GtkArg whose GtkType is GTK_TYPE_ARGS
1275 <!-- ##### MACRO GTK_VALUE_BOOL ##### -->
1277 Gets the value of a #GtkArg whose #GtkType is %GTK_TYPE_BOOL.
1282 <!-- ##### MACRO GTK_VALUE_BOXED ##### -->
1284 Gets the value of a #GtkArg whose #GtkType is %GTK_TYPE_BOXED.
1289 <!-- ##### MACRO GTK_VALUE_CALLBACK ##### -->
1291 Use to get the value of a GtkArg whose GtkType is GTK_TYPE_CALLBACK
1296 <!-- ##### MACRO GTK_VALUE_CHAR ##### -->
1298 Gets the value of a #GtkArg whose #GtkType is %GTK_TYPE_CHAR.
1303 <!-- ##### MACRO GTK_VALUE_C_CALLBACK ##### -->
1305 Use to get the value of a GtkArg whose GtkType is GTK_TYPE_C_CALLBACK
1310 <!-- ##### MACRO GTK_VALUE_DOUBLE ##### -->
1312 Gets the value of a #GtkArg whose #GtkType is %GTK_TYPE_DOUBLE.
1317 <!-- ##### MACRO GTK_VALUE_ENUM ##### -->
1319 Gets the value of a #GtkArg whose #GtkType is %GTK_TYPE_ENUM.
1324 <!-- ##### MACRO GTK_VALUE_FLAGS ##### -->
1326 Gets the value of a #GtkArg whose #GtkType is %GTK_TYPE_FLAGS.
1331 <!-- ##### MACRO GTK_VALUE_FLOAT ##### -->
1333 Gets the value of a #GtkArg whose #GtkType is %GTK_TYPE_FLOAT.
1338 <!-- ##### MACRO GTK_VALUE_FOREIGN ##### -->
1340 Use to get the value of a GtkArg whose GtkType is GTK_TYPE_C_FOREIGN
1345 <!-- ##### MACRO GTK_VALUE_INT ##### -->
1347 Gets the value of a #GtkArg whose #GtkType is %GTK_TYPE_INT.
1352 <!-- ##### MACRO GTK_VALUE_LONG ##### -->
1354 Gets the value of a #GtkArg whose #GtkType is %GTK_TYPE_LONG.
1359 <!-- ##### MACRO GTK_VALUE_OBJECT ##### -->
1361 Gets the value of a #GtkArg whose #GtkType is %GTK_TYPE_OBJECT.
1366 <!-- ##### MACRO GTK_VALUE_POINTER ##### -->
1368 Gets the value of a #GtkArg whose #GtkType is %GTK_TYPE_POINTER.
1373 <!-- ##### MACRO GTK_VALUE_SIGNAL ##### -->
1375 Gets the value of a #GtkArg whose #GtkType is %GTK_TYPE_SIGNAL.
1380 <!-- ##### MACRO GTK_VALUE_STRING ##### -->
1382 Gets the value of a #GtkArg whose #GtkType is %GTK_TYPE_STRING.
1387 <!-- ##### MACRO GTK_VALUE_UCHAR ##### -->
1389 Gets the value of a #GtkArg whose #GtkType is %GTK_TYPE_UCHAR.
1394 <!-- ##### MACRO GTK_VALUE_UINT ##### -->
1396 Gets the value of a #GtkArg whose #GtkType is %GTK_TYPE_UINT.
1401 <!-- ##### MACRO GTK_VALUE_ULONG ##### -->
1403 Gets the value of a #GtkArg whose #GtkType is %GTK_TYPE_ULONG.
1408 <!-- ##### USER_FUNCTION GValueCompareFunc ##### -->
1417 <!-- ##### ARG GtkAboutDialog:link-color ##### -->
1423 <!-- ##### ARG GtkAboutDialog:name ##### -->
1429 <!-- ##### STRUCT GtkAccelEntry ##### -->
1431 This is a private struct used by GTK+ internally, don't worry about it.
1441 <!-- ##### ARG GtkAccelLabel:accel-object ##### -->
1447 <!-- ##### ARG GtkAccelLabel:accel-width ##### -->
1453 <!-- ##### USER_FUNCTION GtkAccelMapNotify ##### -->
1466 <!-- ##### SIGNAL GtkAction::connect-proxy ##### -->
1471 @action: the object which received the signal.
1474 <!-- ##### SIGNAL GtkAction::disconnect-proxy ##### -->
1479 @action: the object which received the signal.
1482 <!-- ##### ENUM GtkArgFlags ##### -->
1484 Possible flags indicating how an argument should be treated.
1487 @GTK_ARG_READABLE: the argument is readable. (i.e. can be queried)
1488 @GTK_ARG_WRITABLE: the argument is writable. (i.e. settable)
1489 @GTK_ARG_CONSTRUCT: the argument needs construction.
1490 @GTK_ARG_CONSTRUCT_ONLY: the argument needs construction (and will
1491 be set once during object creation), but is otherwise cannot be
1492 set. Hence this flag is not allowed with #GTK_ARG_WRITABLE,
1493 and is redundant with #GTK_ARG_CONSTRUCT.
1494 @GTK_ARG_CHILD_ARG: an argument type that applies to (and may be different for)
1495 each child. Used by #GtkContainer.
1496 @Deprecated: Use corresponding #GParamSpec features instead
1498 <!-- ##### USER_FUNCTION GtkArgGetFunc ##### -->
1500 Define a function pointer. Deprecated.
1507 <!-- ##### STRUCT GtkArgInfo ##### -->
1509 A structure containing information about the argument.
1510 Returned by gtk_arg_get_info().
1513 @class_type: if the argument is an object, this is the object class type.
1514 @name: the name of the argument.
1515 @type: the type of the argument; it may be an object's type
1516 or a fundamental type.
1517 @arg_flags: flags applicable to the argument (i.e. readable, writable,
1518 and whether it needs to be constructed).
1519 @full_name: the object name and argument name separated by ::,
1520 e.g. "GtkObject::user_data" or "GtkButton::label".
1521 @arg_id: the unique argument identified.
1524 <!-- ##### USER_FUNCTION GtkArgSetFunc ##### -->
1526 Define a function pointer. Deprecated.
1533 <!-- ##### STRUCT GtkBuilderClass ##### -->
1538 @get_type_from_name: Looks up a type by name. The default
1539 implementation applies heuristics to map type names to
1540 <function>_get_type</function> function names, e.g.
1541 GtkHBox to gtk_hbox_get_type(). This virtual function
1542 is provided to allow language bindings to intercept the
1543 type resolution process.
1545 <!-- ##### ENUM GtkButtonAction ##### -->
1547 Values for specifying what mouse button events a CList will
1551 @GTK_BUTTON_IGNORED:
1552 @GTK_BUTTON_SELECTS:
1554 @GTK_BUTTON_EXPANDS:
1556 <!-- ##### STRUCT GtkCList ##### -->
1558 This is the embodiment of the #GtkCList widget. This structure contains
1559 only private data, and should be accessed only via the CList API.
1563 <!-- ##### SIGNAL GtkCList::abort-column-resize ##### -->
1565 This signal is emitted when a column resize is aborted.
1568 @clist: the object which received the signal.
1570 <!-- ##### SIGNAL GtkCList::click-column ##### -->
1572 This signal is emitted when a column title is clicked.
1575 @clist: The object which received the signal.
1576 @column: The number of the column.
1578 <!-- ##### SIGNAL GtkCList::end-selection ##### -->
1580 This signal is emitted when a selection ends in a
1581 multiple selection CList.
1584 @clist: the object which received the signal.
1586 <!-- ##### SIGNAL GtkCList::extend-selection ##### -->
1588 This signal is emitted when the selection is extended.
1591 @clist: the object which received the signal.
1592 @scroll_type: A #GtkScrollType value of any scrolling operation the
1593 occured during the selection.
1594 @position: A value between 0.0 and 1.0.
1595 @auto_start_selection: %TRUE or %FALSE.
1597 <!-- ##### SIGNAL GtkCList::resize-column ##### -->
1599 This signal is emitted when a column is resized.
1602 @clist: The object which received the signal.
1603 @column: The number of the column
1604 @width: The new width of the column.
1606 <!-- ##### SIGNAL GtkCList::row-move ##### -->
1608 This signal is emitted when a row is moved.
1611 @clist: The object which received the signal.
1612 @arg1: The source position of the row.
1613 @arg2: The destination position of the row.
1615 <!-- ##### SIGNAL GtkCList::scroll-horizontal ##### -->
1617 This signal is emitted when the CList is scrolled horizontally.
1620 @clist: the object which received the signal.
1621 @scroll_type: A #GtkScrollType value of how the scroll operation occured.
1622 @position: a value between 0.0 and 1.0.
1624 <!-- ##### SIGNAL GtkCList::scroll-vertical ##### -->
1626 This signal is emitted when the CList is scrolled vertically.
1629 @clist: the object which received the signal.
1630 @scroll_type: A #GtkScrollType value of how the scroll operation occured.
1631 @position: A value between 0.0 and 1.0.
1633 <!-- ##### SIGNAL GtkCList::select-all ##### -->
1635 This signal is emitted when all the rows are selected in a CList.
1638 @clist: the object which received the signal.
1640 <!-- ##### SIGNAL GtkCList::select-row ##### -->
1642 This signal is emitted when the user selects a row in the list.
1643 It is emitted for every row that is selected in a multi-selection or
1644 by calling gtk_clist_select_all().
1647 @clist: The object which received the signal.
1648 @row: The row selected.
1649 @column: The column where the selection occured.
1650 @event: A #GdkEvent structure for the selection.
1652 <!-- ##### SIGNAL GtkCList::set-scroll-adjustments ##### -->
1657 @clist: the object which received the signal.
1661 <!-- ##### SIGNAL GtkCList::start-selection ##### -->
1663 This signal is emitted when a drag-selection is started in
1664 a multiple-selection CList.
1667 @clist: the object which received the signal.
1669 <!-- ##### SIGNAL GtkCList::toggle-add-mode ##### -->
1671 This signal is emitted when "add mode" is toggled.
1674 @clist: the object which received the signal.
1676 <!-- ##### SIGNAL GtkCList::toggle-focus-row ##### -->
1681 @clist: The object which received the signal.
1683 <!-- ##### SIGNAL GtkCList::undo-selection ##### -->
1685 This signal is emitted when an undo selection occurs in the CList,
1686 probably via calling gtk_clist_undo_selection().
1689 @clist: the object which received the signal.
1691 <!-- ##### SIGNAL GtkCList::unselect-all ##### -->
1693 This signal is emitted when all rows are unselected in a CList.
1696 @clist: the object which received the signal.
1698 <!-- ##### SIGNAL GtkCList::unselect-row ##### -->
1700 This signal is emitted when the user unselects a row in the list.
1701 It is emitted for every row that is unselected in a multi-selection or
1702 by calling gtk_clist_unselect_all(). It is also emitted for the
1703 previously selected row in a "single" or "browse" mode CList.
1706 @clist: The object which received the signal.
1707 @row: The selected row
1708 @column: The column where the selection occured.
1711 <!-- ##### ARG GtkCList:n-columns ##### -->
1713 An integer value for a column.
1717 <!-- ##### ARG GtkCList:reorderable ##### -->
1719 A boolean value for determining if the user can re-order the CList's
1724 <!-- ##### ARG GtkCList:row-height ##### -->
1726 An integer value representing the height of a row in pixels.
1730 <!-- ##### ARG GtkCList:selection-mode ##### -->
1732 Sets the type of selection mode for the CList.
1736 <!-- ##### ARG GtkCList:shadow-type ##### -->
1738 Sets the shadowing for the CList.
1742 <!-- ##### ARG GtkCList:sort-type ##### -->
1748 <!-- ##### ARG GtkCList:titles-active ##### -->
1750 A boolean value for setting whether the column titles can be
1755 <!-- ##### ARG GtkCList:use-drag-icons ##### -->
1757 A boolean value for setting whether to use icons during drag
1762 <!-- ##### STRUCT GtkCListCellInfo ##### -->
1764 A simple structure that the #GtkCList widget uses to keep track
1765 of the location of a cell.
1771 <!-- ##### STRUCT GtkCListColumn ##### -->
1773 A structure that the #GtkCList widget uses to keep track of information
1791 <!-- ##### USER_FUNCTION GtkCListCompareFunc ##### -->
1793 Function prototype for the compare function callback.
1796 @clist: The #GtkCList that is affected.
1797 @ptr1: A #gconstpointer to the first node to compare.
1798 @ptr2: A #gconstpointer to the second node to compare.
1799 @Returns: 0 if the nodes are equal, less than 0 if the first node should
1800 come before the second, and greater than 1 if the second come before the
1803 <!-- ##### STRUCT GtkCListDestInfo ##### -->
1805 A simple structure that the #GtkCList widget uses to track
1806 a cell for a drag operation.
1812 <!-- ##### ENUM GtkCListDragPos ##### -->
1814 An enumeration for drag operations.
1817 @GTK_CLIST_DRAG_NONE:
1818 @GTK_CLIST_DRAG_BEFORE:
1819 @GTK_CLIST_DRAG_INTO:
1820 @GTK_CLIST_DRAG_AFTER:
1822 <!-- ##### STRUCT GtkCListRow ##### -->
1824 A structure that the #GtkCList widget uses to keep track of information
1839 <!-- ##### STRUCT GtkCell ##### -->
1841 A generic structure that the #GtkCList widget uses to keep track of the
1842 contents of each of its cells.
1851 <!-- ##### STRUCT GtkCellPixText ##### -->
1853 A structure that the #GtkCList widget uses to keep track of #GtkCList cells
1854 that contain a combination of text and a GdkPixmap.
1866 <!-- ##### STRUCT GtkCellPixmap ##### -->
1868 A structure that the #GtkCList widget uses to keep track of #GtkCList cells
1869 that contain a GdkPixmap.
1879 <!-- ##### STRUCT GtkCellRendererTextPixbuf ##### -->
1886 <!-- ##### STRUCT GtkCellText ##### -->
1888 A structure that the #GtkCList widget uses to keep track of #GtkCList cells
1898 <!-- ##### ENUM GtkCellType ##### -->
1900 Identifies the type of element in the current cell of the CList. Cells can
1901 contain text, pixmaps, or both. Unfortunately support for %GTK_CELL_WIDGET
1902 was never completed.
1911 <!-- ##### ARG GtkCellView:use-fg ##### -->
1917 <!-- ##### STRUCT GtkCellWidget ##### -->
1919 A structure that the #GtkCList widget uses to keep track of #GtkCList cells
1920 that contain another widget.
1929 <!-- ##### TYPEDEF GtkClassInitFunc ##### -->
1931 Defines a function pointer.
1935 <!-- ##### ARG GtkColorSelection:previous-alpha ##### -->
1941 <!-- ##### ARG GtkColorSelection:previous-color ##### -->
1947 <!-- ##### STRUCT GtkCombo ##### -->
1949 The #GtkCombo-struct struct contains the following fields.
1950 (These fields should be considered read-only. They should never be set by
1954 @entry: the text entry field.
1955 @list: the list shown in the drop-down window.
1956 @Deprecated: 2.4: Use #GtkComboBox instead.
1958 <!-- ##### ARG GtkCombo:allow-empty ##### -->
1964 <!-- ##### ARG GtkCombo:case-sensitive ##### -->
1970 <!-- ##### ARG GtkCombo:enable-arrow-keys ##### -->
1976 <!-- ##### ARG GtkCombo:enable-arrows-always ##### -->
1982 <!-- ##### ARG GtkCombo:value-in-list ##### -->
1988 <!-- ##### SIGNAL GtkComboBox::popup-hide ##### -->
1993 @combobox: the object which received the signal.
1995 <!-- ##### SIGNAL GtkComboBox::popup-show ##### -->
2000 @combobox: the object which received the signal.
2002 <!-- ##### ARG GtkComboBox:appearance ##### -->
2008 <!-- ##### ARG GtkComboBox:row-separator-column ##### -->
2014 <!-- ##### SIGNAL GtkContainer::focus ##### -->
2019 @container: the object which received the signal.
2023 <!-- ##### ARG GtkContainer:reallocate-redraws ##### -->
2029 <!-- ##### STRUCT GtkData ##### -->
2031 The #GtkData-struct struct contains no public fields.
2035 <!-- ##### SIGNAL GtkData::disconnect ##### -->
2037 Emitted to notify any views on the #GtkData object to disconnect from it,
2038 possibly because the #GtkData object is about to be destroyed.
2041 @data: the object which received the signal.
2043 <!-- ##### USER_FUNCTION GtkDestroyNotify ##### -->
2045 Defines a function pointer.
2050 <!-- ##### UNION GtkDitherInfo ##### -->
2052 This union not used in GTK+.
2056 <!-- ##### SIGNAL GtkEditable::activate ##### -->
2058 Indicates that the user has activated the widget
2059 in some fashion. Generally, this will be done
2060 with a keystroke. (The default binding for this
2061 action is Return for #GtkEntry and
2062 Control-Return for #GtkText.)
2065 @editable: the object which received the signal.
2067 <!-- ##### SIGNAL GtkEditable::copy-clipboard ##### -->
2069 An action signal. Causes the characters in the current selection to
2070 be copied to the clipboard.
2073 @editable: the object which received the signal.
2075 <!-- ##### SIGNAL GtkEditable::cut-clipboard ##### -->
2077 An action signal. Causes the characters in the current
2078 selection to be copied to the clipboard and then deleted from
2082 @editable: the object which received the signal.
2084 <!-- ##### SIGNAL GtkEditable::kill-char ##### -->
2086 An action signal. Delete a single character.
2089 @editable: the object which received the signal.
2090 @direction: the direction in which to delete. Positive
2091 indicates forward deletion, negative, backwards deletion.
2093 <!-- ##### SIGNAL GtkEditable::kill-line ##### -->
2095 An action signal. Delete a single line.
2098 @editable: the object which received the signal.
2099 @direction: the direction in which to delete. Positive
2100 indicates forward deletion, negative, backwards deletion.
2102 <!-- ##### SIGNAL GtkEditable::kill-word ##### -->
2104 An action signal. Delete a single word.
2107 @editable: the object which received the signal.
2108 @direction: the direction in which to delete. Positive
2109 indicates forward deletion, negative, backwards deletion.
2111 <!-- ##### SIGNAL GtkEditable::move-cursor ##### -->
2113 An action signal. Move the cursor position.
2116 @editable: the object which received the signal.
2117 @x: horizontal distance to move the cursor.
2118 @y: vertical distance to move the cursor.
2120 <!-- ##### SIGNAL GtkEditable::move-page ##### -->
2122 An action signal. Move the cursor by pages.
2125 @editable: the object which received the signal.
2126 @x: Number of pages to move the cursor horizontally.
2127 @y: Number of pages to move the cursor vertically.
2129 <!-- ##### SIGNAL GtkEditable::move-to-column ##### -->
2131 An action signal. Move the cursor to the given column.
2134 @editable: the object which received the signal.
2135 @column: the column to move to. (A negative value indicates
2138 <!-- ##### SIGNAL GtkEditable::move-to-row ##### -->
2140 An action signal. Move the cursor to the given row.
2143 @editable: the object which received the signal.
2144 @row: the row to move to. (A negative value indicates
2147 <!-- ##### SIGNAL GtkEditable::move-word ##### -->
2149 An action signal. Move the cursor by words.
2152 @editable: the object which received the signal.
2153 @num_words: The number of words to move the
2154 cursor. (Can be negative).
2156 <!-- ##### SIGNAL GtkEditable::paste-clipboard ##### -->
2158 An action signal. Causes the contents of the clipboard to
2159 be pasted into the editable widget at the current cursor
2163 @editable: the object which received the signal.
2165 <!-- ##### SIGNAL GtkEditable::set-editable ##### -->
2167 Determines if the user can edit the text in the editable
2168 widget or not. This is meant to be overriden by
2169 child classes and should not generally useful to
2173 @editable: the object which received the signal.
2174 @is_editable: %TRUE if the user is allowed to edit the text
2177 <!-- ##### ARG GtkEditable:editable ##### -->
2179 A boolean indicating whether the widget is editable by
2184 <!-- ##### ARG GtkEditable:text-position ##### -->
2186 The position of the cursor.
2190 <!-- ##### USER_FUNCTION GtkEmissionHook ##### -->
2192 A simple function pointer to get invoked when the
2193 signal is emitted. This allows you tie a hook to the signal type,
2194 so that it will trap all emissions of that signal, from any object.
2197 You may not attach these to signals created with the
2198 #GTK_RUN_NO_HOOKS flag.
2208 <!-- ##### SIGNAL GtkEntry::changed ##### -->
2213 @entry: the object which received the signal.
2215 <!-- ##### SIGNAL GtkEntry::delete-text ##### -->
2220 @entry: the object which received the signal.
2224 <!-- ##### SIGNAL GtkEntry::icon-pressed ##### -->
2229 @entry: the object which received the signal.
2233 <!-- ##### SIGNAL GtkEntry::icon-released ##### -->
2238 @entry: the object which received the signal.
2242 <!-- ##### SIGNAL GtkEntry::insert-text ##### -->
2247 @entry: the object which received the signal.
2252 <!-- ##### ARG GtkEntry:activatable-primary ##### -->
2258 <!-- ##### ARG GtkEntry:activatable-secondary ##### -->
2264 <!-- ##### ARG GtkEntry:gicon-primary ##### -->
2270 <!-- ##### ARG GtkEntry:gicon-secondary ##### -->
2276 <!-- ##### ARG GtkEntry:icon-name-primary ##### -->
2282 <!-- ##### ARG GtkEntry:icon-name-secondary ##### -->
2288 <!-- ##### ARG GtkEntry:pixbuf-primary ##### -->
2294 <!-- ##### ARG GtkEntry:pixbuf-secondary ##### -->
2300 <!-- ##### ARG GtkEntry:prelight ##### -->
2306 <!-- ##### ARG GtkEntry:sensitive-primary ##### -->
2312 <!-- ##### ARG GtkEntry:sensitive-secondary ##### -->
2318 <!-- ##### ARG GtkEntry:stock-primary ##### -->
2324 <!-- ##### ARG GtkEntry:stock-secondary ##### -->
2330 <!-- ##### ARG GtkEntry:storage-type-primary ##### -->
2336 <!-- ##### ARG GtkEntry:storage-type-secondary ##### -->
2342 <!-- ##### ARG GtkEntry:text-position ##### -->
2348 <!-- ##### STRUCT GtkEntryBufferClass ##### -->
2367 <!-- ##### TYPEDEF GtkEnumValue ##### -->
2369 A structure which contains a single enum value, and its name, and its
2374 <!-- ##### ARG GtkFileChooser:file-system ##### -->
2380 <!-- ##### STRUCT GtkFileSelection ##### -->
2382 The #GtkFileSelection struct contains the following #GtkWidget fields:
2391 @cancel_button: the two main buttons that signals should be connected
2392 to in order to perform an action when the user hits either OK or
2395 @history_pulldown: the #GtkOptionMenu used to create the drop-down
2399 @fileop_dialog: the dialog box used to display the #GtkFileSelection.
2400 It can be customized by adding/removing widgets from it using the
2401 standard #GtkDialog functions.
2407 @fileop_ren_file: the buttons that appear at the top of the file
2408 selection dialog. These "operation buttons" can be hidden and
2409 redisplayed with gtk_file_selection_hide_fileop_buttons() and
2410 gtk_file_selection_show_fileop_buttons() respectively.
2414 <!-- ##### ARG GtkFileSelection:filename ##### -->
2420 <!-- ##### ARG GtkFileSelection:select-multiple ##### -->
2426 <!-- ##### ARG GtkFileSelection:show-fileops ##### -->
2432 <!-- ##### STRUCT GtkFixedChild ##### -->
2434 The #GtkFixedChild-struct struct contains the following fields.
2435 (These fields should be considered read-only. They should never be set by
2438 <informaltable pgwide="1" frame="none" role="struct">
2439 <tgroup cols="2"><colspec colwidth="2*"/><colspec colwidth="8*"/>
2443 <entry>#GtkWidget *widget;</entry>
2444 <entry>the child #GtkWidget.</entry>
2448 <entry>#gint x;</entry>
2449 <entry>the horizontal position of the widget within the #GtkFixed
2454 <entry>#gint y;</entry>
2455 <entry>the vertical position of the widget within the #GtkFixed
2459 </tbody></tgroup></informaltable>
2466 <!-- ##### TYPEDEF GtkFlagValue ##### -->
2472 <!-- ##### ENUM GtkFontFilterType ##### -->
2474 A set of bit flags used to specify the filter being set
2475 when calling gtk_font_selection_dialog_set_filter() or
2476 gtk_font_selection_set_filter().
2479 @GTK_FONT_FILTER_BASE: the base filter, which can't be changed by the user.
2480 @GTK_FONT_FILTER_USER: the user filter, which can be changed from within the
2481 'Filter' page of the #GtkFontSelection widget.
2483 <!-- ##### ENUM GtkFontType ##### -->
2485 A set of bit flags used to specify the type of fonts shown
2486 when calling gtk_font_selection_dialog_set_filter() or
2487 gtk_font_selection_set_filter().
2490 @GTK_FONT_BITMAP: bitmap fonts.
2491 @GTK_FONT_SCALABLE: scalable fonts.
2492 @GTK_FONT_SCALABLE_BITMAP: scaled bitmap fonts.
2493 @GTK_FONT_ALL: a bitwise combination of all of the above.
2495 <!-- ##### TYPEDEF GtkFundamentalType ##### -->
2497 #GtkFundamentalType is an enumerated type which lists all the possible
2498 fundamental types (e.g. <type>char</type>, <type>uchar</type>, <type>int</type>,
2499 <type>long</type>, <type>float</type>, etc).
2503 <!-- ##### ARG GtkHScale:adjustment ##### -->
2505 the #GtkAdjustment which sets the range of the scale.
2509 <!-- ##### ARG GtkHScrollbar:adjustment ##### -->
2515 <!-- ##### STRUCT GtkIconViewPrivate ##### -->
2521 <!-- ##### USER_FUNCTION GtkImageLoader ##### -->
2523 A GtkImageLoader is used to load a filename found in
2527 @window: the window for creating image
2528 @colormap: the colormap for this image
2529 @mask: a pointer to the location to store the mask
2530 @transparent_color: the transparent color for the image
2531 @filename: filename to load
2532 @Returns: a #GtkPixmap representing @filename
2534 <!-- ##### STRUCT GtkImageMenuItemClass ##### -->
2540 <!-- ##### STRUCT GtkItemFactory ##### -->
2546 <!-- ##### USER_FUNCTION GtkItemFactoryCallback ##### -->
2552 <!-- ##### USER_FUNCTION GtkItemFactoryCallback1 ##### -->
2561 <!-- ##### USER_FUNCTION GtkItemFactoryCallback2 ##### -->
2570 <!-- ##### STRUCT GtkItemFactoryEntry ##### -->
2582 <!-- ##### STRUCT GtkItemFactoryItem ##### -->
2590 <!-- ##### ARG GtkLabel:accel-keyval ##### -->
2596 <!-- ##### STRUCT GtkList ##### -->
2602 <!-- ##### SIGNAL GtkList::select-child ##### -->
2604 The child @widget has just been selected.
2607 @list: the object which received the signal.
2608 @widget: the newly selected child.
2610 <!-- ##### SIGNAL GtkList::selection-changed ##### -->
2612 The selection of the widget has just changed.
2615 @list: the object which received the signal.
2617 <!-- ##### SIGNAL GtkList::unselect-child ##### -->
2619 The child @widget has just been unselected.
2622 @list: the object which received the signal.
2623 @widget: the newly unselected child.
2625 <!-- ##### ARG GtkList:selection-mode ##### -->
2631 <!-- ##### STRUCT GtkListItem ##### -->
2633 The #GtkListItem struct contains private data only, and should
2634 only be accessed using the functions below.
2638 <!-- ##### SIGNAL GtkListItem::end-selection ##### -->
2643 @listitem: the object which received the signal.
2645 <!-- ##### SIGNAL GtkListItem::extend-selection ##### -->
2650 @listitem: the object which received the signal.
2653 @auto_start_selection:
2655 <!-- ##### SIGNAL GtkListItem::scroll-horizontal ##### -->
2660 @listitem: the object which received the signal.
2664 <!-- ##### SIGNAL GtkListItem::scroll-vertical ##### -->
2669 @listitem: the object which received the signal.
2673 <!-- ##### SIGNAL GtkListItem::select-all ##### -->
2678 @listitem: the object which received the signal.
2680 <!-- ##### SIGNAL GtkListItem::start-selection ##### -->
2685 @listitem: the object which received the signal.
2687 <!-- ##### SIGNAL GtkListItem::toggle-add-mode ##### -->
2692 @listitem: the object which received the signal.
2694 <!-- ##### SIGNAL GtkListItem::toggle-focus-row ##### -->
2699 @listitem: the object which received the signal.
2701 <!-- ##### SIGNAL GtkListItem::undo-selection ##### -->
2706 @listitem: the object which received the signal.
2708 <!-- ##### SIGNAL GtkListItem::unselect-all ##### -->
2713 @listitem: the object which received the signal.
2715 <!-- ##### ENUM GtkMatchType ##### -->
2721 @GTK_MATCH_ALL_TAIL:
2727 <!-- ##### SIGNAL GtkMenuBar::cycle-focus ##### -->
2732 @menubar: the object which received the signal.
2735 <!-- ##### SIGNAL GtkNotebook::tab-added ##### -->
2740 @notebook: the object which received the signal.
2744 <!-- ##### SIGNAL GtkNotebook::tab-removed ##### -->
2749 @notebook: the object which received the signal.
2753 <!-- ##### SIGNAL GtkNotebook::tab-reordered ##### -->
2758 @notebook: the object which received the signal.
2762 <!-- ##### ARG GtkNotebook:group-id ##### -->
2768 <!-- ##### ARG GtkNotebook:homogeneous ##### -->
2774 <!-- ##### ARG GtkNotebook:tab-border ##### -->
2780 <!-- ##### ARG GtkNotebook:tab-hborder ##### -->
2786 <!-- ##### ARG GtkNotebook:tab-vborder ##### -->
2792 <!-- ##### ARG GtkObject:object-signal ##### -->
2794 Setting this with a GtkType of GTK_TYPE_SIGNAL connects
2795 the signal to the object, so that the user data and objects
2796 and swapped when the signal handler is invoked.
2799 This is useful for handlers that are primarily notifying
2800 other objects and could just invoke an already existing function
2801 if the parameters were swapped.
2802 See g_signal_connect_swapped() for more details.
2806 <!-- ##### ARG GtkObject:object-signal-after ##### -->
2808 Setting this with a GtkType of GTK_TYPE_SIGNAL connects
2809 the signal to the object, so that the user data and objects
2810 and swapped when the signal handler is invoked,
2811 and so that the handler is invoked after all others.
2814 See g_signal_connect_data() for more details.
2818 <!-- ##### ARG GtkObject:signal ##### -->
2820 Setting this with a GtkType of GTK_TYPE_SIGNAL connects
2821 the signal to the object.
2825 <!-- ##### ARG GtkObject:signal-after ##### -->
2827 Setting this with a GtkType of GTK_TYPE_SIGNAL connects
2828 the signal to the object, so that the signal is always run
2829 after other user handlers and the default handler.
2833 <!-- ##### ARG GtkObject:user-data ##### -->
2839 <!-- ##### TYPEDEF GtkObjectInitFunc ##### -->
2841 Defines a function pointer.
2845 <!-- ##### SIGNAL GtkOldEditable::changed ##### -->
2850 @oldeditable: the object which received the signal.
2852 <!-- ##### SIGNAL GtkOldEditable::delete-text ##### -->
2857 @oldeditable: the object which received the signal.
2861 <!-- ##### SIGNAL GtkOldEditable::insert-text ##### -->
2866 @oldeditable: the object which received the signal.
2871 <!-- ##### STRUCT GtkPacker ##### -->
2879 @default_border_width:
2885 <!-- ##### ARG GtkPacker:default-border-width ##### -->
2891 <!-- ##### ARG GtkPacker:default-ipad-x ##### -->
2897 <!-- ##### ARG GtkPacker:default-ipad-y ##### -->
2903 <!-- ##### ARG GtkPacker:default-pad-x ##### -->
2909 <!-- ##### ARG GtkPacker:default-pad-y ##### -->
2915 <!-- ##### ARG GtkPacker:spacing ##### -->
2921 <!-- ##### STRUCT GtkPackerChild ##### -->
2937 <!-- ##### ENUM GtkPackerOptions ##### -->
2946 <!-- ##### STRUCT GtkPatternSpec ##### -->
2958 <!-- ##### STRUCT GtkPreview ##### -->
2960 The #GtkPreview-struct struct contains private data only, and
2961 should be accessed using the functions below.
2965 <!-- ##### ARG GtkPreview:expand ##### -->
2971 <!-- ##### STRUCT GtkPreviewInfo ##### -->
2973 Contains information about global properties
2976 The #GtkPreviewInfo struct contains the following fields.
2977 (These fields should be considered read-only. They should never be set by
2980 <informaltable pgwide="1" frame="none" role="struct">
2981 <tgroup cols="2"><colspec colwidth="2*"/><colspec colwidth="8*"/>
2985 <entry>#GdkVisual *visual;</entry>
2986 <entry>the visual used by all previews.</entry>
2990 <entry>#GdkColormap *cmap;</entry>
2991 <entry>the colormap used by all previews.</entry>
2995 <entry>gdouble gamma;</entry>
2996 <entry>the gamma correction value used by all previews (See gtk_preview_set_gamma()).</entry>
3008 <!-- ##### ENUM GtkPreviewType ##### -->
3010 An enumeration which describes whether a preview
3011 contains grayscale or red-green-blue data.
3014 @GTK_PREVIEW_COLOR: the preview contains red-green-blue data.
3015 @GTK_PREVIEW_GRAYSCALE: The preview contains grayscale data.
3017 <!-- ##### USER_FUNCTION GtkPrintFunc ##### -->
3025 <!-- ##### ARG GtkPrintOperation:number-of-pages ##### -->
3031 <!-- ##### ENUM GtkPrivateFlags ##### -->
3036 @PRIVATE_GTK_USER_STYLE:
3037 @PRIVATE_GTK_RESIZE_PENDING:
3038 @PRIVATE_GTK_RESIZE_NEEDED:
3039 @PRIVATE_GTK_LEAVE_PENDING:
3040 @PRIVATE_GTK_HAS_SHAPE_MASK:
3041 @PRIVATE_GTK_IN_REPARENT:
3042 @PRIVATE_GTK_DIRECTION_SET:
3043 @PRIVATE_GTK_DIRECTION_LTR:
3045 <!-- ##### ARG GtkProgressBar:activity-blocks ##### -->
3051 <!-- ##### ARG GtkProgressBar:activity-step ##### -->
3057 <!-- ##### ARG GtkProgressBar:adjustment ##### -->
3063 <!-- ##### ARG GtkProgressBar:bar-style ##### -->
3069 <!-- ##### ARG GtkProgressBar:discrete-blocks ##### -->
3075 <!-- ##### STRUCT GtkRcStyleClass ##### -->
3081 <!-- ##### ARG GtkScaleButton:orientation ##### -->
3087 <!-- ##### ARG GtkScrolledWindow:shadow ##### -->
3093 <!-- ##### ARG GtkSettings:gtk-menu-bar-popout-delay ##### -->
3099 <!-- ##### ARG GtkSettings:gtk-menu-popout-delay ##### -->
3105 <!-- ##### ARG GtkSettings:gtk-menu-submenu-hysteresis ##### -->
3111 <!-- ##### STRUCT GtkSettingsClass ##### -->
3117 <!-- ##### ENUM GtkSideType ##### -->
3127 <!-- ##### USER_FUNCTION GtkSignalDestroy ##### -->
3129 A function which you can use to clean up when the
3130 signal handler is destroyed.
3133 For example, if your handler requires a few variables
3134 that you made into a struct and allocated (using g_new()
3135 or something), then you will probably want to free
3136 it as soon as the hook is destroyed. This will
3137 allow you to do that. (For this in particular
3138 it is convenient to pass g_free() as a #GtkSignalDestroy
3142 @data: The user data associated with the hook that is being
3145 <!-- ##### USER_FUNCTION GtkSignalFunc ##### -->
3147 Defines a function pointer.
3151 <!-- ##### USER_FUNCTION GtkSignalMarshal ##### -->
3153 This is currently a hack left in for a scheme wrapper library.
3160 @object: The object which emits the signal.
3161 @data: The user data associated with the hook.
3162 @nparams: The number of parameters to the function.
3163 @args: The actual values of the arguments.
3164 @arg_types: The types of the arguments.
3165 @return_type: The type of the return value from the function
3166 or #GTK_TYPE_NONE for no return value.
3168 <!-- ##### TYPEDEF GtkSignalMarshaller ##### -->
3170 Defines a function pointer.
3174 <!-- ##### STRUCT GtkSignalQuery ##### -->
3176 This structure contains all the information about a particular
3177 signal: its name, the type it affects, the signature of the handlers,
3178 and its unique identifying integer.
3190 <!-- ##### STRUCT GtkStatusbarMsg ##### -->
3192 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.
3199 <!-- ##### STRUCT GtkStyleClass ##### -->
3246 <!-- ##### STRUCT GtkTableChild ##### -->
3248 The <structfield>widget</structfield> field is a pointer to the widget that
3249 this %GtkTableChild structure is keeping track of.
3250 The <structfield>left_attach</structfield>,
3251 <structfield>right_attach</structfield>,
3252 <structfield>top_attach</structfield>, and
3253 <structfield>bottom_attach</structfield> fields specify the row and column
3254 numbers which make up the invisible rectangle that the child widget is packed into.
3257 <structfield>xpadding</structfield> and <structfield>ypadding</structfield>
3258 specify the space between this widget and the surrounding table cells.
3275 <!-- ##### STRUCT GtkTableRowCol ##### -->
3277 These fields should be considered read-only and not be modified directly.
3289 <!-- ##### STRUCT GtkTextBTreeNode ##### -->
3295 <!-- ##### STRUCT GtkTextChildAnchorClass ##### -->
3301 <!-- ##### ARG GtkTextTag:justify ##### -->
3303 A #GtkJustification for the text. This is only used when the tag is
3304 applied to the first character in a paragraph.
3308 <!-- ##### ARG GtkTextTag:left-wrapped-line-margin ##### -->
3310 Pixel width of the left margin of the text for lines after the first
3311 line in a wrapped paragraph.
3315 <!-- ##### ARG GtkTextTag:left-wrapped-line-margin-set ##### -->
3321 <!-- ##### ARG GtkTextTag:offset ##### -->
3323 Pixels to offset the text horizontally or vertically, useful to
3324 produce superscript and subscript.
3328 <!-- ##### SIGNAL GtkTextView::move-focus ##### -->
3333 @textview: the object which received the signal.
3336 <!-- ##### ARG GtkTextView:height-lines ##### -->
3342 <!-- ##### ARG GtkTextView:justify ##### -->
3348 <!-- ##### ARG GtkTextView:width-columns ##### -->
3354 <!-- ##### STRUCT GtkTipsQuery ##### -->
3356 The #GtkTipsQuery-struct struct contains private data only, and
3357 should be accessed using the functions below.
3361 <!-- ##### SIGNAL GtkTipsQuery::start-query ##### -->
3363 Emitted when the query is started.
3366 @tipsquery: the object which received the signal.
3368 <!-- ##### SIGNAL GtkTipsQuery::stop-query ##### -->
3370 Emitted when the query is stopped.
3373 @tipsquery: the object which received the signal.
3375 <!-- ##### SIGNAL GtkTipsQuery::widget-entered ##### -->
3377 Emitted when a widget is entered by the pointer while the query is in effect.
3380 @tipsquery: the object which received the signal.
3381 @widget: the widget that was entered by the pointer.
3382 @tip_text: the widget's tooltip.
3383 @tip_private: the widget's private tooltip (see gtk_tooltips_set_tip()).
3385 <!-- ##### SIGNAL GtkTipsQuery::widget-selected ##### -->
3387 Emitted when a widget is selected during a query.
3390 @tipsquery: the object which received the signal.
3391 @widget: the widget that was selected.
3392 @tip_text: the widget's tooltip.
3393 @tip_private: the widget's private tooltip (see gtk_tooltips_set_tip()).
3394 @event: the button press or button release event.
3395 @Returns: %TRUE if the query should be stopped.
3397 <!-- ##### ARG GtkTipsQuery:caller ##### -->
3399 The widget that starts the tips query, usually a button.
3400 If it is selected while the query is in effect the query is automatically
3405 <!-- ##### ARG GtkTipsQuery:emit-always ##### -->
3407 %TRUE if the widget-entered and widget-selected signals are emitted even when
3408 the widget has no tooltip set.
3412 <!-- ##### ARG GtkTipsQuery:label-inactive ##### -->
3414 The text to display in the #GtkTipsQuery widget when the query is not in
3419 <!-- ##### ARG GtkTipsQuery:label-no-tip ##### -->
3421 The text to display in the #GtkTipsQuery widget when the query is running
3422 and the widget that the pointer is over has no tooltip.
3426 <!-- ##### ARG GtkToolButton:show-label-horizontally ##### -->
3432 <!-- ##### SIGNAL GtkToolItem::set-tooltip ##### -->
3437 @toolitem: the object which received the signal.
3443 <!-- ##### SIGNAL GtkToolbar::move-focus ##### -->
3448 @toolbar: the object which received the signal.
3452 <!-- ##### ARG GtkToolbar:orientation ##### -->
3458 <!-- ##### ARG GtkToolbar:pack-end ##### -->
3464 <!-- ##### ARG GtkToolbar:tooltips ##### -->
3470 <!-- ##### USER_FUNCTION GtkTranslateFunc ##### -->
3472 The function used to translate messages in e.g. #GtkIconFactory
3473 and #GtkActionGroup.
3476 @path: The id of the message. In #GtkItemFactory this will be a path
3477 from a #GtkItemFactoryEntry, in #GtkActionGroup, it will be a label
3478 or tooltip from a #GtkActionEntry.
3479 @func_data: user data passed in when registering the function
3480 @Returns: the translated message
3482 <!-- ##### STRUCT GtkTreeSelectionClass ##### -->
3488 <!-- ##### ENUM GtkTreeSelectionMode ##### -->
3493 @GTK_TREE_SELECTION_SINGLE:
3494 @GTK_TREE_SELECTION_MULTI:
3496 <!-- ##### SIGNAL GtkTreeView::focus-column-header ##### -->
3501 @treeview: the object which received the signal.
3503 <!-- ##### USER_FUNCTION GtkTreeViewDraggableFunc ##### -->
3514 <!-- ##### USER_FUNCTION GtkTreeViewDroppableFunc ##### -->
3526 <!-- ##### TYPEDEF GtkType ##### -->
3528 #GtkType is unique integer identifying the type. The guts of the
3529 information about the type is held in a private struct named
3534 <!-- ##### TYPEDEF GtkTypeClass ##### -->
3536 The base structure for a GTK+ type. Every type inherits this as a base structure.
3540 <!-- ##### STRUCT GtkTypeInfo ##### -->
3542 Holds information about the type. gtk_type_name() returns the name.
3543 @object_size is somehow set to the number of bytes that an instance of
3544 the object will occupy. @class_init_func holds the type's
3545 initialization function. @object_init_func holds the initialization
3546 function for an instance of the object. @reserved_1 is used for
3547 #GtkEnumValue to hold the enumerated values.
3557 @base_class_init_func:
3559 <!-- ##### TYPEDEF GtkTypeObject ##### -->
3561 A #GtkTypeObject defines the minimum structure requirements
3562 for type instances. Type instances returned from gtk_type_new ()
3563 and initialized through a #GtkObjectInitFunc need to directly inherit
3564 from this structure or at least copy its fields one by one.
3568 <!-- ##### SIGNAL GtkUIManager::changed ##### -->
3573 @uimanager: the object which received the signal.
3575 <!-- ##### ARG GtkVScale:adjustment ##### -->
3577 the #GtkAdjustment which sets the range of the scale.
3581 <!-- ##### ARG GtkVScrollbar:adjustment ##### -->
3587 <!-- ##### SIGNAL GtkWidget::activate-mnemonic ##### -->
3592 @widget: the object which received the signal.
3596 <!-- ##### SIGNAL GtkWidget::add-accelerator ##### -->
3601 @widget: the object which received the signal.
3608 <!-- ##### SIGNAL GtkWidget::debug-msg ##### -->
3613 @widget: the object which received the signal.
3616 <!-- ##### SIGNAL GtkWidget::draw ##### -->
3621 @widget: the object which received the signal.
3624 <!-- ##### SIGNAL GtkWidget::draw-default ##### -->
3629 @widget: the object which received the signal.
3631 <!-- ##### SIGNAL GtkWidget::draw-focus ##### -->
3636 @widget: the object which received the signal.
3638 <!-- ##### SIGNAL GtkWidget::remove-accelerator ##### -->
3643 @widget: the object which received the signal.
3648 <!-- ##### ARG GtkWidget:height ##### -->
3654 <!-- ##### ARG GtkWidget:width ##### -->
3660 <!-- ##### ARG GtkWidget:x ##### -->
3666 <!-- ##### ARG GtkWidget:y ##### -->
3672 <!-- ##### SIGNAL GtkWindow::accels-changed ##### -->
3677 @window: the object which received the signal.
3679 <!-- ##### SIGNAL GtkWindow::move-focus ##### -->
3684 @window: the object which received the signal.
3687 <!-- ##### ARG GtkWindow:auto-shrink ##### -->
3689 If the window shrinks automatically when widgets within it shrink.
3693 <!-- ##### ARG GtkWindow:icon-list ##### -->
3699 <!-- ##### FUNCTION gtk_accel_group_add ##### -->
3712 <!-- ##### FUNCTION gtk_accel_group_attach ##### -->
3720 <!-- ##### FUNCTION gtk_accel_group_create_add ##### -->
3730 <!-- ##### FUNCTION gtk_accel_group_create_remove ##### -->
3740 <!-- ##### FUNCTION gtk_accel_group_detach ##### -->
3748 <!-- ##### FUNCTION gtk_accel_group_entries_from_object ##### -->
3756 <!-- ##### FUNCTION gtk_accel_group_get_default ##### -->
3763 <!-- ##### FUNCTION gtk_accel_group_get_entry ##### -->
3773 <!-- ##### FUNCTION gtk_accel_group_get_type ##### -->
3780 <!-- ##### FUNCTION gtk_accel_group_handle_add ##### -->
3792 <!-- ##### FUNCTION gtk_accel_group_handle_remove ##### -->
3802 <!-- ##### FUNCTION gtk_accel_group_lock_entry ##### -->
3811 <!-- ##### FUNCTION gtk_accel_group_remove ##### -->
3821 <!-- ##### FUNCTION gtk_accel_group_unlock_entry ##### -->
3830 <!-- ##### FUNCTION gtk_accel_label_get_accel_object ##### -->
3838 <!-- ##### FUNCTION gtk_accel_label_set_accel_object ##### -->
3846 <!-- ##### FUNCTION gtk_accel_map_add_notifer ##### -->
3856 <!-- ##### FUNCTION gtk_accel_map_remove_notifer ##### -->
3865 <!-- ##### FUNCTION gtk_arg_copy ##### -->
3867 It will either copy data into an existing argument or allocate a new argument
3868 and copy the data. Strings are duplicated. All other pointers and
3869 values are copied (shallowly-- that is the pointers themselves are
3870 copied, not the data they point to.)
3873 You should call gtk_arg_reset() on dest_arg before calling this
3874 if the argument may contain string data that you want freed.
3877 @src_arg: the argument to duplicate.
3878 @dest_arg: the argument to copy over (or NULL to create a new #GtkArg).
3879 @Returns: the new #GtkArg (or dest_arg, if it was not NULL).
3881 <!-- ##### FUNCTION gtk_arg_free ##### -->
3883 Frees the argument, and optionally its contents.
3886 @arg: the argument to free.
3887 @free_contents: whether to free the string, if it is a string.
3889 <!-- ##### FUNCTION gtk_arg_get_info ##### -->
3891 Private: get information about an argument.
3894 @object_type: the type of object.
3895 @arg_info_hash_table: the hashtable of #GtkArgInfos.
3896 @arg_name: the name of the argument to lookup.
3897 @info_p: the argument info.
3898 @Returns: an error message on failure, or NULL otherwise.
3900 <!-- ##### FUNCTION gtk_arg_info_equal ##### -->
3902 A #GCompareFunc for hashing #GtkArgInfos.
3905 @arg_info_1: a #GtkArgInfo.
3906 @arg_info_2: a #GtkArgInfo.
3907 @Returns: whether the arguments are the same.
3909 <!-- ##### FUNCTION gtk_arg_info_hash ##### -->
3911 A #GHashFunc for hashing #GtkArgInfos.
3914 @arg_info: a #GtkArgInfo.
3915 @Returns: a hash value for that #GtkArgInfo.
3917 <!-- ##### FUNCTION gtk_arg_name_strip_type ##### -->
3919 Given a fully qualified argument name (e.g. "GtkButton::label")
3920 it returns just the argument name (e.g. "label") unless
3921 the argument name was invalid, in which case it returns NULL.
3924 @arg_name: the fully-qualified argument name.
3925 @Returns: the base argument name.
3927 <!-- ##### FUNCTION gtk_arg_new ##### -->
3929 Creates a new argument of a certain type, set to 0 or NULL.
3932 @arg_type: the type of the argument.
3933 @Returns: the newly created #GtkArg.
3935 <!-- ##### FUNCTION gtk_arg_reset ##### -->
3942 <!-- ##### FUNCTION gtk_arg_to_valueloc ##### -->
3950 <!-- ##### FUNCTION gtk_arg_type_new_static ##### -->
3952 Create a new argument registered with a class.
3955 @base_class_type: the basic type having the arguments, almost alway
3956 GTK_TYPE_OBJECT, except if your defining a different type argument
3957 that gets a different namespace. #GtkContainer does this to define
3958 per-child arguments of the container.
3959 @arg_name: name of the argument to create. (must be a static constant string)
3960 @class_n_args_offset: offset into the base class structure that tells
3961 the number of arguments.
3962 @arg_info_hash_table: hashtable of #GtkArgInfos.
3963 @arg_type: type of the argument.
3964 @arg_flags: flags of the argument.
3966 @Returns: the new #GtkArgInfo.
3968 <!-- ##### FUNCTION gtk_arg_values_equal ##### -->
3977 <!-- ##### FUNCTION gtk_args_collect ##### -->
3979 Private: given a hashtable of argument information it takes a vararg
3980 list and parses it into arguments (in the form of lists of #GtkArgs
3981 and lists of #GtkArgInfos.
3984 The list of arguments starts with first_arg_name then the first argument's
3985 value. Followed by any number of additional name/argument pairs,
3986 terminated with NULL.
3989 @object_type: the type of object we are collecting arguments for.
3990 @arg_info_hash_table: a hashtable mapping from names of arguments
3991 to their #GtkArgInfos.
3992 @arg_list_p: a returned list of arguments obtained from parsing the
3994 @info_list_p: a returned list of the #GtkArgInfos.
3995 @first_arg_name: the name of the first argument.
3996 @var_args: a va_list containing the value of the first argument,
3997 followed by name/value pairs, followed by NULL.
3998 @Returns: an error message on failure, or NULL otherwise.
4000 <!-- ##### FUNCTION gtk_args_collect_cleanup ##### -->
4002 Private: erase lists of arguments returned from gtk_args_collect().
4005 @arg_list: arg_list_p returned from gtk_args_collect().
4006 @info_list: info_list_p returned from gtk_args_collect().
4008 <!-- ##### FUNCTION gtk_args_query ##### -->
4010 Private: from a class type and its arginfo hashtable,
4011 get an array of #GtkArgs that this object accepts.
4014 @class_type: the class type.
4015 @arg_info_hash_table: the hashtable of #GtkArgInfos.
4016 @arg_flags: returned array of argument flags.
4017 @n_args_p: the number of arguments this object accepts.
4018 @Returns: the array of arguments (or NULL on error).
4020 <!-- ##### MACRO gtk_binding_entry_add ##### -->
4026 <!-- ##### FUNCTION gtk_binding_entry_clear ##### -->
4035 <!-- ##### FUNCTION gtk_binding_parse_binding ##### -->
4043 <!-- ##### FUNCTION gtk_button_box_child_requisition ##### -->
4045 This is an internally used function and should never be called from an
\r
4054 <!-- ##### FUNCTION gtk_button_box_get_child_ipadding_default ##### -->
4056 The internal padding of a button is the amount of space between the outside
\r
4057 of the button and the widget it contains. This function gets the default
\r
4058 amount of horizontal and vertical padding, placing the results in @ipad_x
\r
4059 and @ipad_y, respectively.
\r
4062 @ipad_x: the default horizontal internal button padding.
4063 @ipad_y: the default vertical internal button padding.
4065 <!-- ##### FUNCTION gtk_button_box_get_child_size_default ##### -->
4067 Retrieves the default minimum width and height for all button boxes, and
\r
4068 places the values in @min_width and @min_height, respectively.
\r
4071 @min_width: the default minimum width of a child widget.
4072 @min_height: the default minimum height of a child widget.
4074 <!-- ##### FUNCTION gtk_button_box_set_child_ipadding_default ##### -->
4076 Sets the default number of pixels that pad each button in every button box.
\r
4079 @ipad_x: new default horizontal padding.
4080 @ipad_y: new default vertical padding.
4082 <!-- ##### FUNCTION gtk_button_box_set_child_size_default ##### -->
4084 Sets the default size of child buttons.
\r
4087 @min_width: minimum default width for child buttons.
4088 @min_height: minimum default height for child buttons.
4090 <!-- ##### FUNCTION gtk_button_new_accel ##### -->
4099 <!-- ##### FUNCTION gtk_button_new_stock ##### -->
4108 <!-- ##### FUNCTION gtk_calendar_display_options ##### -->
4115 <!-- ##### FUNCTION gtk_calendar_freeze ##### -->
4121 <!-- ##### FUNCTION gtk_calendar_thaw ##### -->
4127 <!-- ##### FUNCTION gtk_cell_renderer_event ##### -->
4141 <!-- ##### FUNCTION gtk_cell_renderer_text_pixbuf_new ##### -->
4148 <!-- ##### FUNCTION gtk_cell_view_get_cell_renderers ##### -->
4156 <!-- ##### FUNCTION gtk_cell_view_get_use_fg ##### -->
4164 <!-- ##### FUNCTION gtk_cell_view_set_cell_data ##### -->
4172 <!-- ##### FUNCTION gtk_cell_view_set_use_fg ##### -->
4180 <!-- ##### FUNCTION gtk_clist_append ##### -->
4182 Adds a row to the CList at the bottom.
4185 @clist: The #GtkCList to affect.
4186 @text: An array of strings to add.
4187 @Returns: The number of the row added.
4189 <!-- ##### FUNCTION gtk_clist_clear ##### -->
4191 Removes all the CList's rows.
4194 @clist: The #GtkCList to affect.
4196 <!-- ##### FUNCTION gtk_clist_column_title_active ##### -->
4198 Sets the specified column in the #GtkCList to become selectable. You can
4199 then respond to events from the user clicking on a title button, and take
4203 @clist: The #GtkCList to affect.
4204 @column: The column to make active, counting from 0.
4206 <!-- ##### FUNCTION gtk_clist_column_title_passive ##### -->
4208 Causes the specified column title button to become passive, i.e., does
4209 not respond to events, such as the user clicking on it.
4212 @clist: The #GtkCList to affect.
4213 @column: The column to make passive, counting from 0.
4215 <!-- ##### FUNCTION gtk_clist_column_titles_active ##### -->
4217 Causes all column title buttons to become active. This is the same
4218 as calling gtk_clist_column_title_active() for each column.
4221 @clist: The #GtkCList to affect.
4223 <!-- ##### FUNCTION gtk_clist_column_titles_hide ##### -->
4225 Causes the #GtkCList to hide its column titles, if they are currently
4229 @clist: The #GtkCList to affect.
4231 <!-- ##### FUNCTION gtk_clist_column_titles_passive ##### -->
4233 Causes all column title buttons to become passive. This is the same
4234 as calling gtk_clist_column_title_passive() for each column.
4237 @clist: The #GtkCList to affect.
4239 <!-- ##### FUNCTION gtk_clist_column_titles_show ##### -->
4241 This function causes the #GtkCList to show its column titles, if
4242 they are not already showing.
4245 @clist: The #GtkCList to affect.
4247 <!-- ##### FUNCTION gtk_clist_columns_autosize ##### -->
4249 Auto-sizes all columns in the CList and returns the total width of the CList.
4252 @clist: The #GtkCList to affect.
4253 @Returns: The total width of the CList.
4255 <!-- ##### FUNCTION gtk_clist_construct ##### -->
4257 Initializes a previously allocated #GtkCList widget for use. This should not
4258 normally be used to create a #GtkCList widget. Use gtk_clist_new() instead.
4261 @clist: A pointer to an uninitialized #GtkCList widget.
4262 @columns: The number of columns the #GtkCList should have.
4263 @titles: An array of strings that should be used as the titles i
4264 of the columns. There should be enough strings in the array for
4265 the number of columns specified.
4267 <!-- ##### FUNCTION gtk_clist_find_row_from_data ##### -->
4269 Searches the CList for the row with the specified data.
4272 @clist: The #GtkCList to search.
4273 @data: The data to search for a match.
4274 @Returns: The number of the matching row, or -1 if no match could be found.
4276 <!-- ##### FUNCTION gtk_clist_freeze ##### -->
4278 Causes the #GtkCList to stop updating its visuals until a matching call to
4279 gtk_clist_thaw() is made. This function is useful if a lot of changes
4280 will be made to the widget that may cause a lot of visual updating to
4281 occur. Note that calls to gtk_clist_freeze() can be nested.
4284 @clist: The #GtkCList to freeze.
4286 <!-- ##### FUNCTION gtk_clist_get_cell_style ##### -->
4288 Gets the current style of the specified cell.
4291 @clist: The #GtkCList to affect.
4292 @row: The row of the cell.
4293 @column: The column of the cell.
4294 @Returns: A #GtkStyle object.
4296 <!-- ##### FUNCTION gtk_clist_get_cell_type ##### -->
4298 Checks the type of cell at the location specified.
4301 @clist: The #GtkCList to affect.
4302 @row: The row of the cell.
4303 @column: The column of the cell.
4304 @Returns: A #GtkCellType value describing the cell.
4306 <!-- ##### FUNCTION gtk_clist_get_column_title ##### -->
4308 Gets the current title of the specified column
4311 @clist: The #GtkCList to affect.
4312 @column: The column to query.
4313 @Returns: The title of the column.
4315 <!-- ##### FUNCTION gtk_clist_get_column_widget ##### -->
4317 Gets the widget in the column header for the specified column.
4320 @clist: The #GtkCList to affect.
4321 @column: The column to query.
4322 @Returns: Pointer to a #GtkWidget for the column header.
4324 <!-- ##### FUNCTION gtk_clist_get_hadjustment ##### -->
4326 Gets the #GtkAdjustment currently being used for the horizontal
4330 @clist: The #GtkCList to check.
4331 @Returns: A #GtkAdjustment object, or NULL if none is currently
4334 <!-- ##### FUNCTION gtk_clist_get_pixmap ##### -->
4336 Gets the pixmap and bitmap mask of the specified cell. The returned mask value can be NULL.
4339 @clist: The #GtkCList to affect.
4340 @row: The row of the cell.
4341 @column: The column of the cell.
4342 @pixmap: A pointer to a pointer to store the cell's #GdkPixmap.
4343 @mask: A pointer to a pointer to store the cell's #GdkBitmap mask.
4344 @Returns: 1 if the cell's pixmap could be retrieved, 0 otherwise.
4346 <!-- ##### FUNCTION gtk_clist_get_pixtext ##### -->
4348 Gets the text, pixmap and bitmap mask for the specified cell.
4351 @clist: The #GtkCList to affect.
4352 @row: The row to query.
4353 @column: The column to query.
4354 @text: A pointer to a pointer to store the text.
4355 @spacing: A pointer to a #guint8 to store the spacing.
4356 @pixmap: A pointer to a #GdkPixmap pointer to store the cell's pixmap.
4357 @mask: A pointer to a #GdkBitmap pointer to store the cell's bitmap mask.
4358 @Returns: 1 if the retrieval was successful, 0 otherwise.
4360 <!-- ##### FUNCTION gtk_clist_get_row_data ##### -->
4362 Gets the currently set data for the specified row.
4365 @clist: The #GtkCList to affect.
4366 @row: The row to query.
4367 @Returns: The data set for the row.
4369 <!-- ##### FUNCTION gtk_clist_get_row_style ##### -->
4371 Gets the style set for the specified row.
4374 @clist: The #GtkCList to affect.
4375 @row: The row to query.
4376 @Returns: The #GtkStyle of the row.
4378 <!-- ##### FUNCTION gtk_clist_get_selectable ##### -->
4380 Gets whether the specified row is selectable or not.
4383 @clist: The #GtkCList to affect.
4384 @row: The row to query.
4385 @Returns: A #gboolean value.
4387 <!-- ##### FUNCTION gtk_clist_get_selection_info ##### -->
4389 Gets the row and column at the specified pixel position in the CList.
4392 @clist: The #GtkCList to affect.
4393 @x: The horizontal pixel position to check.
4394 @y: The vertical pixel position to check..
4395 @row: Pointer to a #gint to store the row value.
4396 @column: Pointer to a #gint to store the column value.
4397 @Returns: 1 if row/column is returned and in range, 0 otherwise.
4399 <!-- ##### FUNCTION gtk_clist_get_text ##### -->
4401 Gets the text for the specified cell.
4404 @clist: The #GtkCList to affect.
4405 @row: The row to query.
4406 @column: The column to query.
4407 @text: A pointer to a pointer to store the text.
4408 @Returns: 1 if the cell's text could be retrieved, 0 otherwise.
4410 <!-- ##### FUNCTION gtk_clist_get_vadjustment ##### -->
4412 Gets the #GtkAdjustment currently being used for the vertical
4416 @clist: The #GtkCList to check.
4417 @Returns: A #GtkAdjustment object, or NULL if none is currently
4420 <!-- ##### FUNCTION gtk_clist_insert ##### -->
4422 Adds a row of text to the CList at the specified position.
4425 @clist: The #GtkCList to affect.
4426 @row: The row where the text should be inserted.
4427 @text: An array of string to add.
4428 @Returns: The number of the row added.
4430 <!-- ##### FUNCTION gtk_clist_moveto ##### -->
4432 Tells the CList widget to visually move to the specified
4436 @clist: The #GtkCList to affect.
4437 @row: The row to which to move.
4438 @column: The column to which to move.
4439 @row_align: A value between 0 and 1 that describes the positioning of
4440 the row in relation to the viewable area of the CList's contents.
4441 @col_align: A value between 0 and 1 that describes the positioning of
4442 the column in relation to the viewable area of the CList's contents.
4444 <!-- ##### FUNCTION gtk_clist_new ##### -->
4446 Creates a new #GtkCList widget for use.
4449 @columns: The number of columns the #GtkCList should have.
4450 @Returns: A pointer to a new GtkCList object.
4452 <!-- ##### FUNCTION gtk_clist_new_with_titles ##### -->
4454 Creates a new #GtkCList widget with column titles for use.
4457 @columns: The number of columns the #GtkCList should have.
4458 @titles: A string array of titles for the widget. There should be
4459 enough strings in the array for the specified number of columns.
4460 @Returns: A pointer to a new GtkCList object.
4462 <!-- ##### FUNCTION gtk_clist_optimal_column_width ##### -->
4464 Gets the required width in pixels that is needed to show
4465 everything in the specified column.
4468 @clist: The #GtkCList to check.
4469 @column: The column to check.
4470 @Returns: The required width in pixels for the column.
4472 <!-- ##### FUNCTION gtk_clist_prepend ##### -->
4474 Adds a row to the CList at the top.
4477 @clist: The #GtkCList to affect.
4478 @text: An array of strings to add.
4479 @Returns: The number of the row added.
4481 <!-- ##### FUNCTION gtk_clist_remove ##### -->
4483 Removes the specified row from the CList.
4486 @clist: The #GtkCList to affect.
4487 @row: The row to remove.
4489 <!-- ##### FUNCTION gtk_clist_row_is_visible ##### -->
4491 Checks how the specified row is visible.
4494 @clist: The #GtkCList to affect.
4495 @row: The row to query.
4496 @Returns: A #GtkVisibility value that tells you how the row is visible.
4498 <!-- ##### FUNCTION gtk_clist_row_move ##### -->
4500 Allows you to move a row from one position to another in the
4504 @clist: The #GtkCList to affect.
4505 @source_row: The original position of the row to move.
4506 @dest_row: The position to which the row should be moved.
4508 <!-- ##### FUNCTION gtk_clist_select_all ##### -->
4510 Selects all rows in the CList. This function has no affect for a
4511 CList in "single" or "browse" selection mode.
4514 @clist: The #GtkCList to affect.
4516 <!-- ##### FUNCTION gtk_clist_select_row ##### -->
4518 Selects the specified row. Causes the "select-row" signal to be emitted for the specified row and column.
4521 @clist: The #GtkCList to affect.
4522 @row: The row to select.
4523 @column: The column to select.
4525 <!-- ##### FUNCTION gtk_clist_set_auto_sort ##### -->
4527 Turns on or off auto sort of the #GtkCList. If auto sort is on, then the CList will be resorted when a row is inserted into the CList.
4530 @clist: The #GtkCList to affect.
4531 @auto_sort: whether auto sort should be on or off
4533 <!-- ##### FUNCTION gtk_clist_set_background ##### -->
4535 Sets the background color for the specified row.
4538 @clist: The #GtkCList to affect.
4539 @row: The row to affect.
4540 @color: A pointer to a #GdkColor structure.
4542 <!-- ##### FUNCTION gtk_clist_set_button_actions ##### -->
4544 Sets the action(s) that the specified mouse button will have
4548 @clist: The #GtkCList to affect.
4549 @button: The mouse button to set. The values here, unlike in the
4550 rest of GTK+ start from 0. For instance, the right mouse
4551 button, which is 3 elsewhere, should be given as 2 here.
4552 @button_actions: A logically OR'd value of #GtkButtonAction values
4555 <!-- ##### FUNCTION gtk_clist_set_cell_style ##### -->
4557 Sets the style for the specified cell.
4560 @clist: The #GtkCList to affect.
4561 @row: The row of the cell.
4562 @column: The column of the cell.
4563 @style: A pointer to a #GtkStyle structure.
4565 <!-- ##### FUNCTION gtk_clist_set_column_auto_resize ##### -->
4567 Lets you specify whether a column should be automatically resized
4568 by the widget when data is added or removed. Enabling auto-resize
4569 on a column explicity disallows user-resizing of the column.
4572 @clist: The #GtkCList to affect.
4573 @column: The column on which to set auto-resizing.
4574 @auto_resize: %TRUE or %FALSE.
4576 <!-- ##### FUNCTION gtk_clist_set_column_justification ##### -->
4578 Sets the justification to be used for all text in the specified
4582 @clist: The #GtkCList to affect.
4583 @column: The column which should be affected.
4584 @justification: A GtkJustification value for the column.
4586 <!-- ##### FUNCTION gtk_clist_set_column_max_width ##### -->
4588 Causes the column specified to have a maximum width, preventing
4589 the user from resizing it larger than that specified.
4592 @clist: The #GtkCList to affect.
4593 @column: The column to set the maximum width.
4594 @max_width: The width, in pixels.
4596 <!-- ##### FUNCTION gtk_clist_set_column_min_width ##### -->
4598 Causes the column specified to have a minimum width, preventing
4599 the user from resizing it smaller than that specified.
4602 @clist: The #GtkCList to affect.
4603 @column: The column to set the minimum width.
4604 @min_width: The width, in pixels.
4606 <!-- ##### FUNCTION gtk_clist_set_column_resizeable ##### -->
4608 Lets you specify whether a specified column should be resizeable
4609 by the user. Note that turning on resizeability for the column will
4610 automatically shut off auto-resizing, but turning off resizeability
4611 will NOT turn on auto-resizing. This must be done manually via a
4612 call to gtk_clist_set_column_auto_resize().
4615 @clist: The #GtkCList to affect.
4616 @column: The column on which to set resizeability.
4617 @resizeable: %TRUE or %FALSE.
4619 <!-- ##### FUNCTION gtk_clist_set_column_title ##### -->
4621 Sets the title for the specified column.
4624 @clist: The #GtkCList to affect.
4625 @column: The column whose title should be changed.
4626 @title: A string to be the column's title.
4628 <!-- ##### FUNCTION gtk_clist_set_column_visibility ##### -->
4630 Allows you to set whether a specified column in the #GtkCList should
4631 be hidden or shown. Note that at least one column must always be
4632 showing, so attempting to hide the last visible column will be
4636 @clist: The #GtkCList to affect.
4637 @column: The column to set visibility.
4638 @visible: %TRUE or %FALSE.
4640 <!-- ##### FUNCTION gtk_clist_set_column_widget ##### -->
4642 Sets a widget to be used as the specified column's title. This
4643 can be used to place a pixmap or something else as the column
4644 title, instead of the standard text.
4647 @clist: The #GtkCList to affect.
4648 @column: The column whose title should be a widget.
4649 @widget: A pointer to a previously create widget.
4651 <!-- ##### FUNCTION gtk_clist_set_column_width ##### -->
4653 Causes the column specified for the #GtkCList to be set to
4657 @clist: The #GtkCList to affect.
4658 @column: The column to set the width.
4659 @width: The width, in pixels.
4661 <!-- ##### FUNCTION gtk_clist_set_compare_func ##### -->
4663 Sets the compare function of the #GtkClist to @cmp_func. If @cmp_func is NULL,
4664 then the default compare function is used. The default compare function sorts
4665 ascending or with the type set by gtk_clist_set_sort_type() by the column set
4666 by gtk_clist_set_sort_column().
4669 @clist: The #GtkCList to affect.
4670 @cmp_func: The #GtkCompareFunction to use.
4672 <!-- ##### FUNCTION gtk_clist_set_foreground ##### -->
4674 Sets the foreground color for the specified row.
4677 @clist: The #GtkCList to affect.
4678 @row: The row to affect.
4679 @color: A pointer to a #GdkColor structure.
4681 <!-- ##### FUNCTION gtk_clist_set_hadjustment ##### -->
4683 Allows you to set the #GtkAdjustment to be used for the horizontal
4684 aspect of the #GtkCList widget.
4687 @clist: The #GtkCList to affect.
4688 @adjustment: A pointer to a #GtkAdjustment widget, or NULL.
4690 <!-- ##### FUNCTION gtk_clist_set_pixmap ##### -->
4692 Sets a pixmap for the specified cell.
4695 @clist: The #GtkCList to affect.
4696 @row: The row of the cell.
4697 @column: The column of the cell.
4698 @pixmap: A pointer to a #GdkPixmap to place in the cell.
4699 @mask: A pointer to a #GdkBitmap mask for the cell.
4701 <!-- ##### FUNCTION gtk_clist_set_pixtext ##### -->
4703 Sets text and a pixmap/bitmap on the specified cell.
4706 @clist: The #GtkCList to affect.
4707 @row: The row of the cell.
4708 @column: The column of the cell.
4709 @text: The text to set in the cell.
4710 @spacing: The spacing between the cell's text and pixmap.
4711 @pixmap: A pointer to a #GdkPixmap for the cell.
4712 @mask: A pointer to a #GdkBitmap mask for the cell.
4714 <!-- ##### FUNCTION gtk_clist_set_reorderable ##### -->
4716 Sets whether the CList's rows are re-orderable using drag-and-drop.
4719 @clist: The #GtkCList to affect.
4720 @reorderable: %TRUE or %FALSE.
4722 <!-- ##### FUNCTION gtk_clist_set_row_data ##### -->
4724 Sets data for the specified row. This is the same as calling gtk_clist_set_row_data_full(clist, row, data, NULL).
4727 @clist: The #GtkCList to affect.
4728 @row: The row to affect.
4729 @data: The data to set for the row.
4731 <!-- ##### FUNCTION gtk_clist_set_row_data_full ##### -->
4733 Sets the data for specified row, with a callback when the row is destroyed.
4736 @clist: The #GtkCList to affect.
4737 @row: The row to affect.
4738 @data: The data to set for the row.
4739 @destroy: A #GtkDestroyNotify function to be called when the row is destroyed.
4741 <!-- ##### FUNCTION gtk_clist_set_row_height ##### -->
4743 Causes the #GtkCList to have a specified height for its
4744 rows. Setting the row height to 0 allows the #GtkCList to adjust
4745 automatically to data in the row.
4748 @clist: The #GtkCList to affect.
4749 @height: The height, in pixels.
4751 <!-- ##### FUNCTION gtk_clist_set_row_style ##### -->
4753 Sets the style for all cells in the specified row.
4756 @clist: The #GtkCList to affect.
4757 @row: The row to affect.
4758 @style: A pointer to a #GtkStyle to set.
4760 <!-- ##### FUNCTION gtk_clist_set_selectable ##### -->
4762 Sets whether the specified row is selectable or not.
4765 @clist: The #GtkCList to affect.
4766 @row: The row to affect.
4767 @selectable: %TRUE or %FALSE.
4769 <!-- ##### FUNCTION gtk_clist_set_selection_mode ##### -->
4771 Sets the selection mode for the specified CList. This allows you to
4772 set whether only one or more than one item can be selected at a time
4773 in the widget. Note that setting the widget's selection mode to one
4774 of GTK_SELECTION_BROWSE or GTK_SELECTION_SINGLE will cause all the
4775 items in the #GtkCList to become deselected.
4778 @clist: The #GtkCList to affect.
4779 @mode: The GtkSelectionMode type to set for this CList.
4781 <!-- ##### FUNCTION gtk_clist_set_shadow_type ##### -->
4783 Sets the shadow type for the specified CList. Changing this value
4784 will cause the #GtkCList to update its visuals.
4787 @clist: The #GtkCList to affect.
4788 @type: The GtkShadowType desired.
4790 <!-- ##### FUNCTION gtk_clist_set_shift ##### -->
4792 Sets the vertical and horizontal shift of the specified cell.
4795 @clist: The #GtkCList to affect.
4796 @row: The row of the cell.
4797 @column: The column of the cell.
4798 @vertical: The value to set for the vertical shift.
4799 @horizontal: The value to set for the vertical shift.
4801 <!-- ##### FUNCTION gtk_clist_set_sort_column ##### -->
4803 Sets the sort column of the clist. The sort column is used by the
4804 default compare function to determine which column to sort by.
4807 @clist: The #GtkCList to affect.
4808 @column: The column to sort by
4810 <!-- ##### FUNCTION gtk_clist_set_sort_type ##### -->
4812 Sets the sort type of the #GtkClist. This is either GTK_SORT_ASCENDING for
4813 ascening sort or GTK_SORT_DESCENDING for descending sort.
4816 @clist: The #GtkCList to affect.
4817 @sort_type: the #GtkSortType to use
4819 <!-- ##### FUNCTION gtk_clist_set_text ##### -->
4821 Sets the displayed text in the specified cell.
4824 @clist: The #GtkCList to affect.
4825 @row: The row of the cell.
4826 @column: The column of the cell.
4827 @text: The text to set in the cell.
4829 <!-- ##### FUNCTION gtk_clist_set_use_drag_icons ##### -->
4831 Determines whether the #GtkClist should use icons when
4832 doing drag-and-drop operations.
4835 @clist: The #GtkCList to affect.
4836 @use_icons: %TRUE or %FALSE.
4838 <!-- ##### FUNCTION gtk_clist_set_vadjustment ##### -->
4840 Allows you to set the #GtkAdjustment to be used for the vertical
4841 aspect of the #GtkCList widget.
4844 @clist: The #GtkCList to affect.
4845 @adjustment: A pointer to a #GtkAdjustment widget, or NULL.
4847 <!-- ##### FUNCTION gtk_clist_sort ##### -->
4849 Sorts the #GtkClist according to the current compare function, which
4850 can be set with the gtk_clist_set_compare_func() function.
4853 @clist: The #GtkCList to sort.
4855 <!-- ##### FUNCTION gtk_clist_swap_rows ##### -->
4857 Swaps the two specified rows with each other.
4860 @clist: The #GtkCList to affect.
4861 @row1: Number of the first row.
4862 @row2: Number of the second row.
4864 <!-- ##### FUNCTION gtk_clist_thaw ##### -->
4866 Causes the specified #GtkCList to allow visual updates.
4869 @clist: The #GtkCList to thaw.
4871 <!-- ##### FUNCTION gtk_clist_undo_selection ##### -->
4873 Undoes the last selection for an "extended selection mode" CList.
4876 @clist: The #GtkCList to affect.
4878 <!-- ##### FUNCTION gtk_clist_unselect_all ##### -->
4880 Unselects all rows in the CList.
4883 @clist: The #GtkCList to affect.
4885 <!-- ##### FUNCTION gtk_clist_unselect_row ##### -->
4887 Unselects the specified row. Causes the "unselect-row" signal to be emitted for the specified row and column.
4890 @clist: The #GtkCList to affect.
4891 @row: The row to select.
4892 @column: The column to select.
4894 <!-- ##### FUNCTION gtk_color_selection_get_color ##### -->
4902 <!-- ##### FUNCTION gtk_color_selection_get_old_color ##### -->
4910 <!-- ##### FUNCTION gtk_color_selection_get_use_opacity ##### -->
4918 <!-- ##### FUNCTION gtk_color_selection_get_use_palette ##### -->
4926 <!-- ##### FUNCTION gtk_color_selection_set_change_palette_hook ##### -->
4934 <!-- ##### FUNCTION gtk_color_selection_set_color ##### -->
4942 <!-- ##### FUNCTION gtk_color_selection_set_old_color ##### -->
4950 <!-- ##### FUNCTION gtk_color_selection_set_opacity ##### -->
4952 Controls whether opacity can be set with the #GtkColorSelection.
4953 If this functionality is enabled, the necessary additional widgets
4954 are added to the #GtkColorSelection and the opacity value can be
4955 retrieved via the fourth value in the color array returned by
4956 the gtk_color_selection_get_color() function.
4959 @colorsel: a #GtkColorSelection.
4960 @use_opacity: a boolean indicating whether the opacity selection
4963 <!-- ##### FUNCTION gtk_color_selection_set_use_opacity ##### -->
4971 <!-- ##### FUNCTION gtk_color_selection_set_use_palette ##### -->
4979 <!-- ##### FUNCTION gtk_combo_box_get_row_separator_column ##### -->
4987 <!-- ##### FUNCTION gtk_combo_box_set_row_separator_column ##### -->
4995 <!-- ##### FUNCTION gtk_combo_disable_activate ##### -->
4997 Stops the #GtkCombo widget from showing the popup list when the #GtkEntry
4998 emits the "activate" signal, i.e. when the Return key is pressed.
4999 This may be useful if, for example, you want the Return key to close a dialog
5003 @combo: a #GtkCombo.
5004 @Deprecated: 2.4: Use #GtkComboBox instead.
5006 <!-- ##### FUNCTION gtk_combo_new ##### -->
5008 Creates a new #GtkCombo.
5011 @Returns: a new #GtkCombo.
5012 @Deprecated: 2.4: Use #GtkComboBox instead.
5014 <!-- ##### FUNCTION gtk_combo_set_case_sensitive ##### -->
5016 Specifies whether the text entered into the #GtkEntry field and the text in
5017 the list items is case sensitive.
5020 This may be useful, for example, when you have called
5021 gtk_combo_set_value_in_list() to limit the values entered, but you are not
5022 worried about differences in case.
5025 @combo: a #GtkCombo.
5026 @val: %TRUE if the text in the list items is case sensitive.
5027 @Deprecated: 2.4: Use #GtkComboBox instead.
5029 <!-- ##### FUNCTION gtk_combo_set_item_string ##### -->
5031 Sets the string to place in the #GtkEntry field when a particular list item is
5032 selected. This is needed if the list item is not a simple label.
5035 @combo: a #GtkCombo.
5037 @item_value: the string to place in the #GtkEntry when @item is selected.
5038 @Deprecated: 2.4: Use #GtkComboBox instead.
5040 <!-- ##### FUNCTION gtk_combo_set_popdown_strings ##### -->
5042 Convenience function to set all of the items in the popup list.
5043 (See the <link linkend="gtkcombo-simple-example">example</link> above.)
5046 @combo: a #GtkCombo.
5047 @strings: a list of strings, or %NULL to clear the popup list
5048 @Deprecated: 2.4: Use #GtkComboBox instead.
5050 <!-- ##### FUNCTION gtk_combo_set_use_arrows ##### -->
5052 Specifies if the arrow (cursor) keys can be used to step through the items in
5053 the list. This is on by default.
5056 @combo: a #GtkCombo.
5057 @val: %TRUE if the arrow keys can be used to step through the items in
5059 @Deprecated: 2.4: Use #GtkComboBox instead.
5061 <!-- ##### FUNCTION gtk_combo_set_use_arrows_always ##### -->
5063 Obsolete function, does nothing.
5066 @combo: a #GtkCombo.
5068 @Deprecated: 2.4: Use #GtkComboBox instead.
5070 <!-- ##### FUNCTION gtk_combo_set_value_in_list ##### -->
5072 Specifies whether the value entered in the text entry field must match one of
5073 the values in the list. If this is set then the user will not be able to
5074 perform any other action until a valid value has been entered.
5077 If an empty field is acceptable, the @ok_if_empty parameter should be %TRUE.
5080 @combo: a #GtkCombo.
5081 @val: %TRUE if the value entered must match one of the values in the list.
5082 @ok_if_empty: %TRUE if an empty value is considered valid.
5083 @Deprecated: 2.4: Use #GtkComboBox instead.
5085 <!-- ##### FUNCTION gtk_container_add_child_arg_type ##### -->
5095 <!-- ##### FUNCTION gtk_container_add_with_args ##### -->
5105 <!-- ##### FUNCTION gtk_container_addv ##### -->
5115 <!-- ##### FUNCTION gtk_container_arg_get ##### -->
5125 <!-- ##### FUNCTION gtk_container_arg_set ##### -->
5135 <!-- ##### FUNCTION gtk_container_child_arg_get_info ##### -->
5145 <!-- ##### FUNCTION gtk_container_child_args_collect ##### -->
5157 <!-- ##### FUNCTION gtk_container_child_getv ##### -->
5167 <!-- ##### FUNCTION gtk_container_child_setv ##### -->
5177 <!-- ##### FUNCTION gtk_container_dequeue_resize_handler ##### -->
5184 <!-- ##### FUNCTION gtk_container_focus ##### -->
5193 <!-- ##### FUNCTION gtk_container_query_child_args ##### -->
5203 <!-- ##### FUNCTION gtk_decorated_window_calculate_frame_size ##### -->
5210 <!-- ##### FUNCTION gtk_decorated_window_init ##### -->
5217 <!-- ##### FUNCTION gtk_decorated_window_move_resize_window ##### -->
5228 <!-- ##### FUNCTION gtk_decorated_window_set_title ##### -->
5236 <!-- ##### FUNCTION gtk_drag_dest_handle_event ##### -->
5244 <!-- ##### FUNCTION gtk_drag_set_default_icon ##### -->
5255 <!-- ##### FUNCTION gtk_drag_source_handle_event ##### -->
5263 <!-- ##### FUNCTION gtk_drawing_area_size ##### -->
5265 Sets the size that the drawing area will request
5266 in response to a "size_request" signal. The
5267 drawing area may actually be allocated a size
5268 larger than this depending on how it is packed
5269 within the enclosing containers.
5272 @darea: a #GtkDrawingArea
5273 @width: the width to request
5274 @height: the height to request
5275 @Deprecated: Use gtk_widget_set_size_request() instead.
5277 <!-- ##### FUNCTION gtk_editable_changed ##### -->
5279 Causes the "changed" signal to be emitted.
5282 @editable: a #GtkEditable widget.
5284 <!-- ##### FUNCTION gtk_editable_claim_selection ##### -->
5286 Claim or disclaim ownership of the PRIMARY X selection.
5289 @editable: a #GtkEditable widget.
5290 @claim: if %TRUE, claim the selection, otherwise, disclaim it.
5291 @time: the timestamp for claiming the selection.
5293 <!-- ##### FUNCTION gtk_entry_get_gicon ##### -->
5302 <!-- ##### FUNCTION gtk_entry_get_pixbuf ##### -->
5311 <!-- ##### FUNCTION gtk_entry_get_stock ##### -->
5320 <!-- ##### FUNCTION gtk_entry_get_storage_type ##### -->
5329 <!-- ##### FUNCTION gtk_file_chooser_dialog_new_with_backend ##### -->
5346 sgml-parent-document: ("../gtk-docs.sgml" "book" "refsect1")
5350 <!-- ##### FUNCTION gtk_file_chooser_error_quark ##### -->
5357 <!-- ##### FUNCTION gtk_file_chooser_get_folder_mode ##### -->
5365 <!-- ##### FUNCTION gtk_file_chooser_set_folder_mode ##### -->
5373 <!-- ##### FUNCTION gtk_file_chooser_widget_new_with_backend ##### -->
5382 <!-- ##### FUNCTION gtk_file_selection_complete ##### -->
5384 Will attempt to match @pattern to a valid filenames or subdirectories in the current directory. If a match can be made, the matched filename will appear in the text entry field of the file selection dialog.
5385 If a partial match can be made, the "Files" list will contain those
5386 file names which have been partially matched, and the "Folders"
5387 list those directories which have been partially matched.
5390 @filesel: a #GtkFileSelection.
5391 @pattern: a string of characters which may or may not match any filenames in the current directory.
5393 <!-- ##### FUNCTION gtk_file_selection_get_filename ##### -->
5400 <!-- ##### FUNCTION gtk_file_selection_get_select_multiple ##### -->
5408 <!-- ##### FUNCTION gtk_file_selection_get_selections ##### -->
5416 <!-- ##### FUNCTION gtk_file_selection_hide_fileop_buttons ##### -->
5418 Hides the file operation buttons that normally appear at the top of the dialog. Useful if you wish to create a custom file selector, based on #GtkFileSelection.
5421 @filesel: a #GtkFileSelection.
5423 <!-- ##### FUNCTION gtk_file_selection_new ##### -->
5425 Creates a new file selection dialog box. By default it will contain a #GtkTreeView of the application's current working directory, and a file listing. Operation buttons that allow the user to create a directory, delete files and rename files, are also present.
5428 @title: a message that will be placed in the file requestor's titlebar.
5429 @Returns: the new file selection.
5430 @Deprecated: Use gtk_file_chooser_dialog_new() instead
5432 <!-- ##### FUNCTION gtk_file_selection_set_filename ##### -->
5439 <!-- ##### FUNCTION gtk_file_selection_set_select_multiple ##### -->
5447 <!-- ##### FUNCTION gtk_file_selection_show_fileop_buttons ##### -->
5449 Shows the file operation buttons, if they have previously been hidden. The rest of the widgets in the dialog will be resized accordingly.
5452 @filesel: a #GtkFileSelection.
5454 <!-- ##### FUNCTION gtk_font_selection_dialog_get_apply_button ##### -->
5462 <!-- ##### FUNCTION gtk_font_selection_dialog_get_font ##### -->
5470 <!-- ##### FUNCTION gtk_font_selection_dialog_set_filter ##### -->
5472 Sets one of the two font filters, to limit the fonts shown.
5475 @fsd: a #GtkFontSelectionDialog.
5476 @filter_type: which of the two font filters to set, either
5477 #GTK_FONT_FILTER_BASE or #GTK_FONT_FILTER_USER. The user filter
5478 can be changed by the user, but the base filter is permanent.
5479 @font_type: the types of font to be shown. This is a bitwise combination of
5480 #GTK_FONT_BITMAP, #GTK_FONT_SCALABLE and #GTK_FONT_SCALABLE_BITMAP,
5481 or #GTK_FONT_ALL to show all three font types.
5482 @foundries: a NULL-terminated array of strings containing foundry names which
5483 will be shown, or NULL to show all foundries.
5484 @weights: a NULL-terminated array of strings containing weight names which
5485 will be shown, or NULL to show all weights.
5486 @slants: a NULL-terminated array of strings containing slant names which
5487 will be shown, or NULL to show all slants.
5488 @setwidths: a NULL-terminated array of strings containing setwidth names which
5489 will be shown, or NULL to show all setwidths.
5490 @spacings: a NULL-terminated array of strings containing spacings which
5491 will be shown, or NULL to show all spacings.
5492 @charsets: a NULL-terminated array of strings containing charset names which
5493 will be shown, or NULL to show all charsets.
5495 <!-- ##### FUNCTION gtk_font_selection_get_face_entry ##### -->
5503 <!-- ##### FUNCTION gtk_font_selection_get_family_entry ##### -->
5511 <!-- ##### FUNCTION gtk_font_selection_get_font ##### -->
5519 <!-- ##### FUNCTION gtk_font_selection_set_filter ##### -->
5521 Sets one of the two font filters, to limit the fonts shown.
5524 @fontsel: a #GtkFontSelection.
5525 @filter_type: which of the two font filters to set, either
5526 #GTK_FONT_FILTER_BASE or #GTK_FONT_FILTER_USER. The user filter
5527 can be changed by the user, but the base filter is permanent.
5528 @font_type: the types of font to be shown. This is a bitwise combination of
5529 #GTK_FONT_BITMAP, #GTK_FONT_SCALABLE and #GTK_FONT_SCALABLE_BITMAP,
5530 or #GTK_FONT_ALL to show all three font types.
5531 @foundries: a NULL-terminated array of strings containing foundry names which
5532 will be shown, or NULL to show all foundries.
5533 @weights: a NULL-terminated array of strings containing weight names which
5534 will be shown, or NULL to show all weights.
5535 @slants: a NULL-terminated array of strings containing slant names which
5536 will be shown, or NULL to show all slants.
5537 @setwidths: a NULL-terminated array of strings containing setwidth names which
5538 will be shown, or NULL to show all setwidths.
5539 @spacings: a NULL-terminated array of strings containing spacings which
5540 will be shown, or NULL to show all spacings.
5541 @charsets: a NULL-terminated array of strings containing charset names which
5542 will be shown, or NULL to show all charsets.
5544 <!-- ##### FUNCTION gtk_icon_view_get_type ##### -->
5551 <!-- ##### FUNCTION gtk_identifier_get_type ##### -->
5553 Get the type of GtkIdentifier.
5556 @Returns: GtkType -- the enumerated type of something.
5558 <!-- ##### FUNCTION gtk_image_menu_item_add_image ##### -->
5566 <!-- ##### FUNCTION gtk_image_menu_item_get_type ##### -->
5573 <!-- ##### FUNCTION gtk_item_factories_path_delete ##### -->
5581 <!-- ##### FUNCTION gtk_item_factory_add_foreign ##### -->
5592 <!-- ##### FUNCTION gtk_item_factory_construct ##### -->
5602 <!-- ##### FUNCTION gtk_item_factory_create_item ##### -->
5612 <!-- ##### FUNCTION gtk_item_factory_create_items ##### -->
5622 <!-- ##### FUNCTION gtk_item_factory_create_items_ac ##### -->
5633 <!-- ##### FUNCTION gtk_item_factory_create_menu_entries ##### -->
5641 <!-- ##### FUNCTION gtk_item_factory_delete_entries ##### -->
5650 <!-- ##### FUNCTION gtk_item_factory_delete_entry ##### -->
5658 <!-- ##### FUNCTION gtk_item_factory_delete_item ##### -->
5666 <!-- ##### FUNCTION gtk_item_factory_dump_items ##### -->
5676 <!-- ##### FUNCTION gtk_item_factory_dump_rc ##### -->
5685 <!-- ##### FUNCTION gtk_item_factory_from_path ##### -->
5693 <!-- ##### FUNCTION gtk_item_factory_from_widget ##### -->
5701 <!-- ##### FUNCTION gtk_item_factory_get_item ##### -->
5710 <!-- ##### FUNCTION gtk_item_factory_get_item_by_action ##### -->
5719 <!-- ##### FUNCTION gtk_item_factory_get_widget ##### -->
5728 <!-- ##### FUNCTION gtk_item_factory_get_widget_by_action ##### -->
5737 <!-- ##### FUNCTION gtk_item_factory_new ##### -->
5747 <!-- ##### FUNCTION gtk_item_factory_parse_rc ##### -->
5754 <!-- ##### FUNCTION gtk_item_factory_parse_rc_scanner ##### -->
5761 <!-- ##### FUNCTION gtk_item_factory_parse_rc_string ##### -->
5768 <!-- ##### FUNCTION gtk_item_factory_path_from_widget ##### -->
5776 <!-- ##### FUNCTION gtk_item_factory_popup ##### -->
5787 <!-- ##### FUNCTION gtk_item_factory_popup_data ##### -->
5795 <!-- ##### FUNCTION gtk_item_factory_popup_data_from_widget ##### -->
5803 <!-- ##### FUNCTION gtk_item_factory_popup_with_data ##### -->
5816 <!-- ##### FUNCTION gtk_item_factory_print_func ##### -->
5824 <!-- ##### FUNCTION gtk_item_factory_set_translate_func ##### -->
5834 <!-- ##### FUNCTION gtk_label_get ##### -->
5836 Gets the current string of text within the #GtkLabel and writes it to
5837 the given @str argument. It does not make a copy of this string so you
5838 must not write to it.
5841 @label: The #GtkLabel widget you want to get the text from.
5842 @str: The reference to the pointer you want to point to the text.
5843 @Deprecated: Use gtk_label_get_text() instead.
5845 <!-- ##### MACRO gtk_label_set ##### -->
5847 Sets the text within the GtkLabel widget.
5850 @Deprecated: Use gtk_label_set_text() instead.
5852 <!-- ##### FUNCTION gtk_label_set_markup_with_accel ##### -->
5861 <!-- ##### FUNCTION gtk_layout_freeze ##### -->
5868 <!-- ##### FUNCTION gtk_layout_thaw ##### -->
5875 <!-- ##### FUNCTION gtk_list_append_items ##### -->
5877 Adds @items to the end of the @list.
5880 @list: the list widget.
5883 <!-- ##### FUNCTION gtk_list_child_position ##### -->
5885 Searches the children of @list for the index of @child.
5888 @list: the list widget.
5889 @child: the child to look for.
5890 @Returns: the index of the child, -1 if not found.
5892 <!-- ##### FUNCTION gtk_list_clear_items ##### -->
5894 Removes the items between index @start (included) and @end (excluded)
5895 from the @list. If @end is negative, or greater than the number of
5896 children of @list, it's assumed to be exactly the number of
5897 elements. If @start is greater than or equal to @end, nothing is
5901 @list: the list widget.
5902 @start: the index of the first item to remove.
5903 @end: the index of the lest item to remove plus one.
5905 <!-- ##### FUNCTION gtk_list_end_drag_selection ##### -->
5907 Stops the drag selection mode and ungrabs the pointer. This has no
5908 effect if a drag selection is not active.
5911 @list: the list widget.
5913 <!-- ##### FUNCTION gtk_list_end_selection ##### -->
5915 Ends the selection. Used with gtk_list_extend_selection() and
5916 gtk_list_start_selection(). Only in #GTK_SELECTION_EXTENDED mode.
5919 @list: the list widget.
5921 <!-- ##### FUNCTION gtk_list_extend_selection ##### -->
5923 Extends the selection by moving the anchor according to @scroll_type. Only
5924 in #GTK_SELECTION_EXTENDED.
5927 @list: the list widget.
5928 @scroll_type: the direction and length.
5929 @position: the position if @scroll_type is #GTK_SCROLL_JUMP.
5930 @auto_start_selection: if %TRUE, gtk_list_start_selection() is automatically
5931 carried out before extending the selection.
5933 <!-- ##### FUNCTION gtk_list_insert_items ##### -->
5935 Inserts @items into the @list at the position @position. The #GList items
5936 must not be freed after.
5939 @list: the list widget.
5941 @position: the position to insert @items, starting at 0.
5943 <!-- ##### FUNCTION gtk_list_item_deselect ##### -->
5945 Deselects the item, by emitting the item's "deselect" signal.
5948 @list_item: a #GtkListItem.
5950 <!-- ##### FUNCTION gtk_list_item_new ##### -->
5952 Creates a new #GtkListitem.
5955 @Returns: a new #GtkListItem.
5957 <!-- ##### FUNCTION gtk_list_item_new_with_label ##### -->
5959 Creates a new #GtkListItem with a child label containing the given string.
5962 @label: the string to use for the child label.
5963 @Returns: a new #GtkListItem with a child #GtkLabel with the text set to
5966 <!-- ##### FUNCTION gtk_list_item_select ##### -->
5968 Selects the item, by emitting the item's "select" signal.
5969 Depending on the selection mode of the list, this may cause other items to
5973 @list_item: a #GtkListItem.
5975 <!-- ##### FUNCTION gtk_list_new ##### -->
5977 Creates a new #GtkList.
5980 @Returns: the newly-created #GtkList
5982 <!-- ##### FUNCTION gtk_list_prepend_items ##### -->
5984 Inserts @items at the beginning of the @list.
5987 @list: the list widget.
5990 <!-- ##### FUNCTION gtk_list_remove_items ##### -->
5992 Removes the @items from the @list.
5995 @list: the list widget.
5996 @items: the items to remove.
5998 <!-- ##### FUNCTION gtk_list_remove_items_no_unref ##### -->
6000 Removes the @items from the @list, without unreferencing them. It
6001 may be useful if you want to move the items from one list to another.
6004 @list: the list widget.
6007 <!-- ##### FUNCTION gtk_list_scroll_horizontal ##### -->
6009 Scrolls @list horizontaly. This supposes that the list is packed into a
6010 scrolled window or something similar, and adjustments are well
6011 set. Step and page increment are those from the horizontal adjustment
6012 of @list. Backward means to the left, and forward to the
6013 right. Out of bounds values are truncated.
6014 @scroll_type may be any valid #GtkScrollType. If @scroll_type is
6015 #GTK_SCROLL_NONE, nothing is done. If it's #GTK_SCROLL_JUMP, the list
6016 scrolls to the ratio @position: 0 is full left, 1 is full right.
6019 @list: the list widget.
6020 @scroll_type: the scrolling type.
6021 @position: the position if @scroll_type is #GTK_SCROLL_JUMP
6023 <!-- ##### FUNCTION gtk_list_scroll_vertical ##### -->
6025 Scrolls @list vertically. This supposes that the list is packed into a
6026 scrolled window or something similar, and adjustments are well
6027 set. Step and page increment are those from the vertical adjustment
6028 of @list. Backward means up, and forward down. Out of bounds values are
6030 @scroll_type may be any valid #GtkScrollType. If @scroll_type is
6031 #GTK_SCROLL_NONE, nothing is done. If it's #GTK_SCROLL_JUMP, the list
6032 scrolls to the ratio @position: 0 is top, 1 is bottom.
6035 @list: the list widget.
6036 @scroll_type: the scrolling type.
6037 @position: the position if @scroll_type is #GTK_SCROLL_JUMP
6039 <!-- ##### FUNCTION gtk_list_select_all ##### -->
6041 Selects all children of @list. A signal will be emitted for each
6042 newly selected child.
6045 @list: the list widget.
6047 <!-- ##### FUNCTION gtk_list_select_child ##### -->
6049 Selects the given @child. The signal GtkList::select-child will be
6053 @list: the list widget
6054 @child: the child to select.
6056 <!-- ##### FUNCTION gtk_list_select_item ##### -->
6058 Selects the child number @item of the @list. Nothing happens if @item
6059 is out of bounds. The signal GtkList::select-child will be emitted.
6062 @list: the list widget.
6063 @item: the index of the child to select.
6065 <!-- ##### FUNCTION gtk_list_set_selection_mode ##### -->
6067 Set the list selection mode. The selection mode can be any value in
6071 <term>#GTK_SELECTION_SINGLE</term>
6073 Zero or one element may be selected.
6078 <term>#GTK_SELECTION_BROWSE</term>
6080 Exactly one element is always selected (this can be false after you have
6081 changed the selection mode).
6086 <term>#GTK_SELECTION_MULTIPLE</term>
6088 Any number of elements may be selected. Clicks toggle the state of an
6094 <term>#GTK_SELECTION_EXTENDED</term>
6096 Any number of elements may be selected. Click-drag selects a range of
6097 elements; the Ctrl key may be used to enlarge the selection, and
6098 Shift key to select between the focus and the child pointed to.
6104 @list: the list widget.
6105 @mode: the new selection mode.
6107 <!-- ##### FUNCTION gtk_list_start_selection ##### -->
6109 Starts a selection (or part of selection) at the focused child. Only in
6110 #GTK_SELECTION_EXTENDED mode.
6113 @list: the list widget.
6115 <!-- ##### FUNCTION gtk_list_store_move ##### -->
6124 <!-- ##### FUNCTION gtk_list_store_new_with_types ##### -->
6133 <!-- ##### FUNCTION gtk_list_store_set_cell ##### -->
6143 <!-- ##### FUNCTION gtk_list_store_set_column_type ##### -->
6152 <!-- ##### FUNCTION gtk_list_store_set_n_columns ##### -->
6160 <!-- ##### FUNCTION gtk_list_toggle_add_mode ##### -->
6162 Toggles between adding to the selection and beginning a new selection. Only
6163 in #GTK_SELECTION_EXTENDED. Useful with gtk_list_extend_selection().
6166 @list: the list widget.
6168 <!-- ##### FUNCTION gtk_list_toggle_focus_row ##### -->
6170 Toggles the focus row. If the focus row is selected, it's
6171 unselected. If the focus row is unselected, it's selected. If the
6172 selection mode of @list is #GTK_SELECTION_BROWSE, this has no effect,
6173 as the selection is always at the focus row.
6176 @list: the list widget.
6178 <!-- ##### FUNCTION gtk_list_toggle_row ##### -->
6180 Toggles the child @item of list. If the selection mode of @list is
6181 #GTK_SELECTION_BROWSE, the item is selected, and the others are
6185 @list: the list widget.
6186 @item: the child to toggle.
6188 <!-- ##### FUNCTION gtk_list_undo_selection ##### -->
6190 Restores the selection in the last state, only if selection mode is
6191 #GTK_SELECTION_EXTENDED. If this function is called twice, the selection is
6192 cleared. This function sometimes gives stranges "last states".
6195 @list: the list widget.
6197 <!-- ##### FUNCTION gtk_list_unselect_all ##### -->
6199 Unselects all children of @list. A signal will be emitted for each
6200 newly unselected child.
6203 @list: the list widget.
6205 <!-- ##### FUNCTION gtk_list_unselect_child ##### -->
6207 Unselects the given @child. The signal GtkList::unselect-child will be
6211 @list: the list widget.
6212 @child: the child to unselect.
6214 <!-- ##### FUNCTION gtk_list_unselect_item ##### -->
6216 Unselects the child number @item of the @list. Nothing happens if
6217 @item is out of bounds. The signal GtkList::unselect-child will be
6221 @list: the list widget.
6222 @item: the index of the child to unselect.
6224 <!-- ##### MACRO gtk_menu_bar_append ##### -->
6226 Adds a new #GtkMenuItem to the end of the GtkMenuBar
6229 @menu: a #GtkMenuBar
6230 @child: the #GtkMenuItem to add
6231 @Deprecated: Use gtk_menu_shell_append() instead.
6233 <!-- ##### MACRO gtk_menu_bar_insert ##### -->
6235 Adds a new #GtkMenuItem to the GtkMenuBar at the position defined by @position
6238 @menu: a #GtkMenuBar
6239 @child: the #GtkMenuItem to add
6240 @pos: the position in the item list where the @child is added.
6241 @Deprecated: Use gtk_menu_shell_insert() instead.
6243 <!-- ##### MACRO gtk_menu_bar_prepend ##### -->
6245 Adds a new #GtkMenuItem to the beginning of the GtkMenuBar
6248 @menu: a #GtkMenuBar
6249 @child: the #GtkMenuItem to add
6250 @Deprecated: Use gtk_menu_shell_prepend() instead.
6252 <!-- ##### FUNCTION gtk_menu_ensure_uline_accel_group ##### -->
6260 <!-- ##### FUNCTION gtk_menu_get_uline_accel_group ##### -->
6268 <!-- ##### FUNCTION gtk_menu_item_configure ##### -->
6270 Sets whether the menu item should show a submenu indicator, which is a right
6274 @menu_item: the menu item
6275 @show_toggle_indicator: unused
6276 @show_submenu_indicator: whether to show the arrow or not
6278 <!-- ##### FUNCTION gtk_menu_item_remove_submenu ##### -->
6285 <!-- ##### MACRO gtk_menu_item_right_justify ##### -->
6287 Sets the menu item to be right-justified. Only useful for menu bars.
6290 @menu_item: the menu item
6292 <!-- ##### FUNCTION gtk_menu_item_set_placement ##### -->
6294 Specifies the placement of the submenu around the menu item. The placement
6295 is usually #GTK_LEFT_RIGHT for menu items in a popup menu and
6296 #GTK_TOP_BOTTOM in menu bars.
6299 This function is useless in usual applications.
6302 @menu_item: the menu item
6303 @placement: the submenu placement
6305 <!-- ##### FUNCTION gtk_menu_tool_button_set_arrow_tooltip ##### -->
6315 <!-- ##### MACRO gtk_notebook_current_page ##### -->
6317 Deprecated compatibility macro.
6320 @Deprecated: Use gtk_notebook_get_current_page() instead.
6322 <!-- ##### FUNCTION gtk_notebook_get_group_id ##### -->
6330 <!-- ##### FUNCTION gtk_notebook_set_group_id ##### -->
6338 <!-- ##### FUNCTION gtk_notebook_set_homogeneous_tabs ##### -->
6345 <!-- ##### MACRO gtk_notebook_set_page ##### -->
6347 Deprecated compatibility macro.
6350 @Deprecated: Use gtk_notebook_set_current_page() instead.
6352 <!-- ##### FUNCTION gtk_notebook_set_tab_border ##### -->
6359 <!-- ##### FUNCTION gtk_notebook_set_tab_hborder ##### -->
6366 <!-- ##### FUNCTION gtk_notebook_set_tab_vborder ##### -->
6373 <!-- ##### FUNCTION gtk_object_add_arg_type ##### -->
6375 Deprecated in favor of the #GObject property system including #GParamSpec.
6376 Add a new type of argument to an object class.
6377 Usually this is called when registering a new type of object.
6380 @arg_name: fully qualify object name, for example GtkObject::user_data.
6381 @arg_type: type of the argument.
6382 @arg_flags: bitwise-OR of the #GtkArgFlags enum. (Whether the argument is
6383 settable or gettable, whether it is set when the object is constructed.)
6384 @arg_id: an internal number, passed in from here to the "set_arg" and
6385 "get_arg" handlers of the object.
6387 <!-- ##### FUNCTION gtk_object_arg_get ##### -->
6389 Private function to get an argument and argument info from an object.
6392 @object: the object whose argument should be retrieved.
6393 @arg: the argument, for the name on input, the rest is filled on output.
6394 @info: a #GtkArgInfo structure to optionally fill in.
6396 <!-- ##### FUNCTION gtk_object_arg_get_info ##### -->
6398 Query information about an argument type.
6401 @object_type: type of object to query about.
6402 @arg_name: name of the argument.
6403 @info_p: pointer to be filled in with a pointer to the GtkArgInfo.
6404 @Returns: an error message, or NULL on success.
6405 It is the caller's responsibility to call g_free() in the event of error.
6407 <!-- ##### FUNCTION gtk_object_arg_set ##### -->
6409 Private function to set an argument and argument info to an object.
6412 @object: the object whose argument should be set.
6414 @info: infomation about this type of argument in general.
6416 <!-- ##### FUNCTION gtk_object_args_collect ##### -->
6418 Private: Gets an array of #GtkArgs from a va_list C structure.
6421 @object_type: the type of object to collect arguments for.
6422 @arg_list_p: pointer to be filled in with a list of parsed arguments.
6423 @info_list_p: optional pointer for a returned list #GtkArgInfos.
6424 @first_arg_name: name of first argument.
6425 @var_args: value of first argument, followed by more key/value pairs,
6427 @Returns: an error message, or NULL on success.
6428 It is the caller's responsibility to call g_free() in the event of error.
6430 <!-- ##### FUNCTION gtk_object_class_add_signals ##### -->
6432 Add an array of signals to a #GtkObjectClass.
6433 Usually this is called when registering a new type of object.
6436 @klass: the object class to append signals to.
6437 @signals: the signals to append.
6438 @nsignals: the number of signals being appended.
6440 <!-- ##### FUNCTION gtk_object_class_user_signal_new ##### -->
6442 Define a signal-handler for a new signal on an already defined
6446 See the signal documentation for more general information.
6449 @klass: the object class to define the signal for.
6450 @name: the name of the signal.
6451 @signal_flags: the default emission behavior for the signal.
6453 @marshaller: a function that will take an array of GtkArgs
6454 and invoke the appropriate handler with the normal calling
6456 @return_val: specify the return-value type for the signal
6457 (or GTK_TYPE_NONE for no return-value).
6458 @nparams: specify the number of parameters the signal
6459 receives from the caller of g_signal_emit().
6460 @Varargs: list of nparams #GtkTypes to pass to the signal handlers.
6461 @Returns: the signal id. (See #GtkSignals)
6463 <!-- ##### FUNCTION gtk_object_class_user_signal_newv ##### -->
6465 Define a signal-handler for a new signal on an already defined
6469 @klass: the object class to define the signal for.
6470 @name: the name of the signal.
6471 @signal_flags: the default emission behavior for the signal.
6473 @marshaller: takes a GtkObject, a #GtkSignalFunc, and an array
6474 of arguments, and invokes the function using the appropriate
6475 calling conventions. Usually just select a function
6476 out of gtkmarshal.h.
6477 @return_val: specify the return-value type for the signal (possibly
6479 @nparams: specify the number of parameters the signal
6480 receives from the caller of g_signal_emit().
6481 @params: array of #GtkTypes the signal handlers for this signal
6482 should have in their prototype (of length nparams).
6483 @Returns: the signal id. (See #GtkSignals)
6485 <!-- ##### FUNCTION gtk_object_constructed ##### -->
6487 Mark an allocated object as constructed.
6488 This is used for situations
6489 that require precise control of the construction process.
6492 This is done when gtk_object_default_construct() is inadequate.
6493 In #GtkCList the need arises because #GtkCList does construction work that
6494 must happen <emphasis>after</emphasis> its derivers. This work
6495 cannot be done in an initializer function, so an alternate
6496 constructor is mandatory. It calls gtk_object_constructed() to
6497 indicate it has done its job, so that no other constructor will
6501 Normally this function is just automatically run from
6502 gtk_object_default_construct().
6505 @object: object which has been constructed. This is usually
6506 done automatically by gtk_object_new() and gtk_object_newv().
6508 <!-- ##### MACRO gtk_object_data_force_id ##### -->
6510 Useless deprecated macro. Ignore it.
6514 <!-- ##### MACRO gtk_object_data_try_key ##### -->
6516 Useless deprecated macro. Ignore it.
6520 <!-- ##### FUNCTION gtk_object_default_construct ##### -->
6522 This function is called to construct arguments that haven't been initialized
6523 but have the #GTK_ARG_CONSTRUCT flag set.
6526 All number arguments are set to 0. All pointers and strings
6530 Normally invoked by gtk_object_new() automatically; gtk_type_new() can
6531 be used to bypass it.
6534 @object: the object to initialize.
6536 <!-- ##### FUNCTION gtk_object_get ##### -->
6538 Gets properties of an object.
6541 @object: a #GtkObject.
6542 @first_property_name: name of first property to get the value for.
6543 @Varargs: %NULL-terminated list of name-return location pairs.
6544 @Deprecated: Use g_object_get() instead.
6546 <!-- ##### FUNCTION gtk_object_get_data ##### -->
6548 Get a named field from the object's table of associations (the object_data).
6551 @object: the object maintaining the associations.
6552 @key: name of the key for that association.
6553 @Returns: the data if found, or %NULL if no such data exists.
6554 @Deprecated: Use g_object_get_data() instead.
6556 <!-- ##### FUNCTION gtk_object_get_data_by_id ##### -->
6558 Just like gtk_object_get_data() except that it takes
6559 a #GQuark instead of a string, so it is slightly faster.
6562 Use gtk_object_data_try_key() and gtk_object_data_force_id()
6563 to get an id from a string.
6566 @object: object containing the associations.
6567 @data_id: quark of the key.
6568 @Returns: the data if found, or %NULL if no such data exists.
6569 @Deprecated: Use g_object_get_qdata() instead.
6571 <!-- ##### FUNCTION gtk_object_get_user_data ##### -->
6573 Get the object's user data pointer.
6576 This is intended to be a pointer for your convenience in
6577 writing applications.
6580 @object: the object.
6581 @Returns: the user data field for object.
6582 @Deprecated: Use g_object_get_data() instead.
6584 <!-- ##### FUNCTION gtk_object_getv ##### -->
6586 Gets an array of argument values from an object.
6589 @object: the object to get arguments from.
6590 @n_args: the number of arguments to query.
6591 @args: the arguments to fill in.
6593 <!-- ##### FUNCTION gtk_object_new ##### -->
6595 Constructs an object given its arguments, enumerated in the call to the
6599 @type: the type identifying this object. Returned by gtk_type_unique()
6600 (although for a properly-written object it should be accessible through
6601 a #GTK_TYPE_FOO macro.)
6602 @first_property_name: name of the first property to set when constructing
6604 @Varargs: the first argument's value, followed by any number of
6605 name/argument-value pairs, terminated with %NULL.
6606 @Returns: the new #GtkObject.
6607 @Deprecated: Use g_object_new() instead.
6609 <!-- ##### FUNCTION gtk_object_newv ##### -->
6611 Construct an object with an array of arguments.
6614 @object_type: the type of the object to create.
6615 @n_args: the number of arguments to set.
6616 @args: an array of n_args arguments (which are name and value pairs).
6617 @Returns: the new GtkObject.
6619 <!-- ##### FUNCTION gtk_object_query_args ##### -->
6621 Get all the arguments that may be used for a given type.
6624 In Java, this type of mechanism is called
6625 <wordasword>introspection</wordasword>. It is used by applications
6626 like Glade, that have to determine what can be done to an object
6630 @class_type: the GtkType of the ObjectClass
6631 (returned from GTK_OBJECT_CLASS(class)->type for example).
6632 @arg_flags: if non-NULL, obtains the #GtkArgFlags that apply to
6633 each argument. You must g_free() this if you request it.
6634 @n_args: the number of arguments is returned in this field.
6635 @Returns: an array of arguments, that you must deallocate with g_free().
6637 <!-- ##### FUNCTION gtk_object_ref ##### -->
6639 Increases the reference count of the object.
6642 @object: the object to reference.
6644 @Deprecated: Use g_object_ref() instead.
6646 <!-- ##### FUNCTION gtk_object_remove_data ##### -->
6648 Removes a specified datum from the object's data associations (the object_data).
6649 Subsequent calls to gtk_object_get_data() will return %NULL.
6652 If you specified a destroy handler with gtk_object_set_data_full(),
6656 @object: the object maintaining the association.
6657 @key: name of the key for that association.
6658 @Deprecated: Use g_object_set_data() to set the object data to %NULL instead.
6660 <!-- ##### FUNCTION gtk_object_remove_data_by_id ##### -->
6662 Just like gtk_object_remove_data() except that it takes
6663 a #GQuark instead of a string, so it is slightly faster.
6666 Remove a specified datum from the object's data associations.
6667 Subsequent calls to gtk_object_get_data() will return %NULL.
6670 Use gtk_object_data_try_key() and gtk_object_data_force_id()
6671 to get an id from a string.
6674 @object: object containing the associations.
6675 @data_id: quark of the key.
6676 @Deprecated: Use g_object_set_qdata() with data of %NULL instead.
6678 <!-- ##### FUNCTION gtk_object_remove_no_notify ##### -->
6680 Remove a specified datum from the object's data associations (the object_data),
6681 without invoking the association's destroy handler.
6684 Just like gtk_object_remove_data() except that any destroy handler
6686 Therefore this only affects data set using gtk_object_set_data_full().
6689 @object: the object maintaining the association.
6690 @key: name of the key for that association.
6691 @Deprecated: Use g_object_steal_data() instead.
6693 <!-- ##### FUNCTION gtk_object_remove_no_notify_by_id ##### -->
6695 Just like gtk_object_remove_no_notify() except that it takes
6696 a #GQuark instead of a string, so it is slightly faster.
6699 Use gtk_object_data_try_key() and gtk_object_data_force_id()
6700 to get an id from a string.
6703 @object: object containing the associations.
6704 @key_id: quark of the key.
6705 @Deprecated: Use g_object_steal_qdata() instead.
6707 <!-- ##### FUNCTION gtk_object_set ##### -->
6709 Sets properties on an object.
6714 void set_box_properties (GtkBox* box)
6716 gtk_object_set (GTK_OBJECT (box), "homogeneous", TRUE,
6724 @object: a #GtkObject.
6725 @first_property_name: name of the first property to set
6726 @Varargs: the value of the first argument, followed optionally
6727 by more name/value pairs, followed by %NULL.
6728 @Deprecated: Use g_object_set() instead.
6730 <!-- ##### FUNCTION gtk_object_set_data ##### -->
6732 Each object carries around a table of associations from
6733 strings to pointers. This function lets you set an association.
6736 If the object already had an association with that name,
6737 the old association will be destroyed.
6740 @object: object containing the associations.
6741 @key: name of the key.
6742 @data: data to associate with that key.
6743 @Deprecated: Use g_object_set_data() instead.
6745 <!-- ##### FUNCTION gtk_object_set_data_by_id ##### -->
6747 Just like gtk_object_set_data() except that it takes
6748 a #GQuark instead of a string, so it is slightly faster.
6751 Use gtk_object_data_try_key() and gtk_object_data_force_id()
6752 to get an id from a string.
6755 @object: object containing the associations.
6756 @data_id: quark of the key.
6757 @data: data to associate with that key.
6758 @Deprecated: Use g_object_set_qdata() instead.
6760 <!-- ##### FUNCTION gtk_object_set_data_by_id_full ##### -->
6762 Just like gtk_object_set_data_full() except that it takes
6763 a #GQuark instead of a string, so it is slightly faster.
6766 Use gtk_object_data_try_key() and gtk_object_data_force_id()
6767 to get an id from a string.
6770 @object: object containing the associations.
6771 @data_id: quark of the key.
6772 @data: data to associate with that key.
6773 @destroy: function to call when the association is destroyed.
6774 @Deprecated: Use g_object_set_qdata_full() instead.
6776 <!-- ##### FUNCTION gtk_object_set_data_full ##### -->
6778 Like gtk_object_set_data() except it adds notification
6779 for when the association is destroyed, either by
6780 gtk_object_remove_data() or when the object is destroyed.
6783 @object: object containing the associations.
6784 @key: name of the key.
6785 @data: data to associate with that key.
6786 @destroy: function to call when the association is destroyed.
6787 @Deprecated: Use g_object_set_data_full() instead.
6789 <!-- ##### FUNCTION gtk_object_set_user_data ##### -->
6791 For convenience, every object offers a generic user data
6792 pointer. This function sets it.
6795 @object: the object whose user data should be set.
6796 @data: the new value for the user data.
6797 @Deprecated: Use g_object_set_data() instead.
6799 <!-- ##### FUNCTION gtk_object_setv ##### -->
6801 Set an array of arguments.
6804 @object: the object whose arguments should be set.
6805 @n_args: the number of arguments to set.
6806 @args: the desired values, as an array of #GtkArgs (which contain
6807 the names, types, and values of the arguments).
6809 <!-- ##### FUNCTION gtk_object_sink ##### -->
6811 Removes the floating reference from a #GtkObject, if it exists;
6812 otherwise does nothing. See the #GtkObject overview documentation at
6813 the top of the page.
6816 @object: the object to sink.
6817 @Deprecated: 2.10: Use g_object_ref_sink() instead
6819 <!-- ##### FUNCTION gtk_object_unref ##### -->
6821 Decreases the reference count of an object. When its reference count drops
6822 to 0, the object is finalized (i.e. its memory is freed).
6825 @object: the object to dereference.
6826 @Deprecated: Use g_object_unref() instead.
6828 <!-- ##### FUNCTION gtk_object_weakref ##### -->
6830 Adds a weak reference callback to an object. Weak references are used for notification when an object is
6831 finalized. They are called "weak references" because they allow you to safely
6832 hold a pointer to an object without calling g_object_ref() (g_object_ref() adds
6833 a strong reference, that is, forces the object to stay alive).
6836 @object: object to weakly reference.
6837 @notify: callback to invoke before the object is freed.
6838 @data: extra data to pass to #notify.
6839 @Deprecated: Use g_object_weak_ref() instead.
6841 <!-- ##### FUNCTION gtk_object_weakunref ##### -->
6843 Removes a weak reference callback to an object.
6846 @object: object stop weakly referencing.
6847 @notify: callback to search for.
6848 @data: data to search for.
6849 @Deprecated: Use g_object_weak_unref() instead.
6851 <!-- ##### FUNCTION gtk_packer_add ##### -->
6867 <!-- ##### FUNCTION gtk_packer_add_defaults ##### -->
6878 <!-- ##### MACRO gtk_packer_configure ##### -->
6884 <!-- ##### FUNCTION gtk_packer_new ##### -->
6891 <!-- ##### FUNCTION gtk_packer_reorder_child ##### -->
6900 <!-- ##### FUNCTION gtk_packer_set_child_packing ##### -->
6916 <!-- ##### FUNCTION gtk_packer_set_default_border_width ##### -->
6924 <!-- ##### FUNCTION gtk_packer_set_default_ipad ##### -->
6933 <!-- ##### FUNCTION gtk_packer_set_default_pad ##### -->
6942 <!-- ##### FUNCTION gtk_packer_set_spacing ##### -->
6950 <!-- ##### FUNCTION gtk_paint_string ##### -->
6965 <!-- ##### MACRO gtk_paned_handle_size ##### -->
6967 Old name for gtk_paned_set_handle_size().
6971 <!-- ##### FUNCTION gtk_paned_set_handle_size ##### -->
6973 Set the the handle size to @size x @size pixels.
6976 @paned: a paned widget
6977 @size: the size in pixels
6979 <!-- ##### FUNCTION gtk_pattern_match ##### -->
6990 <!-- ##### FUNCTION gtk_pattern_match_simple ##### -->
6999 <!-- ##### FUNCTION gtk_pattern_match_string ##### -->
7008 <!-- ##### FUNCTION gtk_pattern_spec_free_segs ##### -->
7015 <!-- ##### FUNCTION gtk_pattern_spec_init ##### -->
7023 <!-- ##### FUNCTION gtk_preview_draw_row ##### -->
7025 Sets the data for a portion of a row.
7028 @preview: a #GtkPreview.
7029 @data: the new data for the portion. It should contain
7030 @w bytes of data if the preview is of type
7031 GTK_TYPE_GRAYSCALE, and 3*@w bytes of data
7032 if the preview is of type GTK_TYPE_COLOR.
7033 @x: the starting value on the row to set.
7034 @y: the row to change.
7035 @w: the number of pixels in the row to change.
7037 <!-- ##### FUNCTION gtk_preview_get_cmap ##### -->
7039 Returns the colormap used by preview widgets. This
7040 function is deprecated, and you should use
7041 gdk_rgb_get_cmap() instead.
7044 @Returns: the colormap for previews.
7046 <!-- ##### FUNCTION gtk_preview_get_info ##### -->
7048 Return a #GtkPreviewInfo structure containing
7049 global information about preview widgets.
7052 @Returns: a #GtkPreviewInfo structure. The return
7053 value belongs to GTK+ and must not be modified
7056 <!-- ##### FUNCTION gtk_preview_get_visual ##### -->
7058 Returns the visual used by preview widgets. This
7059 function is deprecated, and you should use
7060 gdk_rgb_get_visual() instead.
7063 @Returns: the visual for previews.
7065 <!-- ##### FUNCTION gtk_preview_new ##### -->
7067 Create a new preview widget.
7070 @type: the type data contained by the widget.
7072 @Returns: a new #GtkPreview
7074 <!-- ##### FUNCTION gtk_preview_put ##### -->
7076 Takes a portion of the contents of a preview widget
7077 and draws it onto the given drawable, @window.
7080 @preview: a #GtkPreview.
7081 @window: a window or pixmap.
7082 @gc: The graphics context for the operation. Only the
7083 clip mask for this GC matters.
7084 @srcx: the x coordinate of the upper left corner in the source image.
7085 @srcy: the y coordinate of the upper left corner in the source image.
7086 @destx: the x coordinate of the upper left corner in the destination image.
7087 @desty: the y coordinate of the upper left corner in the destination image.
7088 @width: the width of the rectangular portion to draw.
7089 @height: the height of the rectangular portion to draw.
7091 <!-- ##### FUNCTION gtk_preview_reset ##### -->
7093 This function is deprecated and does nothing. It was
7094 once used for changing the colormap and visual on the fly.
7098 <!-- ##### FUNCTION gtk_preview_set_color_cube ##### -->
7100 This function is deprecated and does nothing. GdkRGB
7101 automatically picks an optimium color cube for the
7105 @nred_shades: ignored
7106 @ngreen_shades: ignored
7107 @nblue_shades: ignored
7108 @ngray_shades: ignored
7110 <!-- ##### FUNCTION gtk_preview_set_dither ##### -->
7112 Set the dithering mode for the display.
7115 @preview: a #GtkPreview.
7116 @dither: the dithering mode.
7118 <!-- ##### FUNCTION gtk_preview_set_expand ##### -->
7120 Determines the way that the the preview widget behaves
7121 when the size it is allocated is larger than the requested
7122 size. If @expand is %FALSE, then the preview's window
7123 and buffer will be no larger than the size set with
7124 gtk_preview_size(), and the data set will be centered
7125 in the allocation if it is larger. If @expand is %TRUE
7126 then the window and buffer will expand with the allocation;
7127 the application is responsible for catching
7128 the "size_allocate" signal and providing the data
7129 appropriate for this size.
7132 @preview: a #GtkPreview.
7133 @expand: whether the preview's window should expand or not.
7135 <!-- ##### FUNCTION gtk_preview_set_gamma ##### -->
7137 Set the gamma-correction value for all preview widgets.
7138 (This function will eventually be replaced with a
7139 function that sets a per-preview-widget gamma value).
7140 The resulting intensity is given by:
7141 <literal>destination_value * pow (source_value/255, 1/gamma)</literal>.
7142 The gamma value is applied when the data is
7143 set with gtk_preview_draw_row() so changing this
7144 value will not affect existing data in preview
7148 @gamma_: the new gamma value.
7150 <!-- ##### FUNCTION gtk_preview_set_install_cmap ##### -->
7152 This function is deprecated
7153 and does nothing. GdkRGB will automatically pick
7154 a private colormap if it cannot allocate sufficient
7158 @install_cmap: ignored.
7160 <!-- ##### FUNCTION gtk_preview_set_reserved ##### -->
7162 This function is deprecated and does nothing.
7165 @nreserved: ignored.
7167 <!-- ##### FUNCTION gtk_preview_size ##### -->
7169 Set the size that the preview widget will request
7170 in response to a "size_request" signal. The
7171 drawing area may actually be allocated a size
7172 larger than this depending on how it is packed
7173 within the enclosing containers. The effect
7174 of this is determined by whether the preview
7175 is set to expand or not (see gtk_preview_expand())
7178 @preview: a #GtkPreview.
7179 @width: the new width.
7180 @height: the new height.
7182 <!-- ##### FUNCTION gtk_preview_uninit ##### -->
7184 This function is deprecated and does nothing.
7188 <!-- ##### FUNCTION gtk_print_context_create_context ##### -->
7196 <!-- ##### FUNCTION gtk_print_context_create_layout ##### -->
7204 <!-- ##### FUNCTION gtk_print_context_get_cairo ##### -->
7212 <!-- ##### FUNCTION gtk_print_context_get_fontmap ##### -->
7220 <!-- ##### FUNCTION gtk_print_operation_set_nr_of_pages ##### -->
7228 <!-- ##### FUNCTION gtk_print_settings_get_num_copies ##### -->
7236 <!-- ##### FUNCTION gtk_print_settings_get_print_to_file ##### -->
7244 <!-- ##### FUNCTION gtk_print_settings_set_num_copies ##### -->
7252 <!-- ##### FUNCTION gtk_print_settings_set_print_to_file ##### -->
7260 <!-- ##### FUNCTION gtk_progress_bar_new_with_adjustment ##### -->
7266 <!-- ##### FUNCTION gtk_progress_bar_set_activity_blocks ##### -->
7268 Sets the number of blocks used when the progress bar is in activity
7269 mode. Larger numbers make the visible block smaller.
7272 @pbar: a #GtkProgressBar.
7273 @blocks: number of blocks which can fit within the progress bar area.
7275 <!-- ##### FUNCTION gtk_progress_bar_set_activity_step ##### -->
7277 Sets the step value used when the progress bar is in activity
7278 mode. The step is the amount by which the progress is incremented
7282 @pbar: a #GtkProgressBar.
7283 @step: the amount which the progress is incremented in activity
7286 <!-- ##### FUNCTION gtk_progress_bar_set_bar_style ##### -->
7288 Sets the style of the #GtkProgressBar. The default style is
7289 %GTK_PROGRESS_CONTINUOUS.
7292 @pbar: a #GtkProgressBar.
7293 @style: a #GtkProgressBarStyle value indicating the desired style.
7295 <!-- ##### FUNCTION gtk_progress_bar_set_discrete_blocks ##### -->
7297 Sets the number of blocks that the progress bar is divided into
7298 when the style is %GTK_PROGRESS_DISCRETE.
7301 @pbar: a #GtkProgressBar.
7302 @blocks: number of individual blocks making up the bar.
7304 <!-- ##### FUNCTION gtk_progress_bar_update ##### -->
7306 This function is deprecated. Please use gtk_progress_set_value() or
7307 gtk_progress_set_percentage() instead.
7310 @pbar: a #GtkProgressBar.
7311 @percentage: the new percent complete value.
7313 <!-- ##### MACRO gtk_radio_menu_item_group ##### -->
7315 Deprecated compatibility macro. Use gtk_radio_menu_item_get_group() instead.
7319 <!-- ##### FUNCTION gtk_rc_add_class_style ##### -->
7321 Adds a #GtkRcStyle that will be looked up by a matching against
7322 the class hierarchy of the widget. This is equivalent to a:
7323 <literal>class PATTERN style STYLE</literal>
7324 statement in a RC file.
7327 @rc_style: the #GtkRcStyle to use for widgets deriving from @pattern
7328 @pattern: the pattern
7329 @Deprecated: Use gtk_rc_parse_string() with a suitable string instead.
7331 <!-- ##### FUNCTION gtk_rc_add_widget_class_style ##### -->
7333 Adds a #GtkRcStyle that will be looked up by a match against
7334 the widget's class pathname. This is equivalent to a:
7335 <literal>widget_class PATTERN style STYLE</literal>
7336 statement in a RC file.
7339 @rc_style: the #GtkRcStyle to use for widgets matching @pattern
7340 @pattern: the pattern
7341 @Deprecated: Use gtk_rc_parse_string() with a suitable string instead.
7343 <!-- ##### FUNCTION gtk_rc_add_widget_name_style ##### -->
7345 Adds a #GtkRcStyle that will be looked up by a match against
7346 the widget's pathname. This is equivalent to a:
7347 <literal>widget PATTERN style STYLE</literal>
7348 statement in a RC file.
7351 @rc_style: the #GtkRcStyle to use for widgets matching @pattern
7352 @pattern: the pattern
7353 @Deprecated: Use gtk_rc_parse_string() with a suitable string instead.
7355 <!-- ##### FUNCTION gtk_rc_init ##### -->
7361 <!-- ##### FUNCTION gtk_rc_load_image ##### -->
7363 Internal function. Loads an image using the current
7367 @colormap: the colormap to use for the image
7368 @transparent_color: the transparent color for the image
7369 @filename: the filename of the image file
7370 @Returns: a #GtkPixmap representing @filename
7372 <!-- ##### FUNCTION gtk_rc_set_image_loader ##### -->
7374 Sets the function that GTK+ will use to load images
7377 @loader: the #GtkImageLoader to use
7379 <!-- ##### FUNCTION gtk_rc_style_ref ##### -->
7381 Increments the reference count of a #GtkRcStyle.
7384 @rc_style: a #GtkRcStyle
7385 @Deprecated: Use g_object_ref() instead
7387 <!-- ##### FUNCTION gtk_rc_style_unref ##### -->
7389 Decrements the reference count of a #GtkRcStyle and
7390 frees if the result is 0.
7393 @rc_style: a #GtkRcStyle
7394 @Deprecated: Use g_object_unref() instead
7396 <!-- ##### FUNCTION gtk_recent_chooser_get_show_numbers ##### -->
7404 <!-- ##### FUNCTION gtk_recent_chooser_set_show_numbers ##### -->
7412 <!-- ##### FUNCTION gtk_recent_manager_get_for_screen ##### -->
7420 <!-- ##### FUNCTION gtk_recent_manager_set_screen ##### -->
7428 <!-- ##### FUNCTION gtk_ruler_draw_pos ##### -->
7433 @ruler: the gtkruler
7435 <!-- ##### FUNCTION gtk_ruler_draw_ticks ##### -->
7440 @ruler: the gtkruler
7442 <!-- ##### FUNCTION gtk_scale_button_get_orientation ##### -->
7450 <!-- ##### FUNCTION gtk_scale_button_set_orientation ##### -->
7458 <!-- ##### FUNCTION gtk_selection_clear ##### -->
7466 <!-- ##### FUNCTION gtk_selection_incr_event ##### -->
7475 <!-- ##### FUNCTION gtk_selection_notify ##### -->
7484 <!-- ##### FUNCTION gtk_selection_property_notify ##### -->
7493 <!-- ##### FUNCTION gtk_selection_request ##### -->
7502 <!-- ##### FUNCTION gtk_settings_get_global ##### -->
7509 <!-- ##### MACRO gtk_spin_button_get_value_as_float ##### -->
7511 Gets the value in the @spin_button.
7514 @Returns: the value of @spin_button
7515 @Deprecated: Use gtk_spin_button_get_value() instead.
7516 @spin_button: a #GtkSpinButton
7518 <!-- ##### FUNCTION gtk_spin_button_set_shadow_type ##### -->
7520 Creates a border around the arrows of a #GtkSpinButton. The type of border is determined by @shadow_type.
7523 @spin_button: a #GtkSpinButton
7524 @shadow_type: the new border type.
7526 <!-- ##### FUNCTION gtk_status_icon_set_tooltip ##### -->
7534 <!-- ##### FUNCTION gtk_stock_list_items ##### -->
7541 <!-- ##### MACRO gtk_style_apply_default_pixmap ##### -->
7543 Does the same as gtk_style_apply_default_background().
7554 @Deprecated: Use gtk_style_apply_default_background() instead.
7556 <!-- ##### FUNCTION gtk_style_get_font ##### -->
7564 <!-- ##### FUNCTION gtk_style_get_font_for_display ##### -->
7573 <!-- ##### FUNCTION gtk_style_get_property ##### -->
7583 <!-- ##### FUNCTION gtk_style_lookup_icon_set ##### -->
7592 <!-- ##### FUNCTION gtk_style_ref ##### -->
7600 <!-- ##### FUNCTION gtk_style_set_font ##### -->
7608 <!-- ##### FUNCTION gtk_style_unref ##### -->
7615 <!-- ##### FUNCTION gtk_text_buffer_paste_primary ##### -->
7624 <!-- ##### FUNCTION gtk_text_iter_reorder ##### -->
7632 <!-- ##### FUNCTION gtk_text_iter_spew ##### -->
7640 <!-- ##### FUNCTION gtk_text_view_set_text_window_size ##### -->
7649 <!-- ##### FUNCTION gtk_tips_query_get_type ##### -->
7656 <!-- ##### FUNCTION gtk_tips_query_new ##### -->
7658 Creates a new #GtkTipsQuery.
7661 @Returns: a new #GtkTipsQuery.
7663 <!-- ##### FUNCTION gtk_tips_query_set_caller ##### -->
7665 Sets the widget which initiates the query, usually a button.
7666 If the @caller is selected while the query is running, the query is
7667 automatically stopped.
7670 @tips_query: a #GtkTipsQuery.
7671 @caller: the widget which initiates the query.
7673 <!-- ##### FUNCTION gtk_tips_query_set_labels ##### -->
7675 Sets the text to display when the query is not in effect,
7676 and the text to display when the query is in effect but the widget beneath
7677 the pointer has no tooltip.
7680 @tips_query: a #GtkTipsQuery.
7681 @label_inactive: the text to display when the query is not running.
7682 @label_no_tip: the text to display when the query is running but the widget
7683 beneath the pointer has no tooltip.
7685 <!-- ##### FUNCTION gtk_tips_query_start_query ##### -->
7688 The #GtkTipsQuery widget will take control of the mouse and as the mouse
7689 moves it will display the tooltip of the widget beneath the mouse.
7692 @tips_query: a #GtkTipsQuery.
7694 <!-- ##### FUNCTION gtk_tips_query_stop_query ##### -->
7699 @tips_query: a #GtkTipsQuery.
7701 <!-- ##### FUNCTION gtk_tool_item_get_pack_end ##### -->
7709 <!-- ##### FUNCTION gtk_tool_item_set_pack_end ##### -->
7717 <!-- ##### FUNCTION gtk_toolbar_append_element ##### -->
7730 @tooltip_private_text:
7736 <!-- ##### FUNCTION gtk_toolbar_append_item ##### -->
7744 @tooltip_private_text:
7750 <!-- ##### FUNCTION gtk_toolbar_append_space ##### -->
7757 <!-- ##### FUNCTION gtk_toolbar_append_widget ##### -->
7765 @tooltip_private_text:
7767 <!-- ##### FUNCTION gtk_toolbar_get_orientation ##### -->
7775 <!-- ##### FUNCTION gtk_toolbar_get_tooltips ##### -->
7783 <!-- ##### FUNCTION gtk_toolbar_insert_element ##### -->
7793 @tooltip_private_text:
7800 <!-- ##### FUNCTION gtk_toolbar_insert_item ##### -->
7808 @tooltip_private_text:
7815 <!-- ##### FUNCTION gtk_toolbar_insert_space ##### -->
7823 <!-- ##### FUNCTION gtk_toolbar_insert_stock ##### -->
7831 @tooltip_private_text:
7837 <!-- ##### FUNCTION gtk_toolbar_insert_widget ##### -->
7845 @tooltip_private_text:
7848 <!-- ##### FUNCTION gtk_toolbar_prepend_element ##### -->
7858 @tooltip_private_text:
7864 <!-- ##### FUNCTION gtk_toolbar_prepend_item ##### -->
7872 @tooltip_private_text:
7878 <!-- ##### FUNCTION gtk_toolbar_prepend_space ##### -->
7885 <!-- ##### FUNCTION gtk_toolbar_prepend_widget ##### -->
7893 @tooltip_private_text:
7895 <!-- ##### FUNCTION gtk_toolbar_remove_space ##### -->
7903 <!-- ##### FUNCTION gtk_toolbar_set_orientation ##### -->
7911 <!-- ##### FUNCTION gtk_toolbar_set_tooltips ##### -->
7919 <!-- ##### FUNCTION gtk_trace_referencing ##### -->
7921 Private: print debugging information while doing a gtk_object_ref() or
7922 a gtk_object_unref().
7925 @object: object to reference or unreference.
7926 @func: name of caller's function to print (used within macros).
7928 @line: line number (used within macros).
7929 @do_ref: whether to reference or unreference.
7931 <!-- ##### MACRO gtk_tree_model_get_iter_root ##### -->
7933 A alternate name for gtk_tree_model_get_iter_first() provided for
7934 compatibility reasons; this macro will be deprecated in future
7938 @tree_model: A #GtkTreeModel.
7939 @iter: uninitialized #GtkTreeIter.
7940 @Returns: %TRUE, if @iter was set.
7942 <!-- ##### FUNCTION gtk_tree_model_ref_iter ##### -->
7950 <!-- ##### FUNCTION gtk_tree_model_sort_convert_iter ##### -->
7959 <!-- ##### FUNCTION gtk_tree_model_sort_convert_path ##### -->
7969 <!-- ##### FUNCTION gtk_tree_model_sort_new ##### -->
7976 <!-- ##### FUNCTION gtk_tree_model_sort_set_compare ##### -->
7984 <!-- ##### FUNCTION gtk_tree_model_sort_set_model ##### -->
7993 <!-- ##### FUNCTION gtk_tree_model_sort_set_sort_column ##### -->
8001 <!-- ##### FUNCTION gtk_tree_model_unref_iter ##### -->
8009 <!-- ##### MACRO gtk_tree_path_new_root ##### -->
8011 An alternate name for gtk_tree_path_new_first() provided for
8012 compatibility reasons.
8015 @Returns: A new #GtkTreePath.
8016 @Deprecated: Use gtk_tree_path_new_first() instead.
8018 <!-- ##### FUNCTION gtk_tree_store_move ##### -->
8027 <!-- ##### FUNCTION gtk_tree_store_new_with_types ##### -->
8036 <!-- ##### FUNCTION gtk_tree_store_set_cell ##### -->
8046 <!-- ##### FUNCTION gtk_tree_store_set_column_type ##### -->
8056 <!-- ##### FUNCTION gtk_tree_store_set_n_columns ##### -->
8064 <!-- ##### FUNCTION gtk_tree_view_column_cell_event ##### -->
8077 <!-- ##### FUNCTION gtk_tree_view_column_set_cell_data ##### -->
8086 <!-- ##### FUNCTION gtk_tree_view_column_set_cell_renderer ##### -->
8094 <!-- ##### FUNCTION gtk_tree_view_column_set_width ##### -->
8103 <!-- ##### FUNCTION gtk_tree_view_set_rows_drag_dest ##### -->
8112 @location_droppable_func:
8115 <!-- ##### FUNCTION gtk_tree_view_set_rows_drag_source ##### -->
8125 @row_draggable_func:
8128 <!-- ##### FUNCTION gtk_tree_view_tree_to_widget_coords ##### -->
8139 <!-- ##### FUNCTION gtk_tree_view_widget_to_tree_coords ##### -->
8150 <!-- ##### FUNCTION gtk_type_check_class_cast ##### -->
8152 Given a GtkTypeClass pointer @klass, and a GtkType @cast_type, make
8153 sure that it's okay to cast something of that @klass into a @cast_type.
8156 @klass: GtkTypeClass*
8158 @Returns: Always return @klass.
8160 <!-- ##### FUNCTION gtk_type_check_object_cast ##### -->
8162 Given a pointer to a GtkTypeObject @type_object, and a GtkType @cast_type,
8163 make sure that it's okay to cast @type_object into a @cast_type.
8166 @type_object: GtkTypeObject*
8168 @Returns: the same GtkTypeObject* as @type_object
8170 <!-- ##### FUNCTION gtk_type_children_types ##### -->
8172 Return the pointer to the type's children's types.
8176 @Returns: pointer to a GList
8178 <!-- ##### FUNCTION gtk_type_class ##### -->
8180 Returns a pointer pointing to the class of @type or %NULL if there was
8181 any trouble identifying @type. Initializes the class if necessary.
8185 @Returns: pointer to the class.
8187 <!-- ##### FUNCTION gtk_type_describe_heritage ##### -->
8189 Print the types @type inherits from.
8194 <!-- ##### FUNCTION gtk_type_describe_tree ##### -->
8196 Given a @type, describe all of its children, and their children. Only
8197 show the size if @show_size is true.
8201 @show_size: gboolean
8203 <!-- ##### FUNCTION gtk_type_enum_find_value ##### -->
8205 Returns a pointer to one of @enum_type's #GtkEnumValues's whose name (or nickname) matches @value_name.
8208 @enum_type: a #GtkType.
8209 @value_name: the name to look for.
8210 @Returns: #GtkEnumValue*
8212 <!-- ##### FUNCTION gtk_type_enum_get_values ##### -->
8214 If @enum_type has values, then return a pointer to all of them.
8217 @enum_type: a #GtkType.
8218 @Returns: #GtkEnumValue*
8220 <!-- ##### FUNCTION gtk_type_flags_find_value ##### -->
8222 Returns a pointer to one of @flag_type's #GtkFlagValue's whose name (or nickname) matches @value_name.
8225 @flags_type: a #GtkType.
8226 @value_name: the name to look for.
8227 @Returns: #GtkFlagValue*
8230 <!-- ##### FUNCTION gtk_type_flags_get_values ##### -->
8232 If @flags_type has values, then return a pointer to all of them.
8235 @flags_type: a #GtkType.
8236 @Returns: #GtkFlagValue*
8238 <!-- ##### FUNCTION gtk_type_free ##### -->
8240 Given the type of an object and a pointer to it, the object is freed.
8244 @mem: gpointer to the object
8246 <!-- ##### MACRO gtk_type_from_name ##### -->
8248 Gets the internal representation of a type, given its name.
8251 @name: the name of a GTK+ type
8252 @Returns: a #GtkType.
8254 <!-- ##### FUNCTION gtk_type_get_varargs_type ##### -->
8256 Get the varargs type associated with @foreign_type
8259 @foreign_type: GtkType
8262 <!-- ##### FUNCTION gtk_type_init ##### -->
8264 Initializes the data structures associated with GTK+ types.
8267 @debug_flags: debug flags
8269 <!-- ##### MACRO gtk_type_is_a ##### -->
8271 Looks in the type hierarchy to see if @type has @is_a_type among its
8272 ancestors. Do so with a simple lookup, not a loop.
8276 @is_a_type: another #GtkType.
8277 @Returns: %TRUE if @type is a @is_a_type.
8279 <!-- ##### MACRO gtk_type_name ##### -->
8281 Returns a pointer to the name of a type, or %NULL if it has none.
8285 @Returns: a pointer to the name of a type, or %NULL if it has none.
8287 <!-- ##### FUNCTION gtk_type_new ##### -->
8289 Creates a new object of a given type, and return a pointer to it.
8290 Returns %NULL if you give it an invalid type. It allocates the object
8291 out of the type's memory chunk if there is a memory chunk. The object
8292 has all the proper initializers called.
8296 @Returns: pointer to a #GtkTypeObject.
8298 <!-- ##### MACRO gtk_type_parent ##### -->
8300 Returns the parent type of a #GtkType.
8304 @Returns: the #GtkType of the parent.
8306 <!-- ##### FUNCTION gtk_type_parent_class ##### -->
8308 Return the class of the parent. Initialize the class if necessary.
8309 Return NULL if anything goes wrong.
8313 @Returns: gpointer to the klass.
8315 <!-- ##### FUNCTION gtk_type_query ##### -->
8317 Given a type, return various interesting parameters of the type.
8321 @Returns: GtkTypeQuery*
8323 <!-- ##### FUNCTION gtk_type_register_enum ##### -->
8325 Register a new set of enum @values and give them the name in
8329 @type_name: must not be null.
8330 @values: GtkEnumValue*
8333 <!-- ##### FUNCTION gtk_type_register_flags ##### -->
8335 Register a new set of flags @values and give them the name in
8339 @type_name: must not be null.
8340 @values: GtkFlagValue*
8343 <!-- ##### FUNCTION gtk_type_set_chunk_alloc ##### -->
8345 Set the mem_chunk size so it will hold @n_chunks of the objects of that @type.
8348 @type: There must be an unlocked TypeNode associated with this type otherwise nothing happens.
8351 <!-- ##### FUNCTION gtk_type_set_varargs_type ##### -->
8353 Set the varargs type for a fundamental type @foreign_type.
8356 @foreign_type: Must be a GtkType with a sequence number of zero. Must not be a
8358 @varargs_type: Must be a GtkType which is either structured or flag, or NONE.
8360 <!-- ##### FUNCTION gtk_type_unique ##### -->
8362 Creates a new, unique type.
8365 @parent_type: if zero, a fundamental type is created
8366 @gtkinfo: must not be %NULL, and @type_info->type_name must also not be %NULL
8367 @Returns: the new #GtkType
8369 <!-- ##### FUNCTION gtk_widget_accelerator_signal ##### -->
8380 <!-- ##### FUNCTION gtk_widget_accelerators_locked ##### -->
8388 <!-- ##### FUNCTION gtk_widget_activate_mnemonic ##### -->
8397 <!-- ##### FUNCTION gtk_widget_get_usize ##### -->
8406 <!-- ##### FUNCTION gtk_widget_lock_accelerators ##### -->
8413 <!-- ##### FUNCTION gtk_widget_pop_style ##### -->
8419 <!-- ##### FUNCTION gtk_widget_popup ##### -->
8428 <!-- ##### FUNCTION gtk_widget_push_style ##### -->
8435 <!-- ##### FUNCTION gtk_widget_remove_accelerators ##### -->
8444 <!-- ##### FUNCTION gtk_widget_set_default_style ##### -->
8451 <!-- ##### FUNCTION gtk_widget_unlock_accelerators ##### -->
8458 <!-- ##### FUNCTION gtk_window_activate_mnemonic ##### -->
8468 <!-- ##### FUNCTION gtk_window_get_default ##### -->
8476 <!-- ##### FUNCTION gtk_window_get_default_accel_group ##### -->
8484 <!-- ##### FUNCTION gtk_window_get_resizeable ##### -->
8492 <!-- ##### FUNCTION gtk_window_set_decorations_hint ##### -->
8500 <!-- ##### FUNCTION gtk_window_set_functions_hint ##### -->
8508 <!-- ##### FUNCTION gtk_window_set_resizeable ##### -->