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_VALUE_ARGS ##### -->
381 Use to get the value of a GtkArg whose GtkType is GTK_TYPE_ARGS
386 <!-- ##### MACRO GTK_VALUE_CALLBACK ##### -->
388 Use to get the value of a GtkArg whose GtkType is GTK_TYPE_CALLBACK
393 <!-- ##### MACRO GTK_VALUE_C_CALLBACK ##### -->
395 Use to get the value of a GtkArg whose GtkType is GTK_TYPE_C_CALLBACK
400 <!-- ##### MACRO GTK_VALUE_FOREIGN ##### -->
402 Use to get the value of a GtkArg whose GtkType is GTK_TYPE_C_FOREIGN
407 <!-- ##### USER_FUNCTION GValueCompareFunc ##### -->
416 <!-- ##### STRUCT GtkAccelEntry ##### -->
418 This is a private struct used by GTK+ internally, don't worry about it.
428 <!-- ##### ARG GtkAccelLabel:accel-widget ##### -->
430 The widget whose accelerators are to be shown by the #GtkAccelLabel.
434 <!-- ##### ARG GtkAccelLabel:accel-width ##### -->
440 <!-- ##### USER_FUNCTION GtkArgGetFunc ##### -->
442 Define a function pointer. Deprecated.
449 <!-- ##### STRUCT GtkArgInfo ##### -->
451 A structure containing information about the argument.
452 Returned by gtk_arg_get_info().
455 @class_type: if the argument is an object, this is the object class type.
456 @name: the name of the argument.
457 @type: the type of the argument; it may be an object's type
458 or a fundamental type.
459 @arg_flags: flags applicable to the argument (i.e. readable, writable,
460 and whether it needs to be constructed).
461 @full_name: the object name and argument name separated by ::,
462 e.g. "GtkObject::user_data" or "GtkButton::label".
463 @arg_id: the unique argument identified.
466 <!-- ##### USER_FUNCTION GtkArgSetFunc ##### -->
468 Define a function pointer. Deprecated.
475 <!-- ##### STRUCT GtkCellRendererTextPixbuf ##### -->
482 <!-- ##### ARG GtkColorSelection:previous-alpha ##### -->
488 <!-- ##### ARG GtkColorSelection:previous-color ##### -->
494 <!-- ##### SIGNAL GtkContainer::focus ##### -->
499 @container: the object which received the signal.
503 <!-- ##### ARG GtkContainer:reallocate-redraws ##### -->
509 <!-- ##### STRUCT GtkData ##### -->
511 The #GtkData-struct struct contains no public fields.
515 <!-- ##### SIGNAL GtkData::disconnect ##### -->
517 Emitted to notify any views on the #GtkData object to disconnect from it,
518 possibly because the #GtkData object is about to be destroyed.
521 @data: the object which received the signal.
523 <!-- ##### SIGNAL GtkEditable::activate ##### -->
525 Indicates that the user has activated the widget
526 in some fashion. Generally, this will be done
527 with a keystroke. (The default binding for this
528 action is Return for #GtkEntry and
529 Control-Return for #GtkText.)
532 @editable: the object which received the signal.
534 <!-- ##### SIGNAL GtkEditable::changed ##### -->
536 Indicates that the user has changed the contents
540 @editable: the object which received the signal.
542 <!-- ##### SIGNAL GtkEditable::copy-clipboard ##### -->
544 An action signal. Causes the characters in the current selection to
545 be copied to the clipboard.
548 @editable: the object which received the signal.
550 <!-- ##### SIGNAL GtkEditable::cut-clipboard ##### -->
552 An action signal. Causes the characters in the current
553 selection to be copied to the clipboard and then deleted from
557 @editable: the object which received the signal.
559 <!-- ##### SIGNAL GtkEditable::delete-text ##### -->
561 This signal is emitted when text is deleted from
562 the widget by the user. The default handler for
563 this signal will normally be responsible for inserting
564 the text, so by connecting to this signal and then
565 stopping the signal with gtk_signal_emit_stop(), it
566 is possible to modify the inserted text, or prevent
567 it from being inserted entirely. The @start_pos
568 and @end_pos parameters are interpreted as for
569 gtk_editable_delete_text()
572 @editable: the object which received the signal.
573 @start_pos: the starting position.
574 @end_pos: the end position.
576 <!-- ##### SIGNAL GtkEditable::insert-text ##### -->
578 This signal is emitted when text is inserted into
579 the widget by the user. The default handler for
580 this signal will normally be responsible for inserting
581 the text, so by connecting to this signal and then
582 stopping the signal with gtk_signal_emit_stop(), it
583 is possible to modify the inserted text, or prevent
584 it from being inserted entirely.
587 @editable: the object which received the signal.
588 @new_text: the new text to insert.
589 @new_text_length: the length of the new text.
590 @position: the position at which to insert the new text.
591 this is an in-out paramter. After the signal
592 emission is finished, it should point after
593 the newly inserted text.
595 <!-- ##### SIGNAL GtkEditable::kill-char ##### -->
597 An action signal. Delete a single character.
600 @editable: the object which received the signal.
601 @direction: the direction in which to delete. Positive
602 indicates forward deletion, negative, backwards deletion.
604 <!-- ##### SIGNAL GtkEditable::kill-line ##### -->
606 An action signal. Delete a single line.
609 @editable: the object which received the signal.
610 @direction: the direction in which to delete. Positive
611 indicates forward deletion, negative, backwards deletion.
613 <!-- ##### SIGNAL GtkEditable::kill-word ##### -->
615 An action signal. Delete a single word.
618 @editable: the object which received the signal.
619 @direction: the direction in which to delete. Positive
620 indicates forward deletion, negative, backwards deletion.
622 <!-- ##### SIGNAL GtkEditable::move-cursor ##### -->
624 An action signal. Move the cursor position.
627 @editable: the object which received the signal.
628 @x: horizontal distance to move the cursor.
629 @y: vertical distance to move the cursor.
631 <!-- ##### SIGNAL GtkEditable::move-page ##### -->
633 An action signal. Move the cursor by pages.
636 @editable: the object which received the signal.
637 @x: Number of pages to move the cursor horizontally.
638 @y: Number of pages to move the cursor vertically.
640 <!-- ##### SIGNAL GtkEditable::move-to-column ##### -->
642 An action signal. Move the cursor to the given column.
645 @editable: the object which received the signal.
646 @column: the column to move to. (A negative value indicates
649 <!-- ##### SIGNAL GtkEditable::move-to-row ##### -->
651 An action signal. Move the cursor to the given row.
654 @editable: the object which received the signal.
655 @row: the row to move to. (A negative value indicates
658 <!-- ##### SIGNAL GtkEditable::move-word ##### -->
660 An action signal. Move the cursor by words.
663 @editable: the object which received the signal.
664 @num_words: The number of words to move the
665 cursor. (Can be negative).
667 <!-- ##### SIGNAL GtkEditable::paste-clipboard ##### -->
669 An action signal. Causes the contents of the clipboard to
670 be pasted into the editable widget at the current cursor
674 @editable: the object which received the signal.
676 <!-- ##### SIGNAL GtkEditable::set-editable ##### -->
678 Determines if the user can edit the text in the editable
679 widget or not. This is meant to be overriden by
680 child classes and should not generally useful to
684 @editable: the object which received the signal.
685 @is_editable: %TRUE if the user is allowed to edit the text
688 <!-- ##### ARG GtkEditable:editable ##### -->
690 A boolean indicating whether the widget is editable by
695 <!-- ##### ARG GtkEditable:text-position ##### -->
697 The position of the cursor.
701 <!-- ##### USER_FUNCTION GtkEmissionHook ##### -->
703 A simple function pointer to get invoked when the
704 signal is emitted. This allows you tie a hook to the signal type,
705 so that it will trap all emissions of that signal, from any object.
708 You may not attach these to signals created with the
709 #GTK_RUN_NO_HOOKS flag.
719 <!-- ##### ENUM GtkFontFilterType ##### -->
721 A set of bit flags used to specify the filter being set
722 when calling gtk_font_selection_dialog_set_filter() or
723 gtk_font_selection_set_filter().
726 @GTK_FONT_FILTER_BASE: the base filter, which can't be changed by the user.
727 @GTK_FONT_FILTER_USER: the user filter, which can be changed from within the
728 'Filter' page of the #GtkFontSelection widget.
730 <!-- ##### ENUM GtkFontType ##### -->
732 A set of bit flags used to specify the type of fonts shown
733 when calling gtk_font_selection_dialog_set_filter() or
734 gtk_font_selection_set_filter().
737 @GTK_FONT_BITMAP: bitmap fonts.
738 @GTK_FONT_SCALABLE: scalable fonts.
739 @GTK_FONT_SCALABLE_BITMAP: scaled bitmap fonts.
740 @GTK_FONT_ALL: a bitwise combination of all of the above.
742 <!-- ##### ARG GtkHScale:adjustment ##### -->
744 the #GtkAdjustment which sets the range of the scale.
748 <!-- ##### ARG GtkHScrollbar:adjustment ##### -->
754 <!-- ##### STRUCT GtkIMContextSimple ##### -->
763 @tentative_match_len:
765 <!-- ##### USER_FUNCTION GtkImageLoader ##### -->
767 A GtkImageLoader is used to load a filename found in
771 @window: the window for creating image
772 @colormap: the colormap for this image
773 @mask: a pointer to the location to store the mask
774 @transparent_color: the transparent color for the image
775 @filename: filename to load
776 @Returns: a #GtkPixmap representing @filename
778 <!-- ##### ARG GtkLabel:accel-keyval ##### -->
784 <!-- ##### ARG GtkObject:object-signal ##### -->
786 Setting this with a GtkType of GTK_TYPE_SIGNAL connects
787 the signal to the object, so that the user data and objects
788 and swapped when the signal handler is invoked.
791 This is useful for handlers that are primarily notifying
792 other objects and could just invoke an already existing function
793 if the parameters were swapped.
794 See gtk_signal_connect_object() for more details.
798 <!-- ##### ARG GtkObject:object-signal-after ##### -->
800 Setting this with a GtkType of GTK_TYPE_SIGNAL connects
801 the signal to the object, so that the user data and objects
802 and swapped when the signal handler is invoked,
803 and so that the handler is invoked after all others.
806 See gtk_signal_connect_object_after() for more details.
810 <!-- ##### ARG GtkObject:signal ##### -->
812 Setting this with a GtkType of GTK_TYPE_SIGNAL connects
813 the signal to the object.
817 <!-- ##### ARG GtkObject:signal-after ##### -->
819 Setting this with a GtkType of GTK_TYPE_SIGNAL connects
820 the signal to the object, so that the signal is always run
821 after other user handlers and the default handler.
825 <!-- ##### ARG GtkPacker:default-border-width ##### -->
831 <!-- ##### ARG GtkPacker:default-ipad-x ##### -->
837 <!-- ##### ARG GtkPacker:default-ipad-y ##### -->
843 <!-- ##### ARG GtkPacker:default-pad-x ##### -->
849 <!-- ##### ARG GtkPacker:default-pad-y ##### -->
855 <!-- ##### ARG GtkPacker:spacing ##### -->
861 <!-- ##### ARG GtkPaned:handle-size ##### -->
867 <!-- ##### STRUCT GtkPatternSpec ##### -->
879 <!-- ##### ENUM GtkPrivateFlags ##### -->
884 @PRIVATE_GTK_USER_STYLE:
885 @PRIVATE_GTK_RESIZE_PENDING:
886 @PRIVATE_GTK_RESIZE_NEEDED:
887 @PRIVATE_GTK_LEAVE_PENDING:
888 @PRIVATE_GTK_HAS_SHAPE_MASK:
889 @PRIVATE_GTK_IN_REPARENT:
890 @PRIVATE_GTK_DIRECTION_SET:
891 @PRIVATE_GTK_DIRECTION_LTR:
893 <!-- ##### ARG GtkScrolledWindow:shadow ##### -->
899 <!-- ##### USER_FUNCTION GtkSignalDestroy ##### -->
901 A function which you can use to clean up when the
902 signal handler is destroyed.
905 For example, if your handler requires a few variables
906 that you made into a struct and allocated (using g_new()
907 or something), then you will probably want to free
908 it as soon as the hook is destroyed. This will
909 allow you to do that. (For this in particular
910 it is convenient to pass g_free() as a #GtkSignalDestroy
914 @data: The user data associated with the hook that is being
917 <!-- ##### USER_FUNCTION GtkSignalMarshal ##### -->
919 This is currently a hack left in for a scheme wrapper library.
926 @object: The object which emits the signal.
927 @data: The user data associated with the hook.
928 @nparams: The number of parameters to the function.
929 @args: The actual values of the arguments.
930 @arg_types: The types of the arguments.
931 @return_type: The type of the return value from the function
932 or #GTK_TYPE_NONE for no return value.
934 <!-- ##### STRUCT GtkSignalQuery ##### -->
936 This structure contains all the information about a particular
937 signal: its name, the type it affects, the signature of the handlers,
938 and its unique identifying integer.
950 <!-- ##### ARG GtkSpinButton:shadow-type ##### -->
952 the type of border that surrounds the arrows of a spin button.
956 <!-- ##### STRUCT GtkStatusbarMsg ##### -->
958 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.
965 <!-- ##### ARG GtkTextTag:justify ##### -->
967 A #GtkJustification for the text. This is only used when the tag is
968 applied to the first character in a paragraph.
972 <!-- ##### ARG GtkTextTag:left-wrapped-line-margin ##### -->
974 Pixel width of the left margin of the text for lines after the first
975 line in a wrapped paragraph.
979 <!-- ##### ARG GtkTextTag:left-wrapped-line-margin-set ##### -->
985 <!-- ##### ARG GtkTextTag:offset ##### -->
987 Pixels to offset the text horizontally or vertically, useful to
988 produce superscript and subscript.
992 <!-- ##### ARG GtkTextView:justify ##### -->
998 <!-- ##### ENUM GtkTreeSelectionMode ##### -->
1003 @GTK_TREE_SELECTION_SINGLE:
1004 @GTK_TREE_SELECTION_MULTI:
1006 <!-- ##### ARG GtkVScale:adjustment ##### -->
1008 the #GtkAdjustment which sets the range of the scale.
1012 <!-- ##### ARG GtkVScrollbar:adjustment ##### -->
1018 <!-- ##### SIGNAL GtkWidget::activate-mnemonic ##### -->
1023 @widget: the object which received the signal.
1027 <!-- ##### SIGNAL GtkWidget::debug-msg ##### -->
1032 @widget: the object which received the signal.
1035 <!-- ##### SIGNAL GtkWidget::draw ##### -->
1040 @widget: the object which received the signal.
1043 <!-- ##### SIGNAL GtkWidget::draw-default ##### -->
1048 @widget: the object which received the signal.
1050 <!-- ##### SIGNAL GtkWidget::draw-focus ##### -->
1055 @widget: the object which received the signal.
1057 <!-- ##### ARG GtkWidget:height ##### -->
1063 <!-- ##### ARG GtkWidget:width ##### -->
1069 <!-- ##### ARG GtkWidget:x ##### -->
1075 <!-- ##### ARG GtkWidget:y ##### -->
1081 <!-- ##### ARG GtkWindow:auto-shrink ##### -->
1083 If the window shrinks automatically when widgets within it shrink.
1087 <!-- ##### ARG GtkWindow:icon-list ##### -->
1093 <!-- ##### FUNCTION gtk_accel_group_create_add ##### -->
1103 <!-- ##### FUNCTION gtk_accel_group_create_remove ##### -->
1113 <!-- ##### FUNCTION gtk_accel_group_entries_from_object ##### -->
1121 <!-- ##### FUNCTION gtk_accel_group_get_entry ##### -->
1131 <!-- ##### FUNCTION gtk_accel_group_handle_add ##### -->
1143 <!-- ##### FUNCTION gtk_accel_group_handle_remove ##### -->
1153 <!-- ##### FUNCTION gtk_accel_group_lock_entry ##### -->
1162 <!-- ##### FUNCTION gtk_accel_group_unlock_entry ##### -->
1171 <!-- ##### FUNCTION gtk_accel_groups_from_object ##### -->
1179 <!-- ##### FUNCTION gtk_arg_copy ##### -->
1181 It will either copy data into an existing argument or allocate a new argument
1182 and copy the data. Strings are duplicated. All other pointers and
1183 values are copied (shallowly-- that is the pointers themselves are
1184 copied, not the data they point to.)
1187 You should call gtk_arg_reset() on dest_arg before calling this
1188 if the argument may contain string data that you want freed.
1191 @src_arg: the argument to duplicate.
1192 @dest_arg: the argument to copy over (or NULL to create a new #GtkArg).
1193 @Returns: the new #GtkArg (or dest_arg, if it was not NULL).
1195 <!-- ##### FUNCTION gtk_arg_free ##### -->
1197 Frees the argument, and optionally its contents.
1200 @arg: the argument to free.
1201 @free_contents: whether to free the string, if it is a string.
1203 <!-- ##### FUNCTION gtk_arg_get_info ##### -->
1205 Private: get information about an argument.
1208 @object_type: the type of object.
1209 @arg_info_hash_table: the hashtable of #GtkArgInfos.
1210 @arg_name: the name of the argument to lookup.
1211 @info_p: the argument info.
1212 @Returns: an error message on failure, or NULL otherwise.
1214 <!-- ##### FUNCTION gtk_arg_info_equal ##### -->
1216 A #GCompareFunc for hashing #GtkArgInfos.
1219 @arg_info_1: a #GtkArgInfo.
1220 @arg_info_2: a #GtkArgInfo.
1221 @Returns: whether the arguments are the same.
1223 <!-- ##### FUNCTION gtk_arg_info_hash ##### -->
1225 A #GHashFunc for hashing #GtkArgInfos.
1228 @arg_info: a #GtkArgInfo.
1229 @Returns: a hash value for that #GtkArgInfo.
1231 <!-- ##### FUNCTION gtk_arg_name_strip_type ##### -->
1233 Given a fully qualified argument name (e.g. "GtkButton::label")
1234 it returns just the argument name (e.g. "label") unless
1235 the argument name was invalid, in which case it returns NULL.
1238 @arg_name: the fully-qualified argument name.
1239 @Returns: the base argument name.
1241 <!-- ##### FUNCTION gtk_arg_new ##### -->
1243 Creates a new argument of a certain type, set to 0 or NULL.
1246 @arg_type: the type of the argument.
1247 @Returns: the newly created #GtkArg.
1249 <!-- ##### FUNCTION gtk_arg_reset ##### -->
1256 <!-- ##### FUNCTION gtk_arg_to_valueloc ##### -->
1264 <!-- ##### FUNCTION gtk_arg_type_new_static ##### -->
1266 Create a new argument registered with a class.
1269 @base_class_type: the basic type having the arguments, almost alway
1270 GTK_TYPE_OBJECT, except if your defining a different type argument
1271 that gets a different namespace. #GtkContainer does this to define
1272 per-child arguments of the container.
1273 @arg_name: name of the argument to create. (must be a static constant string)
1274 @class_n_args_offset: offset into the base class structure that tells
1275 the number of arguments.
1276 @arg_info_hash_table: hashtable of #GtkArgInfos.
1277 @arg_type: type of the argument.
1278 @arg_flags: flags of the argument.
1280 @Returns: the new #GtkArgInfo.
1282 <!-- ##### FUNCTION gtk_arg_values_equal ##### -->
1291 <!-- ##### FUNCTION gtk_args_collect ##### -->
1293 Private: given a hashtable of argument information it takes a vararg
1294 list and parses it into arguments (in the form of lists of #GtkArgs
1295 and lists of #GtkArgInfos.
1298 The list of arguments starts with first_arg_name then the first argument's
1299 value. Followed by any number of additional name/argument pairs,
1300 terminated with NULL.
1303 @object_type: the type of object we are collecting arguments for.
1304 @arg_info_hash_table: a hashtable mapping from names of arguments
1305 to their #GtkArgInfos.
1306 @arg_list_p: a returned list of arguments obtained from parsing the
1308 @info_list_p: a returned list of the #GtkArgInfos.
1309 @first_arg_name: the name of the first argument.
1310 @var_args: a va_list containing the value of the first argument,
1311 followed by name/value pairs, followed by NULL.
1312 @Returns: an error message on failure, or NULL otherwise.
1314 <!-- ##### FUNCTION gtk_args_collect_cleanup ##### -->
1316 Private: erase lists of arguments returned from gtk_args_collect().
1319 @arg_list: arg_list_p returned from gtk_args_collect().
1320 @info_list: info_list_p returned from gtk_args_collect().
1322 <!-- ##### FUNCTION gtk_args_query ##### -->
1324 Private: from a class type and its arginfo hashtable,
1325 get an array of #GtkArgs that this object accepts.
1328 @class_type: the class type.
1329 @arg_info_hash_table: the hashtable of #GtkArgInfos.
1330 @arg_flags: returned array of argument flags.
1331 @n_args_p: the number of arguments this object accepts.
1332 @Returns: the array of arguments (or NULL on error).
1334 <!-- ##### FUNCTION gtk_button_box_child_requisition ##### -->
1336 This is an internally used function and should never be called from an
\r
1345 <!-- ##### FUNCTION gtk_button_box_get_child_ipadding_default ##### -->
1347 The internal padding of a button is the amount of space between the outside
\r
1348 of the button and the widget it contains. This function gets the default
\r
1349 amount of horizontal and vertical padding, placing the results in @ipad_x
\r
1350 and @ipad_y, respectively.
\r
1353 @ipad_x: the default horizontal internal button padding.
1354 @ipad_y: the default vertical internal button padding.
1356 <!-- ##### FUNCTION gtk_button_box_get_child_size_default ##### -->
1358 Retrieves the default minimum width and height for all button boxes, and
\r
1359 places the values in @min_width and @min_height, respectively.
\r
1362 @min_width: the default minimum width of a child widget.
1363 @min_height: the default minimum height of a child widget.
1365 <!-- ##### FUNCTION gtk_button_box_set_child_ipadding_default ##### -->
1367 Sets the default number of pixels that pad each button in every button box.
\r
1370 @ipad_x: new default horizontal padding.
1371 @ipad_y: new default vertical padding.
1373 <!-- ##### FUNCTION gtk_button_box_set_child_size_default ##### -->
1375 Sets the default size of child buttons.
\r
1378 @min_width: minimum default width for child buttons.
1379 @min_height: minimum default height for child buttons.
1381 <!-- ##### FUNCTION gtk_button_new_accel ##### -->
1390 <!-- ##### FUNCTION gtk_button_new_stock ##### -->
1399 <!-- ##### FUNCTION gtk_cell_renderer_event ##### -->
1413 <!-- ##### FUNCTION gtk_cell_renderer_text_pixbuf_new ##### -->
1420 <!-- ##### FUNCTION gtk_clist_construct ##### -->
1422 Initializes a previously allocated #GtkCList widget for use. This should not
1423 normally be used to create a #GtkCList widget. Use gtk_clist_new() instead.
1426 @clist: A pointer to an uninitialized #GtkCList widget.
1427 @columns: The number of columns the #GtkCList should have.
1428 @titles: An array of strings that should be used as the titles i
1429 of the columns. There should be enough strings in the array for
1430 the number of columns specified.
1432 <!-- ##### FUNCTION gtk_color_selection_get_old_color ##### -->
1440 <!-- ##### FUNCTION gtk_color_selection_get_use_opacity ##### -->
1448 <!-- ##### FUNCTION gtk_color_selection_get_use_palette ##### -->
1456 <!-- ##### FUNCTION gtk_color_selection_set_old_color ##### -->
1464 <!-- ##### FUNCTION gtk_color_selection_set_opacity ##### -->
1466 Controls whether opacity can be set with the #GtkColorSelection.
1467 If this functionality is enabled, the necessary additional widgets
1468 are added to the #GtkColorSelection and the opacity value can be
1469 retrieved via the fourth value in the color array returned by
1470 the gtk_color_selection_get_color() function.
1473 @colorsel: a #GtkColorSelection.
1474 @use_opacity: a boolean indicating whether the opacity selection
1477 <!-- ##### FUNCTION gtk_color_selection_set_use_opacity ##### -->
1485 <!-- ##### FUNCTION gtk_color_selection_set_use_palette ##### -->
1493 <!-- ##### FUNCTION gtk_container_add_child_arg_type ##### -->
1503 <!-- ##### FUNCTION gtk_container_add_with_args ##### -->
1513 <!-- ##### FUNCTION gtk_container_addv ##### -->
1523 <!-- ##### FUNCTION gtk_container_arg_get ##### -->
1533 <!-- ##### FUNCTION gtk_container_arg_set ##### -->
1543 <!-- ##### FUNCTION gtk_container_child_arg_get_info ##### -->
1553 <!-- ##### FUNCTION gtk_container_child_args_collect ##### -->
1565 <!-- ##### FUNCTION gtk_container_child_getv ##### -->
1575 <!-- ##### FUNCTION gtk_container_child_setv ##### -->
1585 <!-- ##### FUNCTION gtk_container_dequeue_resize_handler ##### -->
1592 <!-- ##### FUNCTION gtk_container_focus ##### -->
1601 <!-- ##### FUNCTION gtk_container_query_child_args ##### -->
1611 <!-- ##### FUNCTION gtk_ctree_construct ##### -->
1613 This function is not usually used by users.
1621 <!-- ##### FUNCTION gtk_drag_dest_handle_event ##### -->
1629 <!-- ##### FUNCTION gtk_drag_source_handle_event ##### -->
1637 <!-- ##### FUNCTION gtk_editable_changed ##### -->
1639 Causes the "changed" signal to be emitted.
1642 @editable: a #GtkEditable widget.
1644 <!-- ##### FUNCTION gtk_editable_claim_selection ##### -->
1646 Claim or disclaim ownership of the PRIMARY X selection.
1649 @editable: a #GtkEditable widget.
1650 @claim: if %TRUE, claim the selection, otherwise, disclaim it.
1651 @time: the timestamp for claiming the selection.
1653 <!-- ##### FUNCTION gtk_font_selection_dialog_set_filter ##### -->
1655 Sets one of the two font filters, to limit the fonts shown.
1658 @fsd: a #GtkFontSelectionDialog.
1659 @filter_type: which of the two font filters to set, either
1660 #GTK_FONT_FILTER_BASE or #GTK_FONT_FILTER_USER. The user filter
1661 can be changed by the user, but the base filter is permanent.
1662 @font_type: the types of font to be shown. This is a bitwise combination of
1663 #GTK_FONT_BITMAP, #GTK_FONT_SCALABLE and #GTK_FONT_SCALABLE_BITMAP,
1664 or #GTK_FONT_ALL to show all three font types.
1665 @foundries: a NULL-terminated array of strings containing foundry names which
1666 will be shown, or NULL to show all foundries.
1667 @weights: a NULL-terminated array of strings containing weight names which
1668 will be shown, or NULL to show all weights.
1669 @slants: a NULL-terminated array of strings containing slant names which
1670 will be shown, or NULL to show all slants.
1671 @setwidths: a NULL-terminated array of strings containing setwidth names which
1672 will be shown, or NULL to show all setwidths.
1673 @spacings: a NULL-terminated array of strings containing spacings which
1674 will be shown, or NULL to show all spacings.
1675 @charsets: a NULL-terminated array of strings containing charset names which
1676 will be shown, or NULL to show all charsets.
1678 <!-- ##### FUNCTION gtk_font_selection_set_filter ##### -->
1680 Sets one of the two font filters, to limit the fonts shown.
1683 @fontsel: a #GtkFontSelection.
1684 @filter_type: which of the two font filters to set, either
1685 #GTK_FONT_FILTER_BASE or #GTK_FONT_FILTER_USER. The user filter
1686 can be changed by the user, but the base filter is permanent.
1687 @font_type: the types of font to be shown. This is a bitwise combination of
1688 #GTK_FONT_BITMAP, #GTK_FONT_SCALABLE and #GTK_FONT_SCALABLE_BITMAP,
1689 or #GTK_FONT_ALL to show all three font types.
1690 @foundries: a NULL-terminated array of strings containing foundry names which
1691 will be shown, or NULL to show all foundries.
1692 @weights: a NULL-terminated array of strings containing weight names which
1693 will be shown, or NULL to show all weights.
1694 @slants: a NULL-terminated array of strings containing slant names which
1695 will be shown, or NULL to show all slants.
1696 @setwidths: a NULL-terminated array of strings containing setwidth names which
1697 will be shown, or NULL to show all setwidths.
1698 @spacings: a NULL-terminated array of strings containing spacings which
1699 will be shown, or NULL to show all spacings.
1700 @charsets: a NULL-terminated array of strings containing charset names which
1701 will be shown, or NULL to show all charsets.
1703 <!-- ##### FUNCTION gtk_identifier_get_type ##### -->
1705 Get the type of GtkIdentifier.
1708 @Returns: GtkType -- the enumerated type of something.
1710 <!-- ##### FUNCTION gtk_image_menu_item_add_image ##### -->
1718 <!-- ##### FUNCTION gtk_image_menu_item_get_type ##### -->
1725 <!-- ##### FUNCTION gtk_label_set_markup_with_accel ##### -->
1734 <!-- ##### FUNCTION gtk_list_store_new_with_types ##### -->
1743 <!-- ##### FUNCTION gtk_list_store_set_cell ##### -->
1753 <!-- ##### FUNCTION gtk_list_store_set_column_type ##### -->
1762 <!-- ##### FUNCTION gtk_list_store_set_n_columns ##### -->
1770 <!-- ##### FUNCTION gtk_menu_ensure_uline_accel_group ##### -->
1778 <!-- ##### FUNCTION gtk_menu_get_uline_accel_group ##### -->
1786 <!-- ##### FUNCTION gtk_menu_item_configure ##### -->
1788 Sets whether the menu item should show a submenu indicator, which is a right
1792 @menu_item: the menu item
1793 @show_toggle_indicator: unused
1794 @show_submenu_indicator: whether to show the arrow or not
1796 <!-- ##### FUNCTION gtk_menu_item_set_placement ##### -->
1798 Specifies the placement of the submenu around the menu item. The placement
1799 is usually #GTK_LEFT_RIGHT for menu items in a popup menu and
1800 #GTK_TOP_BOTTOM in menu bars.
1803 This function is useless in usual applications.
1806 @menu_item: the menu item
1807 @placement: the submenu placement
1809 <!-- ##### FUNCTION gtk_object_arg_get ##### -->
1811 Private function to get an argument and argument info from an object.
1814 @object: the object whose argument should be retrieved.
1815 @arg: the argument, for the name on input, the rest is filled on output.
1816 @info: a #GtkArgInfo structure to optionally fill in.
1818 <!-- ##### FUNCTION gtk_object_arg_get_info ##### -->
1820 Query information about an argument type.
1823 @object_type: type of object to query about.
1824 @arg_name: name of the argument.
1825 @info_p: pointer to be filled in with a pointer to the GtkArgInfo.
1826 @Returns: an error message, or NULL on success.
1827 It is the caller's responsibility to call g_free() in the event of error.
1829 <!-- ##### FUNCTION gtk_object_arg_set ##### -->
1831 Private function to set an argument and argument info to an object.
1834 @object: the object whose argument should be set.
1836 @info: infomation about this type of argument in general.
1838 <!-- ##### FUNCTION gtk_object_args_collect ##### -->
1840 Private: Gets an array of #GtkArgs from a va_list C structure.
1843 @object_type: the type of object to collect arguments for.
1844 @arg_list_p: pointer to be filled in with a list of parsed arguments.
1845 @info_list_p: optional pointer for a returned list #GtkArgInfos.
1846 @first_arg_name: name of first argument.
1847 @var_args: value of first argument, followed by more key/value pairs,
1849 @Returns: an error message, or NULL on success.
1850 It is the caller's responsibility to call g_free() in the event of error.
1852 <!-- ##### FUNCTION gtk_object_class_add_signals ##### -->
1854 Add an array of signals to a #GtkObjectClass.
1855 Usually this is called when registering a new type of object.
1858 @klass: the object class to append signals to.
1859 @signals: the signals to append.
1860 @nsignals: the number of signals being appended.
1862 <!-- ##### FUNCTION gtk_object_class_user_signal_new ##### -->
1864 Define a signal-handler for a new signal on an already defined
1868 See the signal documentation for more general information.
1871 @klass: the object class to define the signal for.
1872 @name: the name of the signal.
1873 @signal_flags: the default emission behavior for the signal.
1874 See gtk_signal_new().
1875 @marshaller: a function that will take an array of GtkArgs
1876 and invoke the appropriate handler with the normal calling
1878 @return_val: specify the return-value type for the signal
1879 (or GTK_TYPE_NONE for no return-value).
1880 @nparams: specify the number of parameters the signal
1881 receives from the caller of gtk_signal_emit().
1882 @Varargs: list of nparams #GtkTypes to pass to the signal handlers.
1883 @Returns: the signal id. (See #GtkSignals)
1885 <!-- ##### FUNCTION gtk_object_class_user_signal_newv ##### -->
1887 Define a signal-handler for a new signal on an already defined
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: takes a GtkObject, a #GtkSignalFunc, and an array
1896 of arguments, and invokes the function using the appropriate
1897 calling conventions. Usually just select a function
1898 out of gtkmarshal.h.
1899 @return_val: specify the return-value type for the signal (possibly
1901 @nparams: specify the number of parameters the signal
1902 receives from the caller of gtk_signal_emit().
1903 @params: array of #GtkTypes the signal handlers for this signal
1904 should have in their prototype (of length nparams).
1905 @Returns: the signal id. (See #GtkSignals)
1907 <!-- ##### FUNCTION gtk_object_constructed ##### -->
1909 Mark an allocated object as constructed.
1910 This is used for situations
1911 that require precise control of the construction process.
1914 This is done when gtk_object_default_construct() is inadequate.
1915 In #GtkCList the need arises because #GtkCList does construction work that
1916 must happen <emphasis>after</emphasis> its derivers. This work
1917 cannot be done in an initializer function, so an alternate
1918 constructor is mandatory. It calls gtk_object_constructed() to
1919 indicate it has done its job, so that no other constructor will
1923 Normally this function is just automatically run from
1924 gtk_object_default_construct().
1927 @object: object which has been constructed. This is usually
1928 done automatically by gtk_object_new() and gtk_object_newv().
1930 <!-- ##### FUNCTION gtk_object_default_construct ##### -->
1932 This function is called to construct arguments that haven't been initialized
1933 but have the #GTK_ARG_CONSTRUCT flag set.
1936 All number arguments are set to 0. All pointers and strings
1940 Normally invoked by gtk_object_new() automatically; gtk_type_new() can
1941 be used to bypass it.
1944 @object: the object to initialize.
1946 <!-- ##### FUNCTION gtk_object_getv ##### -->
1948 Gets an array of argument values from an object.
1951 @object: the object to get arguments from.
1952 @n_args: the number of arguments to query.
1953 @args: the arguments to fill in.
1955 <!-- ##### FUNCTION gtk_object_newv ##### -->
1957 Construct an object with an array of arguments.
1960 @object_type: the type of the object to create.
1961 @n_args: the number of arguments to set.
1962 @args: an array of n_args arguments (which are name and value pairs).
1963 @Returns: the new GtkObject.
1965 <!-- ##### FUNCTION gtk_object_query_args ##### -->
1967 Get all the arguments that may be used for a given type.
1970 In Java, this type of mechanism is called
1971 <wordasword>introspection</wordasword>. It is used by applications
1972 like Glade, that have to determine what can be done to an object
1976 @class_type: the GtkType of the ObjectClass
1977 (returned from GTK_OBJECT_CLASS(class)->type for example).
1978 @arg_flags: if non-NULL, obtains the #GtkArgFlags that apply to
1979 each argument. You must g_free() this if you request it.
1980 @n_args: the number of arguments is returned in this field.
1981 @Returns: an array of arguments, that you must deallocate with g_free().
1983 <!-- ##### FUNCTION gtk_object_setv ##### -->
1985 Set an array of arguments.
1988 @object: the object whose arguments should be set.
1989 @n_args: the number of arguments to set.
1990 @args: the desired values, as an array of #GtkArgs (which contain
1991 the names, types, and values of the arguments).
1993 <!-- ##### FUNCTION gtk_paned_compute_position ##### -->
1995 Internal function used by #GtkHPaned and #GtkVPaned
2003 <!-- ##### FUNCTION gtk_paned_set_handle_size ##### -->
2005 Set the the handle size to @size x @size pixels.
2008 @paned: a paned widget
2009 @size: the size in pixels
2011 <!-- ##### FUNCTION gtk_pattern_match ##### -->
2022 <!-- ##### FUNCTION gtk_pattern_match_simple ##### -->
2031 <!-- ##### FUNCTION gtk_pattern_match_string ##### -->
2040 <!-- ##### FUNCTION gtk_pattern_spec_free_segs ##### -->
2047 <!-- ##### FUNCTION gtk_pattern_spec_init ##### -->
2055 <!-- ##### FUNCTION gtk_rc_init ##### -->
2061 <!-- ##### FUNCTION gtk_rc_load_image ##### -->
2063 Internal function. Loads an image using the current
2067 @colormap: the colormap to use for the image
2068 @transparent_color: the transparent color for the image
2069 @filename: the filename of the image file
2070 @Returns: a #GtkPixmap representing @filename
2072 <!-- ##### FUNCTION gtk_rc_set_image_loader ##### -->
2074 Sets the function that GTK+ will use to load images
2077 @loader: the #GtkImageLoader to use
2079 <!-- ##### FUNCTION gtk_ruler_draw_pos ##### -->
2084 @ruler: the gtkruler
2086 <!-- ##### FUNCTION gtk_ruler_draw_ticks ##### -->
2091 @ruler: the gtkruler
2093 <!-- ##### FUNCTION gtk_settings_get_global ##### -->
2100 <!-- ##### FUNCTION gtk_signal_add_emission_hook ##### -->
2102 Add an emission hook for a type of signal, for any object.
2105 @signal_id: the type of signal to hook for.
2106 @hook_func: the function to invoke to handle the emission hook.
2107 @data: the user data passed in to hook_func.
2108 @Returns: the id (that you may pass as a parameter
2109 to gtk_signal_remove_emission_hook()).
2114 <!-- ##### FUNCTION gtk_signal_add_emission_hook_full ##### -->
2116 Add an emission hook for a type of signal, for any object.
2117 (with control of what happens when the hook is
2121 @signal_id: the type of signal add the hook for.
2122 @hook_func: the function to invoke to handle the hook.
2123 @data: the user data passed in to hook_func.
2124 @destroy: a function to invoke when the hook is destroyed,
2125 to clean up any allocation done just for this
2127 @Returns: the id (that you may pass as a parameter
2128 to gtk_signal_remove_emission_hook()).
2130 <!-- ##### FUNCTION gtk_signal_handler_pending_by_id ##### -->
2132 Returns whether a connection id is valid (and optionally not blocked).
2135 @object: the object to search for the desired handler.
2136 @handler_id: the connection id.
2137 @may_be_blocked: whether it is acceptable to return a blocked
2139 @Returns: TRUE if the signal exists and wasn't blocked,
2140 unless #may_be_blocked was specified. FALSE otherwise.
2142 <!-- ##### FUNCTION gtk_signal_handlers_destroy ##### -->
2144 Destroy all the signal handlers connected to an object.
2145 This is done automatically when the object is destroyed.
2148 This function is labeled private.
2151 @object: the object whose signal handlers should be destroyed.
2153 <!-- ##### FUNCTION gtk_signal_init ##### -->
2159 <!-- ##### FUNCTION gtk_signal_n_emissions ##### -->
2161 Find out the recursion depth of emissions for a particular type
2162 of signal and object. (So it will
2163 always return 0 or 1 if #GTK_RUN_NO_RECURSE is specified)
2164 This is a way to avoid recursion: you can see if
2165 you are currently running in that signal handler and emit it only
2168 <para>Another way to look at it is that this number increases
2169 by one when #gtk_signal_emit(), et al, are called,
2170 and decreases by one when #gtk_signal_emit() returns.
2173 @object: the object with the signal handler.
2174 @signal_id: the signal id.
2175 @Returns: the recursion depth of emissions of this signal for this
2178 <!-- ##### FUNCTION gtk_signal_n_emissions_by_name ##### -->
2180 Find out the recursion depth of emissions for a particular type
2181 of signal and object. Just like gtk_signal_n_emissions()
2182 except it will lookup the signal id for you.
2185 @object: the object with the signal handler.
2186 @name: the signal name.
2187 @Returns: the recursion depth of emissions of this signal for this
2190 <!-- ##### FUNCTION gtk_signal_query ##### -->
2192 Obtain information about a signal.
2195 @signal_id: the signal type identifier.
2196 @Returns: a pointer to a GtkSignalQuery structure
2197 which contains all the information, or NULL.
2198 The pointer is allocated just for you: you must g_free() it.
2200 <!-- ##### FUNCTION gtk_signal_remove_emission_hook ##### -->
2202 Delete an emission hook. (see gtk_signal_add_emission_hook())
2205 @signal_id: the id of the signal type.
2206 @hook_id: the id of the emission handler, returned by add_emission_hook().
2210 <!-- ##### FUNCTION gtk_signal_set_funcs ##### -->
2212 These set default functions to call when the user didn't
2213 supply a function when connecting. (These are rarely
2214 used, and probably only for language bindings)
2217 By default, there are no such functions.
2220 @marshal_func: the function to invoke on every handlers for which there
2221 isn't a function pointer. May be NULL.
2222 @destroy_func: the function to invoke when each hook is destroyed.
2225 <!-- ##### FUNCTION gtk_spin_button_set_shadow_type ##### -->
2227 Creates a border around the arrows of a #GtkSpinButton. The type of border is determined by @shadow_type.
2230 @spin_button: a #GtkSpinButton
2231 @shadow_type: the new border type.
2233 <!-- ##### FUNCTION gtk_stock_list_items ##### -->
2240 <!-- ##### FUNCTION gtk_text_buffer_paste_primary ##### -->
2249 <!-- ##### FUNCTION gtk_text_iter_reorder ##### -->
2257 <!-- ##### FUNCTION gtk_text_iter_spew ##### -->
2265 <!-- ##### FUNCTION gtk_text_view_set_text_window_size ##### -->
2274 <!-- ##### FUNCTION gtk_trace_referencing ##### -->
2276 Private: print debugging information while doing a gtk_object_ref() or
2277 a gtk_object_unref().
2280 @object: object to reference or unreference.
2281 @func: name of caller's function to print (used within macros).
2283 @line: line number (used within macros).
2284 @do_ref: whether to reference or unreference.
2286 <!-- ##### FUNCTION gtk_tree_model_ref_iter ##### -->
2294 <!-- ##### FUNCTION gtk_tree_model_sort_set_compare ##### -->
2302 <!-- ##### FUNCTION gtk_tree_model_sort_set_sort_column ##### -->
2310 <!-- ##### FUNCTION gtk_tree_model_unref_iter ##### -->
2318 <!-- ##### FUNCTION gtk_tree_store_new_with_types ##### -->
2327 <!-- ##### FUNCTION gtk_tree_store_set_cell ##### -->
2337 <!-- ##### FUNCTION gtk_tree_store_set_column_type ##### -->
2347 <!-- ##### FUNCTION gtk_tree_store_set_n_columns ##### -->
2355 <!-- ##### FUNCTION gtk_tree_view_column_set_cell_data ##### -->
2364 <!-- ##### FUNCTION gtk_tree_view_column_set_width ##### -->
2373 <!-- ##### FUNCTION gtk_type_check_class_cast ##### -->
2375 Given a GtkTypeClass pointer @klass, and a GtkType @cast_type, make
2376 sure that it's okay to cast something of that @klass into a @cast_type.
2379 @klass: GtkTypeClass*
2381 @Returns: Always return @klass.
2383 <!-- ##### FUNCTION gtk_type_check_object_cast ##### -->
2385 Given a pointer to a GtkTypeObject @type_object, and a GtkType @cast_type,
2386 make sure that it's okay to cast @type_object into a @cast_type.
2389 @type_object: GtkTypeObject*
2391 @Returns: the same GtkTypeObject* as @type_object
2393 <!-- ##### FUNCTION gtk_type_children_types ##### -->
2395 Return the pointer to the type's children's types.
2399 @Returns: pointer to a GList
2401 <!-- ##### FUNCTION gtk_type_describe_heritage ##### -->
2403 Print the types @type inherits from.
2408 <!-- ##### FUNCTION gtk_type_describe_tree ##### -->
2410 Given a @type, describe all of its children, and their children. Only
2411 show the size if @show_size is true.
2415 @show_size: gboolean
2417 <!-- ##### FUNCTION gtk_type_free ##### -->
2419 Given the type of an object and a pointer to it, the object is freed.
2423 @mem: gpointer to the object
2425 <!-- ##### FUNCTION gtk_type_get_varargs_type ##### -->
2427 Get the varargs type associated with @foreign_type
2430 @foreign_type: GtkType
2433 <!-- ##### FUNCTION gtk_type_parent_class ##### -->
2435 Return the class of the parent. Initialize the class if necessary.
2436 Return NULL if anything goes wrong.
2440 @Returns: gpointer to the klass.
2442 <!-- ##### FUNCTION gtk_type_query ##### -->
2444 Given a type, return various interesting parameters of the type.
2448 @Returns: GtkTypeQuery*
2450 <!-- ##### FUNCTION gtk_type_register_enum ##### -->
2452 Register a new set of enum @values and give them the name in
2456 @type_name: must not be null.
2457 @values: GtkEnumValue*
2460 <!-- ##### FUNCTION gtk_type_register_flags ##### -->
2462 Register a new set of flags @values and give them the name in
2466 @type_name: must not be null.
2467 @values: GtkFlagValue*
2470 <!-- ##### FUNCTION gtk_type_set_chunk_alloc ##### -->
2472 Set the mem_chunk size so it will hold @n_chunks of the objects of that @type.
2475 @type: There must be an unlocked TypeNode associated with this type otherwise nothing happens.
2478 <!-- ##### FUNCTION gtk_type_set_varargs_type ##### -->
2480 Set the varargs type for a fundamental type @foreign_type.
2483 @foreign_type: Must be a GtkType with a sequence number of zero. Must not be a
2485 @varargs_type: Must be a GtkType which is either structured or flag, or NONE.
2487 <!-- ##### FUNCTION gtk_widget_activate_mnemonic ##### -->
2496 <!-- ##### FUNCTION gtk_widget_get_usize ##### -->
2505 <!-- ##### FUNCTION gtk_widget_pop_style ##### -->
2511 <!-- ##### FUNCTION gtk_widget_popup ##### -->
2520 <!-- ##### FUNCTION gtk_widget_push_style ##### -->
2527 <!-- ##### FUNCTION gtk_widget_set_default_style ##### -->
2534 <!-- ##### FUNCTION gtk_window_activate_mnemonic ##### -->
2544 <!-- ##### FUNCTION gtk_window_get_default_accel_group ##### -->
2552 <!-- ##### FUNCTION gtk_window_get_resizeable ##### -->
2560 <!-- ##### FUNCTION gtk_window_set_decorations_hint ##### -->
2568 <!-- ##### FUNCTION gtk_window_set_functions_hint ##### -->
2576 <!-- ##### FUNCTION gtk_window_set_resizeable ##### -->