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/gtkimcontextsimple.sgml:Title ##### -->
108 <!-- ##### SECTION ./tmpl/gtkmarshal.sgml:Long_Description ##### -->
110 <title>What are Signal Marshallers?</title>
112 Marshals are functions which all have the same prototype:
113 they take a #GtkObject, a #GtkSignalFunc, a #gpointer,
114 and an array of argument values.
115 The functions are names gtk_marshall_RETURNTYPE__PARAMTYPE1_PARAMTYPE2....
118 They then call a native function: the GtkObject is the first
119 parameter passed in. The arguments are passed in the native
120 calling convention: chars, shorts, ints, longs may be packed
121 on the stack, or tucked in registers: it doesn't matter
122 because the same calling convention will be generated
123 inside the gtkmarshal code as is expected where you define
127 So the function named:
129 gtk_marshal_BOOL__POINTER_INT_INT_UINT(GtkObject*, GtkSignalFunc, gpointer, GtkArg*);
131 will call the #GtkSignalFunc assuming it was a function with signature:
133 gboolean sigfunc(gpointer,gint,gint,guint);
138 <title>Writing Custom Marshals</title>
140 Marshals are primarily used as arguments to gtk_signal_new().
141 Sometimes, you may find that a marshaller you need isn't available
142 in the standard list. Then you have to write your own.
145 If you wish to define a signal with a new type of argument list.
146 Suppose you want 2 pointers and 2 integers.
149 typedef int (*GtkSignal_INT__POINTER_POINTER_INT_INT)(
150 gpointer, gpointer, gint, gint
153 void marshal_INT__POINTER_POINTER_INT_INT(GtkObject* object,
158 GtkSignal_NONE__POINTER_POINTER_INT_INT rfunc;
160 return_val = GTK_RETLOC_INT(args[4]);
161 rfunc = (GtkSignal_INT__POINTER_POINTER_INT_INT)func;
162 *return_val = (*rfunc)(object,
163 GTK_VALUE_POINTER(args[0]),
164 GTK_VALUE_POINTER(args[1]),
165 GTK_VALUE_INT(args[2]),
166 GTK_VALUE_INT(args[3]),
174 <!-- ##### SECTION ./tmpl/gtkmarshal.sgml:See_Also ##### -->
179 <term>#GtkSignal</term>
180 <listitem><para>The signal handling functions (of which marshallers are
181 really an implementation detail).</para></listitem>
188 <!-- ##### SECTION ./tmpl/gtkmarshal.sgml:Short_Description ##### -->
189 Functions to adapt C structures to native calling convention.
192 <!-- ##### SECTION ./tmpl/gtkmarshal.sgml:Title ##### -->
196 <!-- ##### SECTION ./tmpl/gtkprivate.sgml:Title ##### -->
200 <!-- ##### SECTION ./tmpl/gtktreemodelsimple.sgml:Long_Description ##### -->
206 <!-- ##### SECTION ./tmpl/gtktreemodelsimple.sgml:See_Also ##### -->
212 <!-- ##### SECTION ./tmpl/gtktreemodelsimple.sgml:Short_Description ##### -->
216 <!-- ##### SECTION ./tmpl/gtktreemodelsimple.sgml:Title ##### -->
220 <!-- ##### MACRO GTK_CLIST_CHILD_HAS_FOCUS ##### -->
222 A macro to check whether a child widget of the CList
226 @clist: The #GtkCList widget to check.
228 <!-- ##### MACRO GTK_ICON_SIZE_BUTTON ##### -->
234 <!-- ##### MACRO GTK_ICON_SIZE_DIALOG ##### -->
240 <!-- ##### MACRO GTK_ICON_SIZE_LARGE_TOOLBAR ##### -->
246 <!-- ##### MACRO GTK_ICON_SIZE_MENU ##### -->
252 <!-- ##### MACRO GTK_ICON_SIZE_SMALL_TOOLBAR ##### -->
258 <!-- ##### MACRO GTK_OBJECT_CONSTRUCTED ##### -->
260 Test whether a GtkObject's arguments have been prepared.
263 @obj: the object to examine.
265 <!-- ##### MACRO GTK_OBJECT_NSIGNALS ##### -->
267 Get the number of signals defined by this object.
270 @obj: the object to query.
272 <!-- ##### MACRO GTK_OBJECT_SIGNALS ##### -->
274 Get the array of signals defined for this object.
277 @obj: the object to fetch the signals from.
279 <!-- ##### MACRO GTK_STOCK_BUTTON_APPLY ##### -->
285 <!-- ##### MACRO GTK_STOCK_BUTTON_CANCEL ##### -->
291 <!-- ##### MACRO GTK_STOCK_BUTTON_CLOSE ##### -->
297 <!-- ##### MACRO GTK_STOCK_BUTTON_NO ##### -->
303 <!-- ##### MACRO GTK_STOCK_BUTTON_OK ##### -->
309 <!-- ##### MACRO GTK_STOCK_BUTTON_YES ##### -->
315 <!-- ##### MACRO GTK_TREE_SELECTION ##### -->
317 A macro that returns a GList that contains the selection of the root tree of @obj.
320 @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.
322 <!-- ##### MACRO GTK_TYPE_FLAT_FIRST ##### -->
324 The first "flat" (no struct) enumerated type value.
328 <!-- ##### MACRO GTK_TYPE_FLAT_LAST ##### -->
330 The last "flat" (no struct) enumerated type value.
334 <!-- ##### MACRO GTK_TYPE_IDENTIFIER ##### -->
336 Hide the name of gtk_identifier_get_type
340 <!-- ##### MACRO GTK_TYPE_MAKE ##### -->
342 Combine a fundemantal type and a sequence number to create a gtk type.
348 <!-- ##### MACRO GTK_TYPE_NUM_BUILTINS ##### -->
354 <!-- ##### MACRO GTK_TYPE_SEQNO ##### -->
356 Convert a gtk type into its sequence number
361 <!-- ##### MACRO GTK_TYPE_STRUCTURED_FIRST ##### -->
363 The first structured enumerated type value.
367 <!-- ##### MACRO GTK_TYPE_STRUCTURED_LAST ##### -->
369 The last structured enumerated type value.
373 <!-- ##### MACRO GTK_TYPE_TREE_COLUMN ##### -->
379 <!-- ##### MACRO GTK_TYPE_TREE_VIEW_COLUMN ##### -->
385 <!-- ##### MACRO GTK_VALUE_ARGS ##### -->
387 Use to get the value of a GtkArg whose GtkType is GTK_TYPE_ARGS
392 <!-- ##### MACRO GTK_VALUE_CALLBACK ##### -->
394 Use to get the value of a GtkArg whose GtkType is GTK_TYPE_CALLBACK
399 <!-- ##### MACRO GTK_VALUE_C_CALLBACK ##### -->
401 Use to get the value of a GtkArg whose GtkType is GTK_TYPE_C_CALLBACK
406 <!-- ##### MACRO GTK_VALUE_FOREIGN ##### -->
408 Use to get the value of a GtkArg whose GtkType is GTK_TYPE_C_FOREIGN
413 <!-- ##### USER_FUNCTION GValueCompareFunc ##### -->
422 <!-- ##### STRUCT GtkAccelEntry ##### -->
424 This is a private struct used by GTK+ internally, don't worry about it.
434 <!-- ##### ARG GtkAccelLabel:accel-widget ##### -->
436 The widget whose accelerators are to be shown by the #GtkAccelLabel.
440 <!-- ##### ARG GtkAccelLabel:accel-width ##### -->
446 <!-- ##### USER_FUNCTION GtkArgGetFunc ##### -->
448 Define a function pointer. Deprecated.
455 <!-- ##### STRUCT GtkArgInfo ##### -->
457 A structure containing information about the argument.
458 Returned by gtk_arg_get_info().
461 @class_type: if the argument is an object, this is the object class type.
462 @name: the name of the argument.
463 @type: the type of the argument; it may be an object's type
464 or a fundamental type.
465 @arg_flags: flags applicable to the argument (i.e. readable, writable,
466 and whether it needs to be constructed).
467 @full_name: the object name and argument name separated by ::,
468 e.g. "GtkObject::user_data" or "GtkButton::label".
469 @arg_id: the unique argument identified.
472 <!-- ##### USER_FUNCTION GtkArgSetFunc ##### -->
474 Define a function pointer. Deprecated.
481 <!-- ##### STRUCT GtkCellRendererTextPixbuf ##### -->
488 <!-- ##### ARG GtkColorSelection:previous-alpha ##### -->
494 <!-- ##### ARG GtkColorSelection:previous-color ##### -->
500 <!-- ##### SIGNAL GtkContainer::focus ##### -->
505 @container: the object which received the signal.
509 <!-- ##### ARG GtkContainer:reallocate-redraws ##### -->
515 <!-- ##### STRUCT GtkData ##### -->
517 The #GtkData-struct struct contains no public fields.
521 <!-- ##### SIGNAL GtkData::disconnect ##### -->
523 Emitted to notify any views on the #GtkData object to disconnect from it,
524 possibly because the #GtkData object is about to be destroyed.
527 @data: the object which received the signal.
529 <!-- ##### SIGNAL GtkEditable::activate ##### -->
531 Indicates that the user has activated the widget
532 in some fashion. Generally, this will be done
533 with a keystroke. (The default binding for this
534 action is Return for #GtkEntry and
535 Control-Return for #GtkText.)
538 @editable: the object which received the signal.
540 <!-- ##### SIGNAL GtkEditable::changed ##### -->
542 Indicates that the user has changed the contents
546 @editable: the object which received the signal.
548 <!-- ##### SIGNAL GtkEditable::copy-clipboard ##### -->
550 An action signal. Causes the characters in the current selection to
551 be copied to the clipboard.
554 @editable: the object which received the signal.
556 <!-- ##### SIGNAL GtkEditable::cut-clipboard ##### -->
558 An action signal. Causes the characters in the current
559 selection to be copied to the clipboard and then deleted from
563 @editable: the object which received the signal.
565 <!-- ##### SIGNAL GtkEditable::delete-text ##### -->
567 This signal is emitted when text is deleted from
568 the widget by the user. The default handler for
569 this signal will normally be responsible for inserting
570 the text, so by connecting to this signal and then
571 stopping the signal with gtk_signal_emit_stop(), it
572 is possible to modify the inserted text, or prevent
573 it from being inserted entirely. The @start_pos
574 and @end_pos parameters are interpreted as for
575 gtk_editable_delete_text()
578 @editable: the object which received the signal.
579 @start_pos: the starting position.
580 @end_pos: the end position.
582 <!-- ##### SIGNAL GtkEditable::insert-text ##### -->
584 This signal is emitted when text is inserted into
585 the widget by the user. The default handler for
586 this signal will normally be responsible for inserting
587 the text, so by connecting to this signal and then
588 stopping the signal with gtk_signal_emit_stop(), it
589 is possible to modify the inserted text, or prevent
590 it from being inserted entirely.
593 @editable: the object which received the signal.
594 @new_text: the new text to insert.
595 @new_text_length: the length of the new text.
596 @position: the position at which to insert the new text.
597 this is an in-out paramter. After the signal
598 emission is finished, it should point after
599 the newly inserted text.
601 <!-- ##### SIGNAL GtkEditable::kill-char ##### -->
603 An action signal. Delete a single character.
606 @editable: the object which received the signal.
607 @direction: the direction in which to delete. Positive
608 indicates forward deletion, negative, backwards deletion.
610 <!-- ##### SIGNAL GtkEditable::kill-line ##### -->
612 An action signal. Delete a single line.
615 @editable: the object which received the signal.
616 @direction: the direction in which to delete. Positive
617 indicates forward deletion, negative, backwards deletion.
619 <!-- ##### SIGNAL GtkEditable::kill-word ##### -->
621 An action signal. Delete a single word.
624 @editable: the object which received the signal.
625 @direction: the direction in which to delete. Positive
626 indicates forward deletion, negative, backwards deletion.
628 <!-- ##### SIGNAL GtkEditable::move-cursor ##### -->
630 An action signal. Move the cursor position.
633 @editable: the object which received the signal.
634 @x: horizontal distance to move the cursor.
635 @y: vertical distance to move the cursor.
637 <!-- ##### SIGNAL GtkEditable::move-page ##### -->
639 An action signal. Move the cursor by pages.
642 @editable: the object which received the signal.
643 @x: Number of pages to move the cursor horizontally.
644 @y: Number of pages to move the cursor vertically.
646 <!-- ##### SIGNAL GtkEditable::move-to-column ##### -->
648 An action signal. Move the cursor to the given column.
651 @editable: the object which received the signal.
652 @column: the column to move to. (A negative value indicates
655 <!-- ##### SIGNAL GtkEditable::move-to-row ##### -->
657 An action signal. Move the cursor to the given row.
660 @editable: the object which received the signal.
661 @row: the row to move to. (A negative value indicates
664 <!-- ##### SIGNAL GtkEditable::move-word ##### -->
666 An action signal. Move the cursor by words.
669 @editable: the object which received the signal.
670 @num_words: The number of words to move the
671 cursor. (Can be negative).
673 <!-- ##### SIGNAL GtkEditable::paste-clipboard ##### -->
675 An action signal. Causes the contents of the clipboard to
676 be pasted into the editable widget at the current cursor
680 @editable: the object which received the signal.
682 <!-- ##### SIGNAL GtkEditable::set-editable ##### -->
684 Determines if the user can edit the text in the editable
685 widget or not. This is meant to be overriden by
686 child classes and should not generally useful to
690 @editable: the object which received the signal.
691 @is_editable: %TRUE if the user is allowed to edit the text
694 <!-- ##### ARG GtkEditable:editable ##### -->
696 A boolean indicating whether the widget is editable by
701 <!-- ##### ARG GtkEditable:text-position ##### -->
703 The position of the cursor.
707 <!-- ##### USER_FUNCTION GtkEmissionHook ##### -->
709 A simple function pointer to get invoked when the
710 signal is emitted. This allows you tie a hook to the signal type,
711 so that it will trap all emissions of that signal, from any object.
714 You may not attach these to signals created with the
715 #GTK_RUN_NO_HOOKS flag.
725 <!-- ##### ENUM GtkFontFilterType ##### -->
727 A set of bit flags used to specify the filter being set
728 when calling gtk_font_selection_dialog_set_filter() or
729 gtk_font_selection_set_filter().
732 @GTK_FONT_FILTER_BASE: the base filter, which can't be changed by the user.
733 @GTK_FONT_FILTER_USER: the user filter, which can be changed from within the
734 'Filter' page of the #GtkFontSelection widget.
736 <!-- ##### ENUM GtkFontType ##### -->
738 A set of bit flags used to specify the type of fonts shown
739 when calling gtk_font_selection_dialog_set_filter() or
740 gtk_font_selection_set_filter().
743 @GTK_FONT_BITMAP: bitmap fonts.
744 @GTK_FONT_SCALABLE: scalable fonts.
745 @GTK_FONT_SCALABLE_BITMAP: scaled bitmap fonts.
746 @GTK_FONT_ALL: a bitwise combination of all of the above.
748 <!-- ##### ARG GtkHScale:adjustment ##### -->
750 the #GtkAdjustment which sets the range of the scale.
754 <!-- ##### ARG GtkHScrollbar:adjustment ##### -->
760 <!-- ##### STRUCT GtkIMContextSimple ##### -->
769 @tentative_match_len:
771 <!-- ##### USER_FUNCTION GtkImageLoader ##### -->
773 A GtkImageLoader is used to load a filename found in
777 @window: the window for creating image
778 @colormap: the colormap for this image
779 @mask: a pointer to the location to store the mask
780 @transparent_color: the transparent color for the image
781 @filename: filename to load
782 @Returns: a #GtkPixmap representing @filename
784 <!-- ##### ARG GtkLabel:accel-keyval ##### -->
790 <!-- ##### ARG GtkObject:object-signal ##### -->
792 Setting this with a GtkType of GTK_TYPE_SIGNAL connects
793 the signal to the object, so that the user data and objects
794 and swapped when the signal handler is invoked.
797 This is useful for handlers that are primarily notifying
798 other objects and could just invoke an already existing function
799 if the parameters were swapped.
800 See gtk_signal_connect_object() for more details.
804 <!-- ##### ARG GtkObject:object-signal-after ##### -->
806 Setting this with a GtkType of GTK_TYPE_SIGNAL connects
807 the signal to the object, so that the user data and objects
808 and swapped when the signal handler is invoked,
809 and so that the handler is invoked after all others.
812 See gtk_signal_connect_object_after() for more details.
816 <!-- ##### ARG GtkObject:signal ##### -->
818 Setting this with a GtkType of GTK_TYPE_SIGNAL connects
819 the signal to the object.
823 <!-- ##### ARG GtkObject:signal-after ##### -->
825 Setting this with a GtkType of GTK_TYPE_SIGNAL connects
826 the signal to the object, so that the signal is always run
827 after other user handlers and the default handler.
831 <!-- ##### ARG GtkPacker:default-border-width ##### -->
837 <!-- ##### ARG GtkPacker:default-ipad-x ##### -->
843 <!-- ##### ARG GtkPacker:default-ipad-y ##### -->
849 <!-- ##### ARG GtkPacker:default-pad-x ##### -->
855 <!-- ##### ARG GtkPacker:default-pad-y ##### -->
861 <!-- ##### ARG GtkPacker:spacing ##### -->
867 <!-- ##### ARG GtkPaned:handle-size ##### -->
873 <!-- ##### STRUCT GtkPatternSpec ##### -->
885 <!-- ##### ENUM GtkPrivateFlags ##### -->
890 @PRIVATE_GTK_USER_STYLE:
891 @PRIVATE_GTK_RESIZE_PENDING:
892 @PRIVATE_GTK_RESIZE_NEEDED:
893 @PRIVATE_GTK_LEAVE_PENDING:
894 @PRIVATE_GTK_HAS_SHAPE_MASK:
895 @PRIVATE_GTK_IN_REPARENT:
896 @PRIVATE_GTK_DIRECTION_SET:
897 @PRIVATE_GTK_DIRECTION_LTR:
899 <!-- ##### ARG GtkScrolledWindow:shadow ##### -->
905 <!-- ##### USER_FUNCTION GtkSignalDestroy ##### -->
907 A function which you can use to clean up when the
908 signal handler is destroyed.
911 For example, if your handler requires a few variables
912 that you made into a struct and allocated (using g_new()
913 or something), then you will probably want to free
914 it as soon as the hook is destroyed. This will
915 allow you to do that. (For this in particular
916 it is convenient to pass g_free() as a #GtkSignalDestroy
920 @data: The user data associated with the hook that is being
923 <!-- ##### USER_FUNCTION GtkSignalMarshal ##### -->
925 This is currently a hack left in for a scheme wrapper library.
932 @object: The object which emits the signal.
933 @data: The user data associated with the hook.
934 @nparams: The number of parameters to the function.
935 @args: The actual values of the arguments.
936 @arg_types: The types of the arguments.
937 @return_type: The type of the return value from the function
938 or #GTK_TYPE_NONE for no return value.
940 <!-- ##### STRUCT GtkSignalQuery ##### -->
942 This structure contains all the information about a particular
943 signal: its name, the type it affects, the signature of the handlers,
944 and its unique identifying integer.
956 <!-- ##### ARG GtkSpinButton:shadow-type ##### -->
958 the type of border that surrounds the arrows of a spin button.
962 <!-- ##### STRUCT GtkStatusbarMsg ##### -->
964 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.
971 <!-- ##### ARG GtkTextTag:justify ##### -->
973 A #GtkJustification for the text. This is only used when the tag is
974 applied to the first character in a paragraph.
978 <!-- ##### ARG GtkTextTag:left-wrapped-line-margin ##### -->
980 Pixel width of the left margin of the text for lines after the first
981 line in a wrapped paragraph.
985 <!-- ##### ARG GtkTextTag:left-wrapped-line-margin-set ##### -->
991 <!-- ##### ARG GtkTextTag:offset ##### -->
993 Pixels to offset the text horizontally or vertically, useful to
994 produce superscript and subscript.
998 <!-- ##### ARG GtkTextView:justify ##### -->
1004 <!-- ##### STRUCT GtkTreeSelectionClass ##### -->
1010 <!-- ##### ENUM GtkTreeSelectionMode ##### -->
1015 @GTK_TREE_SELECTION_SINGLE:
1016 @GTK_TREE_SELECTION_MULTI:
1018 <!-- ##### STRUCT GtkTreeView ##### -->
1026 <!-- ##### ARG GtkVScale:adjustment ##### -->
1028 the #GtkAdjustment which sets the range of the scale.
1032 <!-- ##### ARG GtkVScrollbar:adjustment ##### -->
1038 <!-- ##### SIGNAL GtkWidget::activate-mnemonic ##### -->
1043 @widget: the object which received the signal.
1047 <!-- ##### SIGNAL GtkWidget::debug-msg ##### -->
1052 @widget: the object which received the signal.
1055 <!-- ##### SIGNAL GtkWidget::draw ##### -->
1060 @widget: the object which received the signal.
1063 <!-- ##### SIGNAL GtkWidget::draw-default ##### -->
1068 @widget: the object which received the signal.
1070 <!-- ##### SIGNAL GtkWidget::draw-focus ##### -->
1075 @widget: the object which received the signal.
1077 <!-- ##### ARG GtkWidget:height ##### -->
1083 <!-- ##### ARG GtkWidget:width ##### -->
1089 <!-- ##### ARG GtkWidget:x ##### -->
1095 <!-- ##### ARG GtkWidget:y ##### -->
1101 <!-- ##### ARG GtkWindow:auto-shrink ##### -->
1103 If the window shrinks automatically when widgets within it shrink.
1107 <!-- ##### ARG GtkWindow:icon-list ##### -->
1113 <!-- ##### FUNCTION gtk_accel_group_create_add ##### -->
1123 <!-- ##### FUNCTION gtk_accel_group_create_remove ##### -->
1133 <!-- ##### FUNCTION gtk_accel_group_entries_from_object ##### -->
1141 <!-- ##### FUNCTION gtk_accel_group_get_entry ##### -->
1151 <!-- ##### FUNCTION gtk_accel_group_handle_add ##### -->
1163 <!-- ##### FUNCTION gtk_accel_group_handle_remove ##### -->
1173 <!-- ##### FUNCTION gtk_accel_group_lock_entry ##### -->
1182 <!-- ##### FUNCTION gtk_accel_group_unlock_entry ##### -->
1191 <!-- ##### FUNCTION gtk_accel_groups_from_object ##### -->
1199 <!-- ##### FUNCTION gtk_arg_copy ##### -->
1201 It will either copy data into an existing argument or allocate a new argument
1202 and copy the data. Strings are duplicated. All other pointers and
1203 values are copied (shallowly-- that is the pointers themselves are
1204 copied, not the data they point to.)
1207 You should call gtk_arg_reset() on dest_arg before calling this
1208 if the argument may contain string data that you want freed.
1211 @src_arg: the argument to duplicate.
1212 @dest_arg: the argument to copy over (or NULL to create a new #GtkArg).
1213 @Returns: the new #GtkArg (or dest_arg, if it was not NULL).
1215 <!-- ##### FUNCTION gtk_arg_free ##### -->
1217 Frees the argument, and optionally its contents.
1220 @arg: the argument to free.
1221 @free_contents: whether to free the string, if it is a string.
1223 <!-- ##### FUNCTION gtk_arg_get_info ##### -->
1225 Private: get information about an argument.
1228 @object_type: the type of object.
1229 @arg_info_hash_table: the hashtable of #GtkArgInfos.
1230 @arg_name: the name of the argument to lookup.
1231 @info_p: the argument info.
1232 @Returns: an error message on failure, or NULL otherwise.
1234 <!-- ##### FUNCTION gtk_arg_info_equal ##### -->
1236 A #GCompareFunc for hashing #GtkArgInfos.
1239 @arg_info_1: a #GtkArgInfo.
1240 @arg_info_2: a #GtkArgInfo.
1241 @Returns: whether the arguments are the same.
1243 <!-- ##### FUNCTION gtk_arg_info_hash ##### -->
1245 A #GHashFunc for hashing #GtkArgInfos.
1248 @arg_info: a #GtkArgInfo.
1249 @Returns: a hash value for that #GtkArgInfo.
1251 <!-- ##### FUNCTION gtk_arg_name_strip_type ##### -->
1253 Given a fully qualified argument name (e.g. "GtkButton::label")
1254 it returns just the argument name (e.g. "label") unless
1255 the argument name was invalid, in which case it returns NULL.
1258 @arg_name: the fully-qualified argument name.
1259 @Returns: the base argument name.
1261 <!-- ##### FUNCTION gtk_arg_new ##### -->
1263 Creates a new argument of a certain type, set to 0 or NULL.
1266 @arg_type: the type of the argument.
1267 @Returns: the newly created #GtkArg.
1269 <!-- ##### FUNCTION gtk_arg_reset ##### -->
1276 <!-- ##### FUNCTION gtk_arg_to_valueloc ##### -->
1284 <!-- ##### FUNCTION gtk_arg_type_new_static ##### -->
1286 Create a new argument registered with a class.
1289 @base_class_type: the basic type having the arguments, almost alway
1290 GTK_TYPE_OBJECT, except if your defining a different type argument
1291 that gets a different namespace. #GtkContainer does this to define
1292 per-child arguments of the container.
1293 @arg_name: name of the argument to create. (must be a static constant string)
1294 @class_n_args_offset: offset into the base class structure that tells
1295 the number of arguments.
1296 @arg_info_hash_table: hashtable of #GtkArgInfos.
1297 @arg_type: type of the argument.
1298 @arg_flags: flags of the argument.
1300 @Returns: the new #GtkArgInfo.
1302 <!-- ##### FUNCTION gtk_arg_values_equal ##### -->
1311 <!-- ##### FUNCTION gtk_args_collect ##### -->
1313 Private: given a hashtable of argument information it takes a vararg
1314 list and parses it into arguments (in the form of lists of #GtkArgs
1315 and lists of #GtkArgInfos.
1318 The list of arguments starts with first_arg_name then the first argument's
1319 value. Followed by any number of additional name/argument pairs,
1320 terminated with NULL.
1323 @object_type: the type of object we are collecting arguments for.
1324 @arg_info_hash_table: a hashtable mapping from names of arguments
1325 to their #GtkArgInfos.
1326 @arg_list_p: a returned list of arguments obtained from parsing the
1328 @info_list_p: a returned list of the #GtkArgInfos.
1329 @first_arg_name: the name of the first argument.
1330 @var_args: a va_list containing the value of the first argument,
1331 followed by name/value pairs, followed by NULL.
1332 @Returns: an error message on failure, or NULL otherwise.
1334 <!-- ##### FUNCTION gtk_args_collect_cleanup ##### -->
1336 Private: erase lists of arguments returned from gtk_args_collect().
1339 @arg_list: arg_list_p returned from gtk_args_collect().
1340 @info_list: info_list_p returned from gtk_args_collect().
1342 <!-- ##### FUNCTION gtk_args_query ##### -->
1344 Private: from a class type and its arginfo hashtable,
1345 get an array of #GtkArgs that this object accepts.
1348 @class_type: the class type.
1349 @arg_info_hash_table: the hashtable of #GtkArgInfos.
1350 @arg_flags: returned array of argument flags.
1351 @n_args_p: the number of arguments this object accepts.
1352 @Returns: the array of arguments (or NULL on error).
1354 <!-- ##### FUNCTION gtk_button_box_child_requisition ##### -->
1356 This is an internally used function and should never be called from an
\r
1365 <!-- ##### FUNCTION gtk_button_box_get_child_ipadding_default ##### -->
1367 The internal padding of a button is the amount of space between the outside
\r
1368 of the button and the widget it contains. This function gets the default
\r
1369 amount of horizontal and vertical padding, placing the results in @ipad_x
\r
1370 and @ipad_y, respectively.
\r
1373 @ipad_x: the default horizontal internal button padding.
1374 @ipad_y: the default vertical internal button padding.
1376 <!-- ##### FUNCTION gtk_button_box_get_child_size_default ##### -->
1378 Retrieves the default minimum width and height for all button boxes, and
\r
1379 places the values in @min_width and @min_height, respectively.
\r
1382 @min_width: the default minimum width of a child widget.
1383 @min_height: the default minimum height of a child widget.
1385 <!-- ##### FUNCTION gtk_button_box_set_child_ipadding_default ##### -->
1387 Sets the default number of pixels that pad each button in every button box.
\r
1390 @ipad_x: new default horizontal padding.
1391 @ipad_y: new default vertical padding.
1393 <!-- ##### FUNCTION gtk_button_box_set_child_size_default ##### -->
1395 Sets the default size of child buttons.
\r
1398 @min_width: minimum default width for child buttons.
1399 @min_height: minimum default height for child buttons.
1401 <!-- ##### FUNCTION gtk_button_new_accel ##### -->
1410 <!-- ##### FUNCTION gtk_button_new_stock ##### -->
1419 <!-- ##### FUNCTION gtk_cell_renderer_event ##### -->
1433 <!-- ##### FUNCTION gtk_cell_renderer_text_pixbuf_new ##### -->
1440 <!-- ##### FUNCTION gtk_clist_construct ##### -->
1442 Initializes a previously allocated #GtkCList widget for use. This should not
1443 normally be used to create a #GtkCList widget. Use gtk_clist_new() instead.
1446 @clist: A pointer to an uninitialized #GtkCList widget.
1447 @columns: The number of columns the #GtkCList should have.
1448 @titles: An array of strings that should be used as the titles i
1449 of the columns. There should be enough strings in the array for
1450 the number of columns specified.
1452 <!-- ##### FUNCTION gtk_color_selection_get_old_color ##### -->
1460 <!-- ##### FUNCTION gtk_color_selection_get_use_opacity ##### -->
1468 <!-- ##### FUNCTION gtk_color_selection_get_use_palette ##### -->
1476 <!-- ##### FUNCTION gtk_color_selection_set_old_color ##### -->
1484 <!-- ##### FUNCTION gtk_color_selection_set_opacity ##### -->
1486 Controls whether opacity can be set with the #GtkColorSelection.
1487 If this functionality is enabled, the necessary additional widgets
1488 are added to the #GtkColorSelection and the opacity value can be
1489 retrieved via the fourth value in the color array returned by
1490 the gtk_color_selection_get_color() function.
1493 @colorsel: a #GtkColorSelection.
1494 @use_opacity: a boolean indicating whether the opacity selection
1497 <!-- ##### FUNCTION gtk_color_selection_set_use_opacity ##### -->
1505 <!-- ##### FUNCTION gtk_color_selection_set_use_palette ##### -->
1513 <!-- ##### FUNCTION gtk_container_add_child_arg_type ##### -->
1523 <!-- ##### FUNCTION gtk_container_add_with_args ##### -->
1533 <!-- ##### FUNCTION gtk_container_addv ##### -->
1543 <!-- ##### FUNCTION gtk_container_arg_get ##### -->
1553 <!-- ##### FUNCTION gtk_container_arg_set ##### -->
1563 <!-- ##### FUNCTION gtk_container_child_arg_get_info ##### -->
1573 <!-- ##### FUNCTION gtk_container_child_args_collect ##### -->
1585 <!-- ##### FUNCTION gtk_container_child_getv ##### -->
1595 <!-- ##### FUNCTION gtk_container_child_setv ##### -->
1605 <!-- ##### FUNCTION gtk_container_dequeue_resize_handler ##### -->
1612 <!-- ##### FUNCTION gtk_container_focus ##### -->
1621 <!-- ##### FUNCTION gtk_container_query_child_args ##### -->
1631 <!-- ##### FUNCTION gtk_ctree_construct ##### -->
1633 This function is not usually used by users.
1641 <!-- ##### FUNCTION gtk_drag_dest_handle_event ##### -->
1649 <!-- ##### FUNCTION gtk_drag_source_handle_event ##### -->
1657 <!-- ##### FUNCTION gtk_editable_changed ##### -->
1659 Causes the "changed" signal to be emitted.
1662 @editable: a #GtkEditable widget.
1664 <!-- ##### FUNCTION gtk_editable_claim_selection ##### -->
1666 Claim or disclaim ownership of the PRIMARY X selection.
1669 @editable: a #GtkEditable widget.
1670 @claim: if %TRUE, claim the selection, otherwise, disclaim it.
1671 @time: the timestamp for claiming the selection.
1673 <!-- ##### FUNCTION gtk_font_selection_dialog_set_filter ##### -->
1675 Sets one of the two font filters, to limit the fonts shown.
1678 @fsd: a #GtkFontSelectionDialog.
1679 @filter_type: which of the two font filters to set, either
1680 #GTK_FONT_FILTER_BASE or #GTK_FONT_FILTER_USER. The user filter
1681 can be changed by the user, but the base filter is permanent.
1682 @font_type: the types of font to be shown. This is a bitwise combination of
1683 #GTK_FONT_BITMAP, #GTK_FONT_SCALABLE and #GTK_FONT_SCALABLE_BITMAP,
1684 or #GTK_FONT_ALL to show all three font types.
1685 @foundries: a NULL-terminated array of strings containing foundry names which
1686 will be shown, or NULL to show all foundries.
1687 @weights: a NULL-terminated array of strings containing weight names which
1688 will be shown, or NULL to show all weights.
1689 @slants: a NULL-terminated array of strings containing slant names which
1690 will be shown, or NULL to show all slants.
1691 @setwidths: a NULL-terminated array of strings containing setwidth names which
1692 will be shown, or NULL to show all setwidths.
1693 @spacings: a NULL-terminated array of strings containing spacings which
1694 will be shown, or NULL to show all spacings.
1695 @charsets: a NULL-terminated array of strings containing charset names which
1696 will be shown, or NULL to show all charsets.
1698 <!-- ##### FUNCTION gtk_font_selection_set_filter ##### -->
1700 Sets one of the two font filters, to limit the fonts shown.
1703 @fontsel: a #GtkFontSelection.
1704 @filter_type: which of the two font filters to set, either
1705 #GTK_FONT_FILTER_BASE or #GTK_FONT_FILTER_USER. The user filter
1706 can be changed by the user, but the base filter is permanent.
1707 @font_type: the types of font to be shown. This is a bitwise combination of
1708 #GTK_FONT_BITMAP, #GTK_FONT_SCALABLE and #GTK_FONT_SCALABLE_BITMAP,
1709 or #GTK_FONT_ALL to show all three font types.
1710 @foundries: a NULL-terminated array of strings containing foundry names which
1711 will be shown, or NULL to show all foundries.
1712 @weights: a NULL-terminated array of strings containing weight names which
1713 will be shown, or NULL to show all weights.
1714 @slants: a NULL-terminated array of strings containing slant names which
1715 will be shown, or NULL to show all slants.
1716 @setwidths: a NULL-terminated array of strings containing setwidth names which
1717 will be shown, or NULL to show all setwidths.
1718 @spacings: a NULL-terminated array of strings containing spacings which
1719 will be shown, or NULL to show all spacings.
1720 @charsets: a NULL-terminated array of strings containing charset names which
1721 will be shown, or NULL to show all charsets.
1723 <!-- ##### FUNCTION gtk_identifier_get_type ##### -->
1725 Get the type of GtkIdentifier.
1728 @Returns: GtkType -- the enumerated type of something.
1730 <!-- ##### FUNCTION gtk_image_menu_item_add_image ##### -->
1738 <!-- ##### FUNCTION gtk_image_menu_item_get_type ##### -->
1745 <!-- ##### FUNCTION gtk_label_set_markup_with_accel ##### -->
1754 <!-- ##### FUNCTION gtk_list_store_new_with_types ##### -->
1763 <!-- ##### FUNCTION gtk_list_store_set_cell ##### -->
1773 <!-- ##### FUNCTION gtk_list_store_set_column_type ##### -->
1782 <!-- ##### FUNCTION gtk_list_store_set_n_columns ##### -->
1790 <!-- ##### FUNCTION gtk_menu_ensure_uline_accel_group ##### -->
1798 <!-- ##### FUNCTION gtk_menu_get_uline_accel_group ##### -->
1806 <!-- ##### FUNCTION gtk_menu_item_configure ##### -->
1808 Sets whether the menu item should show a submenu indicator, which is a right
1812 @menu_item: the menu item
1813 @show_toggle_indicator: unused
1814 @show_submenu_indicator: whether to show the arrow or not
1816 <!-- ##### FUNCTION gtk_menu_item_set_placement ##### -->
1818 Specifies the placement of the submenu around the menu item. The placement
1819 is usually #GTK_LEFT_RIGHT for menu items in a popup menu and
1820 #GTK_TOP_BOTTOM in menu bars.
1823 This function is useless in usual applications.
1826 @menu_item: the menu item
1827 @placement: the submenu placement
1829 <!-- ##### FUNCTION gtk_object_arg_get ##### -->
1831 Private function to get an argument and argument info from an object.
1834 @object: the object whose argument should be retrieved.
1835 @arg: the argument, for the name on input, the rest is filled on output.
1836 @info: a #GtkArgInfo structure to optionally fill in.
1838 <!-- ##### FUNCTION gtk_object_arg_get_info ##### -->
1840 Query information about an argument type.
1843 @object_type: type of object to query about.
1844 @arg_name: name of the argument.
1845 @info_p: pointer to be filled in with a pointer to the GtkArgInfo.
1846 @Returns: an error message, or NULL on success.
1847 It is the caller's responsibility to call g_free() in the event of error.
1849 <!-- ##### FUNCTION gtk_object_arg_set ##### -->
1851 Private function to set an argument and argument info to an object.
1854 @object: the object whose argument should be set.
1856 @info: infomation about this type of argument in general.
1858 <!-- ##### FUNCTION gtk_object_args_collect ##### -->
1860 Private: Gets an array of #GtkArgs from a va_list C structure.
1863 @object_type: the type of object to collect arguments for.
1864 @arg_list_p: pointer to be filled in with a list of parsed arguments.
1865 @info_list_p: optional pointer for a returned list #GtkArgInfos.
1866 @first_arg_name: name of first argument.
1867 @var_args: value of first argument, followed by more key/value pairs,
1869 @Returns: an error message, or NULL on success.
1870 It is the caller's responsibility to call g_free() in the event of error.
1872 <!-- ##### FUNCTION gtk_object_class_add_signals ##### -->
1874 Add an array of signals to a #GtkObjectClass.
1875 Usually this is called when registering a new type of object.
1878 @klass: the object class to append signals to.
1879 @signals: the signals to append.
1880 @nsignals: the number of signals being appended.
1882 <!-- ##### FUNCTION gtk_object_class_user_signal_new ##### -->
1884 Define a signal-handler for a new signal on an already defined
1888 See the signal documentation for more general information.
1891 @klass: the object class to define the signal for.
1892 @name: the name of the signal.
1893 @signal_flags: the default emission behavior for the signal.
1894 See gtk_signal_new().
1895 @marshaller: a function that will take an array of GtkArgs
1896 and invoke the appropriate handler with the normal calling
1898 @return_val: specify the return-value type for the signal
1899 (or GTK_TYPE_NONE for no return-value).
1900 @nparams: specify the number of parameters the signal
1901 receives from the caller of gtk_signal_emit().
1902 @Varargs: list of nparams #GtkTypes to pass to the signal handlers.
1903 @Returns: the signal id. (See #GtkSignals)
1905 <!-- ##### FUNCTION gtk_object_class_user_signal_newv ##### -->
1907 Define a signal-handler for a new signal on an already defined
1911 @klass: the object class to define the signal for.
1912 @name: the name of the signal.
1913 @signal_flags: the default emission behavior for the signal.
1914 See gtk_signal_new().
1915 @marshaller: takes a GtkObject, a #GtkSignalFunc, and an array
1916 of arguments, and invokes the function using the appropriate
1917 calling conventions. Usually just select a function
1918 out of gtkmarshal.h.
1919 @return_val: specify the return-value type for the signal (possibly
1921 @nparams: specify the number of parameters the signal
1922 receives from the caller of gtk_signal_emit().
1923 @params: array of #GtkTypes the signal handlers for this signal
1924 should have in their prototype (of length nparams).
1925 @Returns: the signal id. (See #GtkSignals)
1927 <!-- ##### FUNCTION gtk_object_constructed ##### -->
1929 Mark an allocated object as constructed.
1930 This is used for situations
1931 that require precise control of the construction process.
1934 This is done when gtk_object_default_construct() is inadequate.
1935 In #GtkCList the need arises because #GtkCList does construction work that
1936 must happen <emphasis>after</emphasis> its derivers. This work
1937 cannot be done in an initializer function, so an alternate
1938 constructor is mandatory. It calls gtk_object_constructed() to
1939 indicate it has done its job, so that no other constructor will
1943 Normally this function is just automatically run from
1944 gtk_object_default_construct().
1947 @object: object which has been constructed. This is usually
1948 done automatically by gtk_object_new() and gtk_object_newv().
1950 <!-- ##### FUNCTION gtk_object_default_construct ##### -->
1952 This function is called to construct arguments that haven't been initialized
1953 but have the #GTK_ARG_CONSTRUCT flag set.
1956 All number arguments are set to 0. All pointers and strings
1960 Normally invoked by gtk_object_new() automatically; gtk_type_new() can
1961 be used to bypass it.
1964 @object: the object to initialize.
1966 <!-- ##### FUNCTION gtk_object_getv ##### -->
1968 Gets an array of argument values from an object.
1971 @object: the object to get arguments from.
1972 @n_args: the number of arguments to query.
1973 @args: the arguments to fill in.
1975 <!-- ##### FUNCTION gtk_object_newv ##### -->
1977 Construct an object with an array of arguments.
1980 @object_type: the type of the object to create.
1981 @n_args: the number of arguments to set.
1982 @args: an array of n_args arguments (which are name and value pairs).
1983 @Returns: the new GtkObject.
1985 <!-- ##### FUNCTION gtk_object_query_args ##### -->
1987 Get all the arguments that may be used for a given type.
1990 In Java, this type of mechanism is called
1991 <wordasword>introspection</wordasword>. It is used by applications
1992 like Glade, that have to determine what can be done to an object
1996 @class_type: the GtkType of the ObjectClass
1997 (returned from GTK_OBJECT_CLASS(class)->type for example).
1998 @arg_flags: if non-NULL, obtains the #GtkArgFlags that apply to
1999 each argument. You must g_free() this if you request it.
2000 @n_args: the number of arguments is returned in this field.
2001 @Returns: an array of arguments, that you must deallocate with g_free().
2003 <!-- ##### FUNCTION gtk_object_setv ##### -->
2005 Set an array of arguments.
2008 @object: the object whose arguments should be set.
2009 @n_args: the number of arguments to set.
2010 @args: the desired values, as an array of #GtkArgs (which contain
2011 the names, types, and values of the arguments).
2013 <!-- ##### FUNCTION gtk_paned_compute_position ##### -->
2015 Internal function used by #GtkHPaned and #GtkVPaned
2023 <!-- ##### FUNCTION gtk_paned_set_handle_size ##### -->
2025 Set the the handle size to @size x @size pixels.
2028 @paned: a paned widget
2029 @size: the size in pixels
2031 <!-- ##### FUNCTION gtk_pattern_match ##### -->
2042 <!-- ##### FUNCTION gtk_pattern_match_simple ##### -->
2051 <!-- ##### FUNCTION gtk_pattern_match_string ##### -->
2060 <!-- ##### FUNCTION gtk_pattern_spec_free_segs ##### -->
2067 <!-- ##### FUNCTION gtk_pattern_spec_init ##### -->
2075 <!-- ##### FUNCTION gtk_rc_init ##### -->
2081 <!-- ##### FUNCTION gtk_rc_load_image ##### -->
2083 Internal function. Loads an image using the current
2087 @colormap: the colormap to use for the image
2088 @transparent_color: the transparent color for the image
2089 @filename: the filename of the image file
2090 @Returns: a #GtkPixmap representing @filename
2092 <!-- ##### FUNCTION gtk_rc_set_image_loader ##### -->
2094 Sets the function that GTK+ will use to load images
2097 @loader: the #GtkImageLoader to use
2099 <!-- ##### FUNCTION gtk_ruler_draw_pos ##### -->
2104 @ruler: the gtkruler
2106 <!-- ##### FUNCTION gtk_ruler_draw_ticks ##### -->
2111 @ruler: the gtkruler
2113 <!-- ##### FUNCTION gtk_settings_get_global ##### -->
2120 <!-- ##### FUNCTION gtk_signal_add_emission_hook ##### -->
2122 Add an emission hook for a type of signal, for any object.
2125 @signal_id: the type of signal to hook for.
2126 @hook_func: the function to invoke to handle the emission hook.
2127 @data: the user data passed in to hook_func.
2128 @Returns: the id (that you may pass as a parameter
2129 to gtk_signal_remove_emission_hook()).
2134 <!-- ##### FUNCTION gtk_signal_add_emission_hook_full ##### -->
2136 Add an emission hook for a type of signal, for any object.
2137 (with control of what happens when the hook is
2141 @signal_id: the type of signal add the hook for.
2142 @hook_func: the function to invoke to handle the hook.
2143 @data: the user data passed in to hook_func.
2144 @destroy: a function to invoke when the hook is destroyed,
2145 to clean up any allocation done just for this
2147 @Returns: the id (that you may pass as a parameter
2148 to gtk_signal_remove_emission_hook()).
2150 <!-- ##### FUNCTION gtk_signal_handler_pending_by_id ##### -->
2152 Returns whether a connection id is valid (and optionally not blocked).
2155 @object: the object to search for the desired handler.
2156 @handler_id: the connection id.
2157 @may_be_blocked: whether it is acceptable to return a blocked
2159 @Returns: TRUE if the signal exists and wasn't blocked,
2160 unless #may_be_blocked was specified. FALSE otherwise.
2162 <!-- ##### FUNCTION gtk_signal_handlers_destroy ##### -->
2164 Destroy all the signal handlers connected to an object.
2165 This is done automatically when the object is destroyed.
2168 This function is labeled private.
2171 @object: the object whose signal handlers should be destroyed.
2173 <!-- ##### FUNCTION gtk_signal_init ##### -->
2179 <!-- ##### FUNCTION gtk_signal_n_emissions ##### -->
2181 Find out the recursion depth of emissions for a particular type
2182 of signal and object. (So it will
2183 always return 0 or 1 if #GTK_RUN_NO_RECURSE is specified)
2184 This is a way to avoid recursion: you can see if
2185 you are currently running in that signal handler and emit it only
2188 <para>Another way to look at it is that this number increases
2189 by one when #gtk_signal_emit(), et al, are called,
2190 and decreases by one when #gtk_signal_emit() returns.
2193 @object: the object with the signal handler.
2194 @signal_id: the signal id.
2195 @Returns: the recursion depth of emissions of this signal for this
2198 <!-- ##### FUNCTION gtk_signal_n_emissions_by_name ##### -->
2200 Find out the recursion depth of emissions for a particular type
2201 of signal and object. Just like gtk_signal_n_emissions()
2202 except it will lookup the signal id for you.
2205 @object: the object with the signal handler.
2206 @name: the signal name.
2207 @Returns: the recursion depth of emissions of this signal for this
2210 <!-- ##### FUNCTION gtk_signal_query ##### -->
2212 Obtain information about a signal.
2215 @signal_id: the signal type identifier.
2216 @Returns: a pointer to a GtkSignalQuery structure
2217 which contains all the information, or NULL.
2218 The pointer is allocated just for you: you must g_free() it.
2220 <!-- ##### FUNCTION gtk_signal_remove_emission_hook ##### -->
2222 Delete an emission hook. (see gtk_signal_add_emission_hook())
2225 @signal_id: the id of the signal type.
2226 @hook_id: the id of the emission handler, returned by add_emission_hook().
2230 <!-- ##### FUNCTION gtk_signal_set_funcs ##### -->
2232 These set default functions to call when the user didn't
2233 supply a function when connecting. (These are rarely
2234 used, and probably only for language bindings)
2237 By default, there are no such functions.
2240 @marshal_func: the function to invoke on every handlers for which there
2241 isn't a function pointer. May be NULL.
2242 @destroy_func: the function to invoke when each hook is destroyed.
2245 <!-- ##### FUNCTION gtk_spin_button_set_shadow_type ##### -->
2247 Creates a border around the arrows of a #GtkSpinButton. The type of border is determined by @shadow_type.
2250 @spin_button: a #GtkSpinButton
2251 @shadow_type: the new border type.
2253 <!-- ##### FUNCTION gtk_stock_list_items ##### -->
2260 <!-- ##### FUNCTION gtk_text_buffer_paste_primary ##### -->
2269 <!-- ##### FUNCTION gtk_text_iter_reorder ##### -->
2277 <!-- ##### FUNCTION gtk_text_iter_spew ##### -->
2285 <!-- ##### FUNCTION gtk_text_view_set_text_window_size ##### -->
2294 <!-- ##### FUNCTION gtk_trace_referencing ##### -->
2296 Private: print debugging information while doing a gtk_object_ref() or
2297 a gtk_object_unref().
2300 @object: object to reference or unreference.
2301 @func: name of caller's function to print (used within macros).
2303 @line: line number (used within macros).
2304 @do_ref: whether to reference or unreference.
2306 <!-- ##### FUNCTION gtk_tree_model_ref_iter ##### -->
2314 <!-- ##### FUNCTION gtk_tree_model_sort_set_compare ##### -->
2322 <!-- ##### FUNCTION gtk_tree_model_sort_set_sort_column ##### -->
2330 <!-- ##### FUNCTION gtk_tree_model_unref_iter ##### -->
2338 <!-- ##### FUNCTION gtk_tree_store_new_with_types ##### -->
2347 <!-- ##### FUNCTION gtk_tree_store_set_cell ##### -->
2357 <!-- ##### FUNCTION gtk_tree_store_set_column_type ##### -->
2367 <!-- ##### FUNCTION gtk_tree_store_set_n_columns ##### -->
2375 <!-- ##### FUNCTION gtk_tree_view_column_set_cell_data ##### -->
2384 <!-- ##### FUNCTION gtk_tree_view_column_set_cell_renderer ##### -->
2392 <!-- ##### FUNCTION gtk_tree_view_column_set_width ##### -->
2401 <!-- ##### FUNCTION gtk_type_check_class_cast ##### -->
2403 Given a GtkTypeClass pointer @klass, and a GtkType @cast_type, make
2404 sure that it's okay to cast something of that @klass into a @cast_type.
2407 @klass: GtkTypeClass*
2409 @Returns: Always return @klass.
2411 <!-- ##### FUNCTION gtk_type_check_object_cast ##### -->
2413 Given a pointer to a GtkTypeObject @type_object, and a GtkType @cast_type,
2414 make sure that it's okay to cast @type_object into a @cast_type.
2417 @type_object: GtkTypeObject*
2419 @Returns: the same GtkTypeObject* as @type_object
2421 <!-- ##### FUNCTION gtk_type_children_types ##### -->
2423 Return the pointer to the type's children's types.
2427 @Returns: pointer to a GList
2429 <!-- ##### FUNCTION gtk_type_describe_heritage ##### -->
2431 Print the types @type inherits from.
2436 <!-- ##### FUNCTION gtk_type_describe_tree ##### -->
2438 Given a @type, describe all of its children, and their children. Only
2439 show the size if @show_size is true.
2443 @show_size: gboolean
2445 <!-- ##### FUNCTION gtk_type_free ##### -->
2447 Given the type of an object and a pointer to it, the object is freed.
2451 @mem: gpointer to the object
2453 <!-- ##### FUNCTION gtk_type_get_varargs_type ##### -->
2455 Get the varargs type associated with @foreign_type
2458 @foreign_type: GtkType
2461 <!-- ##### FUNCTION gtk_type_parent_class ##### -->
2463 Return the class of the parent. Initialize the class if necessary.
2464 Return NULL if anything goes wrong.
2468 @Returns: gpointer to the klass.
2470 <!-- ##### FUNCTION gtk_type_query ##### -->
2472 Given a type, return various interesting parameters of the type.
2476 @Returns: GtkTypeQuery*
2478 <!-- ##### FUNCTION gtk_type_register_enum ##### -->
2480 Register a new set of enum @values and give them the name in
2484 @type_name: must not be null.
2485 @values: GtkEnumValue*
2488 <!-- ##### FUNCTION gtk_type_register_flags ##### -->
2490 Register a new set of flags @values and give them the name in
2494 @type_name: must not be null.
2495 @values: GtkFlagValue*
2498 <!-- ##### FUNCTION gtk_type_set_chunk_alloc ##### -->
2500 Set the mem_chunk size so it will hold @n_chunks of the objects of that @type.
2503 @type: There must be an unlocked TypeNode associated with this type otherwise nothing happens.
2506 <!-- ##### FUNCTION gtk_type_set_varargs_type ##### -->
2508 Set the varargs type for a fundamental type @foreign_type.
2511 @foreign_type: Must be a GtkType with a sequence number of zero. Must not be a
2513 @varargs_type: Must be a GtkType which is either structured or flag, or NONE.
2515 <!-- ##### FUNCTION gtk_widget_activate_mnemonic ##### -->
2524 <!-- ##### FUNCTION gtk_widget_get_usize ##### -->
2533 <!-- ##### FUNCTION gtk_widget_pop_style ##### -->
2539 <!-- ##### FUNCTION gtk_widget_popup ##### -->
2548 <!-- ##### FUNCTION gtk_widget_push_style ##### -->
2555 <!-- ##### FUNCTION gtk_widget_set_default_style ##### -->
2562 <!-- ##### FUNCTION gtk_window_activate_mnemonic ##### -->
2572 <!-- ##### FUNCTION gtk_window_get_default_accel_group ##### -->
2580 <!-- ##### FUNCTION gtk_window_get_resizeable ##### -->
2588 <!-- ##### FUNCTION gtk_window_set_decorations_hint ##### -->
2596 <!-- ##### FUNCTION gtk_window_set_functions_hint ##### -->
2604 <!-- ##### FUNCTION gtk_window_set_resizeable ##### -->