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_TIPS_QUERY ##### -->
418 <!-- ##### MACRO GTK_TIPS_QUERY_CLASS ##### -->
425 <!-- ##### MACRO GTK_TIPS_QUERY_GET_CLASS ##### -->
432 <!-- ##### MACRO GTK_TREE_MODEL_GET_IFACE ##### -->
439 <!-- ##### MACRO GTK_TREE_SELECTION ##### -->
441 A macro that returns a GList that contains the selection of the root tree of @obj.
444 @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.
446 <!-- ##### MACRO GTK_TYPE_FLAT_FIRST ##### -->
448 The first "flat" (no struct) enumerated type value.
452 <!-- ##### MACRO GTK_TYPE_FLAT_LAST ##### -->
454 The last "flat" (no struct) enumerated type value.
458 <!-- ##### MACRO GTK_TYPE_IDENTIFIER ##### -->
460 Hide the name of gtk_identifier_get_type
464 <!-- ##### MACRO GTK_TYPE_MAKE ##### -->
466 Combine a fundemantal type and a sequence number to create a gtk type.
472 <!-- ##### MACRO GTK_TYPE_NUM_BUILTINS ##### -->
478 <!-- ##### MACRO GTK_TYPE_SEQNO ##### -->
480 Convert a gtk type into its sequence number
485 <!-- ##### MACRO GTK_TYPE_STRUCTURED_FIRST ##### -->
487 The first structured enumerated type value.
491 <!-- ##### MACRO GTK_TYPE_STRUCTURED_LAST ##### -->
493 The last structured enumerated type value.
497 <!-- ##### MACRO GTK_TYPE_TIPS_QUERY ##### -->
503 <!-- ##### MACRO GTK_TYPE_TREE_COLUMN ##### -->
509 <!-- ##### MACRO GTK_TYPE_TREE_VIEW_COLUMN ##### -->
515 <!-- ##### MACRO GTK_VALUE_ARGS ##### -->
517 Use to get the value of a GtkArg whose GtkType is GTK_TYPE_ARGS
522 <!-- ##### MACRO GTK_VALUE_CALLBACK ##### -->
524 Use to get the value of a GtkArg whose GtkType is GTK_TYPE_CALLBACK
529 <!-- ##### MACRO GTK_VALUE_C_CALLBACK ##### -->
531 Use to get the value of a GtkArg whose GtkType is GTK_TYPE_C_CALLBACK
536 <!-- ##### MACRO GTK_VALUE_FOREIGN ##### -->
538 Use to get the value of a GtkArg whose GtkType is GTK_TYPE_C_FOREIGN
543 <!-- ##### USER_FUNCTION GValueCompareFunc ##### -->
552 <!-- ##### ARG GtkAboutDialog:link-color ##### -->
558 <!-- ##### ARG GtkAboutDialog:name ##### -->
564 <!-- ##### STRUCT GtkAccelEntry ##### -->
566 This is a private struct used by GTK+ internally, don't worry about it.
576 <!-- ##### ARG GtkAccelLabel:accel-object ##### -->
582 <!-- ##### ARG GtkAccelLabel:accel-width ##### -->
588 <!-- ##### USER_FUNCTION GtkAccelMapNotify ##### -->
601 <!-- ##### SIGNAL GtkAction::connect-proxy ##### -->
606 @action: the object which received the signal.
609 <!-- ##### SIGNAL GtkAction::disconnect-proxy ##### -->
614 @action: the object which received the signal.
617 <!-- ##### USER_FUNCTION GtkArgGetFunc ##### -->
619 Define a function pointer. Deprecated.
626 <!-- ##### STRUCT GtkArgInfo ##### -->
628 A structure containing information about the argument.
629 Returned by gtk_arg_get_info().
632 @class_type: if the argument is an object, this is the object class type.
633 @name: the name of the argument.
634 @type: the type of the argument; it may be an object's type
635 or a fundamental type.
636 @arg_flags: flags applicable to the argument (i.e. readable, writable,
637 and whether it needs to be constructed).
638 @full_name: the object name and argument name separated by ::,
639 e.g. "GtkObject::user_data" or "GtkButton::label".
640 @arg_id: the unique argument identified.
643 <!-- ##### USER_FUNCTION GtkArgSetFunc ##### -->
645 Define a function pointer. Deprecated.
652 <!-- ##### STRUCT GtkBuilderClass ##### -->
657 @get_type_from_name: Looks up a type by name. The default
658 implementation applies heuristics to map type names to
659 <function>_get_type</function> function names, e.g.
660 GtkHBox to gtk_hbox_get_type(). This virtual function
661 is provided to allow language bindings to intercept the
662 type resolution process.
664 <!-- ##### STRUCT GtkCellRendererTextPixbuf ##### -->
671 <!-- ##### ARG GtkCellView:use-fg ##### -->
677 <!-- ##### ARG GtkColorSelection:previous-alpha ##### -->
683 <!-- ##### ARG GtkColorSelection:previous-color ##### -->
689 <!-- ##### SIGNAL GtkComboBox::popup-hide ##### -->
694 @combobox: the object which received the signal.
696 <!-- ##### SIGNAL GtkComboBox::popup-show ##### -->
701 @combobox: the object which received the signal.
703 <!-- ##### ARG GtkComboBox:appearance ##### -->
709 <!-- ##### ARG GtkComboBox:row-separator-column ##### -->
715 <!-- ##### SIGNAL GtkContainer::focus ##### -->
720 @container: the object which received the signal.
724 <!-- ##### ARG GtkContainer:reallocate-redraws ##### -->
730 <!-- ##### STRUCT GtkData ##### -->
732 The #GtkData-struct struct contains no public fields.
736 <!-- ##### SIGNAL GtkData::disconnect ##### -->
738 Emitted to notify any views on the #GtkData object to disconnect from it,
739 possibly because the #GtkData object is about to be destroyed.
742 @data: the object which received the signal.
744 <!-- ##### SIGNAL GtkEditable::activate ##### -->
746 Indicates that the user has activated the widget
747 in some fashion. Generally, this will be done
748 with a keystroke. (The default binding for this
749 action is Return for #GtkEntry and
750 Control-Return for #GtkText.)
753 @editable: the object which received the signal.
755 <!-- ##### SIGNAL GtkEditable::copy-clipboard ##### -->
757 An action signal. Causes the characters in the current selection to
758 be copied to the clipboard.
761 @editable: the object which received the signal.
763 <!-- ##### SIGNAL GtkEditable::cut-clipboard ##### -->
765 An action signal. Causes the characters in the current
766 selection to be copied to the clipboard and then deleted from
770 @editable: the object which received the signal.
772 <!-- ##### SIGNAL GtkEditable::kill-char ##### -->
774 An action signal. Delete a single character.
777 @editable: the object which received the signal.
778 @direction: the direction in which to delete. Positive
779 indicates forward deletion, negative, backwards deletion.
781 <!-- ##### SIGNAL GtkEditable::kill-line ##### -->
783 An action signal. Delete a single line.
786 @editable: the object which received the signal.
787 @direction: the direction in which to delete. Positive
788 indicates forward deletion, negative, backwards deletion.
790 <!-- ##### SIGNAL GtkEditable::kill-word ##### -->
792 An action signal. Delete a single word.
795 @editable: the object which received the signal.
796 @direction: the direction in which to delete. Positive
797 indicates forward deletion, negative, backwards deletion.
799 <!-- ##### SIGNAL GtkEditable::move-cursor ##### -->
801 An action signal. Move the cursor position.
804 @editable: the object which received the signal.
805 @x: horizontal distance to move the cursor.
806 @y: vertical distance to move the cursor.
808 <!-- ##### SIGNAL GtkEditable::move-page ##### -->
810 An action signal. Move the cursor by pages.
813 @editable: the object which received the signal.
814 @x: Number of pages to move the cursor horizontally.
815 @y: Number of pages to move the cursor vertically.
817 <!-- ##### SIGNAL GtkEditable::move-to-column ##### -->
819 An action signal. Move the cursor to the given column.
822 @editable: the object which received the signal.
823 @column: the column to move to. (A negative value indicates
826 <!-- ##### SIGNAL GtkEditable::move-to-row ##### -->
828 An action signal. Move the cursor to the given row.
831 @editable: the object which received the signal.
832 @row: the row to move to. (A negative value indicates
835 <!-- ##### SIGNAL GtkEditable::move-word ##### -->
837 An action signal. Move the cursor by words.
840 @editable: the object which received the signal.
841 @num_words: The number of words to move the
842 cursor. (Can be negative).
844 <!-- ##### SIGNAL GtkEditable::paste-clipboard ##### -->
846 An action signal. Causes the contents of the clipboard to
847 be pasted into the editable widget at the current cursor
851 @editable: the object which received the signal.
853 <!-- ##### SIGNAL GtkEditable::set-editable ##### -->
855 Determines if the user can edit the text in the editable
856 widget or not. This is meant to be overriden by
857 child classes and should not generally useful to
861 @editable: the object which received the signal.
862 @is_editable: %TRUE if the user is allowed to edit the text
865 <!-- ##### ARG GtkEditable:editable ##### -->
867 A boolean indicating whether the widget is editable by
872 <!-- ##### ARG GtkEditable:text-position ##### -->
874 The position of the cursor.
878 <!-- ##### USER_FUNCTION GtkEmissionHook ##### -->
880 A simple function pointer to get invoked when the
881 signal is emitted. This allows you tie a hook to the signal type,
882 so that it will trap all emissions of that signal, from any object.
885 You may not attach these to signals created with the
886 #GTK_RUN_NO_HOOKS flag.
896 <!-- ##### SIGNAL GtkEntry::changed ##### -->
901 @entry: the object which received the signal.
903 <!-- ##### SIGNAL GtkEntry::delete-text ##### -->
908 @entry: the object which received the signal.
912 <!-- ##### SIGNAL GtkEntry::icon-pressed ##### -->
917 @entry: the object which received the signal.
921 <!-- ##### SIGNAL GtkEntry::icon-released ##### -->
926 @entry: the object which received the signal.
930 <!-- ##### SIGNAL GtkEntry::insert-text ##### -->
935 @entry: the object which received the signal.
940 <!-- ##### ARG GtkEntry:activatable-primary ##### -->
946 <!-- ##### ARG GtkEntry:activatable-secondary ##### -->
952 <!-- ##### ARG GtkEntry:gicon-primary ##### -->
958 <!-- ##### ARG GtkEntry:gicon-secondary ##### -->
964 <!-- ##### ARG GtkEntry:icon-name-primary ##### -->
970 <!-- ##### ARG GtkEntry:icon-name-secondary ##### -->
976 <!-- ##### ARG GtkEntry:pixbuf-primary ##### -->
982 <!-- ##### ARG GtkEntry:pixbuf-secondary ##### -->
988 <!-- ##### ARG GtkEntry:prelight ##### -->
994 <!-- ##### ARG GtkEntry:sensitive-primary ##### -->
1000 <!-- ##### ARG GtkEntry:sensitive-secondary ##### -->
1006 <!-- ##### ARG GtkEntry:stock-primary ##### -->
1012 <!-- ##### ARG GtkEntry:stock-secondary ##### -->
1018 <!-- ##### ARG GtkEntry:storage-type-primary ##### -->
1024 <!-- ##### ARG GtkEntry:storage-type-secondary ##### -->
1030 <!-- ##### ARG GtkEntry:text-position ##### -->
1036 <!-- ##### ARG GtkFileChooser:file-system ##### -->
1042 <!-- ##### STRUCT GtkFixedChild ##### -->
1044 The #GtkFixedChild-struct struct contains the following fields.
1045 (These fields should be considered read-only. They should never be set by
1048 <informaltable pgwide="1" frame="none" role="struct">
1049 <tgroup cols="2"><colspec colwidth="2*"/><colspec colwidth="8*"/>
1053 <entry>#GtkWidget *widget;</entry>
1054 <entry>the child #GtkWidget.</entry>
1058 <entry>#gint x;</entry>
1059 <entry>the horizontal position of the widget within the #GtkFixed
1064 <entry>#gint y;</entry>
1065 <entry>the vertical position of the widget within the #GtkFixed
1069 </tbody></tgroup></informaltable>
1076 <!-- ##### ENUM GtkFontFilterType ##### -->
1078 A set of bit flags used to specify the filter being set
1079 when calling gtk_font_selection_dialog_set_filter() or
1080 gtk_font_selection_set_filter().
1083 @GTK_FONT_FILTER_BASE: the base filter, which can't be changed by the user.
1084 @GTK_FONT_FILTER_USER: the user filter, which can be changed from within the
1085 'Filter' page of the #GtkFontSelection widget.
1087 <!-- ##### ENUM GtkFontType ##### -->
1089 A set of bit flags used to specify the type of fonts shown
1090 when calling gtk_font_selection_dialog_set_filter() or
1091 gtk_font_selection_set_filter().
1094 @GTK_FONT_BITMAP: bitmap fonts.
1095 @GTK_FONT_SCALABLE: scalable fonts.
1096 @GTK_FONT_SCALABLE_BITMAP: scaled bitmap fonts.
1097 @GTK_FONT_ALL: a bitwise combination of all of the above.
1099 <!-- ##### ARG GtkHScale:adjustment ##### -->
1101 the #GtkAdjustment which sets the range of the scale.
1105 <!-- ##### ARG GtkHScrollbar:adjustment ##### -->
1111 <!-- ##### STRUCT GtkIconViewPrivate ##### -->
1117 <!-- ##### USER_FUNCTION GtkImageLoader ##### -->
1119 A GtkImageLoader is used to load a filename found in
1123 @window: the window for creating image
1124 @colormap: the colormap for this image
1125 @mask: a pointer to the location to store the mask
1126 @transparent_color: the transparent color for the image
1127 @filename: filename to load
1128 @Returns: a #GtkPixmap representing @filename
1130 <!-- ##### STRUCT GtkImageMenuItemClass ##### -->
1136 <!-- ##### ARG GtkLabel:accel-keyval ##### -->
1142 <!-- ##### SIGNAL GtkMenuBar::cycle-focus ##### -->
1147 @menubar: the object which received the signal.
1150 <!-- ##### SIGNAL GtkNotebook::tab-added ##### -->
1155 @notebook: the object which received the signal.
1159 <!-- ##### SIGNAL GtkNotebook::tab-removed ##### -->
1164 @notebook: the object which received the signal.
1168 <!-- ##### SIGNAL GtkNotebook::tab-reordered ##### -->
1173 @notebook: the object which received the signal.
1177 <!-- ##### ARG GtkObject:object-signal ##### -->
1179 Setting this with a GtkType of GTK_TYPE_SIGNAL connects
1180 the signal to the object, so that the user data and objects
1181 and swapped when the signal handler is invoked.
1184 This is useful for handlers that are primarily notifying
1185 other objects and could just invoke an already existing function
1186 if the parameters were swapped.
1187 See gtk_signal_connect_object() for more details.
1191 <!-- ##### ARG GtkObject:object-signal-after ##### -->
1193 Setting this with a GtkType of GTK_TYPE_SIGNAL connects
1194 the signal to the object, so that the user data and objects
1195 and swapped when the signal handler is invoked,
1196 and so that the handler is invoked after all others.
1199 See gtk_signal_connect_object_after() for more details.
1203 <!-- ##### ARG GtkObject:signal ##### -->
1205 Setting this with a GtkType of GTK_TYPE_SIGNAL connects
1206 the signal to the object.
1210 <!-- ##### ARG GtkObject:signal-after ##### -->
1212 Setting this with a GtkType of GTK_TYPE_SIGNAL connects
1213 the signal to the object, so that the signal is always run
1214 after other user handlers and the default handler.
1218 <!-- ##### SIGNAL GtkOldEditable::changed ##### -->
1223 @oldeditable: the object which received the signal.
1225 <!-- ##### SIGNAL GtkOldEditable::delete-text ##### -->
1230 @oldeditable: the object which received the signal.
1234 <!-- ##### SIGNAL GtkOldEditable::insert-text ##### -->
1239 @oldeditable: the object which received the signal.
1244 <!-- ##### STRUCT GtkPacker ##### -->
1252 @default_border_width:
1258 <!-- ##### ARG GtkPacker:default-border-width ##### -->
1264 <!-- ##### ARG GtkPacker:default-ipad-x ##### -->
1270 <!-- ##### ARG GtkPacker:default-ipad-y ##### -->
1276 <!-- ##### ARG GtkPacker:default-pad-x ##### -->
1282 <!-- ##### ARG GtkPacker:default-pad-y ##### -->
1288 <!-- ##### ARG GtkPacker:spacing ##### -->
1294 <!-- ##### STRUCT GtkPackerChild ##### -->
1310 <!-- ##### ENUM GtkPackerOptions ##### -->
1319 <!-- ##### STRUCT GtkPatternSpec ##### -->
1331 <!-- ##### ARG GtkPrintOperation:number-of-pages ##### -->
1337 <!-- ##### ENUM GtkPrivateFlags ##### -->
1342 @PRIVATE_GTK_USER_STYLE:
1343 @PRIVATE_GTK_RESIZE_PENDING:
1344 @PRIVATE_GTK_RESIZE_NEEDED:
1345 @PRIVATE_GTK_LEAVE_PENDING:
1346 @PRIVATE_GTK_HAS_SHAPE_MASK:
1347 @PRIVATE_GTK_IN_REPARENT:
1348 @PRIVATE_GTK_DIRECTION_SET:
1349 @PRIVATE_GTK_DIRECTION_LTR:
1351 <!-- ##### STRUCT GtkRcStyleClass ##### -->
1357 <!-- ##### ARG GtkScaleButton:orientation ##### -->
1363 <!-- ##### ARG GtkScrolledWindow:shadow ##### -->
1369 <!-- ##### ARG GtkSettings:gtk-menu-bar-popout-delay ##### -->
1375 <!-- ##### ARG GtkSettings:gtk-menu-popout-delay ##### -->
1381 <!-- ##### ARG GtkSettings:gtk-menu-submenu-hysteresis ##### -->
1387 <!-- ##### STRUCT GtkSettingsClass ##### -->
1393 <!-- ##### USER_FUNCTION GtkSignalDestroy ##### -->
1395 A function which you can use to clean up when the
1396 signal handler is destroyed.
1399 For example, if your handler requires a few variables
1400 that you made into a struct and allocated (using g_new()
1401 or something), then you will probably want to free
1402 it as soon as the hook is destroyed. This will
1403 allow you to do that. (For this in particular
1404 it is convenient to pass g_free() as a #GtkSignalDestroy
1408 @data: The user data associated with the hook that is being
1411 <!-- ##### USER_FUNCTION GtkSignalMarshal ##### -->
1413 This is currently a hack left in for a scheme wrapper library.
1420 @object: The object which emits the signal.
1421 @data: The user data associated with the hook.
1422 @nparams: The number of parameters to the function.
1423 @args: The actual values of the arguments.
1424 @arg_types: The types of the arguments.
1425 @return_type: The type of the return value from the function
1426 or #GTK_TYPE_NONE for no return value.
1428 <!-- ##### STRUCT GtkSignalQuery ##### -->
1430 This structure contains all the information about a particular
1431 signal: its name, the type it affects, the signature of the handlers,
1432 and its unique identifying integer.
1444 <!-- ##### STRUCT GtkStatusbarMsg ##### -->
1446 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.
1453 <!-- ##### STRUCT GtkStyleClass ##### -->
1500 <!-- ##### STRUCT GtkTableChild ##### -->
1502 The <structfield>widget</structfield> field is a pointer to the widget that
1503 this %GtkTableChild structure is keeping track of.
1504 The <structfield>left_attach</structfield>,
1505 <structfield>right_attach</structfield>,
1506 <structfield>top_attach</structfield>, and
1507 <structfield>bottom_attach</structfield> fields specify the row and column
1508 numbers which make up the invisible rectangle that the child widget is packed into.
1511 <structfield>xpadding</structfield> and <structfield>ypadding</structfield>
1512 specify the space between this widget and the surrounding table cells.
1529 <!-- ##### STRUCT GtkTableRowCol ##### -->
1531 These fields should be considered read-only and not be modified directly.
1543 <!-- ##### STRUCT GtkTextBTreeNode ##### -->
1549 <!-- ##### STRUCT GtkTextChildAnchorClass ##### -->
1555 <!-- ##### ARG GtkTextTag:justify ##### -->
1557 A #GtkJustification for the text. This is only used when the tag is
1558 applied to the first character in a paragraph.
1562 <!-- ##### ARG GtkTextTag:left-wrapped-line-margin ##### -->
1564 Pixel width of the left margin of the text for lines after the first
1565 line in a wrapped paragraph.
1569 <!-- ##### ARG GtkTextTag:left-wrapped-line-margin-set ##### -->
1575 <!-- ##### ARG GtkTextTag:offset ##### -->
1577 Pixels to offset the text horizontally or vertically, useful to
1578 produce superscript and subscript.
1582 <!-- ##### SIGNAL GtkTextView::move-focus ##### -->
1587 @textview: the object which received the signal.
1590 <!-- ##### ARG GtkTextView:height-lines ##### -->
1596 <!-- ##### ARG GtkTextView:justify ##### -->
1602 <!-- ##### ARG GtkTextView:width-columns ##### -->
1608 <!-- ##### ARG GtkToolButton:show-label-horizontally ##### -->
1614 <!-- ##### SIGNAL GtkToolbar::move-focus ##### -->
1619 @toolbar: the object which received the signal.
1623 <!-- ##### ARG GtkToolbar:orientation ##### -->
1629 <!-- ##### ARG GtkToolbar:pack-end ##### -->
1635 <!-- ##### STRUCT GtkTreeSelectionClass ##### -->
1641 <!-- ##### ENUM GtkTreeSelectionMode ##### -->
1646 @GTK_TREE_SELECTION_SINGLE:
1647 @GTK_TREE_SELECTION_MULTI:
1649 <!-- ##### SIGNAL GtkTreeView::focus-column-header ##### -->
1654 @treeview: the object which received the signal.
1656 <!-- ##### USER_FUNCTION GtkTreeViewDraggableFunc ##### -->
1667 <!-- ##### USER_FUNCTION GtkTreeViewDroppableFunc ##### -->
1679 <!-- ##### SIGNAL GtkUIManager::changed ##### -->
1684 @uimanager: the object which received the signal.
1686 <!-- ##### ARG GtkVScale:adjustment ##### -->
1688 the #GtkAdjustment which sets the range of the scale.
1692 <!-- ##### ARG GtkVScrollbar:adjustment ##### -->
1698 <!-- ##### SIGNAL GtkWidget::activate-mnemonic ##### -->
1703 @widget: the object which received the signal.
1707 <!-- ##### SIGNAL GtkWidget::add-accelerator ##### -->
1712 @widget: the object which received the signal.
1719 <!-- ##### SIGNAL GtkWidget::debug-msg ##### -->
1724 @widget: the object which received the signal.
1727 <!-- ##### SIGNAL GtkWidget::draw ##### -->
1732 @widget: the object which received the signal.
1735 <!-- ##### SIGNAL GtkWidget::draw-default ##### -->
1740 @widget: the object which received the signal.
1742 <!-- ##### SIGNAL GtkWidget::draw-focus ##### -->
1747 @widget: the object which received the signal.
1749 <!-- ##### SIGNAL GtkWidget::remove-accelerator ##### -->
1754 @widget: the object which received the signal.
1759 <!-- ##### ARG GtkWidget:height ##### -->
1765 <!-- ##### ARG GtkWidget:width ##### -->
1771 <!-- ##### ARG GtkWidget:x ##### -->
1777 <!-- ##### ARG GtkWidget:y ##### -->
1783 <!-- ##### SIGNAL GtkWindow::accels-changed ##### -->
1788 @window: the object which received the signal.
1790 <!-- ##### SIGNAL GtkWindow::move-focus ##### -->
1795 @window: the object which received the signal.
1798 <!-- ##### ARG GtkWindow:auto-shrink ##### -->
1800 If the window shrinks automatically when widgets within it shrink.
1804 <!-- ##### ARG GtkWindow:icon-list ##### -->
1810 <!-- ##### FUNCTION gtk_accel_group_add ##### -->
1823 <!-- ##### FUNCTION gtk_accel_group_attach ##### -->
1831 <!-- ##### FUNCTION gtk_accel_group_create_add ##### -->
1841 <!-- ##### FUNCTION gtk_accel_group_create_remove ##### -->
1851 <!-- ##### FUNCTION gtk_accel_group_detach ##### -->
1859 <!-- ##### FUNCTION gtk_accel_group_entries_from_object ##### -->
1867 <!-- ##### FUNCTION gtk_accel_group_get_default ##### -->
1874 <!-- ##### FUNCTION gtk_accel_group_get_entry ##### -->
1884 <!-- ##### FUNCTION gtk_accel_group_get_type ##### -->
1891 <!-- ##### FUNCTION gtk_accel_group_handle_add ##### -->
1903 <!-- ##### FUNCTION gtk_accel_group_handle_remove ##### -->
1913 <!-- ##### FUNCTION gtk_accel_group_lock_entry ##### -->
1922 <!-- ##### FUNCTION gtk_accel_group_remove ##### -->
1932 <!-- ##### FUNCTION gtk_accel_group_unlock_entry ##### -->
1941 <!-- ##### FUNCTION gtk_accel_label_get_accel_object ##### -->
1949 <!-- ##### FUNCTION gtk_accel_label_set_accel_object ##### -->
1957 <!-- ##### FUNCTION gtk_accel_map_add_notifer ##### -->
1967 <!-- ##### FUNCTION gtk_accel_map_remove_notifer ##### -->
1976 <!-- ##### FUNCTION gtk_arg_copy ##### -->
1978 It will either copy data into an existing argument or allocate a new argument
1979 and copy the data. Strings are duplicated. All other pointers and
1980 values are copied (shallowly-- that is the pointers themselves are
1981 copied, not the data they point to.)
1984 You should call gtk_arg_reset() on dest_arg before calling this
1985 if the argument may contain string data that you want freed.
1988 @src_arg: the argument to duplicate.
1989 @dest_arg: the argument to copy over (or NULL to create a new #GtkArg).
1990 @Returns: the new #GtkArg (or dest_arg, if it was not NULL).
1992 <!-- ##### FUNCTION gtk_arg_free ##### -->
1994 Frees the argument, and optionally its contents.
1997 @arg: the argument to free.
1998 @free_contents: whether to free the string, if it is a string.
2000 <!-- ##### FUNCTION gtk_arg_get_info ##### -->
2002 Private: get information about an argument.
2005 @object_type: the type of object.
2006 @arg_info_hash_table: the hashtable of #GtkArgInfos.
2007 @arg_name: the name of the argument to lookup.
2008 @info_p: the argument info.
2009 @Returns: an error message on failure, or NULL otherwise.
2011 <!-- ##### FUNCTION gtk_arg_info_equal ##### -->
2013 A #GCompareFunc for hashing #GtkArgInfos.
2016 @arg_info_1: a #GtkArgInfo.
2017 @arg_info_2: a #GtkArgInfo.
2018 @Returns: whether the arguments are the same.
2020 <!-- ##### FUNCTION gtk_arg_info_hash ##### -->
2022 A #GHashFunc for hashing #GtkArgInfos.
2025 @arg_info: a #GtkArgInfo.
2026 @Returns: a hash value for that #GtkArgInfo.
2028 <!-- ##### FUNCTION gtk_arg_name_strip_type ##### -->
2030 Given a fully qualified argument name (e.g. "GtkButton::label")
2031 it returns just the argument name (e.g. "label") unless
2032 the argument name was invalid, in which case it returns NULL.
2035 @arg_name: the fully-qualified argument name.
2036 @Returns: the base argument name.
2038 <!-- ##### FUNCTION gtk_arg_new ##### -->
2040 Creates a new argument of a certain type, set to 0 or NULL.
2043 @arg_type: the type of the argument.
2044 @Returns: the newly created #GtkArg.
2046 <!-- ##### FUNCTION gtk_arg_reset ##### -->
2053 <!-- ##### FUNCTION gtk_arg_to_valueloc ##### -->
2061 <!-- ##### FUNCTION gtk_arg_type_new_static ##### -->
2063 Create a new argument registered with a class.
2066 @base_class_type: the basic type having the arguments, almost alway
2067 GTK_TYPE_OBJECT, except if your defining a different type argument
2068 that gets a different namespace. #GtkContainer does this to define
2069 per-child arguments of the container.
2070 @arg_name: name of the argument to create. (must be a static constant string)
2071 @class_n_args_offset: offset into the base class structure that tells
2072 the number of arguments.
2073 @arg_info_hash_table: hashtable of #GtkArgInfos.
2074 @arg_type: type of the argument.
2075 @arg_flags: flags of the argument.
2077 @Returns: the new #GtkArgInfo.
2079 <!-- ##### FUNCTION gtk_arg_values_equal ##### -->
2088 <!-- ##### FUNCTION gtk_args_collect ##### -->
2090 Private: given a hashtable of argument information it takes a vararg
2091 list and parses it into arguments (in the form of lists of #GtkArgs
2092 and lists of #GtkArgInfos.
2095 The list of arguments starts with first_arg_name then the first argument's
2096 value. Followed by any number of additional name/argument pairs,
2097 terminated with NULL.
2100 @object_type: the type of object we are collecting arguments for.
2101 @arg_info_hash_table: a hashtable mapping from names of arguments
2102 to their #GtkArgInfos.
2103 @arg_list_p: a returned list of arguments obtained from parsing the
2105 @info_list_p: a returned list of the #GtkArgInfos.
2106 @first_arg_name: the name of the first argument.
2107 @var_args: a va_list containing the value of the first argument,
2108 followed by name/value pairs, followed by NULL.
2109 @Returns: an error message on failure, or NULL otherwise.
2111 <!-- ##### FUNCTION gtk_args_collect_cleanup ##### -->
2113 Private: erase lists of arguments returned from gtk_args_collect().
2116 @arg_list: arg_list_p returned from gtk_args_collect().
2117 @info_list: info_list_p returned from gtk_args_collect().
2119 <!-- ##### FUNCTION gtk_args_query ##### -->
2121 Private: from a class type and its arginfo hashtable,
2122 get an array of #GtkArgs that this object accepts.
2125 @class_type: the class type.
2126 @arg_info_hash_table: the hashtable of #GtkArgInfos.
2127 @arg_flags: returned array of argument flags.
2128 @n_args_p: the number of arguments this object accepts.
2129 @Returns: the array of arguments (or NULL on error).
2131 <!-- ##### FUNCTION gtk_button_box_child_requisition ##### -->
2133 This is an internally used function and should never be called from an
\r
2142 <!-- ##### FUNCTION gtk_button_box_get_child_ipadding_default ##### -->
2144 The internal padding of a button is the amount of space between the outside
\r
2145 of the button and the widget it contains. This function gets the default
\r
2146 amount of horizontal and vertical padding, placing the results in @ipad_x
\r
2147 and @ipad_y, respectively.
\r
2150 @ipad_x: the default horizontal internal button padding.
2151 @ipad_y: the default vertical internal button padding.
2153 <!-- ##### FUNCTION gtk_button_box_get_child_size_default ##### -->
2155 Retrieves the default minimum width and height for all button boxes, and
\r
2156 places the values in @min_width and @min_height, respectively.
\r
2159 @min_width: the default minimum width of a child widget.
2160 @min_height: the default minimum height of a child widget.
2162 <!-- ##### FUNCTION gtk_button_box_set_child_ipadding_default ##### -->
2164 Sets the default number of pixels that pad each button in every button box.
\r
2167 @ipad_x: new default horizontal padding.
2168 @ipad_y: new default vertical padding.
2170 <!-- ##### FUNCTION gtk_button_box_set_child_size_default ##### -->
2172 Sets the default size of child buttons.
\r
2175 @min_width: minimum default width for child buttons.
2176 @min_height: minimum default height for child buttons.
2178 <!-- ##### FUNCTION gtk_button_new_accel ##### -->
2187 <!-- ##### FUNCTION gtk_button_new_stock ##### -->
2196 <!-- ##### FUNCTION gtk_cell_renderer_event ##### -->
2210 <!-- ##### FUNCTION gtk_cell_renderer_text_pixbuf_new ##### -->
2217 <!-- ##### FUNCTION gtk_cell_view_get_use_fg ##### -->
2225 <!-- ##### FUNCTION gtk_cell_view_set_cell_data ##### -->
2233 <!-- ##### FUNCTION gtk_cell_view_set_use_fg ##### -->
2241 <!-- ##### FUNCTION gtk_clist_construct ##### -->
2243 Initializes a previously allocated #GtkCList widget for use. This should not
2244 normally be used to create a #GtkCList widget. Use gtk_clist_new() instead.
2247 @clist: A pointer to an uninitialized #GtkCList widget.
2248 @columns: The number of columns the #GtkCList should have.
2249 @titles: An array of strings that should be used as the titles i
2250 of the columns. There should be enough strings in the array for
2251 the number of columns specified.
2253 <!-- ##### FUNCTION gtk_color_selection_get_old_color ##### -->
2261 <!-- ##### FUNCTION gtk_color_selection_get_use_opacity ##### -->
2269 <!-- ##### FUNCTION gtk_color_selection_get_use_palette ##### -->
2277 <!-- ##### FUNCTION gtk_color_selection_set_old_color ##### -->
2285 <!-- ##### FUNCTION gtk_color_selection_set_opacity ##### -->
2287 Controls whether opacity can be set with the #GtkColorSelection.
2288 If this functionality is enabled, the necessary additional widgets
2289 are added to the #GtkColorSelection and the opacity value can be
2290 retrieved via the fourth value in the color array returned by
2291 the gtk_color_selection_get_color() function.
2294 @colorsel: a #GtkColorSelection.
2295 @use_opacity: a boolean indicating whether the opacity selection
2298 <!-- ##### FUNCTION gtk_color_selection_set_use_opacity ##### -->
2306 <!-- ##### FUNCTION gtk_color_selection_set_use_palette ##### -->
2314 <!-- ##### FUNCTION gtk_combo_box_get_row_separator_column ##### -->
2322 <!-- ##### FUNCTION gtk_combo_box_set_row_separator_column ##### -->
2330 <!-- ##### FUNCTION gtk_container_add_child_arg_type ##### -->
2340 <!-- ##### FUNCTION gtk_container_add_with_args ##### -->
2350 <!-- ##### FUNCTION gtk_container_addv ##### -->
2360 <!-- ##### FUNCTION gtk_container_arg_get ##### -->
2370 <!-- ##### FUNCTION gtk_container_arg_set ##### -->
2380 <!-- ##### FUNCTION gtk_container_child_arg_get_info ##### -->
2390 <!-- ##### FUNCTION gtk_container_child_args_collect ##### -->
2402 <!-- ##### FUNCTION gtk_container_child_getv ##### -->
2412 <!-- ##### FUNCTION gtk_container_child_setv ##### -->
2422 <!-- ##### FUNCTION gtk_container_dequeue_resize_handler ##### -->
2429 <!-- ##### FUNCTION gtk_container_focus ##### -->
2438 <!-- ##### FUNCTION gtk_container_query_child_args ##### -->
2448 <!-- ##### FUNCTION gtk_ctree_construct ##### -->
2450 This function is not usually used by users.
2458 <!-- ##### FUNCTION gtk_decorated_window_calculate_frame_size ##### -->
2465 <!-- ##### FUNCTION gtk_decorated_window_init ##### -->
2472 <!-- ##### FUNCTION gtk_decorated_window_move_resize_window ##### -->
2483 <!-- ##### FUNCTION gtk_decorated_window_set_title ##### -->
2491 <!-- ##### FUNCTION gtk_drag_dest_handle_event ##### -->
2499 <!-- ##### FUNCTION gtk_drag_source_handle_event ##### -->
2507 <!-- ##### FUNCTION gtk_editable_changed ##### -->
2509 Causes the "changed" signal to be emitted.
2512 @editable: a #GtkEditable widget.
2514 <!-- ##### FUNCTION gtk_editable_claim_selection ##### -->
2516 Claim or disclaim ownership of the PRIMARY X selection.
2519 @editable: a #GtkEditable widget.
2520 @claim: if %TRUE, claim the selection, otherwise, disclaim it.
2521 @time: the timestamp for claiming the selection.
2523 <!-- ##### FUNCTION gtk_entry_get_gicon ##### -->
2532 <!-- ##### FUNCTION gtk_entry_get_pixbuf ##### -->
2541 <!-- ##### FUNCTION gtk_entry_get_stock ##### -->
2550 <!-- ##### FUNCTION gtk_entry_get_storage_type ##### -->
2559 <!-- ##### FUNCTION gtk_file_chooser_error_quark ##### -->
2566 <!-- ##### FUNCTION gtk_file_chooser_get_folder_mode ##### -->
2574 <!-- ##### FUNCTION gtk_file_chooser_set_folder_mode ##### -->
2582 <!-- ##### FUNCTION gtk_font_selection_dialog_set_filter ##### -->
2584 Sets one of the two font filters, to limit the fonts shown.
2587 @fsd: a #GtkFontSelectionDialog.
2588 @filter_type: which of the two font filters to set, either
2589 #GTK_FONT_FILTER_BASE or #GTK_FONT_FILTER_USER. The user filter
2590 can be changed by the user, but the base filter is permanent.
2591 @font_type: the types of font to be shown. This is a bitwise combination of
2592 #GTK_FONT_BITMAP, #GTK_FONT_SCALABLE and #GTK_FONT_SCALABLE_BITMAP,
2593 or #GTK_FONT_ALL to show all three font types.
2594 @foundries: a NULL-terminated array of strings containing foundry names which
2595 will be shown, or NULL to show all foundries.
2596 @weights: a NULL-terminated array of strings containing weight names which
2597 will be shown, or NULL to show all weights.
2598 @slants: a NULL-terminated array of strings containing slant names which
2599 will be shown, or NULL to show all slants.
2600 @setwidths: a NULL-terminated array of strings containing setwidth names which
2601 will be shown, or NULL to show all setwidths.
2602 @spacings: a NULL-terminated array of strings containing spacings which
2603 will be shown, or NULL to show all spacings.
2604 @charsets: a NULL-terminated array of strings containing charset names which
2605 will be shown, or NULL to show all charsets.
2607 <!-- ##### FUNCTION gtk_font_selection_get_face_entry ##### -->
2615 <!-- ##### FUNCTION gtk_font_selection_get_family_entry ##### -->
2623 <!-- ##### FUNCTION gtk_font_selection_set_filter ##### -->
2625 Sets one of the two font filters, to limit the fonts shown.
2628 @fontsel: a #GtkFontSelection.
2629 @filter_type: which of the two font filters to set, either
2630 #GTK_FONT_FILTER_BASE or #GTK_FONT_FILTER_USER. The user filter
2631 can be changed by the user, but the base filter is permanent.
2632 @font_type: the types of font to be shown. This is a bitwise combination of
2633 #GTK_FONT_BITMAP, #GTK_FONT_SCALABLE and #GTK_FONT_SCALABLE_BITMAP,
2634 or #GTK_FONT_ALL to show all three font types.
2635 @foundries: a NULL-terminated array of strings containing foundry names which
2636 will be shown, or NULL to show all foundries.
2637 @weights: a NULL-terminated array of strings containing weight names which
2638 will be shown, or NULL to show all weights.
2639 @slants: a NULL-terminated array of strings containing slant names which
2640 will be shown, or NULL to show all slants.
2641 @setwidths: a NULL-terminated array of strings containing setwidth names which
2642 will be shown, or NULL to show all setwidths.
2643 @spacings: a NULL-terminated array of strings containing spacings which
2644 will be shown, or NULL to show all spacings.
2645 @charsets: a NULL-terminated array of strings containing charset names which
2646 will be shown, or NULL to show all charsets.
2648 <!-- ##### FUNCTION gtk_icon_view_get_type ##### -->
2655 <!-- ##### FUNCTION gtk_identifier_get_type ##### -->
2657 Get the type of GtkIdentifier.
2660 @Returns: GtkType -- the enumerated type of something.
2662 <!-- ##### FUNCTION gtk_image_menu_item_add_image ##### -->
2670 <!-- ##### FUNCTION gtk_image_menu_item_get_type ##### -->
2677 <!-- ##### FUNCTION gtk_item_factory_dump_items ##### -->
2687 <!-- ##### FUNCTION gtk_item_factory_dump_rc ##### -->
2696 <!-- ##### FUNCTION gtk_item_factory_parse_rc ##### -->
2703 <!-- ##### FUNCTION gtk_item_factory_parse_rc_scanner ##### -->
2710 <!-- ##### FUNCTION gtk_item_factory_parse_rc_string ##### -->
2717 <!-- ##### FUNCTION gtk_item_factory_print_func ##### -->
2725 <!-- ##### FUNCTION gtk_label_set_markup_with_accel ##### -->
2734 <!-- ##### FUNCTION gtk_list_store_move ##### -->
2743 <!-- ##### FUNCTION gtk_list_store_new_with_types ##### -->
2752 <!-- ##### FUNCTION gtk_list_store_set_cell ##### -->
2762 <!-- ##### FUNCTION gtk_list_store_set_column_type ##### -->
2771 <!-- ##### FUNCTION gtk_list_store_set_n_columns ##### -->
2779 <!-- ##### FUNCTION gtk_menu_ensure_uline_accel_group ##### -->
2787 <!-- ##### FUNCTION gtk_menu_get_uline_accel_group ##### -->
2795 <!-- ##### FUNCTION gtk_menu_item_configure ##### -->
2797 Sets whether the menu item should show a submenu indicator, which is a right
2801 @menu_item: the menu item
2802 @show_toggle_indicator: unused
2803 @show_submenu_indicator: whether to show the arrow or not
2805 <!-- ##### FUNCTION gtk_menu_item_set_placement ##### -->
2807 Specifies the placement of the submenu around the menu item. The placement
2808 is usually #GTK_LEFT_RIGHT for menu items in a popup menu and
2809 #GTK_TOP_BOTTOM in menu bars.
2812 This function is useless in usual applications.
2815 @menu_item: the menu item
2816 @placement: the submenu placement
2818 <!-- ##### FUNCTION gtk_object_arg_get ##### -->
2820 Private function to get an argument and argument info from an object.
2823 @object: the object whose argument should be retrieved.
2824 @arg: the argument, for the name on input, the rest is filled on output.
2825 @info: a #GtkArgInfo structure to optionally fill in.
2827 <!-- ##### FUNCTION gtk_object_arg_get_info ##### -->
2829 Query information about an argument type.
2832 @object_type: type of object to query about.
2833 @arg_name: name of the argument.
2834 @info_p: pointer to be filled in with a pointer to the GtkArgInfo.
2835 @Returns: an error message, or NULL on success.
2836 It is the caller's responsibility to call g_free() in the event of error.
2838 <!-- ##### FUNCTION gtk_object_arg_set ##### -->
2840 Private function to set an argument and argument info to an object.
2843 @object: the object whose argument should be set.
2845 @info: infomation about this type of argument in general.
2847 <!-- ##### FUNCTION gtk_object_args_collect ##### -->
2849 Private: Gets an array of #GtkArgs from a va_list C structure.
2852 @object_type: the type of object to collect arguments for.
2853 @arg_list_p: pointer to be filled in with a list of parsed arguments.
2854 @info_list_p: optional pointer for a returned list #GtkArgInfos.
2855 @first_arg_name: name of first argument.
2856 @var_args: value of first argument, followed by more key/value pairs,
2858 @Returns: an error message, or NULL on success.
2859 It is the caller's responsibility to call g_free() in the event of error.
2861 <!-- ##### FUNCTION gtk_object_class_add_signals ##### -->
2863 Add an array of signals to a #GtkObjectClass.
2864 Usually this is called when registering a new type of object.
2867 @klass: the object class to append signals to.
2868 @signals: the signals to append.
2869 @nsignals: the number of signals being appended.
2871 <!-- ##### FUNCTION gtk_object_class_user_signal_new ##### -->
2873 Define a signal-handler for a new signal on an already defined
2877 See the signal documentation for more general information.
2880 @klass: the object class to define the signal for.
2881 @name: the name of the signal.
2882 @signal_flags: the default emission behavior for the signal.
2883 See gtk_signal_new().
2884 @marshaller: a function that will take an array of GtkArgs
2885 and invoke the appropriate handler with the normal calling
2887 @return_val: specify the return-value type for the signal
2888 (or GTK_TYPE_NONE for no return-value).
2889 @nparams: specify the number of parameters the signal
2890 receives from the caller of gtk_signal_emit().
2891 @Varargs: list of nparams #GtkTypes to pass to the signal handlers.
2892 @Returns: the signal id. (See #GtkSignals)
2894 <!-- ##### FUNCTION gtk_object_class_user_signal_newv ##### -->
2896 Define a signal-handler for a new signal on an already defined
2900 @klass: the object class to define the signal for.
2901 @name: the name of the signal.
2902 @signal_flags: the default emission behavior for the signal.
2903 See gtk_signal_new().
2904 @marshaller: takes a GtkObject, a #GtkSignalFunc, and an array
2905 of arguments, and invokes the function using the appropriate
2906 calling conventions. Usually just select a function
2907 out of gtkmarshal.h.
2908 @return_val: specify the return-value type for the signal (possibly
2910 @nparams: specify the number of parameters the signal
2911 receives from the caller of gtk_signal_emit().
2912 @params: array of #GtkTypes the signal handlers for this signal
2913 should have in their prototype (of length nparams).
2914 @Returns: the signal id. (See #GtkSignals)
2916 <!-- ##### FUNCTION gtk_object_constructed ##### -->
2918 Mark an allocated object as constructed.
2919 This is used for situations
2920 that require precise control of the construction process.
2923 This is done when gtk_object_default_construct() is inadequate.
2924 In #GtkCList the need arises because #GtkCList does construction work that
2925 must happen <emphasis>after</emphasis> its derivers. This work
2926 cannot be done in an initializer function, so an alternate
2927 constructor is mandatory. It calls gtk_object_constructed() to
2928 indicate it has done its job, so that no other constructor will
2932 Normally this function is just automatically run from
2933 gtk_object_default_construct().
2936 @object: object which has been constructed. This is usually
2937 done automatically by gtk_object_new() and gtk_object_newv().
2939 <!-- ##### FUNCTION gtk_object_default_construct ##### -->
2941 This function is called to construct arguments that haven't been initialized
2942 but have the #GTK_ARG_CONSTRUCT flag set.
2945 All number arguments are set to 0. All pointers and strings
2949 Normally invoked by gtk_object_new() automatically; gtk_type_new() can
2950 be used to bypass it.
2953 @object: the object to initialize.
2955 <!-- ##### FUNCTION gtk_object_getv ##### -->
2957 Gets an array of argument values from an object.
2960 @object: the object to get arguments from.
2961 @n_args: the number of arguments to query.
2962 @args: the arguments to fill in.
2964 <!-- ##### FUNCTION gtk_object_newv ##### -->
2966 Construct an object with an array of arguments.
2969 @object_type: the type of the object to create.
2970 @n_args: the number of arguments to set.
2971 @args: an array of n_args arguments (which are name and value pairs).
2972 @Returns: the new GtkObject.
2974 <!-- ##### FUNCTION gtk_object_query_args ##### -->
2976 Get all the arguments that may be used for a given type.
2979 In Java, this type of mechanism is called
2980 <wordasword>introspection</wordasword>. It is used by applications
2981 like Glade, that have to determine what can be done to an object
2985 @class_type: the GtkType of the ObjectClass
2986 (returned from GTK_OBJECT_CLASS(class)->type for example).
2987 @arg_flags: if non-NULL, obtains the #GtkArgFlags that apply to
2988 each argument. You must g_free() this if you request it.
2989 @n_args: the number of arguments is returned in this field.
2990 @Returns: an array of arguments, that you must deallocate with g_free().
2992 <!-- ##### FUNCTION gtk_object_setv ##### -->
2994 Set an array of arguments.
2997 @object: the object whose arguments should be set.
2998 @n_args: the number of arguments to set.
2999 @args: the desired values, as an array of #GtkArgs (which contain
3000 the names, types, and values of the arguments).
3002 <!-- ##### FUNCTION gtk_packer_add ##### -->
3018 <!-- ##### FUNCTION gtk_packer_add_defaults ##### -->
3029 <!-- ##### MACRO gtk_packer_configure ##### -->
3035 <!-- ##### FUNCTION gtk_packer_new ##### -->
3042 <!-- ##### FUNCTION gtk_packer_reorder_child ##### -->
3051 <!-- ##### FUNCTION gtk_packer_set_child_packing ##### -->
3067 <!-- ##### FUNCTION gtk_packer_set_default_border_width ##### -->
3075 <!-- ##### FUNCTION gtk_packer_set_default_ipad ##### -->
3084 <!-- ##### FUNCTION gtk_packer_set_default_pad ##### -->
3093 <!-- ##### FUNCTION gtk_packer_set_spacing ##### -->
3101 <!-- ##### FUNCTION gtk_paned_compute_position ##### -->
3103 Internal function used by #GtkHPaned and #GtkVPaned
3111 <!-- ##### MACRO gtk_paned_handle_size ##### -->
3113 Old name for gtk_paned_set_handle_size().
3117 <!-- ##### FUNCTION gtk_paned_set_handle_size ##### -->
3119 Set the the handle size to @size x @size pixels.
3122 @paned: a paned widget
3123 @size: the size in pixels
3125 <!-- ##### FUNCTION gtk_pattern_match ##### -->
3136 <!-- ##### FUNCTION gtk_pattern_match_simple ##### -->
3145 <!-- ##### FUNCTION gtk_pattern_match_string ##### -->
3154 <!-- ##### FUNCTION gtk_pattern_spec_free_segs ##### -->
3161 <!-- ##### FUNCTION gtk_pattern_spec_init ##### -->
3169 <!-- ##### FUNCTION gtk_print_context_create_context ##### -->
3177 <!-- ##### FUNCTION gtk_print_context_create_layout ##### -->
3185 <!-- ##### FUNCTION gtk_print_context_get_cairo ##### -->
3193 <!-- ##### FUNCTION gtk_print_context_get_fontmap ##### -->
3201 <!-- ##### FUNCTION gtk_print_operation_set_nr_of_pages ##### -->
3209 <!-- ##### FUNCTION gtk_print_settings_get_num_copies ##### -->
3217 <!-- ##### FUNCTION gtk_print_settings_get_print_to_file ##### -->
3225 <!-- ##### FUNCTION gtk_print_settings_set_num_copies ##### -->
3233 <!-- ##### FUNCTION gtk_print_settings_set_print_to_file ##### -->
3241 <!-- ##### FUNCTION gtk_rc_init ##### -->
3247 <!-- ##### FUNCTION gtk_rc_load_image ##### -->
3249 Internal function. Loads an image using the current
3253 @colormap: the colormap to use for the image
3254 @transparent_color: the transparent color for the image
3255 @filename: the filename of the image file
3256 @Returns: a #GtkPixmap representing @filename
3258 <!-- ##### FUNCTION gtk_rc_set_image_loader ##### -->
3260 Sets the function that GTK+ will use to load images
3263 @loader: the #GtkImageLoader to use
3265 <!-- ##### FUNCTION gtk_ruler_draw_pos ##### -->
3270 @ruler: the gtkruler
3272 <!-- ##### FUNCTION gtk_ruler_draw_ticks ##### -->
3277 @ruler: the gtkruler
3279 <!-- ##### FUNCTION gtk_selection_incr_event ##### -->
3288 <!-- ##### FUNCTION gtk_selection_notify ##### -->
3297 <!-- ##### FUNCTION gtk_selection_property_notify ##### -->
3306 <!-- ##### FUNCTION gtk_selection_request ##### -->
3315 <!-- ##### FUNCTION gtk_settings_get_global ##### -->
3322 <!-- ##### FUNCTION gtk_signal_add_emission_hook ##### -->
3324 Add an emission hook for a type of signal, for any object.
3327 @signal_id: the type of signal to hook for.
3328 @hook_func: the function to invoke to handle the emission hook.
3329 @data: the user data passed in to hook_func.
3330 @Returns: the id (that you may pass as a parameter
3331 to gtk_signal_remove_emission_hook()).
3336 <!-- ##### FUNCTION gtk_signal_add_emission_hook_full ##### -->
3338 Add an emission hook for a type of signal, for any object.
3339 (with control of what happens when the hook is
3343 @signal_id: the type of signal add the hook for.
3344 @hook_func: the function to invoke to handle the hook.
3345 @data: the user data passed in to hook_func.
3346 @destroy: a function to invoke when the hook is destroyed,
3347 to clean up any allocation done just for this
3349 @Returns: the id (that you may pass as a parameter
3350 to gtk_signal_remove_emission_hook()).
3352 <!-- ##### FUNCTION gtk_signal_handler_pending_by_id ##### -->
3354 Returns whether a connection id is valid (and optionally not blocked).
3357 @object: the object to search for the desired handler.
3358 @handler_id: the connection id.
3359 @may_be_blocked: whether it is acceptable to return a blocked
3361 @Returns: TRUE if the signal exists and wasn't blocked,
3362 unless #may_be_blocked was specified. FALSE otherwise.
3364 <!-- ##### FUNCTION gtk_signal_handlers_destroy ##### -->
3366 Destroy all the signal handlers connected to an object.
3367 This is done automatically when the object is destroyed.
3370 This function is labeled private.
3373 @object: the object whose signal handlers should be destroyed.
3375 <!-- ##### FUNCTION gtk_signal_init ##### -->
3381 <!-- ##### FUNCTION gtk_signal_n_emissions ##### -->
3383 Find out the recursion depth of emissions for a particular type
3384 of signal and object. (So it will
3385 always return 0 or 1 if #GTK_RUN_NO_RECURSE is specified)
3386 This is a way to avoid recursion: you can see if
3387 you are currently running in that signal handler and emit it only
3390 <para>Another way to look at it is that this number increases
3391 by one when #gtk_signal_emit(), et al, are called,
3392 and decreases by one when #gtk_signal_emit() returns.
3395 @object: the object with the signal handler.
3396 @signal_id: the signal id.
3397 @Returns: the recursion depth of emissions of this signal for this
3400 <!-- ##### FUNCTION gtk_signal_n_emissions_by_name ##### -->
3402 Find out the recursion depth of emissions for a particular type
3403 of signal and object. Just like gtk_signal_n_emissions()
3404 except it will lookup the signal id for you.
3407 @object: the object with the signal handler.
3408 @name: the signal name.
3409 @Returns: the recursion depth of emissions of this signal for this
3412 <!-- ##### FUNCTION gtk_signal_query ##### -->
3414 Obtain information about a signal.
3417 @signal_id: the signal type identifier.
3418 @Returns: a pointer to a GtkSignalQuery structure
3419 which contains all the information, or NULL.
3420 The pointer is allocated just for you: you must g_free() it.
3422 <!-- ##### FUNCTION gtk_signal_remove_emission_hook ##### -->
3424 Delete an emission hook. (see gtk_signal_add_emission_hook())
3427 @signal_id: the id of the signal type.
3428 @hook_id: the id of the emission handler, returned by add_emission_hook().
3432 <!-- ##### FUNCTION gtk_signal_set_funcs ##### -->
3434 These set default functions to call when the user didn't
3435 supply a function when connecting. (These are rarely
3436 used, and probably only for language bindings)
3439 By default, there are no such functions.
3442 @marshal_func: the function to invoke on every handlers for which there
3443 isn't a function pointer. May be NULL.
3444 @destroy_func: the function to invoke when each hook is destroyed.
3447 <!-- ##### FUNCTION gtk_spin_button_set_shadow_type ##### -->
3449 Creates a border around the arrows of a #GtkSpinButton. The type of border is determined by @shadow_type.
3452 @spin_button: a #GtkSpinButton
3453 @shadow_type: the new border type.
3455 <!-- ##### FUNCTION gtk_stock_list_items ##### -->
3462 <!-- ##### FUNCTION gtk_style_get_font_for_display ##### -->
3471 <!-- ##### FUNCTION gtk_text_buffer_paste_primary ##### -->
3480 <!-- ##### FUNCTION gtk_text_iter_reorder ##### -->
3488 <!-- ##### FUNCTION gtk_text_iter_spew ##### -->
3496 <!-- ##### FUNCTION gtk_text_view_set_text_window_size ##### -->
3505 <!-- ##### FUNCTION gtk_tips_query_get_type ##### -->
3512 <!-- ##### FUNCTION gtk_tool_item_get_pack_end ##### -->
3520 <!-- ##### FUNCTION gtk_tool_item_set_pack_end ##### -->
3528 <!-- ##### FUNCTION gtk_trace_referencing ##### -->
3530 Private: print debugging information while doing a gtk_object_ref() or
3531 a gtk_object_unref().
3534 @object: object to reference or unreference.
3535 @func: name of caller's function to print (used within macros).
3537 @line: line number (used within macros).
3538 @do_ref: whether to reference or unreference.
3540 <!-- ##### FUNCTION gtk_tree_model_ref_iter ##### -->
3548 <!-- ##### FUNCTION gtk_tree_model_sort_convert_iter ##### -->
3557 <!-- ##### FUNCTION gtk_tree_model_sort_convert_path ##### -->
3567 <!-- ##### FUNCTION gtk_tree_model_sort_new ##### -->
3574 <!-- ##### FUNCTION gtk_tree_model_sort_set_compare ##### -->
3582 <!-- ##### FUNCTION gtk_tree_model_sort_set_model ##### -->
3591 <!-- ##### FUNCTION gtk_tree_model_sort_set_sort_column ##### -->
3599 <!-- ##### FUNCTION gtk_tree_model_unref_iter ##### -->
3607 <!-- ##### FUNCTION gtk_tree_store_move ##### -->
3616 <!-- ##### FUNCTION gtk_tree_store_new_with_types ##### -->
3625 <!-- ##### FUNCTION gtk_tree_store_set_cell ##### -->
3635 <!-- ##### FUNCTION gtk_tree_store_set_column_type ##### -->
3645 <!-- ##### FUNCTION gtk_tree_store_set_n_columns ##### -->
3653 <!-- ##### FUNCTION gtk_tree_view_column_cell_event ##### -->
3666 <!-- ##### FUNCTION gtk_tree_view_column_set_cell_data ##### -->
3675 <!-- ##### FUNCTION gtk_tree_view_column_set_cell_renderer ##### -->
3683 <!-- ##### FUNCTION gtk_tree_view_column_set_width ##### -->
3692 <!-- ##### FUNCTION gtk_tree_view_set_rows_drag_dest ##### -->
3701 @location_droppable_func:
3704 <!-- ##### FUNCTION gtk_tree_view_set_rows_drag_source ##### -->
3714 @row_draggable_func:
3717 <!-- ##### FUNCTION gtk_type_check_class_cast ##### -->
3719 Given a GtkTypeClass pointer @klass, and a GtkType @cast_type, make
3720 sure that it's okay to cast something of that @klass into a @cast_type.
3723 @klass: GtkTypeClass*
3725 @Returns: Always return @klass.
3727 <!-- ##### FUNCTION gtk_type_check_object_cast ##### -->
3729 Given a pointer to a GtkTypeObject @type_object, and a GtkType @cast_type,
3730 make sure that it's okay to cast @type_object into a @cast_type.
3733 @type_object: GtkTypeObject*
3735 @Returns: the same GtkTypeObject* as @type_object
3737 <!-- ##### FUNCTION gtk_type_children_types ##### -->
3739 Return the pointer to the type's children's types.
3743 @Returns: pointer to a GList
3745 <!-- ##### FUNCTION gtk_type_describe_heritage ##### -->
3747 Print the types @type inherits from.
3752 <!-- ##### FUNCTION gtk_type_describe_tree ##### -->
3754 Given a @type, describe all of its children, and their children. Only
3755 show the size if @show_size is true.
3759 @show_size: gboolean
3761 <!-- ##### FUNCTION gtk_type_free ##### -->
3763 Given the type of an object and a pointer to it, the object is freed.
3767 @mem: gpointer to the object
3769 <!-- ##### FUNCTION gtk_type_get_varargs_type ##### -->
3771 Get the varargs type associated with @foreign_type
3774 @foreign_type: GtkType
3777 <!-- ##### FUNCTION gtk_type_parent_class ##### -->
3779 Return the class of the parent. Initialize the class if necessary.
3780 Return NULL if anything goes wrong.
3784 @Returns: gpointer to the klass.
3786 <!-- ##### FUNCTION gtk_type_query ##### -->
3788 Given a type, return various interesting parameters of the type.
3792 @Returns: GtkTypeQuery*
3794 <!-- ##### FUNCTION gtk_type_register_enum ##### -->
3796 Register a new set of enum @values and give them the name in
3800 @type_name: must not be null.
3801 @values: GtkEnumValue*
3804 <!-- ##### FUNCTION gtk_type_register_flags ##### -->
3806 Register a new set of flags @values and give them the name in
3810 @type_name: must not be null.
3811 @values: GtkFlagValue*
3814 <!-- ##### FUNCTION gtk_type_set_chunk_alloc ##### -->
3816 Set the mem_chunk size so it will hold @n_chunks of the objects of that @type.
3819 @type: There must be an unlocked TypeNode associated with this type otherwise nothing happens.
3822 <!-- ##### FUNCTION gtk_type_set_varargs_type ##### -->
3824 Set the varargs type for a fundamental type @foreign_type.
3827 @foreign_type: Must be a GtkType with a sequence number of zero. Must not be a
3829 @varargs_type: Must be a GtkType which is either structured or flag, or NONE.
3831 <!-- ##### FUNCTION gtk_widget_accelerator_signal ##### -->
3842 <!-- ##### FUNCTION gtk_widget_accelerators_locked ##### -->
3850 <!-- ##### FUNCTION gtk_widget_activate_mnemonic ##### -->
3859 <!-- ##### FUNCTION gtk_widget_get_allocation ##### -->
3867 <!-- ##### FUNCTION gtk_widget_get_usize ##### -->
3876 <!-- ##### FUNCTION gtk_widget_lock_accelerators ##### -->
3883 <!-- ##### FUNCTION gtk_widget_pop_style ##### -->
3889 <!-- ##### FUNCTION gtk_widget_popup ##### -->
3898 <!-- ##### FUNCTION gtk_widget_push_style ##### -->
3905 <!-- ##### FUNCTION gtk_widget_remove_accelerators ##### -->
3914 <!-- ##### FUNCTION gtk_widget_set_default_style ##### -->
3921 <!-- ##### FUNCTION gtk_widget_unlock_accelerators ##### -->
3928 <!-- ##### FUNCTION gtk_window_activate_mnemonic ##### -->
3938 <!-- ##### FUNCTION gtk_window_get_default ##### -->
3946 <!-- ##### FUNCTION gtk_window_get_default_accel_group ##### -->
3954 <!-- ##### FUNCTION gtk_window_get_resizeable ##### -->
3962 <!-- ##### FUNCTION gtk_window_set_decorations_hint ##### -->
3970 <!-- ##### FUNCTION gtk_window_set_functions_hint ##### -->
3978 <!-- ##### FUNCTION gtk_window_set_resizeable ##### -->