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/gtktreemodelsimple.sgml:Long_Description ##### -->
222 <!-- ##### SECTION ./tmpl/gtktreemodelsimple.sgml:See_Also ##### -->
228 <!-- ##### SECTION ./tmpl/gtktreemodelsimple.sgml:Short_Description ##### -->
232 <!-- ##### SECTION ./tmpl/gtktreemodelsimple.sgml:Title ##### -->
236 <!-- ##### MACRO GTK_CLIST_CHILD_HAS_FOCUS ##### -->
238 A macro to check whether a child widget of the CList
242 @clist: The #GtkCList widget to check.
244 <!-- ##### MACRO GTK_ICON_SIZE_BUTTON ##### -->
250 <!-- ##### MACRO GTK_ICON_SIZE_DIALOG ##### -->
256 <!-- ##### MACRO GTK_ICON_SIZE_LARGE_TOOLBAR ##### -->
262 <!-- ##### MACRO GTK_ICON_SIZE_MENU ##### -->
268 <!-- ##### MACRO GTK_ICON_SIZE_SMALL_TOOLBAR ##### -->
274 <!-- ##### MACRO GTK_IS_TIPS_QUERY ##### -->
281 <!-- ##### MACRO GTK_IS_TIPS_QUERY_CLASS ##### -->
288 <!-- ##### MACRO GTK_OBJECT_CONSTRUCTED ##### -->
290 Test whether a GtkObject's arguments have been prepared.
293 @obj: the object to examine.
295 <!-- ##### MACRO GTK_OBJECT_DESTROYED ##### -->
297 Test whether a GtkObject has had gtk_object_destroy() invoked on it.
300 @obj: the object to examine.
302 <!-- ##### MACRO GTK_OBJECT_NSIGNALS ##### -->
304 Get the number of signals defined by this object.
307 @obj: the object to query.
309 <!-- ##### MACRO GTK_OBJECT_SET_FLAGS ##### -->
311 Turns on certain object flags. (Private)
314 @obj: the object to affect.
315 @flag: the flags to set.
317 <!-- ##### MACRO GTK_OBJECT_SIGNALS ##### -->
319 Get the array of signals defined for this object.
322 @obj: the object to fetch the signals from.
324 <!-- ##### MACRO GTK_OBJECT_UNSET_FLAGS ##### -->
326 Turns off certain object flags. (Private)
329 @obj: the object to affect.
330 @flag: the flags to unset.
332 <!-- ##### MACRO GTK_STOCK_BUTTON_APPLY ##### -->
338 <!-- ##### MACRO GTK_STOCK_BUTTON_CANCEL ##### -->
344 <!-- ##### MACRO GTK_STOCK_BUTTON_CLOSE ##### -->
350 <!-- ##### MACRO GTK_STOCK_BUTTON_NO ##### -->
356 <!-- ##### MACRO GTK_STOCK_BUTTON_OK ##### -->
362 <!-- ##### MACRO GTK_STOCK_BUTTON_YES ##### -->
368 <!-- ##### MACRO GTK_TIPS_QUERY ##### -->
375 <!-- ##### MACRO GTK_TIPS_QUERY_CLASS ##### -->
382 <!-- ##### MACRO GTK_TIPS_QUERY_GET_CLASS ##### -->
389 <!-- ##### MACRO GTK_TREE_MODEL_GET_IFACE ##### -->
396 <!-- ##### MACRO GTK_TREE_SELECTION ##### -->
398 A macro that returns a GList that contains the selection of the root tree of @obj.
401 @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.
403 <!-- ##### MACRO GTK_TYPE_FLAT_FIRST ##### -->
405 The first "flat" (no struct) enumerated type value.
409 <!-- ##### MACRO GTK_TYPE_FLAT_LAST ##### -->
411 The last "flat" (no struct) enumerated type value.
415 <!-- ##### MACRO GTK_TYPE_IDENTIFIER ##### -->
417 Hide the name of gtk_identifier_get_type
421 <!-- ##### MACRO GTK_TYPE_MAKE ##### -->
423 Combine a fundemantal type and a sequence number to create a gtk type.
429 <!-- ##### MACRO GTK_TYPE_NUM_BUILTINS ##### -->
435 <!-- ##### MACRO GTK_TYPE_SEQNO ##### -->
437 Convert a gtk type into its sequence number
442 <!-- ##### MACRO GTK_TYPE_STRUCTURED_FIRST ##### -->
444 The first structured enumerated type value.
448 <!-- ##### MACRO GTK_TYPE_STRUCTURED_LAST ##### -->
450 The last structured enumerated type value.
454 <!-- ##### MACRO GTK_TYPE_TIPS_QUERY ##### -->
460 <!-- ##### MACRO GTK_TYPE_TREE_COLUMN ##### -->
466 <!-- ##### MACRO GTK_TYPE_TREE_VIEW_COLUMN ##### -->
472 <!-- ##### MACRO GTK_VALUE_ARGS ##### -->
474 Use to get the value of a GtkArg whose GtkType is GTK_TYPE_ARGS
479 <!-- ##### MACRO GTK_VALUE_CALLBACK ##### -->
481 Use to get the value of a GtkArg whose GtkType is GTK_TYPE_CALLBACK
486 <!-- ##### MACRO GTK_VALUE_C_CALLBACK ##### -->
488 Use to get the value of a GtkArg whose GtkType is GTK_TYPE_C_CALLBACK
493 <!-- ##### MACRO GTK_VALUE_FOREIGN ##### -->
495 Use to get the value of a GtkArg whose GtkType is GTK_TYPE_C_FOREIGN
500 <!-- ##### USER_FUNCTION GValueCompareFunc ##### -->
509 <!-- ##### STRUCT GtkAccelEntry ##### -->
511 This is a private struct used by GTK+ internally, don't worry about it.
521 <!-- ##### ARG GtkAccelLabel:accel-object ##### -->
527 <!-- ##### ARG GtkAccelLabel:accel-width ##### -->
533 <!-- ##### USER_FUNCTION GtkAccelMapNotify ##### -->
546 <!-- ##### USER_FUNCTION GtkArgGetFunc ##### -->
548 Define a function pointer. Deprecated.
555 <!-- ##### STRUCT GtkArgInfo ##### -->
557 A structure containing information about the argument.
558 Returned by gtk_arg_get_info().
561 @class_type: if the argument is an object, this is the object class type.
562 @name: the name of the argument.
563 @type: the type of the argument; it may be an object's type
564 or a fundamental type.
565 @arg_flags: flags applicable to the argument (i.e. readable, writable,
566 and whether it needs to be constructed).
567 @full_name: the object name and argument name separated by ::,
568 e.g. "GtkObject::user_data" or "GtkButton::label".
569 @arg_id: the unique argument identified.
572 <!-- ##### USER_FUNCTION GtkArgSetFunc ##### -->
574 Define a function pointer. Deprecated.
581 <!-- ##### STRUCT GtkCellRendererTextPixbuf ##### -->
588 <!-- ##### ARG GtkColorSelection:previous-alpha ##### -->
594 <!-- ##### ARG GtkColorSelection:previous-color ##### -->
600 <!-- ##### SIGNAL GtkContainer::focus ##### -->
605 @container: the object which received the signal.
609 <!-- ##### ARG GtkContainer:reallocate-redraws ##### -->
615 <!-- ##### STRUCT GtkData ##### -->
617 The #GtkData-struct struct contains no public fields.
621 <!-- ##### SIGNAL GtkData::disconnect ##### -->
623 Emitted to notify any views on the #GtkData object to disconnect from it,
624 possibly because the #GtkData object is about to be destroyed.
627 @data: the object which received the signal.
629 <!-- ##### SIGNAL GtkEditable::activate ##### -->
631 Indicates that the user has activated the widget
632 in some fashion. Generally, this will be done
633 with a keystroke. (The default binding for this
634 action is Return for #GtkEntry and
635 Control-Return for #GtkText.)
638 @editable: the object which received the signal.
640 <!-- ##### SIGNAL GtkEditable::changed ##### -->
642 Indicates that the user has changed the contents
646 @editable: the object which received the signal.
648 <!-- ##### SIGNAL GtkEditable::copy-clipboard ##### -->
650 An action signal. Causes the characters in the current selection to
651 be copied to the clipboard.
654 @editable: the object which received the signal.
656 <!-- ##### SIGNAL GtkEditable::cut-clipboard ##### -->
658 An action signal. Causes the characters in the current
659 selection to be copied to the clipboard and then deleted from
663 @editable: the object which received the signal.
665 <!-- ##### SIGNAL GtkEditable::delete-text ##### -->
667 This signal is emitted when text is deleted from
668 the widget by the user. The default handler for
669 this signal will normally be responsible for inserting
670 the text, so by connecting to this signal and then
671 stopping the signal with gtk_signal_emit_stop(), it
672 is possible to modify the inserted text, or prevent
673 it from being inserted entirely. The @start_pos
674 and @end_pos parameters are interpreted as for
675 gtk_editable_delete_text()
678 @editable: the object which received the signal.
679 @start_pos: the starting position.
680 @end_pos: the end position.
682 <!-- ##### SIGNAL GtkEditable::insert-text ##### -->
684 This signal is emitted when text is inserted into
685 the widget by the user. The default handler for
686 this signal will normally be responsible for inserting
687 the text, so by connecting to this signal and then
688 stopping the signal with gtk_signal_emit_stop(), it
689 is possible to modify the inserted text, or prevent
690 it from being inserted entirely.
693 @editable: the object which received the signal.
694 @new_text: the new text to insert.
695 @new_text_length: the length of the new text.
696 @position: the position at which to insert the new text.
697 this is an in-out paramter. After the signal
698 emission is finished, it should point after
699 the newly inserted text.
701 <!-- ##### SIGNAL GtkEditable::kill-char ##### -->
703 An action signal. Delete a single character.
706 @editable: the object which received the signal.
707 @direction: the direction in which to delete. Positive
708 indicates forward deletion, negative, backwards deletion.
710 <!-- ##### SIGNAL GtkEditable::kill-line ##### -->
712 An action signal. Delete a single line.
715 @editable: the object which received the signal.
716 @direction: the direction in which to delete. Positive
717 indicates forward deletion, negative, backwards deletion.
719 <!-- ##### SIGNAL GtkEditable::kill-word ##### -->
721 An action signal. Delete a single word.
724 @editable: the object which received the signal.
725 @direction: the direction in which to delete. Positive
726 indicates forward deletion, negative, backwards deletion.
728 <!-- ##### SIGNAL GtkEditable::move-cursor ##### -->
730 An action signal. Move the cursor position.
733 @editable: the object which received the signal.
734 @x: horizontal distance to move the cursor.
735 @y: vertical distance to move the cursor.
737 <!-- ##### SIGNAL GtkEditable::move-page ##### -->
739 An action signal. Move the cursor by pages.
742 @editable: the object which received the signal.
743 @x: Number of pages to move the cursor horizontally.
744 @y: Number of pages to move the cursor vertically.
746 <!-- ##### SIGNAL GtkEditable::move-to-column ##### -->
748 An action signal. Move the cursor to the given column.
751 @editable: the object which received the signal.
752 @column: the column to move to. (A negative value indicates
755 <!-- ##### SIGNAL GtkEditable::move-to-row ##### -->
757 An action signal. Move the cursor to the given row.
760 @editable: the object which received the signal.
761 @row: the row to move to. (A negative value indicates
764 <!-- ##### SIGNAL GtkEditable::move-word ##### -->
766 An action signal. Move the cursor by words.
769 @editable: the object which received the signal.
770 @num_words: The number of words to move the
771 cursor. (Can be negative).
773 <!-- ##### SIGNAL GtkEditable::paste-clipboard ##### -->
775 An action signal. Causes the contents of the clipboard to
776 be pasted into the editable widget at the current cursor
780 @editable: the object which received the signal.
782 <!-- ##### SIGNAL GtkEditable::set-editable ##### -->
784 Determines if the user can edit the text in the editable
785 widget or not. This is meant to be overriden by
786 child classes and should not generally useful to
790 @editable: the object which received the signal.
791 @is_editable: %TRUE if the user is allowed to edit the text
794 <!-- ##### ARG GtkEditable:editable ##### -->
796 A boolean indicating whether the widget is editable by
801 <!-- ##### ARG GtkEditable:text-position ##### -->
803 The position of the cursor.
807 <!-- ##### USER_FUNCTION GtkEmissionHook ##### -->
809 A simple function pointer to get invoked when the
810 signal is emitted. This allows you tie a hook to the signal type,
811 so that it will trap all emissions of that signal, from any object.
814 You may not attach these to signals created with the
815 #GTK_RUN_NO_HOOKS flag.
825 <!-- ##### SIGNAL GtkEntry::changed ##### -->
830 @entry: the object which received the signal.
832 <!-- ##### SIGNAL GtkEntry::delete-text ##### -->
837 @entry: the object which received the signal.
841 <!-- ##### SIGNAL GtkEntry::insert-text ##### -->
846 @entry: the object which received the signal.
851 <!-- ##### ARG GtkEntry:text-position ##### -->
857 <!-- ##### ENUM GtkFontFilterType ##### -->
859 A set of bit flags used to specify the filter being set
860 when calling gtk_font_selection_dialog_set_filter() or
861 gtk_font_selection_set_filter().
864 @GTK_FONT_FILTER_BASE: the base filter, which can't be changed by the user.
865 @GTK_FONT_FILTER_USER: the user filter, which can be changed from within the
866 'Filter' page of the #GtkFontSelection widget.
868 <!-- ##### ENUM GtkFontType ##### -->
870 A set of bit flags used to specify the type of fonts shown
871 when calling gtk_font_selection_dialog_set_filter() or
872 gtk_font_selection_set_filter().
875 @GTK_FONT_BITMAP: bitmap fonts.
876 @GTK_FONT_SCALABLE: scalable fonts.
877 @GTK_FONT_SCALABLE_BITMAP: scaled bitmap fonts.
878 @GTK_FONT_ALL: a bitwise combination of all of the above.
880 <!-- ##### ARG GtkHScale:adjustment ##### -->
882 the #GtkAdjustment which sets the range of the scale.
886 <!-- ##### ARG GtkHScrollbar:adjustment ##### -->
892 <!-- ##### USER_FUNCTION GtkImageLoader ##### -->
894 A GtkImageLoader is used to load a filename found in
898 @window: the window for creating image
899 @colormap: the colormap for this image
900 @mask: a pointer to the location to store the mask
901 @transparent_color: the transparent color for the image
902 @filename: filename to load
903 @Returns: a #GtkPixmap representing @filename
905 <!-- ##### ARG GtkLabel:accel-keyval ##### -->
911 <!-- ##### ARG GtkObject:object-signal ##### -->
913 Setting this with a GtkType of GTK_TYPE_SIGNAL connects
914 the signal to the object, so that the user data and objects
915 and swapped when the signal handler is invoked.
918 This is useful for handlers that are primarily notifying
919 other objects and could just invoke an already existing function
920 if the parameters were swapped.
921 See gtk_signal_connect_object() for more details.
925 <!-- ##### ARG GtkObject:object-signal-after ##### -->
927 Setting this with a GtkType of GTK_TYPE_SIGNAL connects
928 the signal to the object, so that the user data and objects
929 and swapped when the signal handler is invoked,
930 and so that the handler is invoked after all others.
933 See gtk_signal_connect_object_after() for more details.
937 <!-- ##### ARG GtkObject:signal ##### -->
939 Setting this with a GtkType of GTK_TYPE_SIGNAL connects
940 the signal to the object.
944 <!-- ##### ARG GtkObject:signal-after ##### -->
946 Setting this with a GtkType of GTK_TYPE_SIGNAL connects
947 the signal to the object, so that the signal is always run
948 after other user handlers and the default handler.
952 <!-- ##### SIGNAL GtkOldEditable::changed ##### -->
957 @oldeditable: the object which received the signal.
959 <!-- ##### SIGNAL GtkOldEditable::delete-text ##### -->
964 @oldeditable: the object which received the signal.
968 <!-- ##### SIGNAL GtkOldEditable::insert-text ##### -->
973 @oldeditable: the object which received the signal.
978 <!-- ##### STRUCT GtkPacker ##### -->
986 @default_border_width:
992 <!-- ##### ARG GtkPacker:default-border-width ##### -->
998 <!-- ##### ARG GtkPacker:default-ipad-x ##### -->
1004 <!-- ##### ARG GtkPacker:default-ipad-y ##### -->
1010 <!-- ##### ARG GtkPacker:default-pad-x ##### -->
1016 <!-- ##### ARG GtkPacker:default-pad-y ##### -->
1022 <!-- ##### ARG GtkPacker:spacing ##### -->
1028 <!-- ##### STRUCT GtkPackerChild ##### -->
1044 <!-- ##### ENUM GtkPackerOptions ##### -->
1053 <!-- ##### ARG GtkPaned:handle-size ##### -->
1059 <!-- ##### STRUCT GtkPatternSpec ##### -->
1071 <!-- ##### ENUM GtkPrivateFlags ##### -->
1076 @PRIVATE_GTK_USER_STYLE:
1077 @PRIVATE_GTK_RESIZE_PENDING:
1078 @PRIVATE_GTK_RESIZE_NEEDED:
1079 @PRIVATE_GTK_LEAVE_PENDING:
1080 @PRIVATE_GTK_HAS_SHAPE_MASK:
1081 @PRIVATE_GTK_IN_REPARENT:
1082 @PRIVATE_GTK_DIRECTION_SET:
1083 @PRIVATE_GTK_DIRECTION_LTR:
1085 <!-- ##### ARG GtkScrolledWindow:shadow ##### -->
1091 <!-- ##### USER_FUNCTION GtkSignalDestroy ##### -->
1093 A function which you can use to clean up when the
1094 signal handler is destroyed.
1097 For example, if your handler requires a few variables
1098 that you made into a struct and allocated (using g_new()
1099 or something), then you will probably want to free
1100 it as soon as the hook is destroyed. This will
1101 allow you to do that. (For this in particular
1102 it is convenient to pass g_free() as a #GtkSignalDestroy
1106 @data: The user data associated with the hook that is being
1109 <!-- ##### USER_FUNCTION GtkSignalMarshal ##### -->
1111 This is currently a hack left in for a scheme wrapper library.
1118 @object: The object which emits the signal.
1119 @data: The user data associated with the hook.
1120 @nparams: The number of parameters to the function.
1121 @args: The actual values of the arguments.
1122 @arg_types: The types of the arguments.
1123 @return_type: The type of the return value from the function
1124 or #GTK_TYPE_NONE for no return value.
1126 <!-- ##### STRUCT GtkSignalQuery ##### -->
1128 This structure contains all the information about a particular
1129 signal: its name, the type it affects, the signature of the handlers,
1130 and its unique identifying integer.
1142 <!-- ##### ARG GtkSpinButton:shadow-type ##### -->
1144 the type of border that surrounds the arrows of a spin button.
1148 <!-- ##### STRUCT GtkStatusbarMsg ##### -->
1150 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.
1157 <!-- ##### STRUCT GtkTextBTreeNode ##### -->
1163 <!-- ##### ARG GtkTextTag:justify ##### -->
1165 A #GtkJustification for the text. This is only used when the tag is
1166 applied to the first character in a paragraph.
1170 <!-- ##### ARG GtkTextTag:left-wrapped-line-margin ##### -->
1172 Pixel width of the left margin of the text for lines after the first
1173 line in a wrapped paragraph.
1177 <!-- ##### ARG GtkTextTag:left-wrapped-line-margin-set ##### -->
1183 <!-- ##### ARG GtkTextTag:offset ##### -->
1185 Pixels to offset the text horizontally or vertically, useful to
1186 produce superscript and subscript.
1190 <!-- ##### ARG GtkTextView:height-lines ##### -->
1196 <!-- ##### ARG GtkTextView:justify ##### -->
1202 <!-- ##### ARG GtkTextView:width-columns ##### -->
1208 <!-- ##### SIGNAL GtkTreeModel::row-changed ##### -->
1213 @treemodel: the object which received the signal.
1217 <!-- ##### SIGNAL GtkTreeModel::row-deleted ##### -->
1222 @treemodel: the object which received the signal.
1225 <!-- ##### SIGNAL GtkTreeModel::row-has-child-toggled ##### -->
1230 @treemodel: the object which received the signal.
1234 <!-- ##### SIGNAL GtkTreeModel::row-inserted ##### -->
1239 @treemodel: the object which received the signal.
1243 <!-- ##### SIGNAL GtkTreeModel::rows-reordered ##### -->
1248 @treemodel: the object which received the signal.
1253 <!-- ##### STRUCT GtkTreeSelectionClass ##### -->
1259 <!-- ##### ENUM GtkTreeSelectionMode ##### -->
1264 @GTK_TREE_SELECTION_SINGLE:
1265 @GTK_TREE_SELECTION_MULTI:
1267 <!-- ##### USER_FUNCTION GtkTreeViewDraggableFunc ##### -->
1278 <!-- ##### USER_FUNCTION GtkTreeViewDroppableFunc ##### -->
1290 <!-- ##### ARG GtkVScale:adjustment ##### -->
1292 the #GtkAdjustment which sets the range of the scale.
1296 <!-- ##### ARG GtkVScrollbar:adjustment ##### -->
1302 <!-- ##### SIGNAL GtkWidget::activate-mnemonic ##### -->
1307 @widget: the object which received the signal.
1311 <!-- ##### SIGNAL GtkWidget::add-accelerator ##### -->
1316 @widget: the object which received the signal.
1323 <!-- ##### SIGNAL GtkWidget::debug-msg ##### -->
1328 @widget: the object which received the signal.
1331 <!-- ##### SIGNAL GtkWidget::draw ##### -->
1336 @widget: the object which received the signal.
1339 <!-- ##### SIGNAL GtkWidget::draw-default ##### -->
1344 @widget: the object which received the signal.
1346 <!-- ##### SIGNAL GtkWidget::draw-focus ##### -->
1351 @widget: the object which received the signal.
1353 <!-- ##### SIGNAL GtkWidget::remove-accelerator ##### -->
1358 @widget: the object which received the signal.
1363 <!-- ##### ARG GtkWidget:height ##### -->
1369 <!-- ##### ARG GtkWidget:width ##### -->
1375 <!-- ##### ARG GtkWidget:x ##### -->
1381 <!-- ##### ARG GtkWidget:y ##### -->
1387 <!-- ##### SIGNAL GtkWindow::accels-changed ##### -->
1392 @window: the object which received the signal.
1394 <!-- ##### ARG GtkWindow:auto-shrink ##### -->
1396 If the window shrinks automatically when widgets within it shrink.
1400 <!-- ##### ARG GtkWindow:icon-list ##### -->
1406 <!-- ##### FUNCTION gtk_accel_group_activate ##### -->
1416 <!-- ##### FUNCTION gtk_accel_group_add ##### -->
1429 <!-- ##### FUNCTION gtk_accel_group_attach ##### -->
1437 <!-- ##### FUNCTION gtk_accel_group_create_add ##### -->
1447 <!-- ##### FUNCTION gtk_accel_group_create_remove ##### -->
1457 <!-- ##### FUNCTION gtk_accel_group_detach ##### -->
1465 <!-- ##### FUNCTION gtk_accel_group_entries_from_object ##### -->
1473 <!-- ##### FUNCTION gtk_accel_group_get_default ##### -->
1480 <!-- ##### FUNCTION gtk_accel_group_get_entry ##### -->
1490 <!-- ##### FUNCTION gtk_accel_group_get_type ##### -->
1497 <!-- ##### FUNCTION gtk_accel_group_handle_add ##### -->
1509 <!-- ##### FUNCTION gtk_accel_group_handle_remove ##### -->
1519 <!-- ##### FUNCTION gtk_accel_group_lock_entry ##### -->
1528 <!-- ##### FUNCTION gtk_accel_group_remove ##### -->
1538 <!-- ##### FUNCTION gtk_accel_group_unlock_entry ##### -->
1547 <!-- ##### FUNCTION gtk_accel_label_get_accel_object ##### -->
1555 <!-- ##### FUNCTION gtk_accel_label_set_accel_object ##### -->
1563 <!-- ##### FUNCTION gtk_accel_map_add_notifer ##### -->
1573 <!-- ##### FUNCTION gtk_accel_map_remove_notifer ##### -->
1582 <!-- ##### FUNCTION gtk_arg_copy ##### -->
1584 It will either copy data into an existing argument or allocate a new argument
1585 and copy the data. Strings are duplicated. All other pointers and
1586 values are copied (shallowly-- that is the pointers themselves are
1587 copied, not the data they point to.)
1590 You should call gtk_arg_reset() on dest_arg before calling this
1591 if the argument may contain string data that you want freed.
1594 @src_arg: the argument to duplicate.
1595 @dest_arg: the argument to copy over (or NULL to create a new #GtkArg).
1596 @Returns: the new #GtkArg (or dest_arg, if it was not NULL).
1598 <!-- ##### FUNCTION gtk_arg_free ##### -->
1600 Frees the argument, and optionally its contents.
1603 @arg: the argument to free.
1604 @free_contents: whether to free the string, if it is a string.
1606 <!-- ##### FUNCTION gtk_arg_get_info ##### -->
1608 Private: get information about an argument.
1611 @object_type: the type of object.
1612 @arg_info_hash_table: the hashtable of #GtkArgInfos.
1613 @arg_name: the name of the argument to lookup.
1614 @info_p: the argument info.
1615 @Returns: an error message on failure, or NULL otherwise.
1617 <!-- ##### FUNCTION gtk_arg_info_equal ##### -->
1619 A #GCompareFunc for hashing #GtkArgInfos.
1622 @arg_info_1: a #GtkArgInfo.
1623 @arg_info_2: a #GtkArgInfo.
1624 @Returns: whether the arguments are the same.
1626 <!-- ##### FUNCTION gtk_arg_info_hash ##### -->
1628 A #GHashFunc for hashing #GtkArgInfos.
1631 @arg_info: a #GtkArgInfo.
1632 @Returns: a hash value for that #GtkArgInfo.
1634 <!-- ##### FUNCTION gtk_arg_name_strip_type ##### -->
1636 Given a fully qualified argument name (e.g. "GtkButton::label")
1637 it returns just the argument name (e.g. "label") unless
1638 the argument name was invalid, in which case it returns NULL.
1641 @arg_name: the fully-qualified argument name.
1642 @Returns: the base argument name.
1644 <!-- ##### FUNCTION gtk_arg_new ##### -->
1646 Creates a new argument of a certain type, set to 0 or NULL.
1649 @arg_type: the type of the argument.
1650 @Returns: the newly created #GtkArg.
1652 <!-- ##### FUNCTION gtk_arg_reset ##### -->
1659 <!-- ##### FUNCTION gtk_arg_to_valueloc ##### -->
1667 <!-- ##### FUNCTION gtk_arg_type_new_static ##### -->
1669 Create a new argument registered with a class.
1672 @base_class_type: the basic type having the arguments, almost alway
1673 GTK_TYPE_OBJECT, except if your defining a different type argument
1674 that gets a different namespace. #GtkContainer does this to define
1675 per-child arguments of the container.
1676 @arg_name: name of the argument to create. (must be a static constant string)
1677 @class_n_args_offset: offset into the base class structure that tells
1678 the number of arguments.
1679 @arg_info_hash_table: hashtable of #GtkArgInfos.
1680 @arg_type: type of the argument.
1681 @arg_flags: flags of the argument.
1683 @Returns: the new #GtkArgInfo.
1685 <!-- ##### FUNCTION gtk_arg_values_equal ##### -->
1694 <!-- ##### FUNCTION gtk_args_collect ##### -->
1696 Private: given a hashtable of argument information it takes a vararg
1697 list and parses it into arguments (in the form of lists of #GtkArgs
1698 and lists of #GtkArgInfos.
1701 The list of arguments starts with first_arg_name then the first argument's
1702 value. Followed by any number of additional name/argument pairs,
1703 terminated with NULL.
1706 @object_type: the type of object we are collecting arguments for.
1707 @arg_info_hash_table: a hashtable mapping from names of arguments
1708 to their #GtkArgInfos.
1709 @arg_list_p: a returned list of arguments obtained from parsing the
1711 @info_list_p: a returned list of the #GtkArgInfos.
1712 @first_arg_name: the name of the first argument.
1713 @var_args: a va_list containing the value of the first argument,
1714 followed by name/value pairs, followed by NULL.
1715 @Returns: an error message on failure, or NULL otherwise.
1717 <!-- ##### FUNCTION gtk_args_collect_cleanup ##### -->
1719 Private: erase lists of arguments returned from gtk_args_collect().
1722 @arg_list: arg_list_p returned from gtk_args_collect().
1723 @info_list: info_list_p returned from gtk_args_collect().
1725 <!-- ##### FUNCTION gtk_args_query ##### -->
1727 Private: from a class type and its arginfo hashtable,
1728 get an array of #GtkArgs that this object accepts.
1731 @class_type: the class type.
1732 @arg_info_hash_table: the hashtable of #GtkArgInfos.
1733 @arg_flags: returned array of argument flags.
1734 @n_args_p: the number of arguments this object accepts.
1735 @Returns: the array of arguments (or NULL on error).
1737 <!-- ##### FUNCTION gtk_button_box_child_requisition ##### -->
1739 This is an internally used function and should never be called from an
\r
1748 <!-- ##### FUNCTION gtk_button_box_get_child_ipadding_default ##### -->
1750 The internal padding of a button is the amount of space between the outside
\r
1751 of the button and the widget it contains. This function gets the default
\r
1752 amount of horizontal and vertical padding, placing the results in @ipad_x
\r
1753 and @ipad_y, respectively.
\r
1756 @ipad_x: the default horizontal internal button padding.
1757 @ipad_y: the default vertical internal button padding.
1759 <!-- ##### FUNCTION gtk_button_box_get_child_size_default ##### -->
1761 Retrieves the default minimum width and height for all button boxes, and
\r
1762 places the values in @min_width and @min_height, respectively.
\r
1765 @min_width: the default minimum width of a child widget.
1766 @min_height: the default minimum height of a child widget.
1768 <!-- ##### FUNCTION gtk_button_box_set_child_ipadding_default ##### -->
1770 Sets the default number of pixels that pad each button in every button box.
\r
1773 @ipad_x: new default horizontal padding.
1774 @ipad_y: new default vertical padding.
1776 <!-- ##### FUNCTION gtk_button_box_set_child_size_default ##### -->
1778 Sets the default size of child buttons.
\r
1781 @min_width: minimum default width for child buttons.
1782 @min_height: minimum default height for child buttons.
1784 <!-- ##### FUNCTION gtk_button_new_accel ##### -->
1793 <!-- ##### FUNCTION gtk_button_new_stock ##### -->
1802 <!-- ##### FUNCTION gtk_cell_renderer_event ##### -->
1816 <!-- ##### FUNCTION gtk_cell_renderer_text_pixbuf_new ##### -->
1823 <!-- ##### FUNCTION gtk_clist_construct ##### -->
1825 Initializes a previously allocated #GtkCList widget for use. This should not
1826 normally be used to create a #GtkCList widget. Use gtk_clist_new() instead.
1829 @clist: A pointer to an uninitialized #GtkCList widget.
1830 @columns: The number of columns the #GtkCList should have.
1831 @titles: An array of strings that should be used as the titles i
1832 of the columns. There should be enough strings in the array for
1833 the number of columns specified.
1835 <!-- ##### FUNCTION gtk_color_selection_get_old_color ##### -->
1843 <!-- ##### FUNCTION gtk_color_selection_get_use_opacity ##### -->
1851 <!-- ##### FUNCTION gtk_color_selection_get_use_palette ##### -->
1859 <!-- ##### FUNCTION gtk_color_selection_set_old_color ##### -->
1867 <!-- ##### FUNCTION gtk_color_selection_set_opacity ##### -->
1869 Controls whether opacity can be set with the #GtkColorSelection.
1870 If this functionality is enabled, the necessary additional widgets
1871 are added to the #GtkColorSelection and the opacity value can be
1872 retrieved via the fourth value in the color array returned by
1873 the gtk_color_selection_get_color() function.
1876 @colorsel: a #GtkColorSelection.
1877 @use_opacity: a boolean indicating whether the opacity selection
1880 <!-- ##### FUNCTION gtk_color_selection_set_use_opacity ##### -->
1888 <!-- ##### FUNCTION gtk_color_selection_set_use_palette ##### -->
1896 <!-- ##### FUNCTION gtk_container_add_child_arg_type ##### -->
1906 <!-- ##### FUNCTION gtk_container_add_with_args ##### -->
1916 <!-- ##### FUNCTION gtk_container_addv ##### -->
1926 <!-- ##### FUNCTION gtk_container_arg_get ##### -->
1936 <!-- ##### FUNCTION gtk_container_arg_set ##### -->
1946 <!-- ##### FUNCTION gtk_container_child_arg_get_info ##### -->
1956 <!-- ##### FUNCTION gtk_container_child_args_collect ##### -->
1968 <!-- ##### FUNCTION gtk_container_child_getv ##### -->
1978 <!-- ##### FUNCTION gtk_container_child_setv ##### -->
1988 <!-- ##### FUNCTION gtk_container_dequeue_resize_handler ##### -->
1995 <!-- ##### FUNCTION gtk_container_focus ##### -->
2004 <!-- ##### FUNCTION gtk_container_query_child_args ##### -->
2014 <!-- ##### FUNCTION gtk_ctree_construct ##### -->
2016 This function is not usually used by users.
2024 <!-- ##### FUNCTION gtk_drag_dest_handle_event ##### -->
2032 <!-- ##### FUNCTION gtk_drag_source_handle_event ##### -->
2040 <!-- ##### FUNCTION gtk_editable_changed ##### -->
2042 Causes the "changed" signal to be emitted.
2045 @editable: a #GtkEditable widget.
2047 <!-- ##### FUNCTION gtk_editable_claim_selection ##### -->
2049 Claim or disclaim ownership of the PRIMARY X selection.
2052 @editable: a #GtkEditable widget.
2053 @claim: if %TRUE, claim the selection, otherwise, disclaim it.
2054 @time: the timestamp for claiming the selection.
2056 <!-- ##### FUNCTION gtk_font_selection_dialog_set_filter ##### -->
2058 Sets one of the two font filters, to limit the fonts shown.
2061 @fsd: a #GtkFontSelectionDialog.
2062 @filter_type: which of the two font filters to set, either
2063 #GTK_FONT_FILTER_BASE or #GTK_FONT_FILTER_USER. The user filter
2064 can be changed by the user, but the base filter is permanent.
2065 @font_type: the types of font to be shown. This is a bitwise combination of
2066 #GTK_FONT_BITMAP, #GTK_FONT_SCALABLE and #GTK_FONT_SCALABLE_BITMAP,
2067 or #GTK_FONT_ALL to show all three font types.
2068 @foundries: a NULL-terminated array of strings containing foundry names which
2069 will be shown, or NULL to show all foundries.
2070 @weights: a NULL-terminated array of strings containing weight names which
2071 will be shown, or NULL to show all weights.
2072 @slants: a NULL-terminated array of strings containing slant names which
2073 will be shown, or NULL to show all slants.
2074 @setwidths: a NULL-terminated array of strings containing setwidth names which
2075 will be shown, or NULL to show all setwidths.
2076 @spacings: a NULL-terminated array of strings containing spacings which
2077 will be shown, or NULL to show all spacings.
2078 @charsets: a NULL-terminated array of strings containing charset names which
2079 will be shown, or NULL to show all charsets.
2081 <!-- ##### FUNCTION gtk_font_selection_set_filter ##### -->
2083 Sets one of the two font filters, to limit the fonts shown.
2086 @fontsel: a #GtkFontSelection.
2087 @filter_type: which of the two font filters to set, either
2088 #GTK_FONT_FILTER_BASE or #GTK_FONT_FILTER_USER. The user filter
2089 can be changed by the user, but the base filter is permanent.
2090 @font_type: the types of font to be shown. This is a bitwise combination of
2091 #GTK_FONT_BITMAP, #GTK_FONT_SCALABLE and #GTK_FONT_SCALABLE_BITMAP,
2092 or #GTK_FONT_ALL to show all three font types.
2093 @foundries: a NULL-terminated array of strings containing foundry names which
2094 will be shown, or NULL to show all foundries.
2095 @weights: a NULL-terminated array of strings containing weight names which
2096 will be shown, or NULL to show all weights.
2097 @slants: a NULL-terminated array of strings containing slant names which
2098 will be shown, or NULL to show all slants.
2099 @setwidths: a NULL-terminated array of strings containing setwidth names which
2100 will be shown, or NULL to show all setwidths.
2101 @spacings: a NULL-terminated array of strings containing spacings which
2102 will be shown, or NULL to show all spacings.
2103 @charsets: a NULL-terminated array of strings containing charset names which
2104 will be shown, or NULL to show all charsets.
2106 <!-- ##### FUNCTION gtk_identifier_get_type ##### -->
2108 Get the type of GtkIdentifier.
2111 @Returns: GtkType -- the enumerated type of something.
2113 <!-- ##### FUNCTION gtk_image_menu_item_add_image ##### -->
2121 <!-- ##### FUNCTION gtk_image_menu_item_get_type ##### -->
2128 <!-- ##### FUNCTION gtk_item_factory_dump_items ##### -->
2138 <!-- ##### FUNCTION gtk_item_factory_dump_rc ##### -->
2147 <!-- ##### FUNCTION gtk_item_factory_parse_rc ##### -->
2154 <!-- ##### FUNCTION gtk_item_factory_parse_rc_scanner ##### -->
2161 <!-- ##### FUNCTION gtk_item_factory_parse_rc_string ##### -->
2168 <!-- ##### FUNCTION gtk_item_factory_print_func ##### -->
2176 <!-- ##### FUNCTION gtk_label_set_markup_with_accel ##### -->
2185 <!-- ##### FUNCTION gtk_list_store_new_with_types ##### -->
2194 <!-- ##### FUNCTION gtk_list_store_set_cell ##### -->
2204 <!-- ##### FUNCTION gtk_list_store_set_column_type ##### -->
2213 <!-- ##### FUNCTION gtk_list_store_set_n_columns ##### -->
2221 <!-- ##### FUNCTION gtk_menu_ensure_uline_accel_group ##### -->
2229 <!-- ##### FUNCTION gtk_menu_get_uline_accel_group ##### -->
2237 <!-- ##### FUNCTION gtk_menu_item_configure ##### -->
2239 Sets whether the menu item should show a submenu indicator, which is a right
2243 @menu_item: the menu item
2244 @show_toggle_indicator: unused
2245 @show_submenu_indicator: whether to show the arrow or not
2247 <!-- ##### FUNCTION gtk_menu_item_set_placement ##### -->
2249 Specifies the placement of the submenu around the menu item. The placement
2250 is usually #GTK_LEFT_RIGHT for menu items in a popup menu and
2251 #GTK_TOP_BOTTOM in menu bars.
2254 This function is useless in usual applications.
2257 @menu_item: the menu item
2258 @placement: the submenu placement
2260 <!-- ##### FUNCTION gtk_object_arg_get ##### -->
2262 Private function to get an argument and argument info from an object.
2265 @object: the object whose argument should be retrieved.
2266 @arg: the argument, for the name on input, the rest is filled on output.
2267 @info: a #GtkArgInfo structure to optionally fill in.
2269 <!-- ##### FUNCTION gtk_object_arg_get_info ##### -->
2271 Query information about an argument type.
2274 @object_type: type of object to query about.
2275 @arg_name: name of the argument.
2276 @info_p: pointer to be filled in with a pointer to the GtkArgInfo.
2277 @Returns: an error message, or NULL on success.
2278 It is the caller's responsibility to call g_free() in the event of error.
2280 <!-- ##### FUNCTION gtk_object_arg_set ##### -->
2282 Private function to set an argument and argument info to an object.
2285 @object: the object whose argument should be set.
2287 @info: infomation about this type of argument in general.
2289 <!-- ##### FUNCTION gtk_object_args_collect ##### -->
2291 Private: Gets an array of #GtkArgs from a va_list C structure.
2294 @object_type: the type of object to collect arguments for.
2295 @arg_list_p: pointer to be filled in with a list of parsed arguments.
2296 @info_list_p: optional pointer for a returned list #GtkArgInfos.
2297 @first_arg_name: name of first argument.
2298 @var_args: value of first argument, followed by more key/value pairs,
2300 @Returns: an error message, or NULL on success.
2301 It is the caller's responsibility to call g_free() in the event of error.
2303 <!-- ##### FUNCTION gtk_object_class_add_signals ##### -->
2305 Add an array of signals to a #GtkObjectClass.
2306 Usually this is called when registering a new type of object.
2309 @klass: the object class to append signals to.
2310 @signals: the signals to append.
2311 @nsignals: the number of signals being appended.
2313 <!-- ##### FUNCTION gtk_object_class_user_signal_new ##### -->
2315 Define a signal-handler for a new signal on an already defined
2319 See the signal documentation for more general information.
2322 @klass: the object class to define the signal for.
2323 @name: the name of the signal.
2324 @signal_flags: the default emission behavior for the signal.
2325 See gtk_signal_new().
2326 @marshaller: a function that will take an array of GtkArgs
2327 and invoke the appropriate handler with the normal calling
2329 @return_val: specify the return-value type for the signal
2330 (or GTK_TYPE_NONE for no return-value).
2331 @nparams: specify the number of parameters the signal
2332 receives from the caller of gtk_signal_emit().
2333 @Varargs: list of nparams #GtkTypes to pass to the signal handlers.
2334 @Returns: the signal id. (See #GtkSignals)
2336 <!-- ##### FUNCTION gtk_object_class_user_signal_newv ##### -->
2338 Define a signal-handler for a new signal on an already defined
2342 @klass: the object class to define the signal for.
2343 @name: the name of the signal.
2344 @signal_flags: the default emission behavior for the signal.
2345 See gtk_signal_new().
2346 @marshaller: takes a GtkObject, a #GtkSignalFunc, and an array
2347 of arguments, and invokes the function using the appropriate
2348 calling conventions. Usually just select a function
2349 out of gtkmarshal.h.
2350 @return_val: specify the return-value type for the signal (possibly
2352 @nparams: specify the number of parameters the signal
2353 receives from the caller of gtk_signal_emit().
2354 @params: array of #GtkTypes the signal handlers for this signal
2355 should have in their prototype (of length nparams).
2356 @Returns: the signal id. (See #GtkSignals)
2358 <!-- ##### FUNCTION gtk_object_constructed ##### -->
2360 Mark an allocated object as constructed.
2361 This is used for situations
2362 that require precise control of the construction process.
2365 This is done when gtk_object_default_construct() is inadequate.
2366 In #GtkCList the need arises because #GtkCList does construction work that
2367 must happen <emphasis>after</emphasis> its derivers. This work
2368 cannot be done in an initializer function, so an alternate
2369 constructor is mandatory. It calls gtk_object_constructed() to
2370 indicate it has done its job, so that no other constructor will
2374 Normally this function is just automatically run from
2375 gtk_object_default_construct().
2378 @object: object which has been constructed. This is usually
2379 done automatically by gtk_object_new() and gtk_object_newv().
2381 <!-- ##### FUNCTION gtk_object_default_construct ##### -->
2383 This function is called to construct arguments that haven't been initialized
2384 but have the #GTK_ARG_CONSTRUCT flag set.
2387 All number arguments are set to 0. All pointers and strings
2391 Normally invoked by gtk_object_new() automatically; gtk_type_new() can
2392 be used to bypass it.
2395 @object: the object to initialize.
2397 <!-- ##### FUNCTION gtk_object_getv ##### -->
2399 Gets an array of argument values from an object.
2402 @object: the object to get arguments from.
2403 @n_args: the number of arguments to query.
2404 @args: the arguments to fill in.
2406 <!-- ##### FUNCTION gtk_object_newv ##### -->
2408 Construct an object with an array of arguments.
2411 @object_type: the type of the object to create.
2412 @n_args: the number of arguments to set.
2413 @args: an array of n_args arguments (which are name and value pairs).
2414 @Returns: the new GtkObject.
2416 <!-- ##### FUNCTION gtk_object_query_args ##### -->
2418 Get all the arguments that may be used for a given type.
2421 In Java, this type of mechanism is called
2422 <wordasword>introspection</wordasword>. It is used by applications
2423 like Glade, that have to determine what can be done to an object
2427 @class_type: the GtkType of the ObjectClass
2428 (returned from GTK_OBJECT_CLASS(class)->type for example).
2429 @arg_flags: if non-NULL, obtains the #GtkArgFlags that apply to
2430 each argument. You must g_free() this if you request it.
2431 @n_args: the number of arguments is returned in this field.
2432 @Returns: an array of arguments, that you must deallocate with g_free().
2434 <!-- ##### FUNCTION gtk_object_setv ##### -->
2436 Set an array of arguments.
2439 @object: the object whose arguments should be set.
2440 @n_args: the number of arguments to set.
2441 @args: the desired values, as an array of #GtkArgs (which contain
2442 the names, types, and values of the arguments).
2444 <!-- ##### FUNCTION gtk_packer_add ##### -->
2460 <!-- ##### FUNCTION gtk_packer_add_defaults ##### -->
2471 <!-- ##### MACRO gtk_packer_configure ##### -->
2477 <!-- ##### FUNCTION gtk_packer_new ##### -->
2484 <!-- ##### FUNCTION gtk_packer_reorder_child ##### -->
2493 <!-- ##### FUNCTION gtk_packer_set_child_packing ##### -->
2509 <!-- ##### FUNCTION gtk_packer_set_default_border_width ##### -->
2517 <!-- ##### FUNCTION gtk_packer_set_default_ipad ##### -->
2526 <!-- ##### FUNCTION gtk_packer_set_default_pad ##### -->
2535 <!-- ##### FUNCTION gtk_packer_set_spacing ##### -->
2543 <!-- ##### FUNCTION gtk_paned_compute_position ##### -->
2545 Internal function used by #GtkHPaned and #GtkVPaned
2553 <!-- ##### MACRO gtk_paned_handle_size ##### -->
2555 Old name for gtk_paned_set_handle_size().
2559 <!-- ##### FUNCTION gtk_paned_set_handle_size ##### -->
2561 Set the the handle size to @size x @size pixels.
2564 @paned: a paned widget
2565 @size: the size in pixels
2567 <!-- ##### FUNCTION gtk_pattern_match ##### -->
2578 <!-- ##### FUNCTION gtk_pattern_match_simple ##### -->
2587 <!-- ##### FUNCTION gtk_pattern_match_string ##### -->
2596 <!-- ##### FUNCTION gtk_pattern_spec_free_segs ##### -->
2603 <!-- ##### FUNCTION gtk_pattern_spec_init ##### -->
2611 <!-- ##### FUNCTION gtk_rc_init ##### -->
2617 <!-- ##### FUNCTION gtk_rc_load_image ##### -->
2619 Internal function. Loads an image using the current
2623 @colormap: the colormap to use for the image
2624 @transparent_color: the transparent color for the image
2625 @filename: the filename of the image file
2626 @Returns: a #GtkPixmap representing @filename
2628 <!-- ##### FUNCTION gtk_rc_set_image_loader ##### -->
2630 Sets the function that GTK+ will use to load images
2633 @loader: the #GtkImageLoader to use
2635 <!-- ##### FUNCTION gtk_ruler_draw_pos ##### -->
2640 @ruler: the gtkruler
2642 <!-- ##### FUNCTION gtk_ruler_draw_ticks ##### -->
2647 @ruler: the gtkruler
2649 <!-- ##### FUNCTION gtk_selection_clear ##### -->
2658 <!-- ##### FUNCTION gtk_selection_incr_event ##### -->
2667 <!-- ##### FUNCTION gtk_selection_notify ##### -->
2676 <!-- ##### FUNCTION gtk_selection_property_notify ##### -->
2685 <!-- ##### FUNCTION gtk_selection_request ##### -->
2694 <!-- ##### FUNCTION gtk_settings_get_global ##### -->
2701 <!-- ##### FUNCTION gtk_signal_add_emission_hook ##### -->
2703 Add an emission hook for a type of signal, for any object.
2706 @signal_id: the type of signal to hook for.
2707 @hook_func: the function to invoke to handle the emission hook.
2708 @data: the user data passed in to hook_func.
2709 @Returns: the id (that you may pass as a parameter
2710 to gtk_signal_remove_emission_hook()).
2715 <!-- ##### FUNCTION gtk_signal_add_emission_hook_full ##### -->
2717 Add an emission hook for a type of signal, for any object.
2718 (with control of what happens when the hook is
2722 @signal_id: the type of signal add the hook for.
2723 @hook_func: the function to invoke to handle the hook.
2724 @data: the user data passed in to hook_func.
2725 @destroy: a function to invoke when the hook is destroyed,
2726 to clean up any allocation done just for this
2728 @Returns: the id (that you may pass as a parameter
2729 to gtk_signal_remove_emission_hook()).
2731 <!-- ##### FUNCTION gtk_signal_handler_pending_by_id ##### -->
2733 Returns whether a connection id is valid (and optionally not blocked).
2736 @object: the object to search for the desired handler.
2737 @handler_id: the connection id.
2738 @may_be_blocked: whether it is acceptable to return a blocked
2740 @Returns: TRUE if the signal exists and wasn't blocked,
2741 unless #may_be_blocked was specified. FALSE otherwise.
2743 <!-- ##### FUNCTION gtk_signal_handlers_destroy ##### -->
2745 Destroy all the signal handlers connected to an object.
2746 This is done automatically when the object is destroyed.
2749 This function is labeled private.
2752 @object: the object whose signal handlers should be destroyed.
2754 <!-- ##### FUNCTION gtk_signal_init ##### -->
2760 <!-- ##### FUNCTION gtk_signal_n_emissions ##### -->
2762 Find out the recursion depth of emissions for a particular type
2763 of signal and object. (So it will
2764 always return 0 or 1 if #GTK_RUN_NO_RECURSE is specified)
2765 This is a way to avoid recursion: you can see if
2766 you are currently running in that signal handler and emit it only
2769 <para>Another way to look at it is that this number increases
2770 by one when #gtk_signal_emit(), et al, are called,
2771 and decreases by one when #gtk_signal_emit() returns.
2774 @object: the object with the signal handler.
2775 @signal_id: the signal id.
2776 @Returns: the recursion depth of emissions of this signal for this
2779 <!-- ##### FUNCTION gtk_signal_n_emissions_by_name ##### -->
2781 Find out the recursion depth of emissions for a particular type
2782 of signal and object. Just like gtk_signal_n_emissions()
2783 except it will lookup the signal id for you.
2786 @object: the object with the signal handler.
2787 @name: the signal name.
2788 @Returns: the recursion depth of emissions of this signal for this
2791 <!-- ##### FUNCTION gtk_signal_query ##### -->
2793 Obtain information about a signal.
2796 @signal_id: the signal type identifier.
2797 @Returns: a pointer to a GtkSignalQuery structure
2798 which contains all the information, or NULL.
2799 The pointer is allocated just for you: you must g_free() it.
2801 <!-- ##### FUNCTION gtk_signal_remove_emission_hook ##### -->
2803 Delete an emission hook. (see gtk_signal_add_emission_hook())
2806 @signal_id: the id of the signal type.
2807 @hook_id: the id of the emission handler, returned by add_emission_hook().
2811 <!-- ##### FUNCTION gtk_signal_set_funcs ##### -->
2813 These set default functions to call when the user didn't
2814 supply a function when connecting. (These are rarely
2815 used, and probably only for language bindings)
2818 By default, there are no such functions.
2821 @marshal_func: the function to invoke on every handlers for which there
2822 isn't a function pointer. May be NULL.
2823 @destroy_func: the function to invoke when each hook is destroyed.
2826 <!-- ##### FUNCTION gtk_spin_button_set_shadow_type ##### -->
2828 Creates a border around the arrows of a #GtkSpinButton. The type of border is determined by @shadow_type.
2831 @spin_button: a #GtkSpinButton
2832 @shadow_type: the new border type.
2834 <!-- ##### FUNCTION gtk_stock_list_items ##### -->
2841 <!-- ##### FUNCTION gtk_text_buffer_paste_primary ##### -->
2850 <!-- ##### FUNCTION gtk_text_iter_reorder ##### -->
2858 <!-- ##### FUNCTION gtk_text_iter_spew ##### -->
2866 <!-- ##### FUNCTION gtk_text_view_set_text_window_size ##### -->
2875 <!-- ##### FUNCTION gtk_tips_query_get_type ##### -->
2882 <!-- ##### FUNCTION gtk_trace_referencing ##### -->
2884 Private: print debugging information while doing a gtk_object_ref() or
2885 a gtk_object_unref().
2888 @object: object to reference or unreference.
2889 @func: name of caller's function to print (used within macros).
2891 @line: line number (used within macros).
2892 @do_ref: whether to reference or unreference.
2894 <!-- ##### FUNCTION gtk_tree_model_ref_iter ##### -->
2902 <!-- ##### FUNCTION gtk_tree_model_sort_convert_iter ##### -->
2911 <!-- ##### FUNCTION gtk_tree_model_sort_convert_path ##### -->
2921 <!-- ##### FUNCTION gtk_tree_model_sort_new ##### -->
2928 <!-- ##### FUNCTION gtk_tree_model_sort_set_compare ##### -->
2936 <!-- ##### FUNCTION gtk_tree_model_sort_set_model ##### -->
2945 <!-- ##### FUNCTION gtk_tree_model_sort_set_sort_column ##### -->
2953 <!-- ##### FUNCTION gtk_tree_model_unref_iter ##### -->
2961 <!-- ##### FUNCTION gtk_tree_store_new_with_types ##### -->
2970 <!-- ##### FUNCTION gtk_tree_store_set_cell ##### -->
2980 <!-- ##### FUNCTION gtk_tree_store_set_column_type ##### -->
2990 <!-- ##### FUNCTION gtk_tree_store_set_n_columns ##### -->
2998 <!-- ##### FUNCTION gtk_tree_view_column_cell_event ##### -->
3011 <!-- ##### FUNCTION gtk_tree_view_column_set_cell_data ##### -->
3020 <!-- ##### FUNCTION gtk_tree_view_column_set_cell_renderer ##### -->
3028 <!-- ##### FUNCTION gtk_tree_view_column_set_width ##### -->
3037 <!-- ##### FUNCTION gtk_tree_view_set_rows_drag_dest ##### -->
3046 @location_droppable_func:
3049 <!-- ##### FUNCTION gtk_tree_view_set_rows_drag_source ##### -->
3059 @row_draggable_func:
3062 <!-- ##### FUNCTION gtk_type_check_class_cast ##### -->
3064 Given a GtkTypeClass pointer @klass, and a GtkType @cast_type, make
3065 sure that it's okay to cast something of that @klass into a @cast_type.
3068 @klass: GtkTypeClass*
3070 @Returns: Always return @klass.
3072 <!-- ##### FUNCTION gtk_type_check_object_cast ##### -->
3074 Given a pointer to a GtkTypeObject @type_object, and a GtkType @cast_type,
3075 make sure that it's okay to cast @type_object into a @cast_type.
3078 @type_object: GtkTypeObject*
3080 @Returns: the same GtkTypeObject* as @type_object
3082 <!-- ##### FUNCTION gtk_type_children_types ##### -->
3084 Return the pointer to the type's children's types.
3088 @Returns: pointer to a GList
3090 <!-- ##### FUNCTION gtk_type_describe_heritage ##### -->
3092 Print the types @type inherits from.
3097 <!-- ##### FUNCTION gtk_type_describe_tree ##### -->
3099 Given a @type, describe all of its children, and their children. Only
3100 show the size if @show_size is true.
3104 @show_size: gboolean
3106 <!-- ##### FUNCTION gtk_type_free ##### -->
3108 Given the type of an object and a pointer to it, the object is freed.
3112 @mem: gpointer to the object
3114 <!-- ##### FUNCTION gtk_type_get_varargs_type ##### -->
3116 Get the varargs type associated with @foreign_type
3119 @foreign_type: GtkType
3122 <!-- ##### FUNCTION gtk_type_parent_class ##### -->
3124 Return the class of the parent. Initialize the class if necessary.
3125 Return NULL if anything goes wrong.
3129 @Returns: gpointer to the klass.
3131 <!-- ##### FUNCTION gtk_type_query ##### -->
3133 Given a type, return various interesting parameters of the type.
3137 @Returns: GtkTypeQuery*
3139 <!-- ##### FUNCTION gtk_type_register_enum ##### -->
3141 Register a new set of enum @values and give them the name in
3145 @type_name: must not be null.
3146 @values: GtkEnumValue*
3149 <!-- ##### FUNCTION gtk_type_register_flags ##### -->
3151 Register a new set of flags @values and give them the name in
3155 @type_name: must not be null.
3156 @values: GtkFlagValue*
3159 <!-- ##### FUNCTION gtk_type_set_chunk_alloc ##### -->
3161 Set the mem_chunk size so it will hold @n_chunks of the objects of that @type.
3164 @type: There must be an unlocked TypeNode associated with this type otherwise nothing happens.
3167 <!-- ##### FUNCTION gtk_type_set_varargs_type ##### -->
3169 Set the varargs type for a fundamental type @foreign_type.
3172 @foreign_type: Must be a GtkType with a sequence number of zero. Must not be a
3174 @varargs_type: Must be a GtkType which is either structured or flag, or NONE.
3176 <!-- ##### FUNCTION gtk_widget_accelerator_signal ##### -->
3187 <!-- ##### FUNCTION gtk_widget_accelerators_locked ##### -->
3195 <!-- ##### FUNCTION gtk_widget_activate_mnemonic ##### -->
3204 <!-- ##### FUNCTION gtk_widget_get_usize ##### -->
3213 <!-- ##### FUNCTION gtk_widget_lock_accelerators ##### -->
3220 <!-- ##### FUNCTION gtk_widget_pop_style ##### -->
3226 <!-- ##### FUNCTION gtk_widget_popup ##### -->
3235 <!-- ##### FUNCTION gtk_widget_push_style ##### -->
3242 <!-- ##### FUNCTION gtk_widget_remove_accelerators ##### -->
3251 <!-- ##### FUNCTION gtk_widget_set_default_style ##### -->
3258 <!-- ##### FUNCTION gtk_widget_unlock_accelerators ##### -->
3265 <!-- ##### FUNCTION gtk_window_activate_mnemonic ##### -->
3275 <!-- ##### FUNCTION gtk_window_get_default_accel_group ##### -->
3283 <!-- ##### FUNCTION gtk_window_get_resizeable ##### -->
3291 <!-- ##### FUNCTION gtk_window_set_decorations_hint ##### -->
3299 <!-- ##### FUNCTION gtk_window_set_functions_hint ##### -->
3307 <!-- ##### FUNCTION gtk_window_set_resizeable ##### -->