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 gtk_signal_emit() or gtk_signal_new().
26 However if you are writing a function to emit or create an arbitrary
27 signal, you must use gtk_signal_emitv() or gtk_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/gtkdata.sgml:Long_Description ##### -->
70 The #GtkData object is a very simple object intended to be used as a base
71 class for objects which contain data (i.e. the 'Model' in the object-oriented
72 Model/View/Controller framework).
75 Currently it is not very useful since all it provides is a "disconnect" signal.
76 This signal could be emitted by a #GtkData subclass to notify any 'Views'
77 that they should disconnect from the #GtkData (the 'Model'), possibly just
78 before the #GtkData is destroyed.
82 <!-- ##### SECTION ./tmpl/gtkdata.sgml:See_Also ##### -->
88 <!-- ##### SECTION ./tmpl/gtkdata.sgml:Short_Description ##### -->
89 abstract base class for objects containing data.
92 <!-- ##### SECTION ./tmpl/gtkdata.sgml:Title ##### -->
96 <!-- ##### SECTION ./tmpl/gtkdebug.sgml:Title ##### -->
100 <!-- ##### SECTION ./tmpl/gtkenums.sgml.sgml:Title ##### -->
104 <!-- ##### SECTION ./tmpl/gtkmarshal.sgml:Long_Description ##### -->
106 <title>What are Signal Marshallers?</title>
108 Marshals are functions which all have the same prototype:
109 they take a #GtkObject, a #GtkSignalFunc, a #gpointer,
110 and an array of argument values.
111 The functions are names gtk_marshall_RETURNTYPE__PARAMTYPE1_PARAMTYPE2....
114 They then call a native function: the GtkObject is the first
115 parameter passed in. The arguments are passed in the native
116 calling convention: chars, shorts, ints, longs may be packed
117 on the stack, or tucked in registers: it doesn't matter
118 because the same calling convention will be generated
119 inside the gtkmarshal code as is expected where you define
123 So the function named:
125 gtk_marshal_BOOL__POINTER_INT_INT_UINT(GtkObject*, GtkSignalFunc, gpointer, GtkArg*);
127 will call the #GtkSignalFunc assuming it was a function with signature:
129 gboolean sigfunc(gpointer,gint,gint,guint);
134 <title>Writing Custom Marshals</title>
136 Marshals are primarily used as arguments to gtk_signal_new().
137 Sometimes, you may find that a marshaller you need isn't available
138 in the standard list. Then you have to write your own.
141 If you wish to define a signal with a new type of argument list.
142 Suppose you want 2 pointers and 2 integers.
145 typedef int (*GtkSignal_INT__POINTER_POINTER_INT_INT)(
146 gpointer, gpointer, gint, gint
149 void marshal_INT__POINTER_POINTER_INT_INT(GtkObject* object,
154 GtkSignal_NONE__POINTER_POINTER_INT_INT rfunc;
156 return_val = GTK_RETLOC_INT(args[4]);
157 rfunc = (GtkSignal_INT__POINTER_POINTER_INT_INT)func;
158 *return_val = (*rfunc)(object,
159 GTK_VALUE_POINTER(args[0]),
160 GTK_VALUE_POINTER(args[1]),
161 GTK_VALUE_INT(args[2]),
162 GTK_VALUE_INT(args[3]),
170 <!-- ##### SECTION ./tmpl/gtkmarshal.sgml:See_Also ##### -->
175 <term>#GtkSignal</term>
176 <listitem><para>The signal handling functions (of which marshallers are
177 really an implementation detail).</para></listitem>
184 <!-- ##### SECTION ./tmpl/gtkmarshal.sgml:Short_Description ##### -->
185 Functions to adapt C structures to native calling convention.
188 <!-- ##### SECTION ./tmpl/gtkmarshal.sgml:Title ##### -->
192 <!-- ##### SECTION ./tmpl/gtkpacker.sgml:Long_Description ##### -->
198 <!-- ##### SECTION ./tmpl/gtkpacker.sgml:See_Also ##### -->
204 <!-- ##### SECTION ./tmpl/gtkpacker.sgml:Short_Description ##### -->
208 <!-- ##### SECTION ./tmpl/gtkpacker.sgml:Title ##### -->
212 <!-- ##### SECTION ./tmpl/gtkprivate.sgml:Title ##### -->
216 <!-- ##### SECTION ./tmpl/gtkthemes.sgml:Long_Description ##### -->
222 <!-- ##### SECTION ./tmpl/gtkthemes.sgml:See_Also ##### -->
228 <!-- ##### SECTION ./tmpl/gtkthemes.sgml:Short_Description ##### -->
232 <!-- ##### SECTION ./tmpl/gtkthemes.sgml:Stability_Level ##### -->
236 <!-- ##### SECTION ./tmpl/gtkthemes.sgml:Title ##### -->
240 <!-- ##### SECTION ./tmpl/gtktreemodelsimple.sgml:Long_Description ##### -->
246 <!-- ##### SECTION ./tmpl/gtktreemodelsimple.sgml:See_Also ##### -->
252 <!-- ##### SECTION ./tmpl/gtktreemodelsimple.sgml:Short_Description ##### -->
256 <!-- ##### SECTION ./tmpl/gtktreemodelsimple.sgml:Title ##### -->
260 <!-- ##### MACRO GTK_CLIST_CHILD_HAS_FOCUS ##### -->
262 A macro to check whether a child widget of the CList
266 @clist: The #GtkCList widget to check.
268 <!-- ##### MACRO GTK_ICON_SIZE_BUTTON ##### -->
274 <!-- ##### MACRO GTK_ICON_SIZE_DIALOG ##### -->
280 <!-- ##### MACRO GTK_ICON_SIZE_LARGE_TOOLBAR ##### -->
286 <!-- ##### MACRO GTK_ICON_SIZE_MENU ##### -->
292 <!-- ##### MACRO GTK_ICON_SIZE_SMALL_TOOLBAR ##### -->
298 <!-- ##### MACRO GTK_IS_TIPS_QUERY ##### -->
305 <!-- ##### MACRO GTK_IS_TIPS_QUERY_CLASS ##### -->
312 <!-- ##### MACRO GTK_OBJECT_CONNECTED ##### -->
314 Tests whether a #GtkObject has had a signal connected to it.
317 @obj: the object to examine.
319 <!-- ##### MACRO GTK_OBJECT_CONSTRUCTED ##### -->
321 Test whether a GtkObject's arguments have been prepared.
324 @obj: the object to examine.
326 <!-- ##### MACRO GTK_OBJECT_DESTROYED ##### -->
328 Test whether a GtkObject has had gtk_object_destroy() invoked on it.
331 @obj: the object to examine.
333 <!-- ##### MACRO GTK_OBJECT_NSIGNALS ##### -->
335 Get the number of signals defined by this object.
338 @obj: the object to query.
340 <!-- ##### MACRO GTK_OBJECT_SET_FLAGS ##### -->
342 Turns on certain object flags. (Private)
345 @obj: the object to affect.
346 @flag: the flags to set.
348 <!-- ##### MACRO GTK_OBJECT_SIGNALS ##### -->
350 Get the array of signals defined for this object.
353 @obj: the object to fetch the signals from.
355 <!-- ##### MACRO GTK_OBJECT_UNSET_FLAGS ##### -->
357 Turns off certain object flags. (Private)
360 @obj: the object to affect.
361 @flag: the flags to unset.
363 <!-- ##### MACRO GTK_PRINT_SETTINGS_NUM_COPIES ##### -->
369 <!-- ##### MACRO GTK_PRINT_SETTINGS_PRINT_TO_FILE ##### -->
375 <!-- ##### MACRO GTK_STOCK_BUTTON_APPLY ##### -->
381 <!-- ##### MACRO GTK_STOCK_BUTTON_CANCEL ##### -->
387 <!-- ##### MACRO GTK_STOCK_BUTTON_CLOSE ##### -->
393 <!-- ##### MACRO GTK_STOCK_BUTTON_NO ##### -->
399 <!-- ##### MACRO GTK_STOCK_BUTTON_OK ##### -->
405 <!-- ##### MACRO GTK_STOCK_BUTTON_YES ##### -->
411 <!-- ##### MACRO GTK_STOCK_PAGE_SETUP ##### -->
413 The "Page Setup" item.
414 <inlinegraphic fileref="gtk-page-setup.png" format="PNG"></inlinegraphic>
419 <!-- ##### MACRO GTK_TIPS_QUERY ##### -->
426 <!-- ##### MACRO GTK_TIPS_QUERY_CLASS ##### -->
433 <!-- ##### MACRO GTK_TIPS_QUERY_GET_CLASS ##### -->
440 <!-- ##### MACRO GTK_TREE_MODEL_GET_IFACE ##### -->
447 <!-- ##### MACRO GTK_TREE_SELECTION ##### -->
449 A macro that returns a GList that contains the selection of the root tree of @obj.
452 @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.
454 <!-- ##### MACRO GTK_TYPE_FLAT_FIRST ##### -->
456 The first "flat" (no struct) enumerated type value.
460 <!-- ##### MACRO GTK_TYPE_FLAT_LAST ##### -->
462 The last "flat" (no struct) enumerated type value.
466 <!-- ##### MACRO GTK_TYPE_IDENTIFIER ##### -->
468 Hide the name of gtk_identifier_get_type
472 <!-- ##### MACRO GTK_TYPE_MAKE ##### -->
474 Combine a fundemantal type and a sequence number to create a gtk type.
480 <!-- ##### MACRO GTK_TYPE_NUM_BUILTINS ##### -->
486 <!-- ##### MACRO GTK_TYPE_SEQNO ##### -->
488 Convert a gtk type into its sequence number
493 <!-- ##### MACRO GTK_TYPE_STRUCTURED_FIRST ##### -->
495 The first structured enumerated type value.
499 <!-- ##### MACRO GTK_TYPE_STRUCTURED_LAST ##### -->
501 The last structured enumerated type value.
505 <!-- ##### MACRO GTK_TYPE_TIPS_QUERY ##### -->
511 <!-- ##### MACRO GTK_TYPE_TREE_COLUMN ##### -->
517 <!-- ##### MACRO GTK_TYPE_TREE_VIEW_COLUMN ##### -->
523 <!-- ##### MACRO GTK_VALUE_ARGS ##### -->
525 Use to get the value of a GtkArg whose GtkType is GTK_TYPE_ARGS
530 <!-- ##### MACRO GTK_VALUE_CALLBACK ##### -->
532 Use to get the value of a GtkArg whose GtkType is GTK_TYPE_CALLBACK
537 <!-- ##### MACRO GTK_VALUE_C_CALLBACK ##### -->
539 Use to get the value of a GtkArg whose GtkType is GTK_TYPE_C_CALLBACK
544 <!-- ##### MACRO GTK_VALUE_FOREIGN ##### -->
546 Use to get the value of a GtkArg whose GtkType is GTK_TYPE_C_FOREIGN
551 <!-- ##### USER_FUNCTION GValueCompareFunc ##### -->
560 <!-- ##### ARG GtkAboutDialog:link-color ##### -->
566 <!-- ##### ARG GtkAboutDialog:name ##### -->
572 <!-- ##### STRUCT GtkAccelEntry ##### -->
574 This is a private struct used by GTK+ internally, don't worry about it.
584 <!-- ##### ARG GtkAccelLabel:accel-object ##### -->
590 <!-- ##### ARG GtkAccelLabel:accel-width ##### -->
596 <!-- ##### USER_FUNCTION GtkAccelMapNotify ##### -->
609 <!-- ##### SIGNAL GtkAction::connect-proxy ##### -->
614 @action: the object which received the signal.
617 <!-- ##### SIGNAL GtkAction::disconnect-proxy ##### -->
622 @action: the object which received the signal.
625 <!-- ##### USER_FUNCTION GtkArgGetFunc ##### -->
627 Define a function pointer. Deprecated.
634 <!-- ##### STRUCT GtkArgInfo ##### -->
636 A structure containing information about the argument.
637 Returned by gtk_arg_get_info().
640 @class_type: if the argument is an object, this is the object class type.
641 @name: the name of the argument.
642 @type: the type of the argument; it may be an object's type
643 or a fundamental type.
644 @arg_flags: flags applicable to the argument (i.e. readable, writable,
645 and whether it needs to be constructed).
646 @full_name: the object name and argument name separated by ::,
647 e.g. "GtkObject::user_data" or "GtkButton::label".
648 @arg_id: the unique argument identified.
651 <!-- ##### USER_FUNCTION GtkArgSetFunc ##### -->
653 Define a function pointer. Deprecated.
660 <!-- ##### STRUCT GtkBuilderClass ##### -->
665 @get_type_from_name: Looks up a type by name. The default
666 implementation applies heuristics to map type names to
667 <function>_get_type</function> function names, e.g.
668 GtkHBox to gtk_hbox_get_type(). This virtual function
669 is provided to allow language bindings to intercept the
670 type resolution process.
672 <!-- ##### STRUCT GtkCellRendererTextPixbuf ##### -->
679 <!-- ##### ARG GtkCellView:use-fg ##### -->
685 <!-- ##### ARG GtkColorSelection:previous-alpha ##### -->
691 <!-- ##### ARG GtkColorSelection:previous-color ##### -->
697 <!-- ##### SIGNAL GtkComboBox::popup-hide ##### -->
702 @combobox: the object which received the signal.
704 <!-- ##### SIGNAL GtkComboBox::popup-show ##### -->
709 @combobox: the object which received the signal.
711 <!-- ##### ARG GtkComboBox:appearance ##### -->
717 <!-- ##### ARG GtkComboBox:row-separator-column ##### -->
723 <!-- ##### SIGNAL GtkContainer::focus ##### -->
728 @container: the object which received the signal.
732 <!-- ##### ARG GtkContainer:reallocate-redraws ##### -->
738 <!-- ##### STRUCT GtkData ##### -->
740 The #GtkData-struct struct contains no public fields.
744 <!-- ##### SIGNAL GtkData::disconnect ##### -->
746 Emitted to notify any views on the #GtkData object to disconnect from it,
747 possibly because the #GtkData object is about to be destroyed.
750 @data: the object which received the signal.
752 <!-- ##### SIGNAL GtkEditable::activate ##### -->
754 Indicates that the user has activated the widget
755 in some fashion. Generally, this will be done
756 with a keystroke. (The default binding for this
757 action is Return for #GtkEntry and
758 Control-Return for #GtkText.)
761 @editable: the object which received the signal.
763 <!-- ##### SIGNAL GtkEditable::copy-clipboard ##### -->
765 An action signal. Causes the characters in the current selection to
766 be copied to the clipboard.
769 @editable: the object which received the signal.
771 <!-- ##### SIGNAL GtkEditable::cut-clipboard ##### -->
773 An action signal. Causes the characters in the current
774 selection to be copied to the clipboard and then deleted from
778 @editable: the object which received the signal.
780 <!-- ##### SIGNAL GtkEditable::kill-char ##### -->
782 An action signal. Delete a single character.
785 @editable: the object which received the signal.
786 @direction: the direction in which to delete. Positive
787 indicates forward deletion, negative, backwards deletion.
789 <!-- ##### SIGNAL GtkEditable::kill-line ##### -->
791 An action signal. Delete a single line.
794 @editable: the object which received the signal.
795 @direction: the direction in which to delete. Positive
796 indicates forward deletion, negative, backwards deletion.
798 <!-- ##### SIGNAL GtkEditable::kill-word ##### -->
800 An action signal. Delete a single word.
803 @editable: the object which received the signal.
804 @direction: the direction in which to delete. Positive
805 indicates forward deletion, negative, backwards deletion.
807 <!-- ##### SIGNAL GtkEditable::move-cursor ##### -->
809 An action signal. Move the cursor position.
812 @editable: the object which received the signal.
813 @x: horizontal distance to move the cursor.
814 @y: vertical distance to move the cursor.
816 <!-- ##### SIGNAL GtkEditable::move-page ##### -->
818 An action signal. Move the cursor by pages.
821 @editable: the object which received the signal.
822 @x: Number of pages to move the cursor horizontally.
823 @y: Number of pages to move the cursor vertically.
825 <!-- ##### SIGNAL GtkEditable::move-to-column ##### -->
827 An action signal. Move the cursor to the given column.
830 @editable: the object which received the signal.
831 @column: the column to move to. (A negative value indicates
834 <!-- ##### SIGNAL GtkEditable::move-to-row ##### -->
836 An action signal. Move the cursor to the given row.
839 @editable: the object which received the signal.
840 @row: the row to move to. (A negative value indicates
843 <!-- ##### SIGNAL GtkEditable::move-word ##### -->
845 An action signal. Move the cursor by words.
848 @editable: the object which received the signal.
849 @num_words: The number of words to move the
850 cursor. (Can be negative).
852 <!-- ##### SIGNAL GtkEditable::paste-clipboard ##### -->
854 An action signal. Causes the contents of the clipboard to
855 be pasted into the editable widget at the current cursor
859 @editable: the object which received the signal.
861 <!-- ##### SIGNAL GtkEditable::set-editable ##### -->
863 Determines if the user can edit the text in the editable
864 widget or not. This is meant to be overriden by
865 child classes and should not generally useful to
869 @editable: the object which received the signal.
870 @is_editable: %TRUE if the user is allowed to edit the text
873 <!-- ##### ARG GtkEditable:editable ##### -->
875 A boolean indicating whether the widget is editable by
880 <!-- ##### ARG GtkEditable:text-position ##### -->
882 The position of the cursor.
886 <!-- ##### USER_FUNCTION GtkEmissionHook ##### -->
888 A simple function pointer to get invoked when the
889 signal is emitted. This allows you tie a hook to the signal type,
890 so that it will trap all emissions of that signal, from any object.
893 You may not attach these to signals created with the
894 #GTK_RUN_NO_HOOKS flag.
904 <!-- ##### SIGNAL GtkEntry::changed ##### -->
909 @entry: the object which received the signal.
911 <!-- ##### SIGNAL GtkEntry::delete-text ##### -->
916 @entry: the object which received the signal.
920 <!-- ##### SIGNAL GtkEntry::insert-text ##### -->
925 @entry: the object which received the signal.
930 <!-- ##### ARG GtkEntry:text-position ##### -->
936 <!-- ##### ARG GtkFileChooser:file-system ##### -->
942 <!-- ##### ENUM GtkFontFilterType ##### -->
944 A set of bit flags used to specify the filter being set
945 when calling gtk_font_selection_dialog_set_filter() or
946 gtk_font_selection_set_filter().
949 @GTK_FONT_FILTER_BASE: the base filter, which can't be changed by the user.
950 @GTK_FONT_FILTER_USER: the user filter, which can be changed from within the
951 'Filter' page of the #GtkFontSelection widget.
953 <!-- ##### ENUM GtkFontType ##### -->
955 A set of bit flags used to specify the type of fonts shown
956 when calling gtk_font_selection_dialog_set_filter() or
957 gtk_font_selection_set_filter().
960 @GTK_FONT_BITMAP: bitmap fonts.
961 @GTK_FONT_SCALABLE: scalable fonts.
962 @GTK_FONT_SCALABLE_BITMAP: scaled bitmap fonts.
963 @GTK_FONT_ALL: a bitwise combination of all of the above.
965 <!-- ##### ARG GtkHScale:adjustment ##### -->
967 the #GtkAdjustment which sets the range of the scale.
971 <!-- ##### ARG GtkHScrollbar:adjustment ##### -->
977 <!-- ##### STRUCT GtkIconViewPrivate ##### -->
983 <!-- ##### USER_FUNCTION GtkImageLoader ##### -->
985 A GtkImageLoader is used to load a filename found in
989 @window: the window for creating image
990 @colormap: the colormap for this image
991 @mask: a pointer to the location to store the mask
992 @transparent_color: the transparent color for the image
993 @filename: filename to load
994 @Returns: a #GtkPixmap representing @filename
996 <!-- ##### STRUCT GtkImageMenuItemClass ##### -->
1002 <!-- ##### ARG GtkLabel:accel-keyval ##### -->
1008 <!-- ##### SIGNAL GtkMenuBar::cycle-focus ##### -->
1013 @menubar: the object which received the signal.
1016 <!-- ##### SIGNAL GtkNotebook::tab-added ##### -->
1021 @notebook: the object which received the signal.
1025 <!-- ##### SIGNAL GtkNotebook::tab-removed ##### -->
1030 @notebook: the object which received the signal.
1034 <!-- ##### SIGNAL GtkNotebook::tab-reordered ##### -->
1039 @notebook: the object which received the signal.
1043 <!-- ##### ARG GtkObject:object-signal ##### -->
1045 Setting this with a GtkType of GTK_TYPE_SIGNAL connects
1046 the signal to the object, so that the user data and objects
1047 and swapped when the signal handler is invoked.
1050 This is useful for handlers that are primarily notifying
1051 other objects and could just invoke an already existing function
1052 if the parameters were swapped.
1053 See gtk_signal_connect_object() for more details.
1057 <!-- ##### ARG GtkObject:object-signal-after ##### -->
1059 Setting this with a GtkType of GTK_TYPE_SIGNAL connects
1060 the signal to the object, so that the user data and objects
1061 and swapped when the signal handler is invoked,
1062 and so that the handler is invoked after all others.
1065 See gtk_signal_connect_object_after() for more details.
1069 <!-- ##### ARG GtkObject:signal ##### -->
1071 Setting this with a GtkType of GTK_TYPE_SIGNAL connects
1072 the signal to the object.
1076 <!-- ##### ARG GtkObject:signal-after ##### -->
1078 Setting this with a GtkType of GTK_TYPE_SIGNAL connects
1079 the signal to the object, so that the signal is always run
1080 after other user handlers and the default handler.
1084 <!-- ##### SIGNAL GtkOldEditable::changed ##### -->
1089 @oldeditable: the object which received the signal.
1091 <!-- ##### SIGNAL GtkOldEditable::delete-text ##### -->
1096 @oldeditable: the object which received the signal.
1100 <!-- ##### SIGNAL GtkOldEditable::insert-text ##### -->
1105 @oldeditable: the object which received the signal.
1110 <!-- ##### STRUCT GtkPacker ##### -->
1118 @default_border_width:
1124 <!-- ##### ARG GtkPacker:default-border-width ##### -->
1130 <!-- ##### ARG GtkPacker:default-ipad-x ##### -->
1136 <!-- ##### ARG GtkPacker:default-ipad-y ##### -->
1142 <!-- ##### ARG GtkPacker:default-pad-x ##### -->
1148 <!-- ##### ARG GtkPacker:default-pad-y ##### -->
1154 <!-- ##### ARG GtkPacker:spacing ##### -->
1160 <!-- ##### STRUCT GtkPackerChild ##### -->
1176 <!-- ##### ENUM GtkPackerOptions ##### -->
1185 <!-- ##### STRUCT GtkPatternSpec ##### -->
1197 <!-- ##### ARG GtkPrintOperation:number-of-pages ##### -->
1203 <!-- ##### ENUM GtkPrivateFlags ##### -->
1208 @PRIVATE_GTK_USER_STYLE:
1209 @PRIVATE_GTK_RESIZE_PENDING:
1210 @PRIVATE_GTK_RESIZE_NEEDED:
1211 @PRIVATE_GTK_LEAVE_PENDING:
1212 @PRIVATE_GTK_HAS_SHAPE_MASK:
1213 @PRIVATE_GTK_IN_REPARENT:
1214 @PRIVATE_GTK_DIRECTION_SET:
1215 @PRIVATE_GTK_DIRECTION_LTR:
1217 <!-- ##### STRUCT GtkRcStyleClass ##### -->
1223 <!-- ##### ARG GtkScrolledWindow:shadow ##### -->
1229 <!-- ##### ARG GtkSettings:gtk-menu-bar-popout-delay ##### -->
1235 <!-- ##### ARG GtkSettings:gtk-menu-popout-delay ##### -->
1241 <!-- ##### ARG GtkSettings:gtk-menu-submenu-hysteresis ##### -->
1247 <!-- ##### STRUCT GtkSettingsClass ##### -->
1253 <!-- ##### USER_FUNCTION GtkSignalDestroy ##### -->
1255 A function which you can use to clean up when the
1256 signal handler is destroyed.
1259 For example, if your handler requires a few variables
1260 that you made into a struct and allocated (using g_new()
1261 or something), then you will probably want to free
1262 it as soon as the hook is destroyed. This will
1263 allow you to do that. (For this in particular
1264 it is convenient to pass g_free() as a #GtkSignalDestroy
1268 @data: The user data associated with the hook that is being
1271 <!-- ##### USER_FUNCTION GtkSignalMarshal ##### -->
1273 This is currently a hack left in for a scheme wrapper library.
1280 @object: The object which emits the signal.
1281 @data: The user data associated with the hook.
1282 @nparams: The number of parameters to the function.
1283 @args: The actual values of the arguments.
1284 @arg_types: The types of the arguments.
1285 @return_type: The type of the return value from the function
1286 or #GTK_TYPE_NONE for no return value.
1288 <!-- ##### STRUCT GtkSignalQuery ##### -->
1290 This structure contains all the information about a particular
1291 signal: its name, the type it affects, the signature of the handlers,
1292 and its unique identifying integer.
1304 <!-- ##### STRUCT GtkStatusbarMsg ##### -->
1306 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.
1313 <!-- ##### STRUCT GtkStyleClass ##### -->
1360 <!-- ##### STRUCT GtkTextBTreeNode ##### -->
1366 <!-- ##### STRUCT GtkTextChildAnchorClass ##### -->
1372 <!-- ##### ARG GtkTextTag:justify ##### -->
1374 A #GtkJustification for the text. This is only used when the tag is
1375 applied to the first character in a paragraph.
1379 <!-- ##### ARG GtkTextTag:left-wrapped-line-margin ##### -->
1381 Pixel width of the left margin of the text for lines after the first
1382 line in a wrapped paragraph.
1386 <!-- ##### ARG GtkTextTag:left-wrapped-line-margin-set ##### -->
1392 <!-- ##### ARG GtkTextTag:offset ##### -->
1394 Pixels to offset the text horizontally or vertically, useful to
1395 produce superscript and subscript.
1399 <!-- ##### SIGNAL GtkTextView::move-focus ##### -->
1404 @textview: the object which received the signal.
1407 <!-- ##### ARG GtkTextView:height-lines ##### -->
1413 <!-- ##### ARG GtkTextView:justify ##### -->
1419 <!-- ##### ARG GtkTextView:width-columns ##### -->
1425 <!-- ##### ARG GtkToolButton:show-label-horizontally ##### -->
1431 <!-- ##### SIGNAL GtkToolbar::move-focus ##### -->
1436 @toolbar: the object which received the signal.
1440 <!-- ##### ARG GtkToolbar:pack-end ##### -->
1446 <!-- ##### STRUCT GtkTreeSelectionClass ##### -->
1452 <!-- ##### ENUM GtkTreeSelectionMode ##### -->
1457 @GTK_TREE_SELECTION_SINGLE:
1458 @GTK_TREE_SELECTION_MULTI:
1460 <!-- ##### SIGNAL GtkTreeView::focus-column-header ##### -->
1465 @treeview: the object which received the signal.
1467 <!-- ##### USER_FUNCTION GtkTreeViewDraggableFunc ##### -->
1478 <!-- ##### USER_FUNCTION GtkTreeViewDroppableFunc ##### -->
1490 <!-- ##### SIGNAL GtkUIManager::changed ##### -->
1495 @uimanager: the object which received the signal.
1497 <!-- ##### ARG GtkVScale:adjustment ##### -->
1499 the #GtkAdjustment which sets the range of the scale.
1503 <!-- ##### ARG GtkVScrollbar:adjustment ##### -->
1509 <!-- ##### SIGNAL GtkWidget::activate-mnemonic ##### -->
1514 @widget: the object which received the signal.
1518 <!-- ##### SIGNAL GtkWidget::add-accelerator ##### -->
1523 @widget: the object which received the signal.
1530 <!-- ##### SIGNAL GtkWidget::debug-msg ##### -->
1535 @widget: the object which received the signal.
1538 <!-- ##### SIGNAL GtkWidget::draw ##### -->
1543 @widget: the object which received the signal.
1546 <!-- ##### SIGNAL GtkWidget::draw-default ##### -->
1551 @widget: the object which received the signal.
1553 <!-- ##### SIGNAL GtkWidget::draw-focus ##### -->
1558 @widget: the object which received the signal.
1560 <!-- ##### SIGNAL GtkWidget::remove-accelerator ##### -->
1565 @widget: the object which received the signal.
1570 <!-- ##### ARG GtkWidget:height ##### -->
1576 <!-- ##### ARG GtkWidget:width ##### -->
1582 <!-- ##### ARG GtkWidget:x ##### -->
1588 <!-- ##### ARG GtkWidget:y ##### -->
1594 <!-- ##### SIGNAL GtkWindow::accels-changed ##### -->
1599 @window: the object which received the signal.
1601 <!-- ##### SIGNAL GtkWindow::move-focus ##### -->
1606 @window: the object which received the signal.
1609 <!-- ##### ARG GtkWindow:auto-shrink ##### -->
1611 If the window shrinks automatically when widgets within it shrink.
1615 <!-- ##### ARG GtkWindow:icon-list ##### -->
1621 <!-- ##### FUNCTION gtk_accel_group_add ##### -->
1634 <!-- ##### FUNCTION gtk_accel_group_attach ##### -->
1642 <!-- ##### FUNCTION gtk_accel_group_create_add ##### -->
1652 <!-- ##### FUNCTION gtk_accel_group_create_remove ##### -->
1662 <!-- ##### FUNCTION gtk_accel_group_detach ##### -->
1670 <!-- ##### FUNCTION gtk_accel_group_entries_from_object ##### -->
1678 <!-- ##### FUNCTION gtk_accel_group_get_default ##### -->
1685 <!-- ##### FUNCTION gtk_accel_group_get_entry ##### -->
1695 <!-- ##### FUNCTION gtk_accel_group_get_type ##### -->
1702 <!-- ##### FUNCTION gtk_accel_group_handle_add ##### -->
1714 <!-- ##### FUNCTION gtk_accel_group_handle_remove ##### -->
1724 <!-- ##### FUNCTION gtk_accel_group_lock_entry ##### -->
1733 <!-- ##### FUNCTION gtk_accel_group_remove ##### -->
1743 <!-- ##### FUNCTION gtk_accel_group_unlock_entry ##### -->
1752 <!-- ##### FUNCTION gtk_accel_label_get_accel_object ##### -->
1760 <!-- ##### FUNCTION gtk_accel_label_set_accel_object ##### -->
1768 <!-- ##### FUNCTION gtk_accel_map_add_notifer ##### -->
1778 <!-- ##### FUNCTION gtk_accel_map_remove_notifer ##### -->
1787 <!-- ##### FUNCTION gtk_arg_copy ##### -->
1789 It will either copy data into an existing argument or allocate a new argument
1790 and copy the data. Strings are duplicated. All other pointers and
1791 values are copied (shallowly-- that is the pointers themselves are
1792 copied, not the data they point to.)
1795 You should call gtk_arg_reset() on dest_arg before calling this
1796 if the argument may contain string data that you want freed.
1799 @src_arg: the argument to duplicate.
1800 @dest_arg: the argument to copy over (or NULL to create a new #GtkArg).
1801 @Returns: the new #GtkArg (or dest_arg, if it was not NULL).
1803 <!-- ##### FUNCTION gtk_arg_free ##### -->
1805 Frees the argument, and optionally its contents.
1808 @arg: the argument to free.
1809 @free_contents: whether to free the string, if it is a string.
1811 <!-- ##### FUNCTION gtk_arg_get_info ##### -->
1813 Private: get information about an argument.
1816 @object_type: the type of object.
1817 @arg_info_hash_table: the hashtable of #GtkArgInfos.
1818 @arg_name: the name of the argument to lookup.
1819 @info_p: the argument info.
1820 @Returns: an error message on failure, or NULL otherwise.
1822 <!-- ##### FUNCTION gtk_arg_info_equal ##### -->
1824 A #GCompareFunc for hashing #GtkArgInfos.
1827 @arg_info_1: a #GtkArgInfo.
1828 @arg_info_2: a #GtkArgInfo.
1829 @Returns: whether the arguments are the same.
1831 <!-- ##### FUNCTION gtk_arg_info_hash ##### -->
1833 A #GHashFunc for hashing #GtkArgInfos.
1836 @arg_info: a #GtkArgInfo.
1837 @Returns: a hash value for that #GtkArgInfo.
1839 <!-- ##### FUNCTION gtk_arg_name_strip_type ##### -->
1841 Given a fully qualified argument name (e.g. "GtkButton::label")
1842 it returns just the argument name (e.g. "label") unless
1843 the argument name was invalid, in which case it returns NULL.
1846 @arg_name: the fully-qualified argument name.
1847 @Returns: the base argument name.
1849 <!-- ##### FUNCTION gtk_arg_new ##### -->
1851 Creates a new argument of a certain type, set to 0 or NULL.
1854 @arg_type: the type of the argument.
1855 @Returns: the newly created #GtkArg.
1857 <!-- ##### FUNCTION gtk_arg_reset ##### -->
1864 <!-- ##### FUNCTION gtk_arg_to_valueloc ##### -->
1872 <!-- ##### FUNCTION gtk_arg_type_new_static ##### -->
1874 Create a new argument registered with a class.
1877 @base_class_type: the basic type having the arguments, almost alway
1878 GTK_TYPE_OBJECT, except if your defining a different type argument
1879 that gets a different namespace. #GtkContainer does this to define
1880 per-child arguments of the container.
1881 @arg_name: name of the argument to create. (must be a static constant string)
1882 @class_n_args_offset: offset into the base class structure that tells
1883 the number of arguments.
1884 @arg_info_hash_table: hashtable of #GtkArgInfos.
1885 @arg_type: type of the argument.
1886 @arg_flags: flags of the argument.
1888 @Returns: the new #GtkArgInfo.
1890 <!-- ##### FUNCTION gtk_arg_values_equal ##### -->
1899 <!-- ##### FUNCTION gtk_args_collect ##### -->
1901 Private: given a hashtable of argument information it takes a vararg
1902 list and parses it into arguments (in the form of lists of #GtkArgs
1903 and lists of #GtkArgInfos.
1906 The list of arguments starts with first_arg_name then the first argument's
1907 value. Followed by any number of additional name/argument pairs,
1908 terminated with NULL.
1911 @object_type: the type of object we are collecting arguments for.
1912 @arg_info_hash_table: a hashtable mapping from names of arguments
1913 to their #GtkArgInfos.
1914 @arg_list_p: a returned list of arguments obtained from parsing the
1916 @info_list_p: a returned list of the #GtkArgInfos.
1917 @first_arg_name: the name of the first argument.
1918 @var_args: a va_list containing the value of the first argument,
1919 followed by name/value pairs, followed by NULL.
1920 @Returns: an error message on failure, or NULL otherwise.
1922 <!-- ##### FUNCTION gtk_args_collect_cleanup ##### -->
1924 Private: erase lists of arguments returned from gtk_args_collect().
1927 @arg_list: arg_list_p returned from gtk_args_collect().
1928 @info_list: info_list_p returned from gtk_args_collect().
1930 <!-- ##### FUNCTION gtk_args_query ##### -->
1932 Private: from a class type and its arginfo hashtable,
1933 get an array of #GtkArgs that this object accepts.
1936 @class_type: the class type.
1937 @arg_info_hash_table: the hashtable of #GtkArgInfos.
1938 @arg_flags: returned array of argument flags.
1939 @n_args_p: the number of arguments this object accepts.
1940 @Returns: the array of arguments (or NULL on error).
1942 <!-- ##### FUNCTION gtk_button_box_child_requisition ##### -->
1944 This is an internally used function and should never be called from an
\r
1953 <!-- ##### FUNCTION gtk_button_box_get_child_ipadding_default ##### -->
1955 The internal padding of a button is the amount of space between the outside
\r
1956 of the button and the widget it contains. This function gets the default
\r
1957 amount of horizontal and vertical padding, placing the results in @ipad_x
\r
1958 and @ipad_y, respectively.
\r
1961 @ipad_x: the default horizontal internal button padding.
1962 @ipad_y: the default vertical internal button padding.
1964 <!-- ##### FUNCTION gtk_button_box_get_child_size_default ##### -->
1966 Retrieves the default minimum width and height for all button boxes, and
\r
1967 places the values in @min_width and @min_height, respectively.
\r
1970 @min_width: the default minimum width of a child widget.
1971 @min_height: the default minimum height of a child widget.
1973 <!-- ##### FUNCTION gtk_button_box_set_child_ipadding_default ##### -->
1975 Sets the default number of pixels that pad each button in every button box.
\r
1978 @ipad_x: new default horizontal padding.
1979 @ipad_y: new default vertical padding.
1981 <!-- ##### FUNCTION gtk_button_box_set_child_size_default ##### -->
1983 Sets the default size of child buttons.
\r
1986 @min_width: minimum default width for child buttons.
1987 @min_height: minimum default height for child buttons.
1989 <!-- ##### FUNCTION gtk_button_new_accel ##### -->
1998 <!-- ##### FUNCTION gtk_button_new_stock ##### -->
2007 <!-- ##### FUNCTION gtk_cell_renderer_event ##### -->
2021 <!-- ##### FUNCTION gtk_cell_renderer_text_pixbuf_new ##### -->
2028 <!-- ##### FUNCTION gtk_cell_view_get_use_fg ##### -->
2036 <!-- ##### FUNCTION gtk_cell_view_set_cell_data ##### -->
2044 <!-- ##### FUNCTION gtk_cell_view_set_use_fg ##### -->
2052 <!-- ##### FUNCTION gtk_clist_construct ##### -->
2054 Initializes a previously allocated #GtkCList widget for use. This should not
2055 normally be used to create a #GtkCList widget. Use gtk_clist_new() instead.
2058 @clist: A pointer to an uninitialized #GtkCList widget.
2059 @columns: The number of columns the #GtkCList should have.
2060 @titles: An array of strings that should be used as the titles i
2061 of the columns. There should be enough strings in the array for
2062 the number of columns specified.
2064 <!-- ##### FUNCTION gtk_color_selection_get_old_color ##### -->
2072 <!-- ##### FUNCTION gtk_color_selection_get_use_opacity ##### -->
2080 <!-- ##### FUNCTION gtk_color_selection_get_use_palette ##### -->
2088 <!-- ##### FUNCTION gtk_color_selection_set_old_color ##### -->
2096 <!-- ##### FUNCTION gtk_color_selection_set_opacity ##### -->
2098 Controls whether opacity can be set with the #GtkColorSelection.
2099 If this functionality is enabled, the necessary additional widgets
2100 are added to the #GtkColorSelection and the opacity value can be
2101 retrieved via the fourth value in the color array returned by
2102 the gtk_color_selection_get_color() function.
2105 @colorsel: a #GtkColorSelection.
2106 @use_opacity: a boolean indicating whether the opacity selection
2109 <!-- ##### FUNCTION gtk_color_selection_set_use_opacity ##### -->
2117 <!-- ##### FUNCTION gtk_color_selection_set_use_palette ##### -->
2125 <!-- ##### FUNCTION gtk_combo_box_get_row_separator_column ##### -->
2133 <!-- ##### FUNCTION gtk_combo_box_set_row_separator_column ##### -->
2141 <!-- ##### FUNCTION gtk_container_add_child_arg_type ##### -->
2151 <!-- ##### FUNCTION gtk_container_add_with_args ##### -->
2161 <!-- ##### FUNCTION gtk_container_addv ##### -->
2171 <!-- ##### FUNCTION gtk_container_arg_get ##### -->
2181 <!-- ##### FUNCTION gtk_container_arg_set ##### -->
2191 <!-- ##### FUNCTION gtk_container_child_arg_get_info ##### -->
2201 <!-- ##### FUNCTION gtk_container_child_args_collect ##### -->
2213 <!-- ##### FUNCTION gtk_container_child_getv ##### -->
2223 <!-- ##### FUNCTION gtk_container_child_setv ##### -->
2233 <!-- ##### FUNCTION gtk_container_dequeue_resize_handler ##### -->
2240 <!-- ##### FUNCTION gtk_container_focus ##### -->
2249 <!-- ##### FUNCTION gtk_container_query_child_args ##### -->
2259 <!-- ##### FUNCTION gtk_ctree_construct ##### -->
2261 This function is not usually used by users.
2269 <!-- ##### FUNCTION gtk_decorated_window_calculate_frame_size ##### -->
2276 <!-- ##### FUNCTION gtk_decorated_window_init ##### -->
2283 <!-- ##### FUNCTION gtk_decorated_window_move_resize_window ##### -->
2294 <!-- ##### FUNCTION gtk_decorated_window_set_title ##### -->
2302 <!-- ##### FUNCTION gtk_drag_dest_handle_event ##### -->
2310 <!-- ##### FUNCTION gtk_drag_source_handle_event ##### -->
2318 <!-- ##### FUNCTION gtk_editable_changed ##### -->
2320 Causes the "changed" signal to be emitted.
2323 @editable: a #GtkEditable widget.
2325 <!-- ##### FUNCTION gtk_editable_claim_selection ##### -->
2327 Claim or disclaim ownership of the PRIMARY X selection.
2330 @editable: a #GtkEditable widget.
2331 @claim: if %TRUE, claim the selection, otherwise, disclaim it.
2332 @time: the timestamp for claiming the selection.
2334 <!-- ##### FUNCTION gtk_file_chooser_error_quark ##### -->
2341 <!-- ##### FUNCTION gtk_file_chooser_get_folder_mode ##### -->
2349 <!-- ##### FUNCTION gtk_file_chooser_set_folder_mode ##### -->
2357 <!-- ##### FUNCTION gtk_font_selection_dialog_set_filter ##### -->
2359 Sets one of the two font filters, to limit the fonts shown.
2362 @fsd: a #GtkFontSelectionDialog.
2363 @filter_type: which of the two font filters to set, either
2364 #GTK_FONT_FILTER_BASE or #GTK_FONT_FILTER_USER. The user filter
2365 can be changed by the user, but the base filter is permanent.
2366 @font_type: the types of font to be shown. This is a bitwise combination of
2367 #GTK_FONT_BITMAP, #GTK_FONT_SCALABLE and #GTK_FONT_SCALABLE_BITMAP,
2368 or #GTK_FONT_ALL to show all three font types.
2369 @foundries: a NULL-terminated array of strings containing foundry names which
2370 will be shown, or NULL to show all foundries.
2371 @weights: a NULL-terminated array of strings containing weight names which
2372 will be shown, or NULL to show all weights.
2373 @slants: a NULL-terminated array of strings containing slant names which
2374 will be shown, or NULL to show all slants.
2375 @setwidths: a NULL-terminated array of strings containing setwidth names which
2376 will be shown, or NULL to show all setwidths.
2377 @spacings: a NULL-terminated array of strings containing spacings which
2378 will be shown, or NULL to show all spacings.
2379 @charsets: a NULL-terminated array of strings containing charset names which
2380 will be shown, or NULL to show all charsets.
2382 <!-- ##### FUNCTION gtk_font_selection_set_filter ##### -->
2384 Sets one of the two font filters, to limit the fonts shown.
2387 @fontsel: a #GtkFontSelection.
2388 @filter_type: which of the two font filters to set, either
2389 #GTK_FONT_FILTER_BASE or #GTK_FONT_FILTER_USER. The user filter
2390 can be changed by the user, but the base filter is permanent.
2391 @font_type: the types of font to be shown. This is a bitwise combination of
2392 #GTK_FONT_BITMAP, #GTK_FONT_SCALABLE and #GTK_FONT_SCALABLE_BITMAP,
2393 or #GTK_FONT_ALL to show all three font types.
2394 @foundries: a NULL-terminated array of strings containing foundry names which
2395 will be shown, or NULL to show all foundries.
2396 @weights: a NULL-terminated array of strings containing weight names which
2397 will be shown, or NULL to show all weights.
2398 @slants: a NULL-terminated array of strings containing slant names which
2399 will be shown, or NULL to show all slants.
2400 @setwidths: a NULL-terminated array of strings containing setwidth names which
2401 will be shown, or NULL to show all setwidths.
2402 @spacings: a NULL-terminated array of strings containing spacings which
2403 will be shown, or NULL to show all spacings.
2404 @charsets: a NULL-terminated array of strings containing charset names which
2405 will be shown, or NULL to show all charsets.
2407 <!-- ##### FUNCTION gtk_icon_view_get_type ##### -->
2414 <!-- ##### FUNCTION gtk_identifier_get_type ##### -->
2416 Get the type of GtkIdentifier.
2419 @Returns: GtkType -- the enumerated type of something.
2421 <!-- ##### FUNCTION gtk_image_menu_item_add_image ##### -->
2429 <!-- ##### FUNCTION gtk_image_menu_item_get_type ##### -->
2436 <!-- ##### FUNCTION gtk_item_factory_dump_items ##### -->
2446 <!-- ##### FUNCTION gtk_item_factory_dump_rc ##### -->
2455 <!-- ##### FUNCTION gtk_item_factory_parse_rc ##### -->
2462 <!-- ##### FUNCTION gtk_item_factory_parse_rc_scanner ##### -->
2469 <!-- ##### FUNCTION gtk_item_factory_parse_rc_string ##### -->
2476 <!-- ##### FUNCTION gtk_item_factory_print_func ##### -->
2484 <!-- ##### FUNCTION gtk_label_set_markup_with_accel ##### -->
2493 <!-- ##### FUNCTION gtk_list_store_move ##### -->
2502 <!-- ##### FUNCTION gtk_list_store_new_with_types ##### -->
2511 <!-- ##### FUNCTION gtk_list_store_set_cell ##### -->
2521 <!-- ##### FUNCTION gtk_list_store_set_column_type ##### -->
2530 <!-- ##### FUNCTION gtk_list_store_set_n_columns ##### -->
2538 <!-- ##### FUNCTION gtk_menu_ensure_uline_accel_group ##### -->
2546 <!-- ##### FUNCTION gtk_menu_get_uline_accel_group ##### -->
2554 <!-- ##### FUNCTION gtk_menu_item_configure ##### -->
2556 Sets whether the menu item should show a submenu indicator, which is a right
2560 @menu_item: the menu item
2561 @show_toggle_indicator: unused
2562 @show_submenu_indicator: whether to show the arrow or not
2564 <!-- ##### FUNCTION gtk_menu_item_set_placement ##### -->
2566 Specifies the placement of the submenu around the menu item. The placement
2567 is usually #GTK_LEFT_RIGHT for menu items in a popup menu and
2568 #GTK_TOP_BOTTOM in menu bars.
2571 This function is useless in usual applications.
2574 @menu_item: the menu item
2575 @placement: the submenu placement
2577 <!-- ##### FUNCTION gtk_object_arg_get ##### -->
2579 Private function to get an argument and argument info from an object.
2582 @object: the object whose argument should be retrieved.
2583 @arg: the argument, for the name on input, the rest is filled on output.
2584 @info: a #GtkArgInfo structure to optionally fill in.
2586 <!-- ##### FUNCTION gtk_object_arg_get_info ##### -->
2588 Query information about an argument type.
2591 @object_type: type of object to query about.
2592 @arg_name: name of the argument.
2593 @info_p: pointer to be filled in with a pointer to the GtkArgInfo.
2594 @Returns: an error message, or NULL on success.
2595 It is the caller's responsibility to call g_free() in the event of error.
2597 <!-- ##### FUNCTION gtk_object_arg_set ##### -->
2599 Private function to set an argument and argument info to an object.
2602 @object: the object whose argument should be set.
2604 @info: infomation about this type of argument in general.
2606 <!-- ##### FUNCTION gtk_object_args_collect ##### -->
2608 Private: Gets an array of #GtkArgs from a va_list C structure.
2611 @object_type: the type of object to collect arguments for.
2612 @arg_list_p: pointer to be filled in with a list of parsed arguments.
2613 @info_list_p: optional pointer for a returned list #GtkArgInfos.
2614 @first_arg_name: name of first argument.
2615 @var_args: value of first argument, followed by more key/value pairs,
2617 @Returns: an error message, or NULL on success.
2618 It is the caller's responsibility to call g_free() in the event of error.
2620 <!-- ##### FUNCTION gtk_object_class_add_signals ##### -->
2622 Add an array of signals to a #GtkObjectClass.
2623 Usually this is called when registering a new type of object.
2626 @klass: the object class to append signals to.
2627 @signals: the signals to append.
2628 @nsignals: the number of signals being appended.
2630 <!-- ##### FUNCTION gtk_object_class_user_signal_new ##### -->
2632 Define a signal-handler for a new signal on an already defined
2636 See the signal documentation for more general information.
2639 @klass: the object class to define the signal for.
2640 @name: the name of the signal.
2641 @signal_flags: the default emission behavior for the signal.
2642 See gtk_signal_new().
2643 @marshaller: a function that will take an array of GtkArgs
2644 and invoke the appropriate handler with the normal calling
2646 @return_val: specify the return-value type for the signal
2647 (or GTK_TYPE_NONE for no return-value).
2648 @nparams: specify the number of parameters the signal
2649 receives from the caller of gtk_signal_emit().
2650 @Varargs: list of nparams #GtkTypes to pass to the signal handlers.
2651 @Returns: the signal id. (See #GtkSignals)
2653 <!-- ##### FUNCTION gtk_object_class_user_signal_newv ##### -->
2655 Define a signal-handler for a new signal on an already defined
2659 @klass: the object class to define the signal for.
2660 @name: the name of the signal.
2661 @signal_flags: the default emission behavior for the signal.
2662 See gtk_signal_new().
2663 @marshaller: takes a GtkObject, a #GtkSignalFunc, and an array
2664 of arguments, and invokes the function using the appropriate
2665 calling conventions. Usually just select a function
2666 out of gtkmarshal.h.
2667 @return_val: specify the return-value type for the signal (possibly
2669 @nparams: specify the number of parameters the signal
2670 receives from the caller of gtk_signal_emit().
2671 @params: array of #GtkTypes the signal handlers for this signal
2672 should have in their prototype (of length nparams).
2673 @Returns: the signal id. (See #GtkSignals)
2675 <!-- ##### FUNCTION gtk_object_constructed ##### -->
2677 Mark an allocated object as constructed.
2678 This is used for situations
2679 that require precise control of the construction process.
2682 This is done when gtk_object_default_construct() is inadequate.
2683 In #GtkCList the need arises because #GtkCList does construction work that
2684 must happen <emphasis>after</emphasis> its derivers. This work
2685 cannot be done in an initializer function, so an alternate
2686 constructor is mandatory. It calls gtk_object_constructed() to
2687 indicate it has done its job, so that no other constructor will
2691 Normally this function is just automatically run from
2692 gtk_object_default_construct().
2695 @object: object which has been constructed. This is usually
2696 done automatically by gtk_object_new() and gtk_object_newv().
2698 <!-- ##### FUNCTION gtk_object_default_construct ##### -->
2700 This function is called to construct arguments that haven't been initialized
2701 but have the #GTK_ARG_CONSTRUCT flag set.
2704 All number arguments are set to 0. All pointers and strings
2708 Normally invoked by gtk_object_new() automatically; gtk_type_new() can
2709 be used to bypass it.
2712 @object: the object to initialize.
2714 <!-- ##### FUNCTION gtk_object_getv ##### -->
2716 Gets an array of argument values from an object.
2719 @object: the object to get arguments from.
2720 @n_args: the number of arguments to query.
2721 @args: the arguments to fill in.
2723 <!-- ##### FUNCTION gtk_object_newv ##### -->
2725 Construct an object with an array of arguments.
2728 @object_type: the type of the object to create.
2729 @n_args: the number of arguments to set.
2730 @args: an array of n_args arguments (which are name and value pairs).
2731 @Returns: the new GtkObject.
2733 <!-- ##### FUNCTION gtk_object_query_args ##### -->
2735 Get all the arguments that may be used for a given type.
2738 In Java, this type of mechanism is called
2739 <wordasword>introspection</wordasword>. It is used by applications
2740 like Glade, that have to determine what can be done to an object
2744 @class_type: the GtkType of the ObjectClass
2745 (returned from GTK_OBJECT_CLASS(class)->type for example).
2746 @arg_flags: if non-NULL, obtains the #GtkArgFlags that apply to
2747 each argument. You must g_free() this if you request it.
2748 @n_args: the number of arguments is returned in this field.
2749 @Returns: an array of arguments, that you must deallocate with g_free().
2751 <!-- ##### FUNCTION gtk_object_setv ##### -->
2753 Set an array of arguments.
2756 @object: the object whose arguments should be set.
2757 @n_args: the number of arguments to set.
2758 @args: the desired values, as an array of #GtkArgs (which contain
2759 the names, types, and values of the arguments).
2761 <!-- ##### FUNCTION gtk_packer_add ##### -->
2777 <!-- ##### FUNCTION gtk_packer_add_defaults ##### -->
2788 <!-- ##### MACRO gtk_packer_configure ##### -->
2794 <!-- ##### FUNCTION gtk_packer_new ##### -->
2801 <!-- ##### FUNCTION gtk_packer_reorder_child ##### -->
2810 <!-- ##### FUNCTION gtk_packer_set_child_packing ##### -->
2826 <!-- ##### FUNCTION gtk_packer_set_default_border_width ##### -->
2834 <!-- ##### FUNCTION gtk_packer_set_default_ipad ##### -->
2843 <!-- ##### FUNCTION gtk_packer_set_default_pad ##### -->
2852 <!-- ##### FUNCTION gtk_packer_set_spacing ##### -->
2860 <!-- ##### FUNCTION gtk_paned_compute_position ##### -->
2862 Internal function used by #GtkHPaned and #GtkVPaned
2870 <!-- ##### MACRO gtk_paned_handle_size ##### -->
2872 Old name for gtk_paned_set_handle_size().
2876 <!-- ##### FUNCTION gtk_paned_set_handle_size ##### -->
2878 Set the the handle size to @size x @size pixels.
2881 @paned: a paned widget
2882 @size: the size in pixels
2884 <!-- ##### FUNCTION gtk_pattern_match ##### -->
2895 <!-- ##### FUNCTION gtk_pattern_match_simple ##### -->
2904 <!-- ##### FUNCTION gtk_pattern_match_string ##### -->
2913 <!-- ##### FUNCTION gtk_pattern_spec_free_segs ##### -->
2920 <!-- ##### FUNCTION gtk_pattern_spec_init ##### -->
2928 <!-- ##### FUNCTION gtk_print_context_create_context ##### -->
2936 <!-- ##### FUNCTION gtk_print_context_create_layout ##### -->
2944 <!-- ##### FUNCTION gtk_print_context_get_cairo ##### -->
2952 <!-- ##### FUNCTION gtk_print_context_get_fontmap ##### -->
2960 <!-- ##### FUNCTION gtk_print_operation_set_nr_of_pages ##### -->
2968 <!-- ##### FUNCTION gtk_print_settings_get_num_copies ##### -->
2976 <!-- ##### FUNCTION gtk_print_settings_get_print_to_file ##### -->
2984 <!-- ##### FUNCTION gtk_print_settings_set_num_copies ##### -->
2992 <!-- ##### FUNCTION gtk_print_settings_set_print_to_file ##### -->
3000 <!-- ##### FUNCTION gtk_rc_init ##### -->
3006 <!-- ##### FUNCTION gtk_rc_load_image ##### -->
3008 Internal function. Loads an image using the current
3012 @colormap: the colormap to use for the image
3013 @transparent_color: the transparent color for the image
3014 @filename: the filename of the image file
3015 @Returns: a #GtkPixmap representing @filename
3017 <!-- ##### FUNCTION gtk_rc_set_image_loader ##### -->
3019 Sets the function that GTK+ will use to load images
3022 @loader: the #GtkImageLoader to use
3024 <!-- ##### FUNCTION gtk_ruler_draw_pos ##### -->
3029 @ruler: the gtkruler
3031 <!-- ##### FUNCTION gtk_ruler_draw_ticks ##### -->
3036 @ruler: the gtkruler
3038 <!-- ##### FUNCTION gtk_selection_incr_event ##### -->
3047 <!-- ##### FUNCTION gtk_selection_notify ##### -->
3056 <!-- ##### FUNCTION gtk_selection_property_notify ##### -->
3065 <!-- ##### FUNCTION gtk_selection_request ##### -->
3074 <!-- ##### FUNCTION gtk_settings_get_global ##### -->
3081 <!-- ##### FUNCTION gtk_signal_add_emission_hook ##### -->
3083 Add an emission hook for a type of signal, for any object.
3086 @signal_id: the type of signal to hook for.
3087 @hook_func: the function to invoke to handle the emission hook.
3088 @data: the user data passed in to hook_func.
3089 @Returns: the id (that you may pass as a parameter
3090 to gtk_signal_remove_emission_hook()).
3095 <!-- ##### FUNCTION gtk_signal_add_emission_hook_full ##### -->
3097 Add an emission hook for a type of signal, for any object.
3098 (with control of what happens when the hook is
3102 @signal_id: the type of signal add the hook for.
3103 @hook_func: the function to invoke to handle the hook.
3104 @data: the user data passed in to hook_func.
3105 @destroy: a function to invoke when the hook is destroyed,
3106 to clean up any allocation done just for this
3108 @Returns: the id (that you may pass as a parameter
3109 to gtk_signal_remove_emission_hook()).
3111 <!-- ##### FUNCTION gtk_signal_handler_pending_by_id ##### -->
3113 Returns whether a connection id is valid (and optionally not blocked).
3116 @object: the object to search for the desired handler.
3117 @handler_id: the connection id.
3118 @may_be_blocked: whether it is acceptable to return a blocked
3120 @Returns: TRUE if the signal exists and wasn't blocked,
3121 unless #may_be_blocked was specified. FALSE otherwise.
3123 <!-- ##### FUNCTION gtk_signal_handlers_destroy ##### -->
3125 Destroy all the signal handlers connected to an object.
3126 This is done automatically when the object is destroyed.
3129 This function is labeled private.
3132 @object: the object whose signal handlers should be destroyed.
3134 <!-- ##### FUNCTION gtk_signal_init ##### -->
3140 <!-- ##### FUNCTION gtk_signal_n_emissions ##### -->
3142 Find out the recursion depth of emissions for a particular type
3143 of signal and object. (So it will
3144 always return 0 or 1 if #GTK_RUN_NO_RECURSE is specified)
3145 This is a way to avoid recursion: you can see if
3146 you are currently running in that signal handler and emit it only
3149 <para>Another way to look at it is that this number increases
3150 by one when #gtk_signal_emit(), et al, are called,
3151 and decreases by one when #gtk_signal_emit() returns.
3154 @object: the object with the signal handler.
3155 @signal_id: the signal id.
3156 @Returns: the recursion depth of emissions of this signal for this
3159 <!-- ##### FUNCTION gtk_signal_n_emissions_by_name ##### -->
3161 Find out the recursion depth of emissions for a particular type
3162 of signal and object. Just like gtk_signal_n_emissions()
3163 except it will lookup the signal id for you.
3166 @object: the object with the signal handler.
3167 @name: the signal name.
3168 @Returns: the recursion depth of emissions of this signal for this
3171 <!-- ##### FUNCTION gtk_signal_query ##### -->
3173 Obtain information about a signal.
3176 @signal_id: the signal type identifier.
3177 @Returns: a pointer to a GtkSignalQuery structure
3178 which contains all the information, or NULL.
3179 The pointer is allocated just for you: you must g_free() it.
3181 <!-- ##### FUNCTION gtk_signal_remove_emission_hook ##### -->
3183 Delete an emission hook. (see gtk_signal_add_emission_hook())
3186 @signal_id: the id of the signal type.
3187 @hook_id: the id of the emission handler, returned by add_emission_hook().
3191 <!-- ##### FUNCTION gtk_signal_set_funcs ##### -->
3193 These set default functions to call when the user didn't
3194 supply a function when connecting. (These are rarely
3195 used, and probably only for language bindings)
3198 By default, there are no such functions.
3201 @marshal_func: the function to invoke on every handlers for which there
3202 isn't a function pointer. May be NULL.
3203 @destroy_func: the function to invoke when each hook is destroyed.
3206 <!-- ##### FUNCTION gtk_spin_button_set_shadow_type ##### -->
3208 Creates a border around the arrows of a #GtkSpinButton. The type of border is determined by @shadow_type.
3211 @spin_button: a #GtkSpinButton
3212 @shadow_type: the new border type.
3214 <!-- ##### FUNCTION gtk_stock_list_items ##### -->
3221 <!-- ##### FUNCTION gtk_style_get_font_for_display ##### -->
3230 <!-- ##### FUNCTION gtk_text_buffer_paste_primary ##### -->
3239 <!-- ##### FUNCTION gtk_text_iter_reorder ##### -->
3247 <!-- ##### FUNCTION gtk_text_iter_spew ##### -->
3255 <!-- ##### FUNCTION gtk_text_view_set_text_window_size ##### -->
3264 <!-- ##### FUNCTION gtk_tips_query_get_type ##### -->
3271 <!-- ##### FUNCTION gtk_tool_item_get_pack_end ##### -->
3279 <!-- ##### FUNCTION gtk_tool_item_set_pack_end ##### -->
3287 <!-- ##### FUNCTION gtk_trace_referencing ##### -->
3289 Private: print debugging information while doing a gtk_object_ref() or
3290 a gtk_object_unref().
3293 @object: object to reference or unreference.
3294 @func: name of caller's function to print (used within macros).
3296 @line: line number (used within macros).
3297 @do_ref: whether to reference or unreference.
3299 <!-- ##### FUNCTION gtk_tree_model_ref_iter ##### -->
3307 <!-- ##### FUNCTION gtk_tree_model_sort_convert_iter ##### -->
3316 <!-- ##### FUNCTION gtk_tree_model_sort_convert_path ##### -->
3326 <!-- ##### FUNCTION gtk_tree_model_sort_new ##### -->
3333 <!-- ##### FUNCTION gtk_tree_model_sort_set_compare ##### -->
3341 <!-- ##### FUNCTION gtk_tree_model_sort_set_model ##### -->
3350 <!-- ##### FUNCTION gtk_tree_model_sort_set_sort_column ##### -->
3358 <!-- ##### FUNCTION gtk_tree_model_unref_iter ##### -->
3366 <!-- ##### FUNCTION gtk_tree_store_move ##### -->
3375 <!-- ##### FUNCTION gtk_tree_store_new_with_types ##### -->
3384 <!-- ##### FUNCTION gtk_tree_store_set_cell ##### -->
3394 <!-- ##### FUNCTION gtk_tree_store_set_column_type ##### -->
3404 <!-- ##### FUNCTION gtk_tree_store_set_n_columns ##### -->
3412 <!-- ##### FUNCTION gtk_tree_view_column_cell_event ##### -->
3425 <!-- ##### FUNCTION gtk_tree_view_column_set_cell_data ##### -->
3434 <!-- ##### FUNCTION gtk_tree_view_column_set_cell_renderer ##### -->
3442 <!-- ##### FUNCTION gtk_tree_view_column_set_width ##### -->
3451 <!-- ##### FUNCTION gtk_tree_view_set_rows_drag_dest ##### -->
3460 @location_droppable_func:
3463 <!-- ##### FUNCTION gtk_tree_view_set_rows_drag_source ##### -->
3473 @row_draggable_func:
3476 <!-- ##### FUNCTION gtk_type_check_class_cast ##### -->
3478 Given a GtkTypeClass pointer @klass, and a GtkType @cast_type, make
3479 sure that it's okay to cast something of that @klass into a @cast_type.
3482 @klass: GtkTypeClass*
3484 @Returns: Always return @klass.
3486 <!-- ##### FUNCTION gtk_type_check_object_cast ##### -->
3488 Given a pointer to a GtkTypeObject @type_object, and a GtkType @cast_type,
3489 make sure that it's okay to cast @type_object into a @cast_type.
3492 @type_object: GtkTypeObject*
3494 @Returns: the same GtkTypeObject* as @type_object
3496 <!-- ##### FUNCTION gtk_type_children_types ##### -->
3498 Return the pointer to the type's children's types.
3502 @Returns: pointer to a GList
3504 <!-- ##### FUNCTION gtk_type_describe_heritage ##### -->
3506 Print the types @type inherits from.
3511 <!-- ##### FUNCTION gtk_type_describe_tree ##### -->
3513 Given a @type, describe all of its children, and their children. Only
3514 show the size if @show_size is true.
3518 @show_size: gboolean
3520 <!-- ##### FUNCTION gtk_type_free ##### -->
3522 Given the type of an object and a pointer to it, the object is freed.
3526 @mem: gpointer to the object
3528 <!-- ##### FUNCTION gtk_type_get_varargs_type ##### -->
3530 Get the varargs type associated with @foreign_type
3533 @foreign_type: GtkType
3536 <!-- ##### FUNCTION gtk_type_parent_class ##### -->
3538 Return the class of the parent. Initialize the class if necessary.
3539 Return NULL if anything goes wrong.
3543 @Returns: gpointer to the klass.
3545 <!-- ##### FUNCTION gtk_type_query ##### -->
3547 Given a type, return various interesting parameters of the type.
3551 @Returns: GtkTypeQuery*
3553 <!-- ##### FUNCTION gtk_type_register_enum ##### -->
3555 Register a new set of enum @values and give them the name in
3559 @type_name: must not be null.
3560 @values: GtkEnumValue*
3563 <!-- ##### FUNCTION gtk_type_register_flags ##### -->
3565 Register a new set of flags @values and give them the name in
3569 @type_name: must not be null.
3570 @values: GtkFlagValue*
3573 <!-- ##### FUNCTION gtk_type_set_chunk_alloc ##### -->
3575 Set the mem_chunk size so it will hold @n_chunks of the objects of that @type.
3578 @type: There must be an unlocked TypeNode associated with this type otherwise nothing happens.
3581 <!-- ##### FUNCTION gtk_type_set_varargs_type ##### -->
3583 Set the varargs type for a fundamental type @foreign_type.
3586 @foreign_type: Must be a GtkType with a sequence number of zero. Must not be a
3588 @varargs_type: Must be a GtkType which is either structured or flag, or NONE.
3590 <!-- ##### FUNCTION gtk_widget_accelerator_signal ##### -->
3601 <!-- ##### FUNCTION gtk_widget_accelerators_locked ##### -->
3609 <!-- ##### FUNCTION gtk_widget_activate_mnemonic ##### -->
3618 <!-- ##### FUNCTION gtk_widget_get_usize ##### -->
3627 <!-- ##### FUNCTION gtk_widget_lock_accelerators ##### -->
3634 <!-- ##### FUNCTION gtk_widget_pop_style ##### -->
3640 <!-- ##### FUNCTION gtk_widget_popup ##### -->
3649 <!-- ##### FUNCTION gtk_widget_push_style ##### -->
3656 <!-- ##### FUNCTION gtk_widget_remove_accelerators ##### -->
3665 <!-- ##### FUNCTION gtk_widget_set_default_style ##### -->
3672 <!-- ##### FUNCTION gtk_widget_unlock_accelerators ##### -->
3679 <!-- ##### FUNCTION gtk_window_activate_mnemonic ##### -->
3689 <!-- ##### FUNCTION gtk_window_get_default_accel_group ##### -->
3697 <!-- ##### FUNCTION gtk_window_get_resizeable ##### -->
3705 <!-- ##### FUNCTION gtk_window_set_decorations_hint ##### -->
3713 <!-- ##### FUNCTION gtk_window_set_functions_hint ##### -->
3721 <!-- ##### FUNCTION gtk_window_set_resizeable ##### -->