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_OBJECT_CONSTRUCTED ##### -->
276 Test whether a GtkObject's arguments have been prepared.
279 @obj: the object to examine.
281 <!-- ##### MACRO GTK_OBJECT_NSIGNALS ##### -->
283 Get the number of signals defined by this object.
286 @obj: the object to query.
288 <!-- ##### MACRO GTK_OBJECT_SIGNALS ##### -->
290 Get the array of signals defined for this object.
293 @obj: the object to fetch the signals from.
295 <!-- ##### MACRO GTK_STOCK_BUTTON_APPLY ##### -->
301 <!-- ##### MACRO GTK_STOCK_BUTTON_CANCEL ##### -->
307 <!-- ##### MACRO GTK_STOCK_BUTTON_CLOSE ##### -->
313 <!-- ##### MACRO GTK_STOCK_BUTTON_NO ##### -->
319 <!-- ##### MACRO GTK_STOCK_BUTTON_OK ##### -->
325 <!-- ##### MACRO GTK_STOCK_BUTTON_YES ##### -->
331 <!-- ##### MACRO GTK_TREE_MODEL_GET_IFACE ##### -->
338 <!-- ##### MACRO GTK_TREE_SELECTION ##### -->
340 A macro that returns a GList that contains the selection of the root tree of @obj.
343 @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.
345 <!-- ##### MACRO GTK_TYPE_FLAT_FIRST ##### -->
347 The first "flat" (no struct) enumerated type value.
351 <!-- ##### MACRO GTK_TYPE_FLAT_LAST ##### -->
353 The last "flat" (no struct) enumerated type value.
357 <!-- ##### MACRO GTK_TYPE_IDENTIFIER ##### -->
359 Hide the name of gtk_identifier_get_type
363 <!-- ##### MACRO GTK_TYPE_MAKE ##### -->
365 Combine a fundemantal type and a sequence number to create a gtk type.
371 <!-- ##### MACRO GTK_TYPE_NUM_BUILTINS ##### -->
377 <!-- ##### MACRO GTK_TYPE_SEQNO ##### -->
379 Convert a gtk type into its sequence number
384 <!-- ##### MACRO GTK_TYPE_STRUCTURED_FIRST ##### -->
386 The first structured enumerated type value.
390 <!-- ##### MACRO GTK_TYPE_STRUCTURED_LAST ##### -->
392 The last structured enumerated type value.
396 <!-- ##### MACRO GTK_TYPE_TREE_COLUMN ##### -->
402 <!-- ##### MACRO GTK_TYPE_TREE_VIEW_COLUMN ##### -->
408 <!-- ##### MACRO GTK_VALUE_ARGS ##### -->
410 Use to get the value of a GtkArg whose GtkType is GTK_TYPE_ARGS
415 <!-- ##### MACRO GTK_VALUE_CALLBACK ##### -->
417 Use to get the value of a GtkArg whose GtkType is GTK_TYPE_CALLBACK
422 <!-- ##### MACRO GTK_VALUE_C_CALLBACK ##### -->
424 Use to get the value of a GtkArg whose GtkType is GTK_TYPE_C_CALLBACK
429 <!-- ##### MACRO GTK_VALUE_FOREIGN ##### -->
431 Use to get the value of a GtkArg whose GtkType is GTK_TYPE_C_FOREIGN
436 <!-- ##### USER_FUNCTION GValueCompareFunc ##### -->
445 <!-- ##### STRUCT GtkAccelEntry ##### -->
447 This is a private struct used by GTK+ internally, don't worry about it.
457 <!-- ##### ARG GtkAccelLabel:accel-widget ##### -->
459 The widget whose accelerators are to be shown by the #GtkAccelLabel.
463 <!-- ##### ARG GtkAccelLabel:accel-width ##### -->
469 <!-- ##### ENUM GtkAnchorType ##### -->
476 @GTK_ANCHOR_NORTH_WEST:
477 @GTK_ANCHOR_NORTH_EAST:
479 @GTK_ANCHOR_SOUTH_WEST:
480 @GTK_ANCHOR_SOUTH_EAST:
492 <!-- ##### USER_FUNCTION GtkArgGetFunc ##### -->
494 Define a function pointer. Deprecated.
501 <!-- ##### STRUCT GtkArgInfo ##### -->
503 A structure containing information about the argument.
504 Returned by gtk_arg_get_info().
507 @class_type: if the argument is an object, this is the object class type.
508 @name: the name of the argument.
509 @type: the type of the argument; it may be an object's type
510 or a fundamental type.
511 @arg_flags: flags applicable to the argument (i.e. readable, writable,
512 and whether it needs to be constructed).
513 @full_name: the object name and argument name separated by ::,
514 e.g. "GtkObject::user_data" or "GtkButton::label".
515 @arg_id: the unique argument identified.
518 <!-- ##### USER_FUNCTION GtkArgSetFunc ##### -->
520 Define a function pointer. Deprecated.
527 <!-- ##### STRUCT GtkCellRendererTextPixbuf ##### -->
534 <!-- ##### ARG GtkColorSelection:previous-alpha ##### -->
540 <!-- ##### ARG GtkColorSelection:previous-color ##### -->
546 <!-- ##### SIGNAL GtkContainer::focus ##### -->
551 @container: the object which received the signal.
555 <!-- ##### ARG GtkContainer:reallocate-redraws ##### -->
561 <!-- ##### STRUCT GtkData ##### -->
563 The #GtkData-struct struct contains no public fields.
567 <!-- ##### SIGNAL GtkData::disconnect ##### -->
569 Emitted to notify any views on the #GtkData object to disconnect from it,
570 possibly because the #GtkData object is about to be destroyed.
573 @data: the object which received the signal.
575 <!-- ##### SIGNAL GtkEditable::activate ##### -->
577 Indicates that the user has activated the widget
578 in some fashion. Generally, this will be done
579 with a keystroke. (The default binding for this
580 action is Return for #GtkEntry and
581 Control-Return for #GtkText.)
584 @editable: the object which received the signal.
586 <!-- ##### SIGNAL GtkEditable::copy-clipboard ##### -->
588 An action signal. Causes the characters in the current selection to
589 be copied to the clipboard.
592 @editable: the object which received the signal.
594 <!-- ##### SIGNAL GtkEditable::cut-clipboard ##### -->
596 An action signal. Causes the characters in the current
597 selection to be copied to the clipboard and then deleted from
601 @editable: the object which received the signal.
603 <!-- ##### SIGNAL GtkEditable::kill-char ##### -->
605 An action signal. Delete a single character.
608 @editable: the object which received the signal.
609 @direction: the direction in which to delete. Positive
610 indicates forward deletion, negative, backwards deletion.
612 <!-- ##### SIGNAL GtkEditable::kill-line ##### -->
614 An action signal. Delete a single line.
617 @editable: the object which received the signal.
618 @direction: the direction in which to delete. Positive
619 indicates forward deletion, negative, backwards deletion.
621 <!-- ##### SIGNAL GtkEditable::kill-word ##### -->
623 An action signal. Delete a single word.
626 @editable: the object which received the signal.
627 @direction: the direction in which to delete. Positive
628 indicates forward deletion, negative, backwards deletion.
630 <!-- ##### SIGNAL GtkEditable::move-cursor ##### -->
632 An action signal. Move the cursor position.
635 @editable: the object which received the signal.
636 @x: horizontal distance to move the cursor.
637 @y: vertical distance to move the cursor.
639 <!-- ##### SIGNAL GtkEditable::move-page ##### -->
641 An action signal. Move the cursor by pages.
644 @editable: the object which received the signal.
645 @x: Number of pages to move the cursor horizontally.
646 @y: Number of pages to move the cursor vertically.
648 <!-- ##### SIGNAL GtkEditable::move-to-column ##### -->
650 An action signal. Move the cursor to the given column.
653 @editable: the object which received the signal.
654 @column: the column to move to. (A negative value indicates
657 <!-- ##### SIGNAL GtkEditable::move-to-row ##### -->
659 An action signal. Move the cursor to the given row.
662 @editable: the object which received the signal.
663 @row: the row to move to. (A negative value indicates
666 <!-- ##### SIGNAL GtkEditable::move-word ##### -->
668 An action signal. Move the cursor by words.
671 @editable: the object which received the signal.
672 @num_words: The number of words to move the
673 cursor. (Can be negative).
675 <!-- ##### SIGNAL GtkEditable::paste-clipboard ##### -->
677 An action signal. Causes the contents of the clipboard to
678 be pasted into the editable widget at the current cursor
682 @editable: the object which received the signal.
684 <!-- ##### SIGNAL GtkEditable::set-editable ##### -->
686 Determines if the user can edit the text in the editable
687 widget or not. This is meant to be overriden by
688 child classes and should not generally useful to
692 @editable: the object which received the signal.
693 @is_editable: %TRUE if the user is allowed to edit the text
696 <!-- ##### ARG GtkEditable:editable ##### -->
698 A boolean indicating whether the widget is editable by
703 <!-- ##### ARG GtkEditable:text-position ##### -->
705 The position of the cursor.
709 <!-- ##### USER_FUNCTION GtkEmissionHook ##### -->
711 A simple function pointer to get invoked when the
712 signal is emitted. This allows you tie a hook to the signal type,
713 so that it will trap all emissions of that signal, from any object.
716 You may not attach these to signals created with the
717 #GTK_RUN_NO_HOOKS flag.
727 <!-- ##### SIGNAL GtkEntry::changed ##### -->
732 @entry: the object which received the signal.
734 <!-- ##### SIGNAL GtkEntry::delete-text ##### -->
739 @entry: the object which received the signal.
743 <!-- ##### SIGNAL GtkEntry::insert-text ##### -->
748 @entry: the object which received the signal.
753 <!-- ##### ARG GtkEntry:text-position ##### -->
759 <!-- ##### ENUM GtkFontFilterType ##### -->
761 A set of bit flags used to specify the filter being set
762 when calling gtk_font_selection_dialog_set_filter() or
763 gtk_font_selection_set_filter().
766 @GTK_FONT_FILTER_BASE: the base filter, which can't be changed by the user.
767 @GTK_FONT_FILTER_USER: the user filter, which can be changed from within the
768 'Filter' page of the #GtkFontSelection widget.
770 <!-- ##### ENUM GtkFontType ##### -->
772 A set of bit flags used to specify the type of fonts shown
773 when calling gtk_font_selection_dialog_set_filter() or
774 gtk_font_selection_set_filter().
777 @GTK_FONT_BITMAP: bitmap fonts.
778 @GTK_FONT_SCALABLE: scalable fonts.
779 @GTK_FONT_SCALABLE_BITMAP: scaled bitmap fonts.
780 @GTK_FONT_ALL: a bitwise combination of all of the above.
782 <!-- ##### ARG GtkHScale:adjustment ##### -->
784 the #GtkAdjustment which sets the range of the scale.
788 <!-- ##### ARG GtkHScrollbar:adjustment ##### -->
794 <!-- ##### USER_FUNCTION GtkImageLoader ##### -->
796 A GtkImageLoader is used to load a filename found in
800 @window: the window for creating image
801 @colormap: the colormap for this image
802 @mask: a pointer to the location to store the mask
803 @transparent_color: the transparent color for the image
804 @filename: filename to load
805 @Returns: a #GtkPixmap representing @filename
807 <!-- ##### ARG GtkLabel:accel-keyval ##### -->
813 <!-- ##### ARG GtkObject:object-signal ##### -->
815 Setting this with a GtkType of GTK_TYPE_SIGNAL connects
816 the signal to the object, so that the user data and objects
817 and swapped when the signal handler is invoked.
820 This is useful for handlers that are primarily notifying
821 other objects and could just invoke an already existing function
822 if the parameters were swapped.
823 See gtk_signal_connect_object() for more details.
827 <!-- ##### ARG GtkObject:object-signal-after ##### -->
829 Setting this with a GtkType of GTK_TYPE_SIGNAL connects
830 the signal to the object, so that the user data and objects
831 and swapped when the signal handler is invoked,
832 and so that the handler is invoked after all others.
835 See gtk_signal_connect_object_after() for more details.
839 <!-- ##### ARG GtkObject:signal ##### -->
841 Setting this with a GtkType of GTK_TYPE_SIGNAL connects
842 the signal to the object.
846 <!-- ##### ARG GtkObject:signal-after ##### -->
848 Setting this with a GtkType of GTK_TYPE_SIGNAL connects
849 the signal to the object, so that the signal is always run
850 after other user handlers and the default handler.
854 <!-- ##### SIGNAL GtkOldEditable::changed ##### -->
859 @oldeditable: the object which received the signal.
861 <!-- ##### SIGNAL GtkOldEditable::delete-text ##### -->
866 @oldeditable: the object which received the signal.
870 <!-- ##### SIGNAL GtkOldEditable::insert-text ##### -->
875 @oldeditable: the object which received the signal.
880 <!-- ##### STRUCT GtkPacker ##### -->
888 @default_border_width:
894 <!-- ##### ARG GtkPacker:default-border-width ##### -->
900 <!-- ##### ARG GtkPacker:default-ipad-x ##### -->
906 <!-- ##### ARG GtkPacker:default-ipad-y ##### -->
912 <!-- ##### ARG GtkPacker:default-pad-x ##### -->
918 <!-- ##### ARG GtkPacker:default-pad-y ##### -->
924 <!-- ##### ARG GtkPacker:spacing ##### -->
930 <!-- ##### STRUCT GtkPackerChild ##### -->
946 <!-- ##### ENUM GtkPackerOptions ##### -->
955 <!-- ##### ARG GtkPaned:handle-size ##### -->
961 <!-- ##### STRUCT GtkPatternSpec ##### -->
973 <!-- ##### ENUM GtkPrivateFlags ##### -->
978 @PRIVATE_GTK_USER_STYLE:
979 @PRIVATE_GTK_RESIZE_PENDING:
980 @PRIVATE_GTK_RESIZE_NEEDED:
981 @PRIVATE_GTK_LEAVE_PENDING:
982 @PRIVATE_GTK_HAS_SHAPE_MASK:
983 @PRIVATE_GTK_IN_REPARENT:
984 @PRIVATE_GTK_DIRECTION_SET:
985 @PRIVATE_GTK_DIRECTION_LTR:
987 <!-- ##### ARG GtkScrolledWindow:shadow ##### -->
993 <!-- ##### ENUM GtkSideType ##### -->
1003 <!-- ##### USER_FUNCTION GtkSignalDestroy ##### -->
1005 A function which you can use to clean up when the
1006 signal handler is destroyed.
1009 For example, if your handler requires a few variables
1010 that you made into a struct and allocated (using g_new()
1011 or something), then you will probably want to free
1012 it as soon as the hook is destroyed. This will
1013 allow you to do that. (For this in particular
1014 it is convenient to pass g_free() as a #GtkSignalDestroy
1018 @data: The user data associated with the hook that is being
1021 <!-- ##### USER_FUNCTION GtkSignalMarshal ##### -->
1023 This is currently a hack left in for a scheme wrapper library.
1030 @object: The object which emits the signal.
1031 @data: The user data associated with the hook.
1032 @nparams: The number of parameters to the function.
1033 @args: The actual values of the arguments.
1034 @arg_types: The types of the arguments.
1035 @return_type: The type of the return value from the function
1036 or #GTK_TYPE_NONE for no return value.
1038 <!-- ##### STRUCT GtkSignalQuery ##### -->
1040 This structure contains all the information about a particular
1041 signal: its name, the type it affects, the signature of the handlers,
1042 and its unique identifying integer.
1054 <!-- ##### ARG GtkSpinButton:shadow-type ##### -->
1056 the type of border that surrounds the arrows of a spin button.
1060 <!-- ##### STRUCT GtkStatusbarMsg ##### -->
1062 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.
1069 <!-- ##### ARG GtkTextTag:justify ##### -->
1071 A #GtkJustification for the text. This is only used when the tag is
1072 applied to the first character in a paragraph.
1076 <!-- ##### ARG GtkTextTag:left-wrapped-line-margin ##### -->
1078 Pixel width of the left margin of the text for lines after the first
1079 line in a wrapped paragraph.
1083 <!-- ##### ARG GtkTextTag:left-wrapped-line-margin-set ##### -->
1089 <!-- ##### ARG GtkTextTag:offset ##### -->
1091 Pixels to offset the text horizontally or vertically, useful to
1092 produce superscript and subscript.
1096 <!-- ##### ARG GtkTextView:height-lines ##### -->
1102 <!-- ##### ARG GtkTextView:justify ##### -->
1108 <!-- ##### ARG GtkTextView:width-columns ##### -->
1114 <!-- ##### STRUCT GtkTreeModelSort ##### -->
1120 <!-- ##### STRUCT GtkTreeSelectionClass ##### -->
1126 <!-- ##### ENUM GtkTreeSelectionMode ##### -->
1131 @GTK_TREE_SELECTION_SINGLE:
1132 @GTK_TREE_SELECTION_MULTI:
1134 <!-- ##### STRUCT GtkTreeView ##### -->
1142 <!-- ##### ARG GtkVScale:adjustment ##### -->
1144 the #GtkAdjustment which sets the range of the scale.
1148 <!-- ##### ARG GtkVScrollbar:adjustment ##### -->
1154 <!-- ##### SIGNAL GtkWidget::activate-mnemonic ##### -->
1159 @widget: the object which received the signal.
1163 <!-- ##### SIGNAL GtkWidget::debug-msg ##### -->
1168 @widget: the object which received the signal.
1171 <!-- ##### SIGNAL GtkWidget::draw ##### -->
1176 @widget: the object which received the signal.
1179 <!-- ##### SIGNAL GtkWidget::draw-default ##### -->
1184 @widget: the object which received the signal.
1186 <!-- ##### SIGNAL GtkWidget::draw-focus ##### -->
1191 @widget: the object which received the signal.
1193 <!-- ##### ARG GtkWidget:height ##### -->
1199 <!-- ##### ARG GtkWidget:width ##### -->
1205 <!-- ##### ARG GtkWidget:x ##### -->
1211 <!-- ##### ARG GtkWidget:y ##### -->
1217 <!-- ##### ARG GtkWindow:auto-shrink ##### -->
1219 If the window shrinks automatically when widgets within it shrink.
1223 <!-- ##### ARG GtkWindow:icon-list ##### -->
1229 <!-- ##### FUNCTION gtk_accel_group_create_add ##### -->
1239 <!-- ##### FUNCTION gtk_accel_group_create_remove ##### -->
1249 <!-- ##### FUNCTION gtk_accel_group_entries_from_object ##### -->
1257 <!-- ##### FUNCTION gtk_accel_group_get_entry ##### -->
1267 <!-- ##### FUNCTION gtk_accel_group_handle_add ##### -->
1279 <!-- ##### FUNCTION gtk_accel_group_handle_remove ##### -->
1289 <!-- ##### FUNCTION gtk_accel_group_lock_entry ##### -->
1298 <!-- ##### FUNCTION gtk_accel_group_unlock_entry ##### -->
1307 <!-- ##### FUNCTION gtk_accel_groups_from_object ##### -->
1315 <!-- ##### FUNCTION gtk_arg_copy ##### -->
1317 It will either copy data into an existing argument or allocate a new argument
1318 and copy the data. Strings are duplicated. All other pointers and
1319 values are copied (shallowly-- that is the pointers themselves are
1320 copied, not the data they point to.)
1323 You should call gtk_arg_reset() on dest_arg before calling this
1324 if the argument may contain string data that you want freed.
1327 @src_arg: the argument to duplicate.
1328 @dest_arg: the argument to copy over (or NULL to create a new #GtkArg).
1329 @Returns: the new #GtkArg (or dest_arg, if it was not NULL).
1331 <!-- ##### FUNCTION gtk_arg_free ##### -->
1333 Frees the argument, and optionally its contents.
1336 @arg: the argument to free.
1337 @free_contents: whether to free the string, if it is a string.
1339 <!-- ##### FUNCTION gtk_arg_get_info ##### -->
1341 Private: get information about an argument.
1344 @object_type: the type of object.
1345 @arg_info_hash_table: the hashtable of #GtkArgInfos.
1346 @arg_name: the name of the argument to lookup.
1347 @info_p: the argument info.
1348 @Returns: an error message on failure, or NULL otherwise.
1350 <!-- ##### FUNCTION gtk_arg_info_equal ##### -->
1352 A #GCompareFunc for hashing #GtkArgInfos.
1355 @arg_info_1: a #GtkArgInfo.
1356 @arg_info_2: a #GtkArgInfo.
1357 @Returns: whether the arguments are the same.
1359 <!-- ##### FUNCTION gtk_arg_info_hash ##### -->
1361 A #GHashFunc for hashing #GtkArgInfos.
1364 @arg_info: a #GtkArgInfo.
1365 @Returns: a hash value for that #GtkArgInfo.
1367 <!-- ##### FUNCTION gtk_arg_name_strip_type ##### -->
1369 Given a fully qualified argument name (e.g. "GtkButton::label")
1370 it returns just the argument name (e.g. "label") unless
1371 the argument name was invalid, in which case it returns NULL.
1374 @arg_name: the fully-qualified argument name.
1375 @Returns: the base argument name.
1377 <!-- ##### FUNCTION gtk_arg_new ##### -->
1379 Creates a new argument of a certain type, set to 0 or NULL.
1382 @arg_type: the type of the argument.
1383 @Returns: the newly created #GtkArg.
1385 <!-- ##### FUNCTION gtk_arg_reset ##### -->
1392 <!-- ##### FUNCTION gtk_arg_to_valueloc ##### -->
1400 <!-- ##### FUNCTION gtk_arg_type_new_static ##### -->
1402 Create a new argument registered with a class.
1405 @base_class_type: the basic type having the arguments, almost alway
1406 GTK_TYPE_OBJECT, except if your defining a different type argument
1407 that gets a different namespace. #GtkContainer does this to define
1408 per-child arguments of the container.
1409 @arg_name: name of the argument to create. (must be a static constant string)
1410 @class_n_args_offset: offset into the base class structure that tells
1411 the number of arguments.
1412 @arg_info_hash_table: hashtable of #GtkArgInfos.
1413 @arg_type: type of the argument.
1414 @arg_flags: flags of the argument.
1416 @Returns: the new #GtkArgInfo.
1418 <!-- ##### FUNCTION gtk_arg_values_equal ##### -->
1427 <!-- ##### FUNCTION gtk_args_collect ##### -->
1429 Private: given a hashtable of argument information it takes a vararg
1430 list and parses it into arguments (in the form of lists of #GtkArgs
1431 and lists of #GtkArgInfos.
1434 The list of arguments starts with first_arg_name then the first argument's
1435 value. Followed by any number of additional name/argument pairs,
1436 terminated with NULL.
1439 @object_type: the type of object we are collecting arguments for.
1440 @arg_info_hash_table: a hashtable mapping from names of arguments
1441 to their #GtkArgInfos.
1442 @arg_list_p: a returned list of arguments obtained from parsing the
1444 @info_list_p: a returned list of the #GtkArgInfos.
1445 @first_arg_name: the name of the first argument.
1446 @var_args: a va_list containing the value of the first argument,
1447 followed by name/value pairs, followed by NULL.
1448 @Returns: an error message on failure, or NULL otherwise.
1450 <!-- ##### FUNCTION gtk_args_collect_cleanup ##### -->
1452 Private: erase lists of arguments returned from gtk_args_collect().
1455 @arg_list: arg_list_p returned from gtk_args_collect().
1456 @info_list: info_list_p returned from gtk_args_collect().
1458 <!-- ##### FUNCTION gtk_args_query ##### -->
1460 Private: from a class type and its arginfo hashtable,
1461 get an array of #GtkArgs that this object accepts.
1464 @class_type: the class type.
1465 @arg_info_hash_table: the hashtable of #GtkArgInfos.
1466 @arg_flags: returned array of argument flags.
1467 @n_args_p: the number of arguments this object accepts.
1468 @Returns: the array of arguments (or NULL on error).
1470 <!-- ##### FUNCTION gtk_button_box_child_requisition ##### -->
1472 This is an internally used function and should never be called from an
\r
1481 <!-- ##### FUNCTION gtk_button_box_get_child_ipadding_default ##### -->
1483 The internal padding of a button is the amount of space between the outside
\r
1484 of the button and the widget it contains. This function gets the default
\r
1485 amount of horizontal and vertical padding, placing the results in @ipad_x
\r
1486 and @ipad_y, respectively.
\r
1489 @ipad_x: the default horizontal internal button padding.
1490 @ipad_y: the default vertical internal button padding.
1492 <!-- ##### FUNCTION gtk_button_box_get_child_size_default ##### -->
1494 Retrieves the default minimum width and height for all button boxes, and
\r
1495 places the values in @min_width and @min_height, respectively.
\r
1498 @min_width: the default minimum width of a child widget.
1499 @min_height: the default minimum height of a child widget.
1501 <!-- ##### FUNCTION gtk_button_box_set_child_ipadding_default ##### -->
1503 Sets the default number of pixels that pad each button in every button box.
\r
1506 @ipad_x: new default horizontal padding.
1507 @ipad_y: new default vertical padding.
1509 <!-- ##### FUNCTION gtk_button_box_set_child_size_default ##### -->
1511 Sets the default size of child buttons.
\r
1514 @min_width: minimum default width for child buttons.
1515 @min_height: minimum default height for child buttons.
1517 <!-- ##### FUNCTION gtk_button_new_accel ##### -->
1526 <!-- ##### FUNCTION gtk_button_new_stock ##### -->
1535 <!-- ##### FUNCTION gtk_cell_renderer_event ##### -->
1549 <!-- ##### FUNCTION gtk_cell_renderer_text_pixbuf_new ##### -->
1556 <!-- ##### FUNCTION gtk_clist_construct ##### -->
1558 Initializes a previously allocated #GtkCList widget for use. This should not
1559 normally be used to create a #GtkCList widget. Use gtk_clist_new() instead.
1562 @clist: A pointer to an uninitialized #GtkCList widget.
1563 @columns: The number of columns the #GtkCList should have.
1564 @titles: An array of strings that should be used as the titles i
1565 of the columns. There should be enough strings in the array for
1566 the number of columns specified.
1568 <!-- ##### FUNCTION gtk_color_selection_get_old_color ##### -->
1576 <!-- ##### FUNCTION gtk_color_selection_get_use_opacity ##### -->
1584 <!-- ##### FUNCTION gtk_color_selection_get_use_palette ##### -->
1592 <!-- ##### FUNCTION gtk_color_selection_set_old_color ##### -->
1600 <!-- ##### FUNCTION gtk_color_selection_set_opacity ##### -->
1602 Controls whether opacity can be set with the #GtkColorSelection.
1603 If this functionality is enabled, the necessary additional widgets
1604 are added to the #GtkColorSelection and the opacity value can be
1605 retrieved via the fourth value in the color array returned by
1606 the gtk_color_selection_get_color() function.
1609 @colorsel: a #GtkColorSelection.
1610 @use_opacity: a boolean indicating whether the opacity selection
1613 <!-- ##### FUNCTION gtk_color_selection_set_use_opacity ##### -->
1621 <!-- ##### FUNCTION gtk_color_selection_set_use_palette ##### -->
1629 <!-- ##### FUNCTION gtk_container_add_child_arg_type ##### -->
1639 <!-- ##### FUNCTION gtk_container_add_with_args ##### -->
1649 <!-- ##### FUNCTION gtk_container_addv ##### -->
1659 <!-- ##### FUNCTION gtk_container_arg_get ##### -->
1669 <!-- ##### FUNCTION gtk_container_arg_set ##### -->
1679 <!-- ##### FUNCTION gtk_container_child_arg_get_info ##### -->
1689 <!-- ##### FUNCTION gtk_container_child_args_collect ##### -->
1701 <!-- ##### FUNCTION gtk_container_child_getv ##### -->
1711 <!-- ##### FUNCTION gtk_container_child_setv ##### -->
1721 <!-- ##### FUNCTION gtk_container_dequeue_resize_handler ##### -->
1728 <!-- ##### FUNCTION gtk_container_focus ##### -->
1737 <!-- ##### FUNCTION gtk_container_query_child_args ##### -->
1747 <!-- ##### FUNCTION gtk_ctree_construct ##### -->
1749 This function is not usually used by users.
1757 <!-- ##### FUNCTION gtk_drag_dest_handle_event ##### -->
1765 <!-- ##### FUNCTION gtk_drag_source_handle_event ##### -->
1773 <!-- ##### FUNCTION gtk_editable_changed ##### -->
1775 Causes the "changed" signal to be emitted.
1778 @editable: a #GtkEditable widget.
1780 <!-- ##### FUNCTION gtk_editable_claim_selection ##### -->
1782 Claim or disclaim ownership of the PRIMARY X selection.
1785 @editable: a #GtkEditable widget.
1786 @claim: if %TRUE, claim the selection, otherwise, disclaim it.
1787 @time: the timestamp for claiming the selection.
1789 <!-- ##### FUNCTION gtk_font_selection_dialog_set_filter ##### -->
1791 Sets one of the two font filters, to limit the fonts shown.
1794 @fsd: a #GtkFontSelectionDialog.
1795 @filter_type: which of the two font filters to set, either
1796 #GTK_FONT_FILTER_BASE or #GTK_FONT_FILTER_USER. The user filter
1797 can be changed by the user, but the base filter is permanent.
1798 @font_type: the types of font to be shown. This is a bitwise combination of
1799 #GTK_FONT_BITMAP, #GTK_FONT_SCALABLE and #GTK_FONT_SCALABLE_BITMAP,
1800 or #GTK_FONT_ALL to show all three font types.
1801 @foundries: a NULL-terminated array of strings containing foundry names which
1802 will be shown, or NULL to show all foundries.
1803 @weights: a NULL-terminated array of strings containing weight names which
1804 will be shown, or NULL to show all weights.
1805 @slants: a NULL-terminated array of strings containing slant names which
1806 will be shown, or NULL to show all slants.
1807 @setwidths: a NULL-terminated array of strings containing setwidth names which
1808 will be shown, or NULL to show all setwidths.
1809 @spacings: a NULL-terminated array of strings containing spacings which
1810 will be shown, or NULL to show all spacings.
1811 @charsets: a NULL-terminated array of strings containing charset names which
1812 will be shown, or NULL to show all charsets.
1814 <!-- ##### FUNCTION gtk_font_selection_set_filter ##### -->
1816 Sets one of the two font filters, to limit the fonts shown.
1819 @fontsel: a #GtkFontSelection.
1820 @filter_type: which of the two font filters to set, either
1821 #GTK_FONT_FILTER_BASE or #GTK_FONT_FILTER_USER. The user filter
1822 can be changed by the user, but the base filter is permanent.
1823 @font_type: the types of font to be shown. This is a bitwise combination of
1824 #GTK_FONT_BITMAP, #GTK_FONT_SCALABLE and #GTK_FONT_SCALABLE_BITMAP,
1825 or #GTK_FONT_ALL to show all three font types.
1826 @foundries: a NULL-terminated array of strings containing foundry names which
1827 will be shown, or NULL to show all foundries.
1828 @weights: a NULL-terminated array of strings containing weight names which
1829 will be shown, or NULL to show all weights.
1830 @slants: a NULL-terminated array of strings containing slant names which
1831 will be shown, or NULL to show all slants.
1832 @setwidths: a NULL-terminated array of strings containing setwidth names which
1833 will be shown, or NULL to show all setwidths.
1834 @spacings: a NULL-terminated array of strings containing spacings which
1835 will be shown, or NULL to show all spacings.
1836 @charsets: a NULL-terminated array of strings containing charset names which
1837 will be shown, or NULL to show all charsets.
1839 <!-- ##### FUNCTION gtk_identifier_get_type ##### -->
1841 Get the type of GtkIdentifier.
1844 @Returns: GtkType -- the enumerated type of something.
1846 <!-- ##### FUNCTION gtk_image_menu_item_add_image ##### -->
1854 <!-- ##### FUNCTION gtk_image_menu_item_get_type ##### -->
1861 <!-- ##### FUNCTION gtk_label_set_markup_with_accel ##### -->
1870 <!-- ##### FUNCTION gtk_list_store_new_with_types ##### -->
1879 <!-- ##### FUNCTION gtk_list_store_set_cell ##### -->
1889 <!-- ##### FUNCTION gtk_list_store_set_column_type ##### -->
1898 <!-- ##### FUNCTION gtk_list_store_set_n_columns ##### -->
1906 <!-- ##### FUNCTION gtk_menu_ensure_uline_accel_group ##### -->
1914 <!-- ##### FUNCTION gtk_menu_get_uline_accel_group ##### -->
1922 <!-- ##### FUNCTION gtk_menu_item_configure ##### -->
1924 Sets whether the menu item should show a submenu indicator, which is a right
1928 @menu_item: the menu item
1929 @show_toggle_indicator: unused
1930 @show_submenu_indicator: whether to show the arrow or not
1932 <!-- ##### FUNCTION gtk_menu_item_set_placement ##### -->
1934 Specifies the placement of the submenu around the menu item. The placement
1935 is usually #GTK_LEFT_RIGHT for menu items in a popup menu and
1936 #GTK_TOP_BOTTOM in menu bars.
1939 This function is useless in usual applications.
1942 @menu_item: the menu item
1943 @placement: the submenu placement
1945 <!-- ##### FUNCTION gtk_object_arg_get ##### -->
1947 Private function to get an argument and argument info from an object.
1950 @object: the object whose argument should be retrieved.
1951 @arg: the argument, for the name on input, the rest is filled on output.
1952 @info: a #GtkArgInfo structure to optionally fill in.
1954 <!-- ##### FUNCTION gtk_object_arg_get_info ##### -->
1956 Query information about an argument type.
1959 @object_type: type of object to query about.
1960 @arg_name: name of the argument.
1961 @info_p: pointer to be filled in with a pointer to the GtkArgInfo.
1962 @Returns: an error message, or NULL on success.
1963 It is the caller's responsibility to call g_free() in the event of error.
1965 <!-- ##### FUNCTION gtk_object_arg_set ##### -->
1967 Private function to set an argument and argument info to an object.
1970 @object: the object whose argument should be set.
1972 @info: infomation about this type of argument in general.
1974 <!-- ##### FUNCTION gtk_object_args_collect ##### -->
1976 Private: Gets an array of #GtkArgs from a va_list C structure.
1979 @object_type: the type of object to collect arguments for.
1980 @arg_list_p: pointer to be filled in with a list of parsed arguments.
1981 @info_list_p: optional pointer for a returned list #GtkArgInfos.
1982 @first_arg_name: name of first argument.
1983 @var_args: value of first argument, followed by more key/value pairs,
1985 @Returns: an error message, or NULL on success.
1986 It is the caller's responsibility to call g_free() in the event of error.
1988 <!-- ##### FUNCTION gtk_object_class_add_signals ##### -->
1990 Add an array of signals to a #GtkObjectClass.
1991 Usually this is called when registering a new type of object.
1994 @klass: the object class to append signals to.
1995 @signals: the signals to append.
1996 @nsignals: the number of signals being appended.
1998 <!-- ##### FUNCTION gtk_object_class_user_signal_new ##### -->
2000 Define a signal-handler for a new signal on an already defined
2004 See the signal documentation for more general information.
2007 @klass: the object class to define the signal for.
2008 @name: the name of the signal.
2009 @signal_flags: the default emission behavior for the signal.
2010 See gtk_signal_new().
2011 @marshaller: a function that will take an array of GtkArgs
2012 and invoke the appropriate handler with the normal calling
2014 @return_val: specify the return-value type for the signal
2015 (or GTK_TYPE_NONE for no return-value).
2016 @nparams: specify the number of parameters the signal
2017 receives from the caller of gtk_signal_emit().
2018 @Varargs: list of nparams #GtkTypes to pass to the signal handlers.
2019 @Returns: the signal id. (See #GtkSignals)
2021 <!-- ##### FUNCTION gtk_object_class_user_signal_newv ##### -->
2023 Define a signal-handler for a new signal on an already defined
2027 @klass: the object class to define the signal for.
2028 @name: the name of the signal.
2029 @signal_flags: the default emission behavior for the signal.
2030 See gtk_signal_new().
2031 @marshaller: takes a GtkObject, a #GtkSignalFunc, and an array
2032 of arguments, and invokes the function using the appropriate
2033 calling conventions. Usually just select a function
2034 out of gtkmarshal.h.
2035 @return_val: specify the return-value type for the signal (possibly
2037 @nparams: specify the number of parameters the signal
2038 receives from the caller of gtk_signal_emit().
2039 @params: array of #GtkTypes the signal handlers for this signal
2040 should have in their prototype (of length nparams).
2041 @Returns: the signal id. (See #GtkSignals)
2043 <!-- ##### FUNCTION gtk_object_constructed ##### -->
2045 Mark an allocated object as constructed.
2046 This is used for situations
2047 that require precise control of the construction process.
2050 This is done when gtk_object_default_construct() is inadequate.
2051 In #GtkCList the need arises because #GtkCList does construction work that
2052 must happen <emphasis>after</emphasis> its derivers. This work
2053 cannot be done in an initializer function, so an alternate
2054 constructor is mandatory. It calls gtk_object_constructed() to
2055 indicate it has done its job, so that no other constructor will
2059 Normally this function is just automatically run from
2060 gtk_object_default_construct().
2063 @object: object which has been constructed. This is usually
2064 done automatically by gtk_object_new() and gtk_object_newv().
2066 <!-- ##### FUNCTION gtk_object_default_construct ##### -->
2068 This function is called to construct arguments that haven't been initialized
2069 but have the #GTK_ARG_CONSTRUCT flag set.
2072 All number arguments are set to 0. All pointers and strings
2076 Normally invoked by gtk_object_new() automatically; gtk_type_new() can
2077 be used to bypass it.
2080 @object: the object to initialize.
2082 <!-- ##### FUNCTION gtk_object_getv ##### -->
2084 Gets an array of argument values from an object.
2087 @object: the object to get arguments from.
2088 @n_args: the number of arguments to query.
2089 @args: the arguments to fill in.
2091 <!-- ##### FUNCTION gtk_object_newv ##### -->
2093 Construct an object with an array of arguments.
2096 @object_type: the type of the object to create.
2097 @n_args: the number of arguments to set.
2098 @args: an array of n_args arguments (which are name and value pairs).
2099 @Returns: the new GtkObject.
2101 <!-- ##### FUNCTION gtk_object_query_args ##### -->
2103 Get all the arguments that may be used for a given type.
2106 In Java, this type of mechanism is called
2107 <wordasword>introspection</wordasword>. It is used by applications
2108 like Glade, that have to determine what can be done to an object
2112 @class_type: the GtkType of the ObjectClass
2113 (returned from GTK_OBJECT_CLASS(class)->type for example).
2114 @arg_flags: if non-NULL, obtains the #GtkArgFlags that apply to
2115 each argument. You must g_free() this if you request it.
2116 @n_args: the number of arguments is returned in this field.
2117 @Returns: an array of arguments, that you must deallocate with g_free().
2119 <!-- ##### FUNCTION gtk_object_setv ##### -->
2121 Set an array of arguments.
2124 @object: the object whose arguments should be set.
2125 @n_args: the number of arguments to set.
2126 @args: the desired values, as an array of #GtkArgs (which contain
2127 the names, types, and values of the arguments).
2129 <!-- ##### FUNCTION gtk_packer_add ##### -->
2145 <!-- ##### FUNCTION gtk_packer_add_defaults ##### -->
2156 <!-- ##### MACRO gtk_packer_configure ##### -->
2162 <!-- ##### FUNCTION gtk_packer_new ##### -->
2169 <!-- ##### FUNCTION gtk_packer_reorder_child ##### -->
2178 <!-- ##### FUNCTION gtk_packer_set_child_packing ##### -->
2194 <!-- ##### FUNCTION gtk_packer_set_default_border_width ##### -->
2202 <!-- ##### FUNCTION gtk_packer_set_default_ipad ##### -->
2211 <!-- ##### FUNCTION gtk_packer_set_default_pad ##### -->
2220 <!-- ##### FUNCTION gtk_packer_set_spacing ##### -->
2228 <!-- ##### FUNCTION gtk_paned_compute_position ##### -->
2230 Internal function used by #GtkHPaned and #GtkVPaned
2238 <!-- ##### FUNCTION gtk_paned_set_handle_size ##### -->
2240 Set the the handle size to @size x @size pixels.
2243 @paned: a paned widget
2244 @size: the size in pixels
2246 <!-- ##### FUNCTION gtk_pattern_match ##### -->
2257 <!-- ##### FUNCTION gtk_pattern_match_simple ##### -->
2266 <!-- ##### FUNCTION gtk_pattern_match_string ##### -->
2275 <!-- ##### FUNCTION gtk_pattern_spec_free_segs ##### -->
2282 <!-- ##### FUNCTION gtk_pattern_spec_init ##### -->
2290 <!-- ##### FUNCTION gtk_rc_init ##### -->
2296 <!-- ##### FUNCTION gtk_rc_load_image ##### -->
2298 Internal function. Loads an image using the current
2302 @colormap: the colormap to use for the image
2303 @transparent_color: the transparent color for the image
2304 @filename: the filename of the image file
2305 @Returns: a #GtkPixmap representing @filename
2307 <!-- ##### FUNCTION gtk_rc_set_image_loader ##### -->
2309 Sets the function that GTK+ will use to load images
2312 @loader: the #GtkImageLoader to use
2314 <!-- ##### FUNCTION gtk_ruler_draw_pos ##### -->
2319 @ruler: the gtkruler
2321 <!-- ##### FUNCTION gtk_ruler_draw_ticks ##### -->
2326 @ruler: the gtkruler
2328 <!-- ##### FUNCTION gtk_settings_get_global ##### -->
2335 <!-- ##### FUNCTION gtk_signal_add_emission_hook ##### -->
2337 Add an emission hook for a type of signal, for any object.
2340 @signal_id: the type of signal to hook for.
2341 @hook_func: the function to invoke to handle the emission hook.
2342 @data: the user data passed in to hook_func.
2343 @Returns: the id (that you may pass as a parameter
2344 to gtk_signal_remove_emission_hook()).
2349 <!-- ##### FUNCTION gtk_signal_add_emission_hook_full ##### -->
2351 Add an emission hook for a type of signal, for any object.
2352 (with control of what happens when the hook is
2356 @signal_id: the type of signal add the hook for.
2357 @hook_func: the function to invoke to handle the hook.
2358 @data: the user data passed in to hook_func.
2359 @destroy: a function to invoke when the hook is destroyed,
2360 to clean up any allocation done just for this
2362 @Returns: the id (that you may pass as a parameter
2363 to gtk_signal_remove_emission_hook()).
2365 <!-- ##### FUNCTION gtk_signal_handler_pending_by_id ##### -->
2367 Returns whether a connection id is valid (and optionally not blocked).
2370 @object: the object to search for the desired handler.
2371 @handler_id: the connection id.
2372 @may_be_blocked: whether it is acceptable to return a blocked
2374 @Returns: TRUE if the signal exists and wasn't blocked,
2375 unless #may_be_blocked was specified. FALSE otherwise.
2377 <!-- ##### FUNCTION gtk_signal_handlers_destroy ##### -->
2379 Destroy all the signal handlers connected to an object.
2380 This is done automatically when the object is destroyed.
2383 This function is labeled private.
2386 @object: the object whose signal handlers should be destroyed.
2388 <!-- ##### FUNCTION gtk_signal_init ##### -->
2394 <!-- ##### FUNCTION gtk_signal_n_emissions ##### -->
2396 Find out the recursion depth of emissions for a particular type
2397 of signal and object. (So it will
2398 always return 0 or 1 if #GTK_RUN_NO_RECURSE is specified)
2399 This is a way to avoid recursion: you can see if
2400 you are currently running in that signal handler and emit it only
2403 <para>Another way to look at it is that this number increases
2404 by one when #gtk_signal_emit(), et al, are called,
2405 and decreases by one when #gtk_signal_emit() returns.
2408 @object: the object with the signal handler.
2409 @signal_id: the signal id.
2410 @Returns: the recursion depth of emissions of this signal for this
2413 <!-- ##### FUNCTION gtk_signal_n_emissions_by_name ##### -->
2415 Find out the recursion depth of emissions for a particular type
2416 of signal and object. Just like gtk_signal_n_emissions()
2417 except it will lookup the signal id for you.
2420 @object: the object with the signal handler.
2421 @name: the signal name.
2422 @Returns: the recursion depth of emissions of this signal for this
2425 <!-- ##### FUNCTION gtk_signal_query ##### -->
2427 Obtain information about a signal.
2430 @signal_id: the signal type identifier.
2431 @Returns: a pointer to a GtkSignalQuery structure
2432 which contains all the information, or NULL.
2433 The pointer is allocated just for you: you must g_free() it.
2435 <!-- ##### FUNCTION gtk_signal_remove_emission_hook ##### -->
2437 Delete an emission hook. (see gtk_signal_add_emission_hook())
2440 @signal_id: the id of the signal type.
2441 @hook_id: the id of the emission handler, returned by add_emission_hook().
2445 <!-- ##### FUNCTION gtk_signal_set_funcs ##### -->
2447 These set default functions to call when the user didn't
2448 supply a function when connecting. (These are rarely
2449 used, and probably only for language bindings)
2452 By default, there are no such functions.
2455 @marshal_func: the function to invoke on every handlers for which there
2456 isn't a function pointer. May be NULL.
2457 @destroy_func: the function to invoke when each hook is destroyed.
2460 <!-- ##### FUNCTION gtk_spin_button_set_shadow_type ##### -->
2462 Creates a border around the arrows of a #GtkSpinButton. The type of border is determined by @shadow_type.
2465 @spin_button: a #GtkSpinButton
2466 @shadow_type: the new border type.
2468 <!-- ##### FUNCTION gtk_stock_list_items ##### -->
2475 <!-- ##### FUNCTION gtk_text_buffer_paste_primary ##### -->
2484 <!-- ##### FUNCTION gtk_text_iter_reorder ##### -->
2492 <!-- ##### FUNCTION gtk_text_iter_spew ##### -->
2500 <!-- ##### FUNCTION gtk_text_view_set_text_window_size ##### -->
2509 <!-- ##### FUNCTION gtk_trace_referencing ##### -->
2511 Private: print debugging information while doing a gtk_object_ref() or
2512 a gtk_object_unref().
2515 @object: object to reference or unreference.
2516 @func: name of caller's function to print (used within macros).
2518 @line: line number (used within macros).
2519 @do_ref: whether to reference or unreference.
2521 <!-- ##### FUNCTION gtk_tree_model_ref_iter ##### -->
2529 <!-- ##### FUNCTION gtk_tree_model_sort_convert_iter ##### -->
2538 <!-- ##### FUNCTION gtk_tree_model_sort_convert_path ##### -->
2548 <!-- ##### FUNCTION gtk_tree_model_sort_new ##### -->
2555 <!-- ##### FUNCTION gtk_tree_model_sort_set_compare ##### -->
2563 <!-- ##### FUNCTION gtk_tree_model_sort_set_model ##### -->
2572 <!-- ##### FUNCTION gtk_tree_model_sort_set_sort_column ##### -->
2580 <!-- ##### FUNCTION gtk_tree_model_unref_iter ##### -->
2588 <!-- ##### FUNCTION gtk_tree_store_new_with_types ##### -->
2597 <!-- ##### FUNCTION gtk_tree_store_set_cell ##### -->
2607 <!-- ##### FUNCTION gtk_tree_store_set_column_type ##### -->
2617 <!-- ##### FUNCTION gtk_tree_store_set_n_columns ##### -->
2625 <!-- ##### FUNCTION gtk_tree_view_column_set_cell_data ##### -->
2634 <!-- ##### FUNCTION gtk_tree_view_column_set_cell_renderer ##### -->
2642 <!-- ##### FUNCTION gtk_tree_view_column_set_width ##### -->
2651 <!-- ##### FUNCTION gtk_type_check_class_cast ##### -->
2653 Given a GtkTypeClass pointer @klass, and a GtkType @cast_type, make
2654 sure that it's okay to cast something of that @klass into a @cast_type.
2657 @klass: GtkTypeClass*
2659 @Returns: Always return @klass.
2661 <!-- ##### FUNCTION gtk_type_check_object_cast ##### -->
2663 Given a pointer to a GtkTypeObject @type_object, and a GtkType @cast_type,
2664 make sure that it's okay to cast @type_object into a @cast_type.
2667 @type_object: GtkTypeObject*
2669 @Returns: the same GtkTypeObject* as @type_object
2671 <!-- ##### FUNCTION gtk_type_children_types ##### -->
2673 Return the pointer to the type's children's types.
2677 @Returns: pointer to a GList
2679 <!-- ##### FUNCTION gtk_type_describe_heritage ##### -->
2681 Print the types @type inherits from.
2686 <!-- ##### FUNCTION gtk_type_describe_tree ##### -->
2688 Given a @type, describe all of its children, and their children. Only
2689 show the size if @show_size is true.
2693 @show_size: gboolean
2695 <!-- ##### FUNCTION gtk_type_free ##### -->
2697 Given the type of an object and a pointer to it, the object is freed.
2701 @mem: gpointer to the object
2703 <!-- ##### FUNCTION gtk_type_get_varargs_type ##### -->
2705 Get the varargs type associated with @foreign_type
2708 @foreign_type: GtkType
2711 <!-- ##### FUNCTION gtk_type_parent_class ##### -->
2713 Return the class of the parent. Initialize the class if necessary.
2714 Return NULL if anything goes wrong.
2718 @Returns: gpointer to the klass.
2720 <!-- ##### FUNCTION gtk_type_query ##### -->
2722 Given a type, return various interesting parameters of the type.
2726 @Returns: GtkTypeQuery*
2728 <!-- ##### FUNCTION gtk_type_register_enum ##### -->
2730 Register a new set of enum @values and give them the name in
2734 @type_name: must not be null.
2735 @values: GtkEnumValue*
2738 <!-- ##### FUNCTION gtk_type_register_flags ##### -->
2740 Register a new set of flags @values and give them the name in
2744 @type_name: must not be null.
2745 @values: GtkFlagValue*
2748 <!-- ##### FUNCTION gtk_type_set_chunk_alloc ##### -->
2750 Set the mem_chunk size so it will hold @n_chunks of the objects of that @type.
2753 @type: There must be an unlocked TypeNode associated with this type otherwise nothing happens.
2756 <!-- ##### FUNCTION gtk_type_set_varargs_type ##### -->
2758 Set the varargs type for a fundamental type @foreign_type.
2761 @foreign_type: Must be a GtkType with a sequence number of zero. Must not be a
2763 @varargs_type: Must be a GtkType which is either structured or flag, or NONE.
2765 <!-- ##### FUNCTION gtk_widget_activate_mnemonic ##### -->
2774 <!-- ##### FUNCTION gtk_widget_get_usize ##### -->
2783 <!-- ##### FUNCTION gtk_widget_pop_style ##### -->
2789 <!-- ##### FUNCTION gtk_widget_popup ##### -->
2798 <!-- ##### FUNCTION gtk_widget_push_style ##### -->
2805 <!-- ##### FUNCTION gtk_widget_set_default_style ##### -->
2812 <!-- ##### FUNCTION gtk_window_activate_mnemonic ##### -->
2822 <!-- ##### FUNCTION gtk_window_get_default_accel_group ##### -->
2830 <!-- ##### FUNCTION gtk_window_get_resizeable ##### -->
2838 <!-- ##### FUNCTION gtk_window_set_decorations_hint ##### -->
2846 <!-- ##### FUNCTION gtk_window_set_functions_hint ##### -->
2854 <!-- ##### FUNCTION gtk_window_set_resizeable ##### -->