2 * This file is part of duit.
4 * duit is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU Lesser General Public License as published by
6 * the Free Software Foundation; either version 2.1 of the License, or
7 * (at your option) any later version.
9 * duit is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public License
15 * along with duit; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 // generated automatically - do not change
20 // find conversion definition on APILookup.txt
21 // implement new conversion functionalities on the wrap.utils pakage
25 public import glib
.glibtypes
;
26 public import gobject
.gobjecttypes
;
27 public import pango
.pangotypes
;
28 public import atk
.atktypes
;
29 public import gdkpixbuf
.gdkpixbuftypes
;
30 public import gdk
.gdktypes
;
31 alias void GtkAccelGroupEntry
;
32 alias void GtkContainerClass
;
34 //alias GTokenType.G_TOKEN_LAST G_TOKEN_LAST;";
35 //alias GtkSignalRunType.G_SIGNAL_RUN_FIRST G_SIGNAL_RUN_FIRST;
36 //alias GtkSignalRunType.G_SIGNAL_RUN_LAST G_SIGNAL_RUN_LAST;
37 //alias GtkSignalRunType.G_SIGNAL_NO_RECURSE G_SIGNAL_NO_RECURSE;
38 //alias GtkSignalRunType.G_SIGNAL_ACTION G_SIGNAL_ACTION;
39 //alias GtkSignalRunType.G_SIGNAL_NO_HOOKS G_SIGNAL_NO_HOOKS;
43 * typedef GType GtkType;
44 * GtkType is unique integer identifying the type. The guts of the
45 * information about the type is held in a private struct named
48 public alias GType GtkType
;
51 * typedef GType GtkFundamentalType;
53 * GtkFundamentalType is deprecated and should not be used in newly-written code.
54 * GtkFundamentalType is an enumerated type which lists all the possible
55 * fundamental types (e.g. char, uchar, int,
58 public alias GType GtkFundamentalType
;
61 * typedef GBaseInitFunc GtkClassInitFunc;
63 * GtkClassInitFunc is deprecated and should not be used in newly-written code.
64 * Defines a function pointer.
66 public alias GBaseInitFunc GtkClassInitFunc
;
69 * typedef GInstanceInitFunc GtkObjectInitFunc;
71 * GtkObjectInitFunc is deprecated and should not be used in newly-written code.
72 * Defines a function pointer.
74 public alias GInstanceInitFunc GtkObjectInitFunc
;
77 * typedef GSignalCMarshaller GtkSignalMarshaller;
79 * GtkSignalMarshaller is deprecated and should not be used in newly-written code.
80 * Defines a function pointer.
82 public alias GSignalCMarshaller GtkSignalMarshaller
;
85 * typedef GTypeInstance GtkTypeObject;
87 * GtkTypeObject is deprecated and should not be used in newly-written code.
88 * A GtkTypeObject defines the minimum structure requirements
89 * for type instances. Type instances returned from gtk_type_new()
90 * and initialized through a GtkObjectInitFunc need to directly inherit
91 * from this structure or at least copy its fields one by one.
93 public alias GTypeInstance GtkTypeObject
;
96 * typedef GTypeClass GtkTypeClass;
98 * GtkTypeClass is deprecated and should not be used in newly-written code.
99 * The base structure for a GTK+ type. Every type inherits this as a base structure.
101 public alias GTypeClass GtkTypeClass
;
104 * typedef GEnumValue GtkEnumValue;
106 * GtkEnumValue is deprecated and should not be used in newly-written code.
107 * A structure which contains a single enum value, and its name, and its
110 public alias GEnumValue GtkEnumValue
;
113 * typedef GFlagsValue GtkFlagValue;
115 * GtkFlagValue is deprecated and should not be used in newly-written code.
117 public alias GFlagsValue GtkFlagValue
;
119 * The GtkDestDefaults enumeration specifies the various
120 * types of action that will be taken on behalf
121 * of the user for a drag destination site.
122 * GTK_DEST_DEFAULT_MOTION
124 public enum GtkDestDefaults
126 MOTION
= 1 << 0, /+* respond to "dragMotion" +/
127 HIGHLIGHT
= 1 << 1, /+* auto-highlight +/
128 DROP
= 1 << 2, /+* respond to "dragDrop" +/
131 alias GtkDestDefaults DestDefaults
;
134 * The GtkTargetFlags enumeration is used to specify
135 * constraints on an entry in a GtkTargetTable.
136 * GTK_TARGET_SAME_APP
138 public enum GtkTargetFlags
140 SAME_APP
= 1 << 0, /+*< nick=same-app >+/
141 SAME_WIDGET
= 1 << 1 /+*< nick=same-widget >+/
143 alias GtkTargetFlags TargetFlags
;
146 * Used to specify options for gtk_icon_theme_lookup_icon()
147 * GTK_ICON_LOOKUP_NO_SVG
149 public enum GtkIconLookupFlags
155 alias GtkIconLookupFlags IconLookupFlags
;
158 * Error codes for GtkIconTheme operations.
159 * GTK_ICON_THEME_NOT_FOUND
161 public enum GtkIconThemeError
166 alias GtkIconThemeError IconThemeError
;
168 public enum GtkIconSize
178 alias GtkIconSize IconSize
;
181 * The GtkRcFlags enumeration is used as a bitmask
182 * to specify which fields of a GtkRcStyle have been
183 * set for each state.
185 * If present, the foreground color has been set for this state.
187 * If present, the background color has been set for this state.
189 * If present, the text color has been set for this state.
191 * If present, the base color has been set for this state.
193 public enum GtkRcFlags
200 alias GtkRcFlags RcFlags
;
203 * The GtkRcTokenType enumeration represents the tokens
204 * in the RC file. It is exposed so that theme engines
205 * can reuse these tokens when parsing the theme-engine
206 * specific portions of a RC file.
208 public enum GtkRcTokenType
210 INVALID
= TokenType
.LAST
,
251 alias GtkRcTokenType RcTokenType
;
253 public enum GtkAccelFlags
255 VISIBLE
= 1 << 0, /+* display inn GtkAccelLabel? +/
256 LOCKED
= 1 << 1, /+* is it removable? +/
259 alias GtkAccelFlags AccelFlags
;
261 public enum GtkAnchorType
281 alias GtkAnchorType AnchorType
;
284 * Used to indicate the direction in which a GtkArrow should point.
286 * Represents an upward pointing arrow.
288 * Represents a downward pointing arrow.
290 * Represents a left pointing arrow.
292 * Represents a right pointing arrow.
294 * No arrow. Since 2.10.
296 public enum GtkArrowType
304 alias GtkArrowType ArrowType
;
307 * Denotes the expansion properties that a widget will have when it (or its
308 * parent) is resized.
310 * the widget should expand to take up any extra space in its
311 * container that has been allocated.
313 * the widget should shrink as and when possible.
315 * the widget should fill the space allocated to it.
317 public enum GtkAttachOptions
323 alias GtkAttachOptions AttachOptions
;
326 * Used to dictate the style that a GtkButtonBox uses to layout the buttons it
327 * contains. (See also: GtkVButtonBox and GtkHButtonBox).
328 * GTK_BUTTONBOX_DEFAULT_STYLE
330 * GTK_BUTTONBOX_SPREAD
331 * Buttons are evenly spread across the ButtonBox.
333 * Buttons are placed at the edges of the ButtonBox.
334 * GTK_BUTTONBOX_START
335 * Buttons are grouped towards the start of box, (on the
336 * left for a HBox, or the top for a VBox).
338 * Buttons are grouped towards the end of a box, (on the
339 * right for a HBox, or the bottom for a VBox).
341 public enum GtkButtonBoxStyle
349 alias GtkButtonBoxStyle ButtonBoxStyle
;
352 * Specifies which corner a child widget should be placed in when packed into
353 * a GtkScrolledWindow. This is effectively the opposite of where the scroll
355 * GTK_CORNER_TOP_LEFT
356 * Place the scrollbars on the right and bottom of the
357 * widget (default behaviour).
358 * GTK_CORNER_BOTTOM_LEFT
359 * Place the scrollbars on the top and right of the
361 * GTK_CORNER_TOP_RIGHT
362 * Place the scrollbars on the left and bottom of the
364 * GTK_CORNER_BOTTOM_RIGHT
365 * Place the scrollbars on the top and left of the
368 public enum GtkCornerType
375 alias GtkCornerType CornerType
;
377 public enum GtkCurveType
379 TYPE_LINEAR
, /+* linear interpolation +/
380 TYPE_SPLINE
, /+* spline interpolation +/
381 TYPE_FREE
/+* free form curve +/
383 alias GtkCurveType CurveType
;
385 public enum GtkDeleteType
388 WORD_ENDS
, /+* delet only the portion of the word to the
389 * left/right of cursor if we're inn the middle
394 PARAGRAPH_ENDS
, /+* like C-k inn Emacs (or its reverse) +/
395 PARAGRAPHS
, /+* C-k inn pico, kill whole line +/
396 WHITESPACE
/+* M-\ inn Emacs +/
398 alias GtkDeleteType DeleteType
;
400 public enum GtkDirectionType
409 alias GtkDirectionType DirectionType
;
412 * Used to specify the style of the expanders drawn by a GtkTreeView.
413 * GTK_EXPANDER_COLLAPSED
414 * The style used for a collapsed subtree.
415 * GTK_EXPANDER_SEMI_COLLAPSED
416 * Intermediate style used during animation.
417 * GTK_EXPANDER_SEMI_EXPANDED
418 * Intermediate style used during animation.
419 * GTK_EXPANDER_EXPANDED
420 * The style used for an expanded subtree.
422 public enum GtkExpanderStyle
429 alias GtkExpanderStyle ExpanderStyle
;
431 public enum GtkIMPreeditStyle
437 alias GtkIMPreeditStyle IMPreeditStyle
;
439 public enum GtkIMStatusStyle
445 alias GtkIMStatusStyle IMStatusStyle
;
448 * Used for justifying the text inside a GtkLabel widget. (See also
451 * The text is placed at the left edge of the label.
453 * The text is placed at the right edge of the label.
455 * The text is placed in the center of the label.
457 * The text is placed is distributed across the label.
459 public enum GtkJustification
466 alias GtkJustification Justification
;
470 * GtkMatchType is deprecated and should not be used in newly-written code.
472 public enum GtkMatchType
475 ALL_TAIL
, /+* "*A?AA" +/
478 EXACT
, /+* "AAAAA" +/
481 alias GtkMatchType MatchType
;
484 * Used to indicate which metric is used by a GtkRuler.
492 public enum GtkMetricType
498 alias GtkMetricType MetricType
;
500 public enum GtkMovementStep
502 LOGICAL_POSITIONS
, /+* move by forw/back graphemes +/
503 VISUAL_POSITIONS
, /+* move by left/right graphemes +/
504 WORDS
, /+* move by forward/back words +/
505 DISPLAY_LINES
, /+* move up/down lines (wrapped lines) +/
506 DISPLAY_LINE_ENDS
, /+* move up/down lines (wrapped lines) +/
507 PARAGRAPHS
, /+* move up/down paragraphs (newline-ended lines) +/
508 PARAGRAPH_ENDS
, /+* move to either end of a paragraph +/
509 PAGES
, /+* move by pages +/
510 BUFFER_ENDS
, /+* move to ends of the buffer +/
511 HORIZONTAL_PAGES
/+* move horizontally by pages +/
513 alias GtkMovementStep MovementStep
;
516 * Represents the orientation of widgets which can be switched between horizontal
517 * and vertical orientation on the fly, like GtkToolbar.
518 * GTK_ORIENTATION_HORIZONTAL
519 * The widget is in horizontal orientation.
520 * GTK_ORIENTATION_VERTICAL
521 * The widget is in vertical orientation.
523 public enum GtkOrientation
528 alias GtkOrientation Orientation
;
531 * Represents the packing location GtkBox children. (See: GtkVBox,
532 * GtkHBox, and GtkButtonBox).
534 * The child is packed into the start of the box
536 * The child is packed into the end of the box
538 public enum GtkPackType
543 alias GtkPackType PackType
;
545 public enum GtkPathPriorityType
554 alias GtkPathPriorityType PathPriorityType
;
556 public enum GtkPathType
562 alias GtkPathType PathType
;
565 * Determines when a scroll bar will be visible.
567 * The scrollbar is always visible.
568 * GTK_POLICY_AUTOMATIC
569 * The scrollbar will appear and disappear as necessary. For example,
570 * when all of a GtkCList can not be seen.
572 * The scrollbar will never appear.
574 public enum GtkPolicyType
580 alias GtkPolicyType PolicyType
;
583 * Describes which edge of a widget a certain feature is positioned at, e.g. the
584 * tabs of a GtkNotebook, the handle of a GtkHandleBox or the label of a
587 * The feature is at the left edge.
589 * The feature is at the right edge.
591 * The feature is at the top edge.
593 * The feature is at the bottom edge.
595 public enum GtkPositionType
602 alias GtkPositionType PositionType
;
606 * GtkPreviewType is deprecated and should not be used in newly-written code.
607 * An enumeration which describes whether a preview
608 * contains grayscale or red-green-blue data.
610 * the preview contains red-green-blue data.
611 * GTK_PREVIEW_GRAYSCALE
612 * The preview contains grayscale data.
614 public enum GtkPreviewType
619 alias GtkPreviewType PreviewType
;
622 * Indicated the relief to be drawn around a GtkButton.
624 * Draw a normal relief.
630 public enum GtkReliefStyle
636 alias GtkReliefStyle ReliefStyle
;
641 * GTK_RESIZE_IMMEDIATE
644 public enum GtkResizeMode
646 PARENT
, /+* Pass resize request to the parent +/
647 QUEUE
, /+* Queue resizes on this widget +/
648 IMMEDIATE
/+* Perform the resizes now +/
650 alias GtkResizeMode ResizeMode
;
652 public enum GtkScrollStep
661 alias GtkScrollStep ScrollStep
;
663 public enum GtkScrollType
682 alias GtkScrollType ScrollType
;
685 * Used to control what selections users are allowed to make.
687 * No selection is possible.
688 * GTK_SELECTION_SINGLE
689 * Zero or one element may be selected.
690 * GTK_SELECTION_BROWSE
691 * Exactly one element is selected. In some circumstances,
693 public enum GtkSelectionMode
695 NONE
, /+* Nothing can be selected +/
699 EXTENDED
= MULTIPLE
/+* Deprecated +/
701 alias GtkSelectionMode SelectionMode
;
704 * Used to change the appearance of an outline typically provided by a GtkFrame.
708 * The outline is bevelled inwards.
710 * The outline is bevelled outwards like a button.
711 * GTK_SHADOW_ETCHED_IN
712 * The outline has a sunken 3d appearance.
713 * GTK_SHADOW_ETCHED_OUT
714 * The outline has a raised 3d appearance
716 public enum GtkShadowType
724 alias GtkShadowType ShadowType
;
728 * GtkSideType is deprecated and should not be used in newly-written code.
730 public enum GtkSideType
737 alias GtkSideType SideType
;
740 * This type indicates the current state of a widget; the state determines how
741 * the widget is drawn. The GtkStateType enumeration is also used to
742 * identify different colors in a GtkStyle for drawing, so states can be
743 * used for subparts of a widget as well as entire widgets.
745 * State during normal operation.
747 * State of a currently active widget, such as a depressed button.
749 * State indicating that the mouse pointer is over
750 * the widget and the widget will respond to mouse clicks.
752 * State of a selected item, such the selected row in a list.
753 * GTK_STATE_INSENSITIVE
754 * State indicating that the widget is
755 * unresponsive to user actions.
757 public enum GtkStateType
765 alias GtkStateType StateType
;
769 * GtkSubmenuDirection is deprecated and should not be used in newly-written code.
770 * Indicates the direction a sub-menu will appear.
772 * A sub-menu will appear
773 * GTK_DIRECTION_RIGHT
775 public enum GtkSubmenuDirection
780 alias GtkSubmenuDirection SubmenuDirection
;
784 * GtkSubmenuPlacement is deprecated and should not be used in newly-written code.
786 public enum GtkSubmenuPlacement
791 alias GtkSubmenuPlacement SubmenuPlacement
;
794 * Used to customize the appearance of a GtkToolbar. Note that
795 * setting the toolbar style overrides the user's preferences
796 * for the default toolbar style. Note that if the button has only
797 * a label set and GTK_TOOLBAR_ICONS is used, the label will be
798 * visible, and vice versa.
800 * Buttons display only icons in the toolbar.
802 * Buttons display only text labels in the toolbar.
804 * Buttons display text and icons in the toolbar.
805 * GTK_TOOLBAR_BOTH_HORIZ
806 * Buttons display icons and text alongside each
807 * other, rather than vertically stacked
809 public enum GtkToolbarStyle
816 alias GtkToolbarStyle ToolbarStyle
;
818 public enum GtkUpdateType
824 alias GtkUpdateType UpdateType
;
827 * Used by GtkCList and GtkCTree to indicate whether a row is visible.
828 * GTK_VISIBILITY_NONE
829 * The row is not visible.
830 * GTK_VISIBILITY_PARTIAL
831 * The row is partially visible.
832 * GTK_VISIBILITY_FULL
833 * The row is fully visible.
835 public enum GtkVisibility
841 alias GtkVisibility Visibility
;
844 * Window placement can be influenced using this enumeration.
846 * No influence is made on placement.
848 * Windows should be placed in the center of the screen.
850 * Windows should be placed at the current mouse position.
851 * GTK_WIN_POS_CENTER_ALWAYS
852 * Keep window centered as it changes size, etc.
853 * GTK_WIN_POS_CENTER_ON_PARENT
854 * Center the window on its transient
855 * parent (see gtk_window_set_transient_for()).
857 public enum GtkWindowPosition
865 alias GtkWindowPosition WindowPosition
;
868 * A GtkWindow can be one of these types. Most things you'd consider a
869 * "window" should have type GTK_WINDOW_TOPLEVEL; windows with this type
870 * are managed by the window manager and have a frame by default (call
871 * gtk_window_set_decorated() to toggle the frame). Windows with type
872 * GTK_WINDOW_POPUP are ignored by the window manager; window manager
873 * keybindings won't work on them, the window manager won't decorate the
874 * window with a frame, many GTK+ features that rely on the window
875 * manager will not work (e.g. resize grips and
876 * maximization/minimization). GTK_WINDOW_POPUP is used to implement
877 * widgets such as GtkMenu or tooltips that you normally don't think of
878 * as windows per se. Nearly all windows should be GTK_WINDOW_TOPLEVEL.
879 * In particular, do not use GTK_WINDOW_POPUP just to turn off
880 * the window borders; use gtk_window_set_decorated() for that.
881 * GTK_WINDOW_TOPLEVEL
882 * A regular window, such as a dialog.
884 * A special window such as a tooltip.
886 public enum GtkWindowType
891 alias GtkWindowType WindowType
;
894 * Determines the direction of a sort.
896 * Sorting is in ascending order.
897 * GTK_SORT_DESCENDING
898 * Sorting is in descending order.
900 public enum GtkSortType
905 alias GtkSortType SortType
;
909 * GtkSignalRunType is deprecated and should not be used in newly-written code.
910 * These configure the signal's emission. They control
911 * whether the signal can be emitted recursively on an object
913 * whether to run the default method before or after the user-defined handlers.
915 * Run the default handler before the connected user-defined
918 * Run the default handler after the connected
919 * user-defined handlers.
920 * (Handlers registered as "after" always run after the default handler though)
922 * Run the default handler twice,
923 * once before the user-defined handlers,
927 * Whether to prevent a handler or hook
928 * from reemitting the signal from within itself.
930 * emit the signal while it is running will result in the signal
931 * emission being restarted once it is done with the current processing.
933 * careful to avoid having two handlers endlessly reemitting signals,
934 * gtk_signal_n_emissions() can be helpful.
936 * The signal is an action you can
937 * invoke without any particular setup or cleanup.
938 * The signal is treated no differently, but some
939 * other code can determine if the signal is appropriate to
940 * delegate to user control. For example, key binding sets
941 * only allow bindings of ACTION signals to keystrokes.
943 * This prevents the connection of emission hooks
946 public enum GtkSignalRunType
948 RUN_FIRST
= SignalFlags
.RUN_FIRST
,
949 RUN_LAST
= SignalFlags
.RUN_LAST
,
950 RUN_BOTH
= (RUN_FIRST | RUN_LAST
),
951 RUN_NO_RECURSE
= SignalFlags
.NO_RECURSE
,
952 RUN_ACTION
= SignalFlags
.ACTION
,
953 RUN_NO_HOOKS
= SignalFlags
.NO_HOOKS
955 alias GtkSignalRunType SignalRunType
;
958 * Flags used to influence dialog construction.
960 * Make the constructed dialog modal,
962 public enum GtkDialogFlags
964 MODAL
= 1 << 0, /+* call windowSetModal (win, TRUE) +/
965 DESTROY_WITH_PARENT
= 1 << 1, /+* call windowSetDestroyWithParent () +/
966 NO_SEPARATOR
= 1 << 2 /+* no separator bar above buttons +/
968 alias GtkDialogFlags DialogFlags
;
971 * Predefined values for use as response ids in gtk_dialog_add_button().
972 * All predefined values are negative, GTK+ leaves positive values for
973 * application-defined response ids.
975 * Returned if an action widget has no response id, or if
977 public enum GtkResponseType
979 /+* GTK returns this if a response widget has no responseId,
980 * or if the dialog gets programmatically hidden or destroyed.
982 GTK_RESPONSE_NONE
= -1,
983 /+* GTK won't return these unless you pass them inn
984 * as the response for an action widget. They are
985 * for your convenience.
987 GTK_RESPONSE_REJECT
= -2,
988 GTK_RESPONSE_ACCEPT
= -3,
989 /+* If the dialog is deleted. +/
990 GTK_RESPONSE_DELETE_EVENT
= -4,
991 /+* These are returned from GTK dialogs, and you can also use them
992 * yourself if you like.
994 GTK_RESPONSE_OK
= -5,
995 GTK_RESPONSE_CANCEL
= -6,
996 GTK_RESPONSE_CLOSE
= -7,
997 GTK_RESPONSE_YES
= -8,
998 GTK_RESPONSE_NO
= -9,
999 GTK_RESPONSE_APPLY
= -10,
1000 GTK_RESPONSE_HELP
= -11
1002 alias GtkResponseType ResponseType
;
1005 * The type of message being displayed in the dialog.
1007 * Informational message
1008 * GTK_MESSAGE_WARNING
1009 * Nonfatal warning message
1010 * GTK_MESSAGE_QUESTION
1011 * Question requiring a choice
1013 * Fatal error message
1016 public enum GtkMessageType
1024 alias GtkMessageType MessageType
;
1027 * Prebuilt sets of buttons for the dialog. If
1028 * none of these choices are appropriate, simply use GTK_BUTTONS_NONE
1029 * then call gtk_dialog_add_buttons().
1036 * GTK_BUTTONS_CANCEL
1038 * GTK_BUTTONS_YES_NO
1039 * Yes and No buttons
1040 * GTK_BUTTONS_OK_CANCEL
1041 * OK and Cancel buttons
1043 public enum GtkButtonsType
1052 alias GtkButtonsType ButtonsType
;
1055 * An enum for determining the page role inside the GtkAssistant. It's used to
1056 * handle buttons sensitivity and visibility.
1057 * Note that an assistant needs to end its page flow with a page of type GTK_ASSISTANT_PAGE_CONFIRM
1058 * or GTK_ASSISTANT_PAGE_SUMMARY to be correct.
1059 * GTK_ASSISTANT_PAGE_CONTENT
1060 * The page has regular contents.
1061 * GTK_ASSISTANT_PAGE_INTRO
1062 * The page contains an introduction to the assistant task.
1063 * GTK_ASSISTANT_PAGE_CONFIRM
1064 * The page lets the user confirm or deny the changes.
1065 * GTK_ASSISTANT_PAGE_SUMMARY
1066 * The page informs the user of the changes done.
1067 * GTK_ASSISTANT_PAGE_PROGRESS
1068 * Used for tasks that take a long time to complete, blocks the assistant until the page is marked as complete.
1070 public enum GtkAssistantPageType
1078 alias GtkAssistantPageType AssistantPageType
;
1081 * Describes the image data representation used by a GtkImage. If you
1082 * want to get the image from the widget, you can only get the
1083 * currently-stored representation. e.g. if the
1084 * gtk_image_get_storage_type() returns GTK_IMAGE_PIXBUF, then you can
1085 * call gtk_image_get_pixbuf() but not gtk_image_get_stock(). For empty
1086 * images, you can request any storage type (call any of the "get"
1087 * functions), but they will all return NULL values.
1089 * there is no image displayed by the widget
1091 * the widget contains a GdkPixmap
1093 * the widget contains a GdkImage
1095 * the widget contains a GdkPixbuf
1097 * the widget contains a stock icon name (see Stock Items(3))
1098 * GTK_IMAGE_ICON_SET
1099 * the widget contains a GtkIconSet
1100 * GTK_IMAGE_ANIMATION
1101 * the widget contains a GdkPixbufAnimation
1102 * GTK_IMAGE_ICON_NAME
1103 * the widget contains a named icon.
1105 public enum GtkImageType
1116 alias GtkImageType ImageType
;
1119 * An enumeration representing possible orientations and growth
1120 * directions for the visible progress bar.
1121 * GTK_PROGRESS_LEFT_TO_RIGHT
1122 * A horizontal progress bar growing from left to right.
1123 * GTK_PROGRESS_RIGHT_TO_LEFT
1124 * A horizontal progress bar growing from right to left.
1125 * GTK_PROGRESS_BOTTOM_TO_TOP
1126 * A vertical progress bar growing from bottom to top.
1127 * GTK_PROGRESS_TOP_TO_BOTTOM
1128 * A vertical progress bar growing from top to bottom.
1130 public enum GtkProgressBarOrientation
1137 alias GtkProgressBarOrientation ProgressBarOrientation
;
1140 * An enumeration representing the styles for drawing the progress bar.
1141 * GTK_PROGRESS_CONTINUOUS
1142 * The progress bar grows in a smooth, continuous manner.
1143 * GTK_PROGRESS_DISCRETE
1144 * The progress bar grows in discrete, visible blocks.
1146 public enum GtkProgressBarStyle
1151 alias GtkProgressBarStyle ProgressBarStyle
;
1155 * When refreshing your GtkSpinButton, the value is always displayed.
1156 * GTK_UPDATE_IF_VALID
1157 * When refreshing your GtkSpinButton, the value is only displayed if it is valid within the bounds of the spin button's GtkAdjustment.
1159 public enum GtkSpinButtonUpdatePolicy
1164 alias GtkSpinButtonUpdatePolicy SpinButtonUpdatePolicy
;
1167 * GTK_SPIN_STEP_FORWARD,
1168 * GTK_SPIN_STEP_BACKWARD,
1169 * GTK_SPIN_PAGE_FORWARD,
1170 * GTK_SPIN_PAGE_BACKWARD
1171 * These values spin a GtkSpinButton by the relevant values of the spin button's GtkAdjustment.
1174 * These set the spin button's value to the minimum or maxmimum possible values, (set by its GtkAdjustment), respectively.
1175 * GTK_SPIN_USER_DEFINED
1176 * The programmer must specify the exact amount to spin the GtkSpinButton.
1178 public enum GtkSpinType
1188 alias GtkSpinType SpinType
;
1190 public enum GtkTextSearchFlags
1192 VISIBLE_ONLY
= 1 << 0,
1194 /+* Possible future plans: SEARCH_CASE_INSENSITIVE, SEARCH_REGEXP +/
1196 alias GtkTextSearchFlags TextSearchFlags
;
1198 public enum GtkTextBufferTargetInfo
1200 BUFFER_CONTENTS
= G_MAXUINT
- 0,
1201 RICH_TEXT
= G_MAXUINT
- 1,
1202 TEXT
= G_MAXUINT
- 2
1204 alias GtkTextBufferTargetInfo TextBufferTargetInfo
;
1207 * Describes a type of line wrapping.
1209 * do not wrap lines; just make the text area wider
1211 * wrap text, breaking lines anywhere the cursor can
1213 public enum GtkWrapMode
1220 alias GtkWrapMode WrapMode
;
1222 public enum GtkTextWindowType
1232 alias GtkTextWindowType TextWindowType
;
1235 * These flags indicate various properties of a GtkTreeModel. They are
1236 * returned by gtk_tree_model_get_flags(), and must be static for the
1237 * lifetime of the object. A more complete description of
1238 * GTK_TREE_MODEL_ITERS_PERSIST can be found in the overview of this
1240 * GTK_TREE_MODEL_ITERS_PERSIST
1241 * Iterators survive all signals emitted by the tree.
1242 * GTK_TREE_MODEL_LIST_ONLY
1243 * The model is a list only, and never has children
1245 public enum GtkTreeModelFlags
1247 ITERS_PERSIST
= 1 << 0,
1250 alias GtkTreeModelFlags TreeModelFlags
;
1253 * The sizing method the column uses to determine its width. Please note
1254 * that GTK_TREE_VIEW_COLUMN_AUTOSIZE are inefficient for large views, and
1255 * can make columns appear choppy.
1256 * GTK_TREE_VIEW_COLUMN_GROW_ONLY
1257 * Columns only get bigger in reaction to changes in the model
1258 * GTK_TREE_VIEW_COLUMN_AUTOSIZE
1259 * Columns resize to be the optimal size everytime the model changes.
1260 * GTK_TREE_VIEW_COLUMN_FIXED
1261 * Columns are a fixed numbers of pixels wide.
1263 public enum GtkTreeViewColumnSizing
1269 alias GtkTreeViewColumnSizing TreeViewColumnSizing
;
1272 * An enum for determining where a dropped row goes.
1273 * GTK_TREE_VIEW_DROP_BEFORE
1274 * dropped row is inserted before
1275 * GTK_TREE_VIEW_DROP_AFTER
1276 * dropped row is inserted after
1277 * GTK_TREE_VIEW_DROP_INTO_OR_BEFORE
1278 * dropped row becomes a child or is inserted before
1279 * GTK_TREE_VIEW_DROP_INTO_OR_AFTER
1280 * dropped row becomes a child or is inserted after
1282 public enum GtkTreeViewDropPosition
1284 /+* drop before/after this row +/
1285 GTK_TREE_VIEW_DROP_BEFORE
,
1286 GTK_TREE_VIEW_DROP_AFTER
,
1287 /+* drop as a child of this row (with fallback to before or after
1288 * if into is not possible)
1290 GTK_TREE_VIEW_DROP_INTO_OR_BEFORE
,
1291 GTK_TREE_VIEW_DROP_INTO_OR_AFTER
1293 alias GtkTreeViewDropPosition TreeViewDropPosition
;
1295 public enum GtkTreeViewGridLines
1302 alias GtkTreeViewGridLines TreeViewGridLines
;
1305 * An enum for determining where a dropped item goes.
1306 * GTK_ICON_VIEW_NO_DROP
1308 * GTK_ICON_VIEW_DROP_INTO
1309 * dropped item replaces the item
1310 * GTK_ICON_VIEW_DROP_LEFT
1311 * droppped item is inserted to the left
1312 * GTK_ICON_VIEW_DROP_RIGHT
1313 * dropped item is inserted to the right
1314 * GTK_ICON_VIEW_DROP_ABOVE
1315 * dropped item is inserted above
1316 * GTK_ICON_VIEW_DROP_BELOW
1317 * dropped item is inserted below
1319 public enum GtkIconViewDropPosition
1328 alias GtkIconViewDropPosition IconViewDropPosition
;
1331 * Tells how a cell is to be rendererd.
1332 * GTK_CELL_RENDERER_SELECTED
1333 * The cell is currently selected, and
1334 * probably has a selection colored background to render to.
1335 * GTK_CELL_RENDERER_PRELIT
1336 * The mouse is hovering over the cell.
1337 * GTK_CELL_RENDERER_INSENSITIVE
1338 * The cell is drawn in an insensitive manner
1339 * GTK_CELL_RENDERER_SORTED
1340 * The cell is in a sorted row
1341 * GTK_CELL_RENDERER_FOCUSED
1343 public enum GtkCellRendererState
1347 INSENSITIVE
= 1 << 2,
1348 /+* this flag means the cell is inn the sort column/row +/
1352 alias GtkCellRendererState CellRendererState
;
1355 * Identifies how the user can interact with a particular cell.
1356 * GTK_CELL_RENDERER_MODE_INERT
1357 * The cell is just for display
1358 * and cannot be interacted with. Note that this doesn't mean that eg. the
1359 * row being drawn can't be selected -- just that a particular element of
1360 * it cannot be individually modified.
1361 * GTK_CELL_RENDERER_MODE_ACTIVATABLE
1362 * The cell can be clicked.
1363 * GTK_CELL_RENDERER_MODE_EDITABLE
1364 * The cell can be edited or otherwise modified.
1366 public enum GtkCellRendererMode
1372 alias GtkCellRendererMode CellRendererMode
;
1374 public enum GtkPackDirection
1381 alias GtkPackDirection PackDirection
;
1384 * An enumeration representing directional movements within a menu.
1385 * GTK_MENU_DIR_PARENT
1386 * To the parent menu shell.
1387 * GTK_MENU_DIR_CHILD
1388 * To the submenu, if any, associated with the item.
1390 * To the next menu item.
1392 * To the previous menu item.
1394 * The "take-focus" property
1396 public enum GtkMenuDirectionType
1403 alias GtkMenuDirectionType MenuDirectionType
;
1407 * GtkToolbarChildType is deprecated and should not be used in newly-written code.
1408 * GtkToolbarChildType is used to set the type of new elements that are added
1410 * GTK_TOOLBAR_CHILD_SPACE
1411 * a space in the style of the toolbar's GtkToolbarSpaceStyle.
1412 * GTK_TOOLBAR_CHILD_BUTTON
1414 * GTK_TOOLBAR_CHILD_TOGGLEBUTTON
1415 * a GtkToggleButton.
1416 * GTK_TOOLBAR_CHILD_RADIOBUTTON
1418 * GTK_TOOLBAR_CHILD_WIDGET
1419 * a standard GtkWidget.
1421 public enum GtkToolbarChildType
1429 alias GtkToolbarChildType ToolbarChildType
;
1431 public enum GtkToolbarSpaceStyle
1436 alias GtkToolbarSpaceStyle ToolbarSpaceStyle
;
1439 * These enumeration values are used by gtk_ui_manager_add_ui() to determine
1440 * what UI element to create.
1441 * GTK_UI_MANAGER_AUTO
1442 * Pick the type of the UI element according to context.
1443 * GTK_UI_MANAGER_MENUBAR
1445 * GTK_UI_MANAGER_MENU
1447 * GTK_UI_MANAGER_TOOLBAR
1449 * GTK_UI_MANAGER_PLACEHOLDER
1450 * Insert a placeholder.
1451 * GTK_UI_MANAGER_POPUP
1452 * Create a popup menu.
1453 * GTK_UI_MANAGER_MENUITEM
1454 * Create a menuitem.
1455 * GTK_UI_MANAGER_TOOLITEM
1456 * Create a toolitem.
1457 * GTK_UI_MANAGER_SEPARATOR
1458 * Create a separator.
1459 * GTK_UI_MANAGER_ACCELERATOR
1460 * Install an accelerator.
1462 public enum GtkUIManagerItemType
1468 PLACEHOLDER
= 1 << 3,
1473 ACCELERATOR
= 1 << 8
1475 alias GtkUIManagerItemType UIManagerItemType
;
1479 public enum GtkFileChooserAction
1486 alias GtkFileChooserAction FileChooserAction
;
1490 public enum GtkFileChooserConfirmation
1496 alias GtkFileChooserConfirmation FileChooserConfirmation
;
1500 public enum GtkFileChooserError
1506 alias GtkFileChooserError FileChooserError
;
1509 * These flags indicate what parts of a GtkFileFilterInfo struct
1510 * are filled or need to be filled.
1511 * GTK_FILE_FILTER_FILENAME
1512 * the filename of the file being tested
1513 * GTK_FILE_FILTER_URI
1514 * the URI for the file being tested
1515 * GTK_FILE_FILTER_DISPLAY_NAME
1516 * the string that will be used to
1518 public enum GtkFileFilterFlags
1522 DISPLAY_NAME
= 1 << 2,
1525 alias GtkFileFilterFlags FileFilterFlags
;
1528 * These options can be used to influence the display and behaviour of a GtkCalendar.
1529 * GTK_CALENDAR_SHOW_HEADING
1530 * Specifies that the month and year should be displayed.
1531 * GTK_CALENDAR_SHOW_DAY_NAMES
1532 * Specifies that three letter day descriptions should be present.
1533 * GTK_CALENDAR_NO_MONTH_CHANGE
1534 * Prevents the user from switching months with the calendar.
1535 * GTK_CALENDAR_SHOW_WEEK_NUMBERS
1536 * Displays each week numbers of the current year, down the left side
1538 public enum GtkCalendarDisplayOptions
1540 SHOW_HEADING
= 1 << 0,
1541 SHOW_DAY_NAMES
= 1 << 1,
1542 NO_MONTH_CHANGE
= 1 << 2,
1543 SHOW_WEEK_NUMBERS
= 1 << 3,
1544 WEEK_START_MONDAY
= 1 << 4
1546 alias GtkCalendarDisplayOptions CalendarDisplayOptions
;
1549 * The mode of the size group determines the directions in which the size
1550 * group affects the requested sizes of its component widgets.
1551 * GTK_SIZE_GROUP_NONE
1553 public enum GtkSizeGroupMode
1560 alias GtkSizeGroupMode SizeGroupMode
;
1563 * Tells about the state of the object.
1564 * GTK_IN_DESTRUCTION
1565 * the object is currently being destroyed. This is used
1567 public enum GtkObjectFlags
1569 IN_DESTRUCTION
= 1 << 0, /+* Used internally during dispose +/
1571 RESERVED_1
= 1 << 2,
1574 alias GtkObjectFlags ObjectFlags
;
1578 * GtkArgFlags is deprecated and should not be used in newly-written code. Use corresponding GParamSpec features instead
1579 * Possible flags indicating how an argument should be treated.
1581 * the argument is readable. (i.e. can be queried)
1583 * the argument is writable. (i.e. settable)
1585 * the argument needs construction.
1586 * GTK_ARG_CONSTRUCT_ONLY
1587 * the argument needs construction (and will
1588 * be set once during object creation), but is otherwise cannot be
1589 * set. Hence this flag is not allowed with GTK_ARG_WRITABLE,
1590 * and is redundant with GTK_ARG_CONSTRUCT.
1592 * an argument type that applies to (and may be different for)
1593 * each child. Used by GtkContainer.
1595 public enum GtkArgFlags
1597 READABLE
= ParamFlags
.READABLE
,
1598 WRITABLE
= ParamFlags
.WRITABLE
,
1599 CONSTRUCT
= ParamFlags
.CONSTRUCT
,
1600 CONSTRUCT_ONLY
= ParamFlags
.CONSTRUCT_ONLY
,
1603 alias GtkArgFlags ArgFlags
;
1606 * Determines how GTK+ handles the sensitivity of stepper arrows
1607 * at the end of range widgets.
1608 * GTK_SENSITIVITY_AUTO
1609 * The arrow is made insensitive if the
1611 public enum GtkSensitivityType
1617 alias GtkSensitivityType SensitivityType
;
1620 * Tells about certain properties of the widget.
1623 public enum GtkWidgetFlags
1631 PARENT_SENSITIVE
= 1 << 10,
1632 CAN_FOCUS
= 1 << 11,
1633 HAS_FOCUS
= 1 << 12,
1634 /+* widget is allowed to receive the defaulx via grabDefault
1635 * and will reserve space to draw the defaulx if possible
1637 CAN_DEFAULT
= 1 << 13,
1638 /+* the widget currently is receiving the defaulx action and should be drawn
1639 * appropriately if possible
1641 HAS_DEFAULT
= 1 << 14,
1644 COMPOSITE_CHILD
= 1 << 17,
1645 NO_REPARENT
= 1 << 18,
1646 APP_PAINTABLE
= 1 << 19,
1647 /+* the widget when focused will receive the defaulx action and have
1648 * HAS_DEFAULT set even if there is a different widget set as defaulx
1650 RECEIVES_DEFAULT
= 1 << 20,
1651 DOUBLE_BUFFERED
= 1 << 21,
1652 NO_SHOW_ALL
= 1 << 22
1654 alias GtkWidgetFlags WidgetFlags
;
1656 public enum GtkWidgetHelpType
1661 alias GtkWidgetHelpType WidgetHelpType
;
1663 public enum GtkTextDirection
1669 alias GtkTextDirection TextDirection
;
1672 struct GtkTextIter
{
1673 /* GtkTextIter is an opaque datatype; ignore all these fields.
1674 * Initialize the iter with gtk_text_buffer_get_iter_*
1698 * An object representing and maintaining a group of accelerators.
1700 public struct GtkAccelGroup
{}
1703 public struct GtkAccelKey
{}
1705 // gtk-Keyboard-Accelerators.html
1706 // GdkModifierType accelMods;
1707 // gtk-Keyboard-Accelerators.html
1708 // uint accelFlags : 16;
1709 // gtk-Keyboard-Accelerators.html
1715 public struct GtkAccelMap
{}
1721 public struct GtkClipboard
{}
1725 * Contains information found when looking up an icon in
1728 public struct GtkIconInfo
{}
1733 * Acts as a database of information about an icon theme.
1734 * Normally, you retrieve the icon theme for a particular
1735 * screen using gtk_icon_theme_get_for_screen() and it
1736 * will contain information about current icon theme for
1737 * that screen, but you can also create a new GtkIconTheme
1738 * object and set the icon theme name explicitely using
1739 * gtk_icon_theme_set_custom_theme().
1741 public struct GtkIconTheme
{}
1747 public struct GtkStockItem
{}
1749 // gtk-Stock-Items.html
1751 // gtk-Stock-Items.html
1752 // GdkModifierType modifier;
1753 // gtk-Stock-Items.html
1755 // gtk-Stock-Items.html
1756 // char *translationDomain;
1757 // gtk-Stock-Items.html
1763 public struct GtkIconSource
{}
1766 public struct GtkIconFactory
{}
1769 public struct GtkIconSet
{}
1774 * The GtkRcStyle structure is used to represent a set
1775 * of information about the appearance of a widget.
1776 * This can later be composited together with other
1777 * GtkRcStyle structures to form a GtkStyle.
1779 public struct GtkRcStyle
{}
1781 // gtk-Resource-Files.html
1782 // char *bgPixmapName[5];
1783 // gtk-Resource-Files.html
1784 // PangoFontDescription *fontDesc;
1785 // gtk-Resource-Files.html
1786 // GtkRcFlags colorFlags[5];
1787 // gtk-Resource-Files.html
1789 // gtk-Resource-Files.html
1791 // gtk-Resource-Files.html
1792 // GdkColor text[5];
1793 // gtk-Resource-Files.html
1794 // GdkColor base[5];
1795 // gtk-Resource-Files.html
1797 // gtk-Resource-Files.html
1799 // gtk-Resource-Files.html
1805 public struct GtkSettings
{}
1808 public struct GtkSettingsValue
{}
1809 // /+* origin should be something like "filename:linenumber" for rc files,
1811 // * or e.g. "XProperty" for other sources
1817 // /+* valid types are LONG, DOUBLE and STRING corresponding to the token parsed,
1819 // * or a GSTRING holding an unparsed statement
1829 * A binding set maintains a list of activatable key bindings.
1830 * A single binding set can match multiple types of widgets.
1831 * Similar to styles, widgets can be mapped by widget name paths, widget class paths or widget class types.
1832 * When a binding within a set is matched upon activation, an action signal is emitted on
1833 * the target widget to carry out the actual activation.
1836 public struct GtkBindingSet
{}
1838 // gtk-Bindings.html
1840 // gtk-Bindings.html
1841 // GSList *widgetPathPspecs;
1842 // gtk-Bindings.html
1843 // GSList *widgetClassPspecs;
1844 // gtk-Bindings.html
1845 // GSList *classBranchPspecs;
1846 // gtk-Bindings.html
1847 // GtkBindingEntry *entries;
1848 // gtk-Bindings.html
1849 // GtkBindingEntry *current;
1850 // gtk-Bindings.html
1851 // uint parsed : 1; /+* From RC content +/
1852 // gtk-Bindings.html
1856 * Each key binding element of a binding sets binding list is represented by a GtkBindingEntry.
1859 public struct GtkBindingEntry
{}
1861 // gtk-Bindings.html
1863 // gtk-Bindings.html
1865 // gtk-Bindings.html
1866 // GdkModifierType modifiers;
1867 // gtk-Bindings.html
1868 // GtkBindingSet *bindingSet;
1869 // gtk-Bindings.html
1870 // uint destroyed : 1;
1871 // gtk-Bindings.html
1872 // uint inEmission : 1;
1873 // gtk-Bindings.html
1874 // uint marksUnbound : 1;
1875 // gtk-Bindings.html
1876 // GtkBindingEntry *setNext;
1877 // gtk-Bindings.html
1878 // GtkBindingEntry *hashNext;
1879 // gtk-Bindings.html
1880 // GtkBindingSignal *signals;
1881 // gtk-Bindings.html
1885 * A GtkBindingSignal stores the necessary information to activate a widget
1886 * in response to a key press via a signal emission.
1887 * GtkBindingSignal*next;
1889 public struct GtkBindingSignal
{}
1890 // GtkBindingSignal *next;
1891 // gtk-Bindings.html
1892 // char *signalName;
1893 // gtk-Bindings.html
1895 // gtk-Bindings.html
1896 // GtkBindingArg *args;
1897 // gtk-Bindings.html
1901 * A GtkBindingArg holds the data associated with an argument for a
1902 * key binding signal emission as stored in GtkBindingSignal.
1904 * implementation detail
1906 public struct GtkBindingArg
{}
1908 // gtk-Bindings.html
1910 // gtk-Bindings.html
1912 // gtk-Bindings.html
1913 // double doubleData;
1914 // gtk-Bindings.html
1915 // char *stringData;
1916 // gtk-Bindings.html
1918 // gtk-Bindings.html
1924 public struct GtkStyle
{}
1929 // GdkColor light[5];
1931 // GdkColor dark[5];
1935 // GdkColor text[5];
1937 // GdkColor base[5];
1939 // GdkColor textAa[5]; /+* Halfway between text/base +/
1945 // PangoFontDescription *fontDesc;
1955 // GdkGC *lightGc[5];
1957 // GdkGC *darkGc[5];
1961 // GdkGC *textGc[5];
1963 // GdkGC *baseGc[5];
1965 // GdkGC *textAaGc[5];
1971 // GdkPixmap *bgPixmap[5];
1975 public struct GtkBorder
1984 public struct GtkRcProperty
{}
1985 // /+* quark-ified property identifier like "GtkScrollbar::spacing" +/
1989 // GQuark propertyName;
1991 // /+* fields similar to GtkSettingsValue +/
2000 * A GtkTargetEntry structure represents a single type of
2001 * data than can be supplied for by a widget for a selection
2002 * or for supplied or received during drag-and-drop. It
2003 * contains a string representing the drag type, a flags
2004 * field (used only for drag and drop - see GtkTargetFlags),
2005 * and an application assigned integer ID. The integer
2006 * ID will later be passed as a signal parameter for signals
2007 * like "selection_get". It allows the application to identify
2008 * the target type without extensive string compares.
2010 public struct GtkTargetEntry
2019 * A GtkTargetList structure is a reference counted list
2020 * of GtkTargetPair. It is used to represent the same
2021 * information as a table of GtkTargetEntry, but in
2022 * an efficient form. This structure should be treated as
2025 public struct GtkTargetList
{}
2027 // gtk-Selections.html
2029 // gtk-Selections.html
2033 * Internally used structure in the drag-and-drop and
2034 * selection handling code.
2036 public struct GtkTargetPair
{}
2038 // gtk-Selections.html
2040 // gtk-Selections.html
2042 // gtk-Selections.html
2047 * GtkArg is deprecated and should not be used in newly-written code.
2048 * This is a structure that we use to pass in typed values (and names).
2050 public struct GtkArg
{}
2055 // /+* this unio only defines the required storage types for
2057 // * the possibile values, thus there is no int enumData field,
2059 // * because that would just be a mere alias for int intData.
2061 // * use the GTK_VALUE_*() and GTK_RETLOC_*() macros to access
2063 // * the discrete memebers.
2069 // /+* flat values +/
2087 // double doubleData;
2089 // char *stringData;
2091 // GtkObject *objectData;
2093 // void* pointerData;
2095 // /+* structured values +/
2111 * GtkTypeInfo is deprecated and should not be used in newly-written code.
2112 * Holds information about the type. gtk_type_name() returns the name.
2113 * object_size is somehow set to the number of bytes that an instance of
2114 * the object will occupy. class_init_func holds the type's
2115 * initialization function. object_init_func holds the initialization
2116 * function for an instance of the object. reserved_1 is used for
2117 * GtkEnumValue to hold the enumerated values.
2119 public struct GtkTypeInfo
{}
2126 // GtkClassInitFunc classInitFunc;
2128 // GtkObjectInitFunc objectInitFunc;
2134 // GtkClassInitFunc baseClassInitFunc;
2140 * vbox is a GtkVBox - the main part of the
2142 * action_area is a GtkHButtonBox packed below the
2143 * dividing GtkHSeparator in the dialog. It is treated exactly the same
2144 * as any other GtkHButtonBox.
2146 public struct GtkDialog
{}
2149 // GtkWidget *actionArea;
2155 * The GtkInvisible struct contains no public fields.
2157 public struct GtkInvisible
{}
2163 public struct GtkMessageDialog
{}
2169 public struct GtkWindow
{}
2175 public struct GtkWindowGroup
{}
2180 * The GtkAboutDialog struct contains
2181 * only private fields and should not be directly accessed.
2183 public struct GtkAboutDialog
{}
2189 public struct GtkAssistant
{}
2194 * The GtkAccelLabel struct contains private data only, and
2195 * should be accessed using the functions below.
2197 public struct GtkAccelLabel
{}
2202 * This struct contain private data only and should be accessed by the functions
2205 public struct GtkImage
{}
2210 * This should not be accessed directly. Use the accessor functions as
2213 public struct GtkLabel
{}
2218 * The GtkProgressBar struct contains private data only,
2219 * and should be accessed using the functions below.
2221 public struct GtkProgressBar
{}
2226 * Contains private data that should be modified with the functions described below.
2228 public struct GtkStatusbar
{}
2233 * This should not be accessed directly. Use the accessor functions below.
2235 public struct GtkButton
{}
2240 * toggle_button is a GtkToggleButton representing the actual toggle button that composes the check button.
2242 public struct GtkCheckButton
{}
2247 * Contains only private data that should be read and manipulated using the
2250 public struct GtkRadioButton
{}
2255 * The GtkToggleButton struct contains private data only, and should be manipulated using the functions below.
2257 public struct GtkToggleButton
{}
2262 * The GtkEntry struct contains only private data.
2264 public struct GtkEntry
{}
2269 * The GtkEntryCompletion struct contains only private data.
2271 public struct GtkEntryCompletion
{}
2276 * The GtkHScale struct contains private data only, and
2277 * should be accessed using the functions below.
2279 public struct GtkHScale
{}
2284 * The GtkVScale struct contains private data only, and
2285 * should be accessed using the functions below.
2287 public struct GtkVScale
{}
2292 * entry is the GtkEntry part of the GtkSpinButton
2293 * widget, and can be used accordingly. All other fields contain private data
2294 * and should only be modified using the functions below.
2296 public struct GtkSpinButton
{}
2301 * The GtkEditable structure contains the following fields.
2302 * (These fields should be considered read-only. They should
2303 * never be set by an application.)
2304 * guint selection_start;
2305 * the starting position of the selected characters
2307 public struct GtkEditable
{}
2313 public struct GtkTextMark
{}
2319 public struct GtkTextBuffer
{}
2325 public struct GtkTextTag
{}
2329 * Using GtkTextAttributes directly should rarely be necessary. It's
2330 * primarily useful with gtk_text_iter_get_attributes(). As with most
2331 * GTK+ structs, the fields in this struct should only be read, never
2332 * modified directly.
2333 * GtkTextAppearanceappearance;
2334 * pointer to sub-struct containing certain attributes
2335 * GtkJustificationjustification;
2336 * GtkTextDirectiondirection;
2337 * PangoFontDescription*font;
2338 * gdoublefont_scale;
2342 * gintpixels_above_lines;
2343 * gintpixels_below_lines;
2344 * gintpixels_inside_wrap;
2345 * PangoTabArray*tabs;
2346 * GtkWrapModewrap_mode;
2347 * PangoLanguage*language;
2349 * guintbg_full_height:1;
2353 public struct GtkTextAttributes
{}
2354 // GtkTextAppearance appearance;
2356 // GtkJustification justification;
2358 // GtkTextDirection direction;
2360 // /+* Individual chunks of this can be set/unset as a group +/
2362 // PangoFontDescription *font;
2364 // double fontScale;
2372 // int pixelsAboveLines;
2374 // int pixelsBelowLines;
2376 // int pixelsInsideWrap;
2378 // PangoTabArray *tabs;
2380 // GtkWrapMode wrapMode; /+* How to handle wrap-around for this tag.
2382 // * Must be GTK_WRAPMODE_CHAR,
2384 // * GTK_WRAPMODE_NONE, GTK_WRAPMODE_WORD
2388 // PangoLanguage *language;
2390 // /+* hide the text +/
2392 // uint invisible : 1;
2394 // /+* Background is fit to full line height rather than
2396 // * baseline +/- ascent/descent (font height)
2400 // uint bgFullHeight : 1;
2402 // /+* can edit this text +/
2404 // uint editable : 1;
2406 // /+* colors are allocated etc. +/
2408 // uint realized : 1;
2412 public struct GtkTextAppearance
{}
2413 // GdkColor bgColor;
2415 // GdkColor fgColor;
2417 // GdkBitmap *bgStipple;
2419 // GdkBitmap *fgStipple;
2421 // /+* super/subscript rise, can be negative +/
2425 // uint underline : 4; /+* PangoUnderline +/
2427 // uint strikethrough : 1;
2429 // /+* Whether to use background-related values; this is irrelevant for
2431 // * the values struct when inn a tag, but is used for the composite
2433 // * values struct; it's true if any of the tags being composited
2435 // * had background stuff set.
2441 // /+* These are only used when we are actually laying out and rendering
2443 // * a paragraph; not when a GtkTextAppearance is part of a
2445 // * GtkTextAttributes.
2449 // uint insideSelection : 1;
2458 public struct GtkTextTagTable
{}
2464 public struct GtkTextView
{}
2468 * A GtkTextChildAnchor is a spot in the buffer
2469 * where child widgets can be "anchored" (inserted inline, as if they were
2470 * characters). The anchor can have multiple widgets anchored, to allow for
2473 public struct GtkTextChildAnchor
{}
2479 public struct GtkTreeModel
{}
2483 * The GtkTreeIter is the primary structure for
2484 * accessing a structure. Models are expected to put a unique integer in
2485 * the stamp member, and put model-specific
2486 * data in the three user_data members.
2488 * A unique stamp to catch invalid iterators
2489 * gpointeruser_data;
2490 * Model specific data
2491 * gpointeruser_data2;
2492 * Model specific data
2493 * gpointeruser_data3;
2494 * Model specific data
2496 public struct GtkTreeIter
2505 public struct GtkTreePath
{}
2508 public struct GtkTreeRowReference
{}
2511 public struct GtkTreeModelIface
{}
2512 // GTypeInterface gIface;
2513 // GtkTreeModel.html
2515 // GtkTreeModel.html
2516 // void (* rowChanged) (GtkTreeModel *treeModel,
2517 // GtkTreeModel.html
2518 // GtkTreePath *path,
2519 // GtkTreeModel.html
2520 // GtkTreeIter *iter);
2521 // GtkTreeModel.html
2522 // void (* rowInserted) (GtkTreeModel *treeModel,
2523 // GtkTreeModel.html
2524 // GtkTreePath *path,
2525 // GtkTreeModel.html
2526 // GtkTreeIter *iter);
2527 // GtkTreeModel.html
2528 // void (* rowHasChildToggled) (GtkTreeModel *treeModel,
2529 // GtkTreeModel.html
2530 // GtkTreePath *path,
2531 // GtkTreeModel.html
2532 // GtkTreeIter *iter);
2533 // GtkTreeModel.html
2534 // void (* rowDeleted) (GtkTreeModel *treeModel,
2535 // GtkTreeModel.html
2536 // GtkTreePath *path);
2537 // GtkTreeModel.html
2538 // void (* rowsReordered) (GtkTreeModel *treeModel,
2539 // GtkTreeModel.html
2540 // GtkTreePath *path,
2541 // GtkTreeModel.html
2542 // GtkTreeIter *iter,
2543 // GtkTreeModel.html
2545 // GtkTreeModel.html
2546 // /+* Virtual Table +/
2547 // GtkTreeModel.html
2548 // GtkTreeModelFlags (* getFlags) (GtkTreeModel *treeModel);
2549 // GtkTreeModel.html
2550 // int (* getNColumns) (GtkTreeModel *treeModel);
2551 // GtkTreeModel.html
2552 // GType (* getColumnType) (GtkTreeModel *treeModel,
2553 // GtkTreeModel.html
2555 // GtkTreeModel.html
2556 // int (* getIter) (GtkTreeModel *treeModel,
2557 // GtkTreeModel.html
2558 // GtkTreeIter *iter,
2559 // GtkTreeModel.html
2560 // GtkTreePath *path);
2561 // GtkTreeModel.html
2562 // GtkTreePath *(* getPath) (GtkTreeModel *treeModel,
2563 // GtkTreeModel.html
2564 // GtkTreeIter *iter);
2565 // GtkTreeModel.html
2566 // void (* getValue) (GtkTreeModel *treeModel,
2567 // GtkTreeModel.html
2568 // GtkTreeIter *iter,
2569 // GtkTreeModel.html
2571 // GtkTreeModel.html
2573 // GtkTreeModel.html
2574 // int (* iterNext) (GtkTreeModel *treeModel,
2575 // GtkTreeModel.html
2576 // GtkTreeIter *iter);
2577 // GtkTreeModel.html
2578 // int (* iterChildren) (GtkTreeModel *treeModel,
2579 // GtkTreeModel.html
2580 // GtkTreeIter *iter,
2581 // GtkTreeModel.html
2582 // GtkTreeIter *parent);
2583 // GtkTreeModel.html
2584 // int (* iterHasChild) (GtkTreeModel *treeModel,
2585 // GtkTreeModel.html
2586 // GtkTreeIter *iter);
2587 // GtkTreeModel.html
2588 // int (* iterNChildren) (GtkTreeModel *treeModel,
2589 // GtkTreeModel.html
2590 // GtkTreeIter *iter);
2591 // GtkTreeModel.html
2592 // int (* iterNthChild) (GtkTreeModel *treeModel,
2593 // GtkTreeModel.html
2594 // GtkTreeIter *iter,
2595 // GtkTreeModel.html
2596 // GtkTreeIter *parent,
2597 // GtkTreeModel.html
2599 // GtkTreeModel.html
2600 // int (* iterParent) (GtkTreeModel *treeModel,
2601 // GtkTreeModel.html
2602 // GtkTreeIter *iter,
2603 // GtkTreeModel.html
2604 // GtkTreeIter *child);
2605 // GtkTreeModel.html
2606 // void (* refNode) (GtkTreeModel *treeModel,
2607 // GtkTreeModel.html
2608 // GtkTreeIter *iter);
2609 // GtkTreeModel.html
2610 // void (* unrefNode) (GtkTreeModel *treeModel,
2611 // GtkTreeModel.html
2612 // GtkTreeIter *iter);
2613 // GtkTreeModel.html
2619 public struct GtkTreeSelection
{}
2625 public struct GtkTreeViewColumn
{}
2631 public struct GtkTreeView
{}
2635 * A private struct for internal use only. The definition of this
2636 * structure is not publically available.
2638 public struct GtkTreeViewPrivate
{}
2644 public struct GtkTreeDragSource
{}
2647 public struct GtkTreeDragSourceIface
{}
2648 // GTypeInterface gIface;
2649 // gtk-GtkTreeView-drag-and-drop.html
2650 // /+* VTable - not signals +/
2651 // gtk-GtkTreeView-drag-and-drop.html
2652 // int (* rowDraggable) (GtkTreeDragSource *dragSource,
2653 // gtk-GtkTreeView-drag-and-drop.html
2654 // GtkTreePath *path);
2655 // gtk-GtkTreeView-drag-and-drop.html
2656 // int (* dragDataGet) (GtkTreeDragSource *dragSource,
2657 // gtk-GtkTreeView-drag-and-drop.html
2658 // GtkTreePath *path,
2659 // gtk-GtkTreeView-drag-and-drop.html
2660 // GtkSelectionData *selectionData);
2661 // gtk-GtkTreeView-drag-and-drop.html
2662 // int (* dragDataDelete) (GtkTreeDragSource *dragSource,
2663 // gtk-GtkTreeView-drag-and-drop.html
2664 // GtkTreePath *path);
2665 // gtk-GtkTreeView-drag-and-drop.html
2668 public struct GtkTreeDragDest
{}
2671 public struct GtkTreeDragDestIface
{}
2672 // GTypeInterface gIface;
2673 // gtk-GtkTreeView-drag-and-drop.html
2674 // /+* VTable - not signals +/
2675 // gtk-GtkTreeView-drag-and-drop.html
2676 // int (* dragDataReceived) (GtkTreeDragDest *dragDest,
2677 // gtk-GtkTreeView-drag-and-drop.html
2678 // GtkTreePath *dest,
2679 // gtk-GtkTreeView-drag-and-drop.html
2680 // GtkSelectionData *selectionData);
2681 // gtk-GtkTreeView-drag-and-drop.html
2682 // int (* rowDropPossible) (GtkTreeDragDest *dragDest,
2683 // gtk-GtkTreeView-drag-and-drop.html
2684 // GtkTreePath *destPath,
2685 // gtk-GtkTreeView-drag-and-drop.html
2686 // GtkSelectionData *selectionData);
2687 // gtk-GtkTreeView-drag-and-drop.html
2693 public struct GtkCellView
{}
2698 * The GtkIconView struct contains only
2699 * private fields and should not be directly accessed.
2701 public struct GtkIconView
{}
2707 public struct GtkTreeSortable
{}
2710 public struct GtkTreeSortableIface
{}
2711 // GTypeInterface gIface;
2712 // GtkTreeSortable.html
2714 // GtkTreeSortable.html
2715 // void (* sortColumnChanged) (GtkTreeSortable *sortable);
2716 // GtkTreeSortable.html
2717 // /+* virtual table +/
2718 // GtkTreeSortable.html
2719 // int (* getSortColumnId) (GtkTreeSortable *sortable,
2720 // GtkTreeSortable.html
2721 // int *sortColumnId,
2722 // GtkTreeSortable.html
2723 // GtkSortType *order);
2724 // GtkTreeSortable.html
2725 // void (* setSortColumnId) (GtkTreeSortable *sortable,
2726 // GtkTreeSortable.html
2727 // int sortColumnId,
2728 // GtkTreeSortable.html
2729 // GtkSortType order);
2730 // GtkTreeSortable.html
2731 // void (* setSortFunc) (GtkTreeSortable *sortable,
2732 // GtkTreeSortable.html
2733 // int sortColumnId,
2734 // GtkTreeSortable.html
2735 // GtkTreeIterCompareFunc func,
2736 // GtkTreeSortable.html
2738 // GtkTreeSortable.html
2739 // GtkDestroyNotify destroy);
2740 // GtkTreeSortable.html
2741 // void (* setDefaultSortFunc) (GtkTreeSortable *sortable,
2742 // GtkTreeSortable.html
2743 // GtkTreeIterCompareFunc func,
2744 // GtkTreeSortable.html
2746 // GtkTreeSortable.html
2747 // GtkDestroyNotify destroy);
2748 // GtkTreeSortable.html
2749 // int (* hasDefaultSortFunc) (GtkTreeSortable *sortable);
2750 // GtkTreeSortable.html
2755 * This should not be accessed directly. Use the accessor functions below.
2757 public struct GtkTreeModelSort
{}
2762 * The GtkTreeModelFilter struct contains only private fields.
2764 public struct GtkTreeModelFilter
{}
2770 public struct GtkCellLayout
{}
2773 public struct GtkCellLayoutIface
{}
2774 // GTypeInterface gIface;
2775 // GtkCellLayout.html
2776 // /+* Virtual Table +/
2777 // GtkCellLayout.html
2778 // void (* packStart) (GtkCellLayout *cellLayout,
2779 // GtkCellLayout.html
2780 // GtkCellRenderer *cell,
2781 // GtkCellLayout.html
2783 // GtkCellLayout.html
2784 // void (* packEnd) (GtkCellLayout *cellLayout,
2785 // GtkCellLayout.html
2786 // GtkCellRenderer *cell,
2787 // GtkCellLayout.html
2789 // GtkCellLayout.html
2790 // void (* clear) (GtkCellLayout *cellLayout);
2791 // GtkCellLayout.html
2792 // void (* addAttribute) (GtkCellLayout *cellLayout,
2793 // GtkCellLayout.html
2794 // GtkCellRenderer *cell,
2795 // GtkCellLayout.html
2797 // GtkCellLayout.html
2799 // GtkCellLayout.html
2800 // void (* setCellDataFunc) (GtkCellLayout *cellLayout,
2801 // GtkCellLayout.html
2802 // GtkCellRenderer *cell,
2803 // GtkCellLayout.html
2804 // GtkCellLayoutDataFunc func,
2805 // GtkCellLayout.html
2807 // GtkCellLayout.html
2808 // GDestroyNotify destroy);
2809 // GtkCellLayout.html
2810 // void (* clearAttributes) (GtkCellLayout *cellLayout,
2811 // GtkCellLayout.html
2812 // GtkCellRenderer *cell);
2813 // GtkCellLayout.html
2814 // void (* reorder) (GtkCellLayout *cellLayout,
2815 // GtkCellLayout.html
2816 // GtkCellRenderer *cell,
2817 // GtkCellLayout.html
2819 // GtkCellLayout.html
2825 public struct GtkCellRenderer
{}
2831 public struct GtkCellEditable
{}
2834 public struct GtkCellEditableIface
{}
2835 // GTypeInterface gIface;
2836 // GtkCellEditable.html
2838 // GtkCellEditable.html
2839 // void (* editingDone) (GtkCellEditable *cellEditable);
2840 // GtkCellEditable.html
2841 // void (* removeWidget) (GtkCellEditable *cellEditable);
2842 // GtkCellEditable.html
2843 // /+* virtual table +/
2844 // GtkCellEditable.html
2845 // void (* startEditing) (GtkCellEditable *cellEditable,
2846 // GtkCellEditable.html
2847 // GdkEvent *event);
2848 // GtkCellEditable.html
2854 public struct GtkCellRendererCombo
{}
2860 public struct GtkCellRendererPixbuf
{}
2866 public struct GtkCellRendererProgress
{}
2872 public struct GtkCellRendererText
{}
2878 public struct GtkCellRendererToggle
{}
2884 public struct GtkListStore
{}
2890 public struct GtkTreeStore
{}
2896 public struct GtkComboBox
{}
2902 public struct GtkComboBoxEntry
{}
2907 * The GtkMenu struct contains private data only, and
2908 * should be accessed using the functions below.
2910 public struct GtkMenu
{}
2915 * The GtkMenuBar struct contains the following fields. (These fields should be considered read-only. They should never be set by an application.)
2917 public struct GtkMenuBar
{}
2923 public struct GtkMenuItem
{}
2928 * The GtkMenuShell struct contains the following fields.
2929 * (These fields should be considered read-only. They should never be set by
2932 * The list of GtkMenuItem objects contained by this GtkMenuShell.
2934 public struct GtkMenuShell
{}
2940 public struct GtkImageMenuItem
{}
2945 * The structure contains only private data that must be accessed through
2946 * the interface functions.
2948 public struct GtkRadioMenuItem
{}
2953 * The GtkCheckMenuItem struct contains the following fields.
2954 * (These fields should be considered read-only. They should never be set by
2957 * TRUE if the check box is active.
2959 public struct GtkCheckMenuItem
{}
2964 * The GtkSeparatorMenuItem struct contains private data only, and
2965 * should be accessed using the functions below.
2967 public struct GtkSeparatorMenuItem
{}
2972 * The GtkTearoffMenuItem struct contains private data only, and
2973 * should be accessed using the functions below.
2975 public struct GtkTearoffMenuItem
{}
2980 * The GtkToolbar struct only contains private data and should only be
2981 * accessed through the function described below.
2983 public struct GtkToolbar
{}
2988 // GtkOrientation orientation;
2990 // GtkToolbarStyle style;
2992 // GtkIconSize iconSize;
2994 // GtkTooltips *tooltips;
3000 * GtkToolbarChild is deprecated and should not be used in newly-written code.
3002 public struct GtkToolbarChild
{}
3003 // GtkToolbarChildType type;
3005 // GtkWidget *widget;
3009 // GtkWidget *label;
3015 * The GtkToolItem struct contains only private data. It should only be
3016 * accessed through the functions described below.
3018 public struct GtkToolItem
{}
3023 * The GtkSeparatorToolItem struct contains only private data and
3024 * should only be accessed through the functions described below.
3026 public struct GtkSeparatorToolItem
{}
3031 * The GtkToolButton struct contains only private. It should only be
3032 * accessed with the function described below.
3034 public struct GtkToolButton
{}
3040 public struct GtkMenuToolButton
{}
3046 public struct GtkToggleToolButton
{}
3052 public struct GtkRadioToolButton
{}
3057 * The GtkUIManager struct contains only private
3058 * members and should not be accessed directly.
3060 public struct GtkUIManager
{}
3065 * The GtkActionGroup struct contains only private
3066 * members and should not be accessed directly.
3068 public struct GtkActionGroup
{}
3072 * GtkActionEntry structs are used with
3073 * gtk_action_group_add_actions() to construct actions.
3075 * The name of the action.
3076 * constgchar*stock_id;
3077 * The stock id for the action, or the name of an icon from the icon
3079 public struct GtkActionEntry
{}
3081 // GtkActionGroup.html
3083 // GtkActionGroup.html
3085 // GtkActionGroup.html
3086 // char *accelerator;
3087 // GtkActionGroup.html
3089 // GtkActionGroup.html
3090 // GCallback callback;
3091 // GtkActionGroup.html
3095 * GtkToggleActionEntry structs are used with
3096 * gtk_action_group_add_toggle_actions() to construct toggle actions.
3098 * The name of the action.
3099 * constgchar*stock_id;
3100 * The stock id for the action, or the name of an icon from the icon
3102 public struct GtkToggleActionEntry
{}
3104 // GtkActionGroup.html
3106 // GtkActionGroup.html
3108 // GtkActionGroup.html
3109 // char *accelerator;
3110 // GtkActionGroup.html
3112 // GtkActionGroup.html
3113 // GCallback callback;
3114 // GtkActionGroup.html
3116 // GtkActionGroup.html
3120 * GtkRadioActionEntry structs are used with
3121 * gtk_action_group_add_radio_actions() to construct groups of radio actions.
3123 * The name of the action.
3124 * constgchar*stock_id;
3125 * The stock id for the action, or the name of an icon from the icon
3127 public struct GtkRadioActionEntry
3140 * The GtkAction struct contains only private members
3141 * and should not be accessed directly.
3143 public struct GtkAction
{}
3148 * The GtkToggleAction struct contains only
3149 * private members and should not be accessed directly.
3151 public struct GtkToggleAction
{}
3156 * The GtkRadioAction struct contains
3157 * only private members and should not be accessed directly.
3159 public struct GtkRadioAction
{}
3164 * The GtkColorButton struct has only private fields and
3165 * should not be used directly.
3167 public struct GtkColorButton
{}
3172 * The GtkColorSelection struct contains private data only,
3173 * and should be accessed using the functions below.
3175 public struct GtkColorSelection
{}
3180 * The GtkColorSelectionDialog struct contains the following fields.
3181 * (These fields should be considered read-only. They should never be set by
3183 * GtkWidget *colorsel;
3184 * The GtkColorSelection widget contained within the
3185 * dialog. Use this widget and its gtk_color_selection_get_current_color()
3186 * function to gain access to the selected color. Connect a handler
3187 * for this widget's color_changed signal to be notified when the
3189 * GtkWidget *ok_button;
3190 * The OK button widget contained within the dialog.
3191 * Connect a handler for the clicked event.
3192 * GtkWidget *cancel_button;
3193 * The cancel button widget contained within the dialog.
3194 * Connect a handler for the clicked event.
3195 * GtkWidget *help_button;
3196 * The help button widget contained within the dialog.
3197 * Connect a handler for the clicked event.
3199 public struct GtkColorSelectionDialog
{}
3204 * The GtkFileSelection struct contains the following GtkWidget fields:
3206 * the dialog box used to display the GtkFileSelection. It can be customized by adding/removing widgets from it using the standard GtkDialog functions.
3207 * *ok_button, *cancel_button;
3208 * the two main buttons that signals should be connected to in order to perform an action when the user hits either OK or Cancel.
3209 * *history_pulldown;
3210 * the GtkOptionMenu used to create the drop-down directory history.
3211 * *fileop_c_dir, *fileop_del_file, *fileop_ren_file;
3212 * the buttons that appear at the top of the file selection dialog. These "operation buttons" can be hidden and redisplayed with gtk_file_selection_hide_fileop_buttons() and gtk_file_selection_show_fileop_buttons() respectively.
3214 public struct GtkFileSelection
{}
3215 // GtkWidget *dirList;
3216 // GtkFileSelection.html
3217 // GtkWidget *fileList;
3218 // GtkFileSelection.html
3219 // GtkWidget *selectionEntry;
3220 // GtkFileSelection.html
3221 // GtkWidget *selectionText;
3222 // GtkFileSelection.html
3223 // GtkWidget *mainVbox;
3224 // GtkFileSelection.html
3225 // GtkWidget *okButton;
3226 // GtkFileSelection.html
3227 // GtkWidget *cancelButton;
3228 // GtkFileSelection.html
3229 // GtkWidget *helpButton;
3230 // GtkFileSelection.html
3231 // GtkWidget *historyPulldown;
3232 // GtkFileSelection.html
3233 // GtkWidget *historyMenu;
3234 // GtkFileSelection.html
3235 // GList *historyList;
3236 // GtkFileSelection.html
3237 // GtkWidget *fileopDialog;
3238 // GtkFileSelection.html
3239 // GtkWidget *fileopEntry;
3240 // GtkFileSelection.html
3241 // char *fileopFile;
3242 // GtkFileSelection.html
3244 // GtkFileSelection.html
3245 // GtkWidget *fileopCDir;
3246 // GtkFileSelection.html
3247 // GtkWidget *fileopDelFile;
3248 // GtkFileSelection.html
3249 // GtkWidget *fileopRenFile;
3250 // GtkFileSelection.html
3251 // GtkWidget *buttonArea;
3252 // GtkFileSelection.html
3253 // GtkWidget *actionArea;
3254 // GtkFileSelection.html
3260 public struct GtkFileChooser
{}
3265 * This should not be accessed directly. Use the accessor functions below.
3267 public struct GtkFileChooserButton
{}
3273 public struct GtkFileChooserDialog
{}
3279 public struct GtkFileChooserWidget
{}
3284 * The GtkFileFilter struct contains
3285 * only private fields and should not be directly accessed.
3287 public struct GtkFileFilter
{}
3291 * A GtkFileFilterInfo struct is used
3292 * to pass information about the tested file to
3293 * gtk_file_filter_filter().
3294 * GtkFileFilterFlagscontains;
3295 * Flags indicating which of the following fields need
3297 public struct GtkFileFilterInfo
{}
3298 // GtkFileFilterFlags contains;
3299 // gtk-gtkfilefilter.html
3301 // gtk-gtkfilefilter.html
3303 // gtk-gtkfilefilter.html
3304 // char *displayName;
3305 // gtk-gtkfilefilter.html
3307 // gtk-gtkfilefilter.html
3312 * The GtkFontButton struct has only private members and should not be used
3315 public struct GtkFontButton
{}
3320 * The GtkFontSelection struct contains private data only, and should
3321 * only be accessed using the functions below.
3323 public struct GtkFontSelection
{}
3328 * GtkWidget*ok_button;
3329 * The OK button of the dialog
3330 * GtkWidget*apply_button;
3331 * The Apply button of the dialog. This button is hidden
3332 * by default but you can show/hide it
3333 * GtkWidget*cancel_button;
3334 * The Cancel button of the dialog
3336 public struct GtkFontSelectionDialog
{}
3337 // GtkWidget *okButton;
3338 // GtkFontSelectionDialog.html
3339 // GtkWidget *applyButton;
3340 // GtkFontSelectionDialog.html
3341 // GtkWidget *cancelButton;
3342 // GtkFontSelectionDialog.html
3348 public struct GtkInputDialog
{}
3353 * The GtkAlignment struct contains private data only, and should
3354 * be accessed using the functions below.
3356 public struct GtkAlignment
{}
3362 public struct GtkAspectFrame
{}
3368 public struct GtkHBox
{}
3374 public struct GtkVBox
{}
3379 * GtkHButtonBox does not contain any public fields.
3381 public struct GtkHButtonBox
{}
3386 * GtkVButtonBox does not contain any public fields.
3388 public struct GtkVButtonBox
{}
3393 * The GtkFixed struct contains the following fields.
3394 * (These fields should be considered read-only. They should never be set by
3397 * a list of GtkFixedChild elements, containing the child widgets and
3400 public struct GtkFixed
{}
3404 * The GtkFixedChild struct contains the following fields.
3405 * (These fields should be considered read-only. They should never be set by
3407 * GtkWidget *widget;
3408 * the child GtkWidget.
3410 * the horizontal position of the widget within the GtkFixed
3413 * the vertical position of the widget within the GtkFixed
3416 public struct GtkFixedChild
{}
3417 // GtkWidget *widget;
3428 public struct GtkHPaned
{}
3434 public struct GtkVPaned
{}
3440 public struct GtkLayout
{}
3441 // GdkWindow *binWindow;
3448 public struct GtkNotebook
{}
3452 * The GtkNotebookPage is an opaque implementation detail of GtkNotebook.
3454 public struct GtkNotebookPage
{}
3459 * The GtkTable structure holds the data for the actual table itself.
3460 * children is a GList of all the widgets the table contains. rows and columns are pointers to GtkTableRowCol structures, which contain the default spacing and expansion details for the GtkTable's rows and columns, respectively.
3461 * nrows and ncols are 16bit integers storing the number of rows and columns the table has.
3463 public struct GtkTable
{}
3467 * The widget field is a pointer to the widget that
3468 * this GtkTableChild structure is keeping track of.
3472 * bottom_attach fields specify the row and column
3473 * numbers which make up the invisible rectangle that the child widget is packed into.
3474 * xpadding and ypadding
3475 * specify the space between this widget and the surrounding table cells.
3477 public struct GtkTableChild
{}
3478 // GtkWidget *widget;
3480 // ushort leftAttach;
3482 // ushort rightAttach;
3484 // ushort topAttach;
3486 // ushort bottomAttach;
3492 // uint xexpand : 1;
3494 // uint yexpand : 1;
3496 // uint xshrink : 1;
3498 // uint yshrink : 1;
3507 * These fields should be considered read-only and not be modified directly.
3509 public struct GtkTableRowCol
3515 //uint needExpand : 1;
3522 public struct GtkExpander
{}
3528 public struct GtkFrame
{}
3533 * The GtkHSeparator struct contains private data only, and
3534 * should be accessed using the functions below.
3536 public struct GtkHSeparator
{}
3541 * The GtkVSeparator struct contains private data only, and
3542 * should be accessed using the functions below.
3544 public struct GtkVSeparator
{}
3549 * The GtkHScrollbar struct contains private data and should be accessed
3550 * using the functions below.
3552 public struct GtkHScrollbar
{}
3557 * The GtkVScrollbar struct contains private data and should be accessed
3558 * using the functions below.
3560 public struct GtkVScrollbar
{}
3565 * There are no public fields in the GtkScrolledWindow struct; it should
3566 * only be accessed using the functions below.
3568 public struct GtkScrolledWindow
{}
3569 // GtkWidget *hscrollbar;
3570 // GtkScrolledWindow.html
3571 // GtkWidget *vscrollbar;
3572 // GtkScrolledWindow.html
3577 * The GtkAdjustment struct contains the following fields.
3579 * the minimum value.
3581 * the maximum value.
3583 * the current value.
3584 * gdouble step_increment;
3585 * the increment to use to make minor changes to the value.
3586 * In a GtkScrollbar this increment is used when the mouse is clicked on the
3587 * arrows at the top and bottom of the scrollbar, to scroll by a small amount.
3588 * gdouble page_increment;
3589 * the increment to use to make major changes to the value.
3590 * In a GtkScrollbar this increment is used when the mouse is clicked in the
3591 * trough, to scroll by a large amount.
3592 * gdouble page_size;
3594 * In a GtkScrollbar this is the size of the area which is currently visible.
3596 public struct GtkAdjustment
{}
3601 * The GtkArrow struct containes the following fields.
3602 * (These fields should be considered read-only. They should never be set by
3605 public struct GtkArrow
{}
3610 * num_marked_dates is an integer containing the
3611 * number of days that have a mark over them.
3612 * marked_date is an array containing the day numbers
3613 * that currently have a mark over them.
3615 * selected_day contain the currently visible month,
3616 * year, and selected day respectively.
3617 * All of these fields should be considered read only, and everything in this
3618 * struct should only be modified using the functions provided below.
3620 * Note that month is zero-based (i.e it allowed values
3621 * are 0-11) while selected_day is one-based
3622 * (i.e. allowed values are 1-31).
3624 public struct GtkCalendar
{}
3629 * The GtkDrawingArea struct contains private data only, and
3630 * should be accessed using the functions below.
3632 public struct GtkDrawingArea
{}
3637 * The GtkEventBox struct contains private data only, and
3638 * should be accessed using the functions below.
3640 public struct GtkEventBox
{}
3645 * The GtkHandleBox struct contains the following fields.
3646 * (These fields should be considered read-only. They should never be set by
3648 * GtkShadowType shadow_type;
3649 * The shadow type for the entry. (See gtk_handle_box_set_shadow_type()).
3650 * GtkPositionType handle_position;
3651 * The position of the handlebox's handle with respect
3652 * to the child. (See gtk_handle_box_set_handle_position())
3654 * A value of type GtkPosition type indicating snap edge for the widget.
3655 * (See gtk_handle_box_set_snap_edge). The value of -1 indicates
3656 * that this value has not been set.
3657 * gboolean child_detached;
3658 * A boolean value indicating whether the handlebox's
3659 * child is attached or detached.
3661 public struct GtkHandleBox
{}
3667 public struct GtkIMContextSimple
{}
3673 public struct GtkIMMulticontext
{}
3679 public struct GtkSizeGroup
{}
3684 * Holds information about a group of tooltips. Fields should be changed using the functions provided, rather than directly accessing the struct's members.
3686 public struct GtkTooltips
{}
3690 * tooltips is the GtkTooltips group that this tooltip belongs to. widget is the GtkWidget that this tooltip data is associated with. tip_text is a string containing the tooltip message itself.
3691 * tip_private is a string that is not shown as the default tooltip. Instead, this message may be more informative and go towards forming a context-sensitive help system for your application. (FIXME: how to actually "switch on" private tips?)
3693 public struct GtkTooltipsData
{}
3694 // GtkTooltips *tooltips;
3696 // GtkWidget *widget;
3700 // char *tipPrivate;
3707 public struct GtkViewport
{}
3713 public struct GtkAccessible
{}
3718 * The GtkBin struct contains the following fields.
3719 * (These fields should be considered read-only. They should never be set by
3724 public struct GtkBin
{}
3729 * The GtkBox describes an instance of GtkBox and contains the following fields.
3730 * (These fields should be considered read-only. They should never be set by
3733 * a list of children belonging the GtkBox. The data is a list of
3734 * structures of type GtkBoxChild.
3736 * the number of pixels to put between children of the GtkBox, zero
3737 * by default. Use gtk_box_set_spacing() to set this field.
3738 * guint homogeneous;
3739 * a flag that if TRUE forces all children to get equal space in
3740 * the GtkBox; FALSE by default. Use gtk_box_set_homogeneous() to set this
3743 public struct GtkBox
{}
3748 // uint homogeneous : 1;
3753 * The GtkBoxChild holds a child widget of GtkBox and describes
3754 * how the child is to be packed into the GtkBox. Use
3755 * gtk_box_query_child_packing() and gtk_box_set_child_packing() to query
3756 * and reset the padding,
3759 * GtkBoxChild contains the following fields. (These fields
3760 * should be considered read-only. They should never be directly set by an
3762 * GtkWidget * widget;
3763 * the child widget, packed into the GtkBox.
3765 * the number of extra pixels to put between this child and its
3766 * neighbors, set when packed, zero by default.
3768 * flag indicates whether extra space should be given to this
3769 * child. Any extra space given to the parent GtkBox is divided up among
3770 * all children with this attribute set to TRUE; set when packed, TRUE by
3773 * flag indicates whether any extra space given to this child due to its
3774 * expand attribute being set is actually
3775 * allocated to the child, rather than being used as padding
3776 * around the widget; set when packed, TRUE by default.
3779 * GtkPackType indicating whether the child is packed with reference to
3780 * the start (top/left) or end (bottom/right) of the GtkBox.
3782 public struct GtkBoxChild
{}
3783 // GtkWidget *widget;
3793 // uint isSecondary : 1;
3799 * This is a read-only struct; no members should be modified directly.
3801 public struct GtkButtonBox
{}
3807 public struct GtkContainer
{}
3812 * The GtkItem struct contains private data only, and
3813 * should be accessed using the functions below.
3815 public struct GtkItem
{}
3820 * The GtkMisc struct contains the following fields.
3821 * (These fields should be considered read-only. They should never be set by
3824 * the horizontal alignment, from 0 (left) to 1 (right).
3826 * the vertical alignment, from 0 (top) to 1 (bottom).
3828 * the amount of space to add on the left and right of the widget,
3831 * the amount of space to add on the top and bottom of the widget,
3834 public struct GtkMisc
{}
3839 * The object itself. You should never use these members directly -
3841 public struct GtkObject
{}
3847 public struct GtkPaned
{}
3853 public struct GtkRange
{}
3858 * The GtkScale struct contains the following fields.
3859 * (These fields should be considered read-only. They should never be set by
3862 * non-zero if the scale's current value is displayed next to the
3865 * the position in which the textual value is displayed, selected from
3868 public struct GtkScale
{}
3873 * The GtkScrollbar struct does not contain any public data.
3874 * Style Property Details
3875 * The "fixed-slider-length" style property
3877 public struct GtkScrollbar
{}
3882 * The GtkSeparator struct contains private data only.
3884 public struct GtkSeparator
{}
3890 * The style for the widget. The style contains the colors the widget should be
3892 public struct GtkWidget
{}
3893 // /+* The style for the widget. The style contains the
3895 // * colors the widget should be drawn inn for each state
3897 // * along with graphics contexts used to draw with and
3899 // * the font to use for text.
3905 // /+* The widget's desired size.
3909 // GtkRequisition requisition;
3911 // /+* The widget's allocated size.
3915 // GtkAllocation allocation;
3917 // /+* The widget's window or its parent window if it does
3919 // * not have a window. (Which will be indicated by the
3921 // * GTK_NO_WINDOW flag being set).
3925 // GdkWindow *window;
3927 // /+* The widget's parent.
3931 // GtkWidget *parent;
3937 * The signal to emit when a widget of this class is activated,
3938 * gtk_widget_activate() handles the emission. Implementation of this
3939 * signal is optional.
3940 * set_scroll_adjustment_signal
3941 * This signal is emitted when a widget of this class is added
3942 * to a scrolling aware parent, gtk_widget_set_scroll_adjustments()
3943 * handles the emission.
3944 * Implementation of this signal is optional.
3946 public struct GtkWidgetClass
{}
3947 // /+* The object class structure needs to be the first
3949 // * element inn the widget class structure inn order for
3951 // * the class mechanism to work correctly. This allows a
3953 // * GtkWidgetClass pointer to be cast to a GtkObjectClass
3959 // GtkObjectClass parentClass;
3961 // uint activateSignal;
3963 // uint setScrollAdjustmentsSignal;
3968 * A GtkRequisition represents the desired size of a widget. See
3969 * the section called Size Requisition for more information.
3971 * the widget's desired width
3973 * the widget's desired height
3975 public struct GtkRequisition
3983 * A GtkAllocation of a widget represents region which has been allocated to the
3984 * widget by its parent. It is a subregion of its parents allocation. See
3985 * the section called Size Allocation for more information.
3987 * the X position of the widget's area relative to its parents allocation.
3989 * the Y position of the widget's area relative to its parents allocation.
3991 * the width of the widget's allocated area.
3993 * the height of the widget's allocated area.
3995 public struct GtkAllocation
4004 public struct GtkSelectionData
{}
4005 // GdkAtom selection;
4017 // GdkDisplay *display;
4021 public struct GtkWidgetAuxInfo
4032 public struct GtkWidgetShapeInfo
{}
4037 // GdkBitmap *shapeMask;
4044 public struct GtkIMContext
{}
4050 public struct GtkPlug
{}
4055 * The GtkSocket structure contains the plug_window
4056 * field. (This field should be considered read-only. It should
4057 * never be set by an application.)
4059 public struct GtkSocket
{}
4064 * The GtkCurve struct contains private data only, and
4065 * should be accessed using the functions below.
4067 public struct GtkCurve
{}
4072 * The GtkGammaCurve struct contains private data only, and
4073 * should be accessed using the functions below.
4075 public struct GtkGammaCurve
{}
4080 * All distances are in 1/72nd's of an inch. (According to Adobe thats a point, but
4081 * points are really 1/72.27 in.)
4083 public struct GtkRuler
{}
4087 * This should be points_per_unit. This is the size of the unit in 1/72nd's of an inch and has nothing to do with screen pixels.
4089 public struct GtkRulerMetric
{}
4090 // char *metricName;
4094 // /+* This should be pointsPerUnit. This is the size of the unit
4096 // * inn 1/72nd's of an inch and has nothing to do with screen pixels +/
4098 // double pixelsPerUnit;
4100 // double rulerScale[10];
4102 // int subdivide[5]; /+* five possible modes of subdivision +/
4108 * The GtkHRuler struct contains private data and should be accessed
4109 * with the functions below.
4111 public struct GtkHRuler
{}
4116 * The GtkVRuler struct contains private data and should be accessed
4117 * using the functions below.
4119 public struct GtkVRuler
{}
4125 * GtkItemFactory is deprecated and should not be used in newly-written code.
4127 public struct GtkItemFactory
{}
4132 * GtkItemFactoryEntry is deprecated and should not be used in newly-written code.
4134 public struct GtkItemFactoryEntry
{}
4136 // GtkItemFactory.html
4137 // char *accelerator;
4138 // GtkItemFactory.html
4139 // GtkItemFactoryCallback callback;
4140 // GtkItemFactory.html
4141 // uint callbackAction;
4142 // GtkItemFactory.html
4143 // /+* possible values:
4144 // GtkItemFactory.html
4145 // * NULL -> "<Item>"
4146 // GtkItemFactory.html
4148 // GtkItemFactory.html
4149 // * "<Title>" -> create a title item
4150 // GtkItemFactory.html
4151 // * "<Item>" -> create a simple item
4152 // GtkItemFactory.html
4153 // * "<ImageItem>" -> create an item holding an image
4154 // GtkItemFactory.html
4155 // * "<StockItem>" -> create an item holding a stock image
4156 // GtkItemFactory.html
4157 // * "<CheckItem>" -> create a check item
4158 // GtkItemFactory.html
4159 // * "<ToggleItem>" -> create a toggle item
4160 // GtkItemFactory.html
4161 // * "<RadioItem>" -> create a radio item
4162 // GtkItemFactory.html
4163 // * <path> -> path of a radio item to link against
4164 // GtkItemFactory.html
4165 // * "<Separator>" -> create a separator
4166 // GtkItemFactory.html
4167 // * "<Tearoff>" -> create a tearoff separator
4168 // GtkItemFactory.html
4169 // * "<Branch>" -> create an item to hold sub items
4170 // GtkItemFactory.html
4171 // * "<LastBranch>" -> create a right justified item to hold sub items
4172 // GtkItemFactory.html
4174 // GtkItemFactory.html
4176 // GtkItemFactory.html
4177 // /+* Extra data for some item types:
4178 // GtkItemFactory.html
4179 // * ImageItem -> pointer to inlined pixbuf stream
4180 // GtkItemFactory.html
4181 // * StockItem -> name of stock item
4182 // GtkItemFactory.html
4184 // GtkItemFactory.html
4186 // GtkItemFactory.html
4191 * GtkItemFactoryItem is deprecated and should not be used in newly-written code.
4193 public struct GtkItemFactoryItem
{}
4195 // GtkItemFactory.html
4197 // GtkItemFactory.html
4202 * The GtkProgress struct contains private data only.
4203 * and should be accessed using the functions below.
4205 public struct GtkProgress
{}
4209 * Returns whether the style is attached to a window.
4214 // #define GTK_STYLE_ATTACHED(style) (GTK_STYLE (style)->attach_count > 0)
4218 * gtk_style_apply_default_pixmap is deprecated and should not be used in newly-written code.
4219 * Deprecated alias for gtk_style_apply_default_background().
4230 // #define gtk_style_apply_default_pixmap(s,gw,st,a,x,y,w,h) gtk_style_apply_default_background (s,gw,1,st,a,x,y,w,h)
4233 * Returns TRUE if the version of the GTK+ header files is the same
4234 * as or newer than the passed-in version.
4236 * major version (e.g. 1 for version 1.2.5)
4238 * minor version (e.g. 2 for version 1.2.5)
4240 * micro version (e.g. 5 for version 1.2.5)
4243 // #define GTK_CHECK_VERSION(major,minor,micro)
4247 * gtk_signal_lookup is deprecated and should not be used in newly-written code. Use g_signal_lookup() instead.
4248 * Given the name of the signal and the type of object it connects
4249 * to, get the signal's identifying integer. Emitting the signal
4250 * by number is somewhat faster than using the name each time.
4251 * It also tries the ancestors of the given type.
4253 * the signal's name, e.g. clicked.
4255 * the type that the signal operates on, e.g. GTK_TYPE_BUTTON.
4257 * the signal's identifying number, or 0 if no signal was found.
4260 // #define gtk_signal_lookup(name,object_type)
4264 * gtk_signal_name is deprecated and should not be used in newly-written code. Use g_signal_name() instead.
4265 * Given the signal's identifier, finds its name.
4266 * Two different signals may have the same name, if they have differing types.
4268 * the signal's identifying number.
4270 * the signal name, or NULL if the signal number was invalid.
4273 // #define gtk_signal_name(signal_id)
4277 * gtk_signal_emit_stop is deprecated and should not be used in newly-written code. Use g_signal_stop_emission() instead.
4278 * This function aborts a signal's current emission.
4279 * It will prevent the default method from running,
4280 * if the signal was GTK_RUN_LAST and you connected
4281 * normally (i.e. without the "after" flag).
4282 * It will print a warning if used on a signal which
4283 * isn't being emitted.
4285 * the object whose signal handlers you wish to stop.
4287 * the signal identifier, as returned by g_signal_lookup().
4290 // #define gtk_signal_emit_stop(object,signal_id)
4294 * gtk_signal_connect is deprecated and should not be used in newly-written code. Use g_signal_connect() instead.
4295 * Attaches a function pointer and user data to a signal for
4296 * a particular object.
4297 * The GtkSignalFunction takes a GtkObject as its first parameter.
4298 * It will be the same object as the one you're connecting
4299 * the hook to. The func_data will be passed as the last parameter
4301 * All else being equal, signal handlers are invoked in the order
4302 * connected (see gtk_signal_emit() for the other details of
4303 * which order things are called in).
4304 * Here is how one passes an integer as user data,
4305 * for when you just want to specify a constant int
4306 * as parameter to your function:
4307 * static void button_clicked_int (GtkButton* button, gpointer func_data)
4309 * g_print ("button pressed: %d\n", GPOINTER_TO_INT (func_data));
4311 * /+* By calling this function, you will make the g_print above
4312 * * execute, printing the number passed as `to_print'. +/
4313 * static void attach_print_signal (GtkButton* button, gint to_print)
4315 * gtk_signal_connect (GTK_OBJECT (button), "clicked",
4316 * GTK_SIGNAL_FUNC (button_clicked_int),
4317 * GINT_TO_POINTER (to_print));
4320 * the object associated with the signal, e.g. if a button
4321 * is getting pressed, this is that button.
4323 * name of the signal.
4325 * function pointer to attach to the signal.
4327 * value to pass as to your function (through the marshaller).
4329 * the connection id.
4332 // #define gtk_signal_connect(object,name,func,func_data)
4336 * gtk_signal_connect_after is deprecated and should not be used in newly-written code. Use g_signal_connect_after() instead.
4337 * Attaches a function pointer and user data to a signal
4338 * so that this handler will be called after the other handlers.
4340 * the object associated with the signal.
4342 * name of the signal.
4344 * function pointer to attach to the signal.
4346 * value to pass as to your function (through the marshaller).
4348 * the unique identifier for this attachment: the connection id.
4351 // #define gtk_signal_connect_after(object,name,func,func_data)
4355 * gtk_signal_connect_object is deprecated and should not be used in newly-written code. Use g_signal_connect_swapped() instead.
4356 * This function is for registering a callback that will
4357 * call another object's callback. That is,
4358 * instead of passing the object which is responsible
4359 * for the event as the first parameter of the callback,
4360 * it is switched with the user data (so the object which emits
4361 * the signal will be the last parameter, which is where the
4362 * user data usually is).
4363 * This is useful for passing a standard function in as a callback.
4364 * For example, if you wanted a button's press to gtk_widget_show()
4365 * some widget, you could write:
4366 * gtk_signal_connect_object (button, "clicked", gtk_widget_show, window);
4368 * the object which emits the signal.
4370 * the name of the signal.
4372 * the function to callback.
4374 * the object to pass as the first parameter to func.
4375 * (Though it pretends to take an object, you can
4376 * really pass any gpointer as the slot_object .)
4378 * the connection id.
4381 // #define gtk_signal_connect_object(object,name,func,slot_object)
4385 * gtk_signal_connect_object_after is deprecated and should not be used in newly-written code. Use g_signal_connect_data() instead, passing
4386 * G_CONNECT_AFTER|G_CONNECT_SWAPPED as connect_flags.
4387 * Attaches a signal hook to a signal, passing in an alternate
4388 * object as the first parameter, and guaranteeing
4389 * that the default handler and all normal
4390 * handlers are called first.
4392 * the object associated with the signal.
4394 * name of the signal.
4396 * function pointer to attach to the signal.
4398 * the object to pass as the first parameter to func.
4400 * the connection id.
4403 // #define gtk_signal_connect_object_after(object,name,func,slot_object)
4407 * gtk_signal_disconnect is deprecated and should not be used in newly-written code. Use g_signal_handler_disconnect() instead.
4408 * Destroys a user-defined handler connection.
4410 * the object which the handler pertains to.
4412 * the connection id.
4415 // #define gtk_signal_disconnect(object,handler_id)
4419 * gtk_signal_disconnect_by_func is deprecated and should not be used in newly-written code. Use g_signal_handlers_disconnect_by_func() instead.
4420 * Destroys all connections for a particular object, with
4421 * the given function-pointer and user-data.
4423 * the object which emits the signal.
4425 * the function pointer to search for.
4427 * the user data to search for.
4430 // #define gtk_signal_disconnect_by_func(object,func,data)
4434 * gtk_signal_disconnect_by_data is deprecated and should not be used in newly-written code. Use g_signal_handlers_disconnect_matched() instead.
4435 * Destroys all connections for a particular object, with
4436 * the given user-data.
4438 * the object which emits the signal.
4440 * the user data to search for.
4443 // #define gtk_signal_disconnect_by_data(object,data)
4447 * gtk_signal_handler_block is deprecated and should not be used in newly-written code. Use g_signal_handler_block() instead.
4448 * Prevents a user-defined handler from being invoked. All other
4449 * signal processing will go on as normal, but this particular
4450 * handler will ignore it.
4452 * the object which emits the signal to block.
4454 * the connection id.
4457 // #define gtk_signal_handler_block(object,handler_id)
4461 * gtk_signal_handler_block_by_func is deprecated and should not be used in newly-written code. Use g_signal_handlers_block_by_func() instead.
4462 * Prevents a user-defined handler from being invoked, by reference to
4463 * the user-defined handler's function pointer and user data. (It may result in
4464 * multiple hooks being blocked, if you've called connect multiple times.)
4466 * the object which emits the signal to block.
4468 * the function pointer of the handler to block.
4470 * the user data of the handler to block.
4473 // #define gtk_signal_handler_block_by_func(object,func,data)
4477 * gtk_signal_handler_block_by_data is deprecated and should not be used in newly-written code. Use g_signal_handlers_block_matched() instead.
4478 * Prevents all user-defined handlers with a certain user data from being invoked.
4480 * the object which emits the signal we want to block.
4482 * the user data of the handlers to block.
4485 // #define gtk_signal_handler_block_by_data(object,data)
4489 * gtk_signal_handler_unblock is deprecated and should not be used in newly-written code. Use g_signal_handler_unblock() instead.
4490 * Undoes a block, by connection id. Note that undoing a block doesn't
4491 * necessarily make the hook callable, because if you block a
4492 * hook twice, you must unblock it twice.
4494 * the object which emits the signal we want to unblock.
4496 * the emission handler identifier, as returned by
4497 * gtk_signal_connect(), etc.
4500 // #define gtk_signal_handler_unblock(object,handler_id)
4504 * gtk_signal_handler_unblock_by_func is deprecated and should not be used in newly-written code. Use g_signal_handlers_unblock_by_func() instead.
4505 * Undoes a block, by function pointer and data.
4506 * Note that undoing a block doesn't
4507 * necessarily make the hook callable, because if you block a
4508 * hook twice, you must unblock it twice.
4510 * the object which emits the signal we want to unblock.
4512 * the function pointer to search for.
4514 * the user data to search for.
4517 // #define gtk_signal_handler_unblock_by_func(object,func,data)
4521 * gtk_signal_handler_unblock_by_data is deprecated and should not be used in newly-written code. Use g_signal_handlers_unblock_matched() instead.
4522 * Undoes block(s), to all signals for a particular object
4523 * with a particular user-data pointer
4525 * the object which emits the signal we want to unblock.
4527 * the user data to search for.
4530 // #define gtk_signal_handler_unblock_by_data(object,data)
4534 * gtk_signal_handler_pending is deprecated and should not be used in newly-written code. Use g_signal_has_handler_pending() instead.
4535 * Returns a connection id corresponding to a given signal id and object.
4536 * One example of when you might use this is when the arguments
4537 * to the signal are difficult to compute. A class implementor
4538 * may opt to not emit the signal if no one is attached anyway,
4539 * thus saving the cost of building the arguments.
4541 * the object to search for the desired user-defined handler.
4543 * the number of the signal to search for.
4545 * whether it is acceptable to return a blocked
4548 * the connection id, if a connection was found. 0 otherwise.
4551 // #define gtk_signal_handler_pending(object,signal_id,may_be_blocked)
4555 * gtk_signal_handler_pending_by_func is deprecated and should not be used in newly-written code.
4556 * Returns a connection id corresponding to a given signal id, object, function
4557 * pointer and user data.
4559 * the object to search for the desired handler.
4561 * the number of the signal to search for.
4563 * whether it is acceptable to return a blocked
4566 * the function pointer to search for.
4568 * the user data to search for.
4570 * the connection id, if a handler was found. 0 otherwise.
4573 // #define gtk_signal_handler_pending_by_func(object,signal_id,may_be_blocked,func,data)
4577 * GTK_CLASS_NAME is deprecated and should not be used in newly-written code. Use g_type_name() and G_TYPE_FROM_CLASS() instead.
4578 * Returns the type name of class.
4583 // #define GTK_CLASS_NAME(class) (g_type_name (G_TYPE_FROM_CLASS (class)))
4587 * GTK_CLASS_TYPE is deprecated and should not be used in newly-written code. Use G_TYPE_FROM_CLASS() instead.
4588 * Returns the type of class.
4593 // #define GTK_CLASS_TYPE(class) (G_TYPE_FROM_CLASS (class))
4597 * GTK_TYPE_IS_OBJECT is deprecated and should not be used in newly-written code. Use G_TYPE_IS_OBJECT() instead.
4598 * Returns TRUE if type is a GTK_TYPE_OBJECT.
4603 // #define GTK_TYPE_IS_OBJECT(type) (g_type_is_a ((type), GTK_TYPE_OBJECT))
4606 * Just a macroized cast into a GtkSignalFunc.
4610 // #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) (f))
4614 * GTK_VALUE_CHAR is deprecated and should not be used in newly-written code.
4615 * Gets the value of a GtkArg whose GtkType is GTK_TYPE_CHAR.
4620 // #define GTK_VALUE_CHAR(a) ((a).d.char_data)
4624 * GTK_VALUE_UCHAR is deprecated and should not be used in newly-written code.
4625 * Gets the value of a GtkArg whose GtkType is GTK_TYPE_UCHAR.
4630 // #define GTK_VALUE_UCHAR(a) ((a).d.uchar_data)
4634 * GTK_VALUE_BOOL is deprecated and should not be used in newly-written code.
4635 * Gets the value of a GtkArg whose GtkType is GTK_TYPE_BOOL.
4640 // #define GTK_VALUE_BOOL(a) ((a).d.bool_data)
4644 * GTK_VALUE_INT is deprecated and should not be used in newly-written code.
4645 * Gets the value of a GtkArg whose GtkType is GTK_TYPE_INT.
4650 // #define GTK_VALUE_INT(a) ((a).d.int_data)
4654 * GTK_VALUE_UINT is deprecated and should not be used in newly-written code.
4655 * Gets the value of a GtkArg whose GtkType is GTK_TYPE_UINT.
4660 // #define GTK_VALUE_UINT(a) ((a).d.uint_data)
4664 * GTK_VALUE_LONG is deprecated and should not be used in newly-written code.
4665 * Gets the value of a GtkArg whose GtkType is GTK_TYPE_LONG.
4670 // #define GTK_VALUE_LONG(a) ((a).d.long_data)
4674 * GTK_VALUE_ULONG is deprecated and should not be used in newly-written code.
4675 * Gets the value of a GtkArg whose GtkType is GTK_TYPE_ULONG.
4680 // #define GTK_VALUE_ULONG(a) ((a).d.ulong_data)
4684 * GTK_VALUE_FLOAT is deprecated and should not be used in newly-written code.
4685 * Gets the value of a GtkArg whose GtkType is GTK_TYPE_FLOAT.
4690 // #define GTK_VALUE_FLOAT(a) ((a).d.float_data)
4694 * GTK_VALUE_DOUBLE is deprecated and should not be used in newly-written code.
4695 * Gets the value of a GtkArg whose GtkType is GTK_TYPE_DOUBLE.
4700 // #define GTK_VALUE_DOUBLE(a) ((a).d.double_data)
4704 * GTK_VALUE_STRING is deprecated and should not be used in newly-written code.
4705 * Gets the value of a GtkArg whose GtkType is GTK_TYPE_STRING.
4710 // #define GTK_VALUE_STRING(a) ((a).d.string_data)
4714 * GTK_VALUE_ENUM is deprecated and should not be used in newly-written code.
4715 * Gets the value of a GtkArg whose GtkType is GTK_TYPE_ENUM.
4720 // #define GTK_VALUE_ENUM(a) ((a).d.int_data)
4724 * GTK_VALUE_FLAGS is deprecated and should not be used in newly-written code.
4725 * Gets the value of a GtkArg whose GtkType is GTK_TYPE_FLAGS.
4730 // #define GTK_VALUE_FLAGS(a) ((a).d.uint_data)
4734 * GTK_VALUE_BOXED is deprecated and should not be used in newly-written code.
4735 * Gets the value of a GtkArg whose GtkType is GTK_TYPE_BOXED.
4740 // #define GTK_VALUE_BOXED(a) ((a).d.pointer_data)
4744 * GTK_VALUE_POINTER is deprecated and should not be used in newly-written code.
4745 * Gets the value of a GtkArg whose GtkType is GTK_TYPE_POINTER.
4750 // #define GTK_VALUE_POINTER(a) ((a).d.pointer_data)
4754 * GTK_VALUE_OBJECT is deprecated and should not be used in newly-written code.
4755 * Gets the value of a GtkArg whose GtkType is GTK_TYPE_OBJECT.
4760 // #define GTK_VALUE_OBJECT(a) ((a).d.object_data)
4764 * GTK_VALUE_SIGNAL is deprecated and should not be used in newly-written code.
4765 * Gets the value of a GtkArg whose GtkType is GTK_TYPE_SIGNAL.
4770 // #define GTK_VALUE_SIGNAL(a) ((a).d.signal_data)
4774 * GTK_RETLOC_CHAR is deprecated and should not be used in newly-written code.
4775 * If the GtkArg contains a pointer to the value, this macro will be a pointer to a GTK_TYPE_CHAR.
4780 // #define GTK_RETLOC_CHAR(a) ((gchar*) (a).d.pointer_data)
4784 * GTK_RETLOC_UCHAR is deprecated and should not be used in newly-written code.
4785 * If the GtkArg contains a pointer to the value, this macro will be a pointer to a GTK_TYPE_UCHAR.
4790 // #define GTK_RETLOC_UCHAR(a) ((guchar*) (a).d.pointer_data)
4794 * GTK_RETLOC_BOOL is deprecated and should not be used in newly-written code.
4795 * If the GtkArg contains a pointer to the value, this macro will be a pointer to a GTK_TYPE_BOOL.
4800 // #define GTK_RETLOC_BOOL(a) ((gboolean*) (a).d.pointer_data)
4804 * GTK_RETLOC_INT is deprecated and should not be used in newly-written code.
4805 * If the GtkArg contains a pointer to the value, this macro will be a pointer to a GTK_TYPE_INT.
4810 // #define GTK_RETLOC_INT(a) ((gint*) (a).d.pointer_data)
4814 * GTK_RETLOC_UINT is deprecated and should not be used in newly-written code.
4815 * If the GtkArg contains a pointer to the value, this macro will be a pointer to a GTK_TYPE_UINT.
4820 // #define GTK_RETLOC_UINT(a) ((guint*) (a).d.pointer_data)
4824 * GTK_RETLOC_LONG is deprecated and should not be used in newly-written code.
4825 * If the GtkArg contains a pointer to the value, this macro will be a pointer to a GTK_TYPE_LONG.
4830 // #define GTK_RETLOC_LONG(a) ((glong*) (a).d.pointer_data)
4834 * GTK_RETLOC_ULONG is deprecated and should not be used in newly-written code.
4835 * If the GtkArg contains a pointer to the value, this macro will be a pointer to a GTK_TYPE_ULONG.
4840 // #define GTK_RETLOC_ULONG(a) ((gulong*) (a).d.pointer_data)
4844 * GTK_RETLOC_FLOAT is deprecated and should not be used in newly-written code.
4845 * If the GtkArg contains a pointer to the value, this macro will be a pointer to a GTK_TYPE_FLOAT.
4850 // #define GTK_RETLOC_FLOAT(a) ((gfloat*) (a).d.pointer_data)
4854 * GTK_RETLOC_DOUBLE is deprecated and should not be used in newly-written code.
4855 * If the GtkArg contains a pointer to the value, this macro will be a pointer to a GTK_TYPE_DOUBLE.
4860 // #define GTK_RETLOC_DOUBLE(a) ((gdouble*) (a).d.pointer_data)
4864 * GTK_RETLOC_STRING is deprecated and should not be used in newly-written code.
4865 * If the GtkArg contains a pointer to the value, this macro will be a pointer to a GTK_TYPE_STRING.
4870 // #define GTK_RETLOC_STRING(a) ((gchar**) (a).d.pointer_data)
4874 * GTK_RETLOC_ENUM is deprecated and should not be used in newly-written code.
4875 * If the GtkArg contains a pointer to the value, this macro will be a pointer to a GTK_TYPE_ENUM.
4880 // #define GTK_RETLOC_ENUM(a) ((gint*) (a).d.pointer_data)
4884 * GTK_RETLOC_FLAGS is deprecated and should not be used in newly-written code.
4885 * If the GtkArg contains a pointer to the value, this macro will be a pointer to a GTK_TYPE_FLAGS.
4890 // #define GTK_RETLOC_FLAGS(a) ((guint*) (a).d.pointer_data)
4894 * GTK_RETLOC_BOXED is deprecated and should not be used in newly-written code.
4895 * If the GtkArg contains a pointer to the value, this macro will be a pointer to a GTK_TYPE_BOXED.
4900 // #define GTK_RETLOC_BOXED(a) ((gpointer*) (a).d.pointer_data)
4904 * GTK_RETLOC_POINTER is deprecated and should not be used in newly-written code.
4905 * If the GtkArg contains a pointer to the value, this macro will be a pointer to a GTK_TYPE_POINTER.
4910 // #define GTK_RETLOC_POINTER(a) ((gpointer*) (a).d.pointer_data)
4914 * GTK_RETLOC_OBJECT is deprecated and should not be used in newly-written code.
4915 * If the GtkArg contains a pointer to the value, this macro will be a pointer to a GTK_TYPE_OBJECT.
4920 // #define GTK_RETLOC_OBJECT(a) ((GtkObject**) (a).d.pointer_data)
4924 * gtk_type_name is deprecated and should not be used in newly-written code.
4925 * Returns a pointer to the name of a type, or NULL if it has none.
4929 * a pointer to the name of a type, or NULL if it has none.
4932 // #define gtk_type_name(type) g_type_name (type)
4936 * gtk_type_from_name is deprecated and should not be used in newly-written code.
4937 * Gets the internal representation of a type, given its name.
4939 * the name of a GTK+ type
4944 // #define gtk_type_from_name(name) g_type_from_name (name)
4948 * gtk_type_parent is deprecated and should not be used in newly-written code.
4949 * Returns the parent type of a GtkType.
4953 * the GtkType of the parent.
4956 // #define gtk_type_parent(type) g_type_parent (type)
4960 * gtk_type_is_a is deprecated and should not be used in newly-written code.
4961 * Looks in the type hierarchy to see if type has is_a_type among its
4962 * ancestors. Do so with a simple lookup, not a loop.
4968 * TRUE if type is a is_a_type.
4971 // #define gtk_type_is_a(type, is_a_type) g_type_is_a ((type), (is_a_type))
4975 * gtk_tree_model_get_iter_root is deprecated and should not be used in newly-written code.
4976 * A alternate name for gtk_tree_model_get_iter_first() provided for
4977 * compatibility reasons; this macro will be deprecated in future
4982 * uninitialized GtkTreeIter.
4984 * TRUE, if iter was set.
4987 // #define gtk_tree_model_get_iter_root(tree_model, iter) gtk_tree_model_get_iter_first(tree_model, iter)
4991 * gtk_menu_append is deprecated and should not be used in newly-written code. Use gtk_menu_shell_append() instead.
4992 * Adds a new GtkMenuItem to the end of the menu's item list.
4996 * The GtkMenuItem to add.
4999 // #define gtk_menu_append(menu,child) gtk_menu_shell_append ((GtkMenuShell *)(menu),(child))
5003 * gtk_menu_prepend is deprecated and should not be used in newly-written code. Use gtk_menu_shell_prepend() instead.
5004 * Adds a new GtkMenuItem to the beginning of the menu's item list.
5008 * The GtkMenuItem to add.
5011 // #define gtk_menu_prepend(menu,child) gtk_menu_shell_prepend ((GtkMenuShell *)(menu),(child))
5015 * gtk_menu_insert is deprecated and should not be used in newly-written code. Use gtk_menu_shell_insert() instead.
5016 * Adds a new GtkMenuItem to the menu's item list at the position
5017 * indicated by position.
5021 * The GtkMenuItem to add.
5023 * The position in the item list where child is added.
5024 * Positions are numbered from 0 to n-1.
5027 // #define gtk_menu_insert(menu,child,pos) gtk_menu_shell_insert ((GtkMenuShell *)(menu),(child),(pos))
5031 * gtk_menu_bar_append is deprecated and should not be used in newly-written code. Use gtk_menu_shell_append() instead.
5032 * Adds a new GtkMenuItem to the end of the GtkMenuBar
5036 * the GtkMenuItem to add
5039 // #define gtk_menu_bar_append(menu,child) gtk_menu_shell_append ((GtkMenuShell *)(menu),(child))
5043 * gtk_menu_bar_prepend is deprecated and should not be used in newly-written code. Use gtk_menu_shell_prepend() instead.
5044 * Adds a new GtkMenuItem to the beginning of the GtkMenuBar
5048 * the GtkMenuItem to add
5051 // #define gtk_menu_bar_prepend(menu,child) gtk_menu_shell_prepend ((GtkMenuShell *)(menu),(child))
5055 * gtk_menu_bar_insert is deprecated and should not be used in newly-written code. Use gtk_menu_shell_insert() instead.
5056 * Adds a new GtkMenuItem to the GtkMenuBar at the position defined by position
5060 * the GtkMenuItem to add
5062 * the position in the item list where the child is added.
5065 // #define gtk_menu_bar_insert(menu,child,pos) gtk_menu_shell_insert ((GtkMenuShell *)(menu),(child),(pos))
5069 * gtk_menu_item_right_justify is deprecated and should not be used in newly-written code.
5070 * Sets the menu item to be right-justified. Only useful for menu bars.
5075 // #define gtk_menu_item_right_justify(menu_item) gtk_menu_item_set_right_justified ((menu_item), TRUE)
5079 * gtk_button_box_get_spacing is deprecated and should not be used in newly-written code.
5080 * Retrieves how much space a button box is placing between each child button.
5084 * the current spacing applied to the buttons in widget.
5087 // #define gtk_button_box_get_spacing(b) gtk_box_get_spacing (GTK_BOX (b))
5091 * gtk_button_box_set_spacing is deprecated and should not be used in newly-written code.
5092 * Sets the amount of spacing between buttons in a given button box.
5096 * the number of pixels of spacing.
5099 // #define gtk_button_box_set_spacing(b,s) gtk_box_set_spacing (GTK_BOX (b), s)
5105 // #define GTK_IS_RESIZE_CONTAINER(widget) (GTK_IS_CONTAINER (widget) ((GtkContainer*) (widget))->resize_mode != GTK_RESIZE_PARENT)
5113 // #define GTK_CONTAINER_WARN_INVALID_CHILD_PROPERTY_ID(object, property_id, pspec)
5116 * Gets the type of an object.
5121 // #define GTK_OBJECT_TYPE(object) (G_TYPE_FROM_INSTANCE (object))
5124 * Gets the name of an objects type.
5129 // #define GTK_OBJECT_TYPE_NAME(object) (g_type_name (GTK_OBJECT_TYPE (object)))
5132 * Gets the GtkObjectFlags for an object without directly
5133 * accessing its members.
5135 * the object whose flags are returned.
5138 // #define GTK_OBJECT_FLAGS(obj) (GTK_OBJECT (obj)->flags)
5142 * GTK_OBJECT_FLOATING is deprecated and should not be used in newly-written code.
5143 * Evaluates to TRUE if the object still has its floating reference count.
5144 * See the overview documentation for GtkObject.
5146 * the object to examine.
5149 // #define GTK_OBJECT_FLOATING(obj) (g_object_is_floating (obj))
5153 * gtk_paned_gutter_size is deprecated and should not be used in newly-written code.
5154 * Old name for gtk_paned_set_gutter_size().
5158 * the width of the gutter in pixels
5161 // #define gtk_paned_gutter_size(p,s) (void) 0
5165 * gtk_paned_set_gutter_size is deprecated and should not be used in newly-written code.
5166 * In older versions of GTK+, this function used to set the width of the
5167 * gutter (the area between the two panes). It does nothing now.
5171 * the width of the gutter in pixels
5174 // #define gtk_paned_set_gutter_size(p,s) (void) 0
5177 * Gets the type of a widget.
5182 // #define GTK_WIDGET_TYPE(wid) (GTK_OBJECT_TYPE (wid))
5185 * Returns the current state of the widget, as a GtkStateType.
5190 // #define GTK_WIDGET_STATE(wid) (GTK_WIDGET (wid)->state)
5193 * Returns the saved state of the widget, as a GtkStateType.
5194 * The saved state will be restored when a widget gets sensitive
5195 * again, after it has been made insensitive with gtk_widget_set_state()
5196 * or gtk_widget_set_sensitive().
5201 // #define GTK_WIDGET_SAVED_STATE(wid) (GTK_WIDGET (wid)->saved_state)
5204 * Returns the widget flags from wid.
5209 // #define GTK_WIDGET_FLAGS(wid) (GTK_OBJECT_FLAGS (wid))
5212 * Evaluates to TRUE if the widget is a toplevel widget.
5217 // #define GTK_WIDGET_TOPLEVEL(wid) ((GTK_WIDGET_FLAGS (wid) GTK_TOPLEVEL) != 0)
5220 * Evaluates to TRUE if the widget doesn't have an own GdkWindow.
5225 // #define GTK_WIDGET_NO_WINDOW(wid) ((GTK_WIDGET_FLAGS (wid) GTK_NO_WINDOW) != 0)
5228 * Evaluates to TRUE if the widget is realized.
5233 // #define GTK_WIDGET_REALIZED(wid) ((GTK_WIDGET_FLAGS (wid) GTK_REALIZED) != 0)
5236 * Evaluates to TRUE if the widget is mapped.
5241 // #define GTK_WIDGET_MAPPED(wid) ((GTK_WIDGET_FLAGS (wid) GTK_MAPPED) != 0)
5244 * Evaluates to TRUE if the widget is visible.
5249 // #define GTK_WIDGET_VISIBLE(wid) ((GTK_WIDGET_FLAGS (wid) GTK_VISIBLE) != 0)
5252 * Evaluates to TRUE if the widget is mapped and visible.
5257 // #define GTK_WIDGET_DRAWABLE(wid) (GTK_WIDGET_VISIBLE (wid) GTK_WIDGET_MAPPED (wid))
5260 * Evaluates to TRUE if the GTK_SENSITIVE flag has be set on the widget.
5265 // #define GTK_WIDGET_SENSITIVE(wid) ((GTK_WIDGET_FLAGS (wid) GTK_SENSITIVE) != 0)
5268 * Evaluates to TRUE if the GTK_PARENT_SENSITIVE flag has be set on the widget.
5273 // #define GTK_WIDGET_PARENT_SENSITIVE(wid) ((GTK_WIDGET_FLAGS (wid) GTK_PARENT_SENSITIVE) != 0)
5276 * Evaluates to TRUE if the widget is effectively sensitive.
5281 // #define GTK_WIDGET_IS_SENSITIVE(wid)
5284 * Evaluates to TRUE if the widget is able to handle focus grabs.
5289 // #define GTK_WIDGET_CAN_FOCUS(wid) ((GTK_WIDGET_FLAGS (wid) GTK_CAN_FOCUS) != 0)
5292 * Evaluates to TRUE if the widget has grabbed the focus and no other
5293 * widget has done so more recently.
5298 // #define GTK_WIDGET_HAS_FOCUS(wid) ((GTK_WIDGET_FLAGS (wid) GTK_HAS_FOCUS) != 0)
5301 * Evaluates to TRUE if the widget is allowed to receive the default action
5302 * via gtk_widget_grab_default().
5307 // #define GTK_WIDGET_CAN_DEFAULT(wid) ((GTK_WIDGET_FLAGS (wid) GTK_CAN_DEFAULT) != 0)
5310 * Evaluates to TRUE if the widget when focused will receive the default action
5311 * even if there is a different widget set as default.
5316 // #define GTK_WIDGET_RECEIVES_DEFAULT(wid) ((GTK_WIDGET_FLAGS (wid) GTK_RECEIVES_DEFAULT) != 0)
5319 * Evaluates to TRUE if the widget currently is receiving the default action.
5324 // #define GTK_WIDGET_HAS_DEFAULT(wid) ((GTK_WIDGET_FLAGS (wid) GTK_HAS_DEFAULT) != 0)
5327 * Evaluates to TRUE if the widget is in the grab_widgets stack, and will be
5328 * the preferred one for receiving events other than ones of cosmetic value.
5333 // #define GTK_WIDGET_HAS_GRAB(wid) ((GTK_WIDGET_FLAGS (wid) GTK_HAS_GRAB) != 0)
5336 * Evaluates to TRUE if the widget's style has been looked up through the rc
5342 // #define GTK_WIDGET_RC_STYLE(wid) ((GTK_WIDGET_FLAGS (wid) GTK_RC_STYLE) != 0)
5345 * Evaluates to TRUE if the widget is a composite child of its parent.
5350 // #define GTK_WIDGET_COMPOSITE_CHILD(wid) ((GTK_WIDGET_FLAGS (wid) GTK_COMPOSITE_CHILD) != 0)
5353 * Evaluates to TRUE if the GTK_APP_PAINTABLE flag has been set on the widget.
5358 // #define GTK_WIDGET_APP_PAINTABLE(wid) ((GTK_WIDGET_FLAGS (wid) GTK_APP_PAINTABLE) != 0)
5361 * Evaluates to TRUE if the GTK_DOUBLE_BUFFERED flag has been set on the widget.
5366 // #define GTK_WIDGET_DOUBLE_BUFFERED(wid) ((GTK_WIDGET_FLAGS (wid) GTK_DOUBLE_BUFFERED) != 0)
5369 * Turns on certain widget flags.
5376 // #define GTK_WIDGET_SET_FLAGS(wid,flag) G_STMT_START{ (GTK_WIDGET_FLAGS (wid) |= (flag)); }G_STMT_END
5379 * Turns off certain widget flags.
5383 * the flags to unset.
5386 // #define GTK_WIDGET_UNSET_FLAGS(wid,flag) G_STMT_START{ (GTK_WIDGET_FLAGS (wid) = ~(flag)); }G_STMT_END
5390 * gtk_widget_set_rc_style is deprecated and should not be used in newly-written code.
5391 * Equivalent to gtk_widget_set_style (widget, NULL).
5396 // #define gtk_widget_set_rc_style(widget) (gtk_widget_set_style (widget, NULL))
5400 * gtk_widget_restore_default_style is deprecated and should not be used in newly-written code.
5401 * Equivalent to gtk_widget_set_style (widget, NULL).
5406 // #define gtk_widget_restore_default_style(widget) (gtk_widget_set_style (widget, NULL))
5410 * gtk_widget_pop_visual is deprecated and should not be used in newly-written code.
5411 * This function is deprecated; it does nothing.
5414 // #define gtk_widget_pop_visual() ((void) 0)
5418 * gtk_widget_push_visual is deprecated and should not be used in newly-written code.
5419 * This function is deprecated; it does nothing.
5423 // #define gtk_widget_push_visual(visual) ((void) 0)
5427 * gtk_widget_set_default_visual is deprecated and should not be used in newly-written code.
5428 * This function is deprecated; it does nothing.
5432 // #define gtk_widget_set_default_visual(visual) ((void) 0)
5436 * gtk_widget_set_visual is deprecated and should not be used in newly-written code.
5437 * This function is deprecated; it does nothing.
5442 // #define gtk_widget_set_visual(widget,visual) ((void) 0)
5445 * Each GTK+ module must have a function gtk_module_init() with this prototype.
5446 * This function is called after loading the module with the argc and argv
5447 * cleaned from any arguments that GTK+ handles itself.
5449 * Pointer to the number of arguments remaining after gtk_init().
5451 * Points to the argument vector.
5453 // void (*GtkModuleInitFunc) (gint *argc, gchar ***argv);
5454 public typedef extern(C
) void function (gint
*, gchar
***) GtkModuleInitFunc
;
5460 // void (*GtkModuleDisplayInitFunc) (GdkDisplay *display);
5461 public typedef extern(C
) void function (GdkDisplay
*) GtkModuleDisplayInitFunc
;
5464 * Key snooper functions are called before normal event delivery.
5465 * They can be used to implement custom key event handling.
5467 * the widget to which the event will be delivered.
5471 * the func_data supplied to gtk_key_snooper_install().
5473 * TRUE to stop further processing of event, FALSE to continue.
5475 // gint (*GtkKeySnoopFunc) (GtkWidget *grab_widget, GdkEventKey *event, gpointer func_data);
5476 public typedef extern(C
) int function (GtkWidget
*, GdkEventKey
*, void*) GtkKeySnoopFunc
;
5485 // gboolean (*GtkAccelGroupActivate) (GtkAccelGroup *accel_group, GObject *acceleratable, guint keyval, GdkModifierType modifier);
5486 public typedef extern(C
) int function (GtkAccelGroup
*, GObject
*, uint, GdkModifierType
) GtkAccelGroupActivate
;
5495 // gboolean (*GtkAccelGroupFindFunc) (GtkAccelKey *key, GClosure *closure, gpointer data);
5496 public typedef extern(C
) int function (GtkAccelKey
*, GClosure
*, void*) GtkAccelGroupFindFunc
;
5505 // void (*GtkAccelMapForeach) (gpointer data, const gchar *accel_path, guint accel_key, GdkModifierType accel_mods, gboolean changed);
5506 public typedef extern(C
) void function (void*, char[], uint, GdkModifierType
, int) GtkAccelMapForeach
;
5509 * A function to be called when the results of gtk_clipboard_request_contents()
5510 * are received, or when the request fails.
5514 * a GtkSelectionData containing the data was received.
5515 * If retrieving the data failed, then then length field
5516 * of selection_data will be negative.
5518 * the user_data supplied to gtk_clipboard_request_contents().
5520 // void (*GtkClipboardReceivedFunc) (GtkClipboard *clipboard, GtkSelectionData *selection_data, gpointer data);
5521 public typedef extern(C
) void function (GtkClipboard
*, GtkSelectionData
*, void*) GtkClipboardReceivedFunc
;
5524 * A function to be called when the results of gtk_clipboard_request_text()
5525 * are received, or when the request fails.
5529 * the text received, as a UTF-8 encoded string, or NULL
5530 * if retrieving the data failed.
5532 * the user_data supplied to gtk_clipboard_request_text().
5534 // void (*GtkClipboardTextReceivedFunc) (GtkClipboard *clipboard, const gchar *text, gpointer data);
5535 public typedef extern(C
) void function (GtkClipboard
*, char[], void*) GtkClipboardTextReceivedFunc
;
5538 * A function to be called when the results of gtk_clipboard_request_image()
5539 * are received, or when the request fails.
5543 * the received image
5545 * the user_data supplied to gtk_clipboard_request_image().
5548 // void (*GtkClipboardImageReceivedFunc) (GtkClipboard *clipboard, GdkPixbuf *pixbuf, gpointer data);
5549 public typedef extern(C
) void function (GtkClipboard
*, GdkPixbuf
*, void*) GtkClipboardImageReceivedFunc
;
5552 * A function to be called when the results of gtk_clipboard_request_targets()
5553 * are received, or when the request fails.
5557 * the supported targets, as array of GdkAtom, or NULL
5558 * if retrieving the data failed.
5560 * the length of the atoms array.
5562 * the user_data supplied to gtk_clipboard_request_targets().
5565 // void (*GtkClipboardTargetsReceivedFunc) (GtkClipboard *clipboard, GdkAtom *atoms, gint n_atoms, gpointer data);
5566 public typedef extern(C
) void function (GtkClipboard
*, GdkAtom
*, int, void*) GtkClipboardTargetsReceivedFunc
;
5575 // void (*GtkClipboardRichTextReceivedFunc) (GtkClipboard *clipboard, GdkAtom format, const guint8 *text, gsize length, gpointer data);
5576 public typedef extern(C
) void function (GtkClipboard
*, GdkAtom
, guint8
*, uint, void*) GtkClipboardRichTextReceivedFunc
;
5579 * A function that will be called to provide the contents of the selection.
5580 * If multiple types of data were advertised, the requested type can
5581 * be determined from the info parameter or by checking the target field
5582 * of selection_data. If the data could successfully be converted into
5583 * then it should be stored into the selection_data object by
5584 * calling gtk_selection_data_set() (or related functions such
5585 * as gtk_selection_data_set_text()). If no data is set, the requestor
5586 * will be informed that the attempt to get the data failed.
5590 * a GtkSelectionData argument in which the requested
5591 * data should be stored.
5593 * the info field corresponding to the requested
5594 * target from the GtkTargetEntry array passed to
5595 * gtk_clipboard_set_with_data() or gtk_clipboard_set_with_owner().
5596 * user_data_or_owner:
5597 * the user_data argument passed to gtk_clipboard_set_with_data(), or
5598 * the owner argument passed to gtk_clipboard_set_with_owner()
5600 // void (*GtkClipboardGetFunc) (GtkClipboard *clipboard, GtkSelectionData *selection_data, guint info, gpointer user_data_or_owner);
5601 public typedef extern(C
) void function (GtkClipboard
*, GtkSelectionData
*, uint, void*) GtkClipboardGetFunc
;
5604 * A function that will be called when the contents of the clipboard are changed
5605 * or cleared. Once this has called, the user_data_or_owner argument
5606 * will not be used again.
5609 * user_data_or_owner:
5610 * the user_data argument passed to gtk_clipboard_set_with_data(), or
5611 * the owner argument passed to gtk_clipboard_set_with_owner()
5613 // void (*GtkClipboardClearFunc) (GtkClipboard *clipboard, gpointer user_data_or_owner);
5614 public typedef extern(C
) void function (GtkClipboard
*, void*) GtkClipboardClearFunc
;
5622 * The "realize" signal
5623 * void user_function (GtkStyle *style,
5624 * gpointer user_data) : Run first
5625 * Emitted when the style has been initialized for a particular
5626 * colormap and depth. Connecting to this signal is probably seldom
5627 * useful since most of the time applications and widgets only
5628 * deal with styles that have been already realized.
5630 * the object which received the signal
5632 * user data set when the signal handler was connected.
5635 // gboolean (*GtkRcPropertyParser) (const GParamSpec *pspec, const GString *rc_string, GValue *property_value);
5636 public typedef extern(C
) int function (GParamSpec
*, GString
*, GValue
*) GtkRcPropertyParser
;
5639 * Defines a function pointer.
5641 // void (*GtkSignalFunc) (void);
5642 public typedef extern(C
) void function () GtkSignalFunc
;
5645 * Defines a function pointer.
5651 // gboolean (*GtkFunction) (gpointer data);
5652 public typedef extern(C
) int function (void*) GtkFunction
;
5655 * Defines a function pointer.
5659 // void (*GtkDestroyNotify) (gpointer data);
5660 public typedef extern(C
) void function (void*) GtkDestroyNotify
;
5663 * Defines a function pointer.
5673 // void (*GtkCallbackMarshal) (GtkObject *object, gpointer data, guint n_args, GtkArg *args);
5674 public typedef extern(C
) void function (GtkObject
*, void*, uint, GtkArg
*) GtkCallbackMarshal
;
5677 * The type of a function which is called when a URL or email
5678 * link is activated.
5680 * the GtkAboutDialog in which the link was activated
5682 * the URL or email address to whiche the activated link points
5684 * user data that was passed when the function was registered
5685 * with gtk_about_dialog_set_email_hook() or
5686 * gtk_about_dialog_set_url_hook()
5688 // void (*GtkAboutDialogActivateLinkFunc) (GtkAboutDialog *about, const gchar *link, gpointer data);
5689 public typedef extern(C
) void function (GtkAboutDialog
*, char[], void*) GtkAboutDialogActivateLinkFunc
;
5692 * A function used by gtk_assistant_set_forward_page_func() to know which
5693 * is the next page given a current one. It's called both for computing the
5694 * next page when the user presses the "forward" button and for handling
5695 * the behavior of the "last" button.
5697 * The page number used to calculate the next page.
5701 * The next page number.
5703 // gint (*GtkAssistantPageFunc) (gint current_page, gpointer data);
5704 public typedef extern(C
) int function (int, void*) GtkAssistantPageFunc
;
5707 * A function which decides whether the row indicated by iter matches a given
5708 * key, and should be displayed as a possible completion for key. Note that
5709 * key is normalized and case-folded (see g_utf8_normalize() and
5710 * g_utf8_casefold()). If this is not appropriate, match functions have access
5711 * to the unmodified key via gtk_entry_get_text (GTK_ENTRY (gtk_entry_completion_get_entry ())).
5713 * the GtkEntryCompletion
5715 * the string to match, normalized and case-folded
5717 * a GtkTreeIter indicating the row to match
5719 * user data given to gtk_entry_completion_set_match_func()
5721 * TRUE if iter should be displayed as a possible completion for key
5723 // gboolean (*GtkEntryCompletionMatchFunc) (GtkEntryCompletion *completion, const gchar *key, GtkTreeIter *iter, gpointer user_data);
5724 public typedef extern(C
) int function (GtkEntryCompletion
*, char[], GtkTreeIter
*, void*) GtkEntryCompletionMatchFunc
;
5731 // gboolean (*GtkTextCharPredicate) (gunichar ch, gpointer user_data);
5732 public typedef extern(C
) int function (gunichar
, void*) GtkTextCharPredicate
;
5745 // gboolean (*GtkTextBufferDeserializeFunc) (GtkTextBuffer *register_buffer, GtkTextBuffer *content_buffer, GtkTextIter *iter, const guint8 *data, gsize length, gboolean create_tags, gpointer user_data, GError **error);
5746 public typedef extern(C
) int function (GtkTextBuffer
*, GtkTextBuffer
*, GtkTextIter
*, guint8
*, uint, int, void*, GError
**) GtkTextBufferDeserializeFunc
;
5757 // guint8* (*GtkTextBufferSerializeFunc) (GtkTextBuffer *register_buffer, GtkTextBuffer *content_buffer, const GtkTextIter *start, const GtkTextIter *end, gsize *length, gpointer user_data);
5758 public typedef extern(C
) byte* function (GtkTextBuffer
*, GtkTextBuffer
*, GtkTextIter
*, GtkTextIter
*, gsize
*, void*) GtkTextBufferSerializeFunc
;
5764 // void (*GtkTextTagTableForeach) (GtkTextTag *tag, gpointer data);
5765 public typedef extern(C
) void function (GtkTextTag
*, void*) GtkTextTagTableForeach
;
5774 // gboolean (*GtkTreeModelForeachFunc) (GtkTreeModel *model, GtkTreePath *path, GtkTreeIter *iter, gpointer data);
5775 public typedef extern(C
) int function (GtkTreeModel
*, GtkTreePath
*, GtkTreeIter
*, void*) GtkTreeModelForeachFunc
;
5778 * A function used by gtk_tree_selection_set_select_function() to filter
5779 * whether or not a row may be selected. It is called whenever a row's
5780 * state might change. A return value of TRUE indicates to selection
5781 * that it is okay to change the selection.
5783 * A GtkTreeSelection
5785 * A GtkTreeModel being viewed
5787 * The GtkTreePath of the row in question
5788 * path_currently_selected:
5789 * TRUE, if the path is currently selected
5793 * TRUE, if the selection state of the row can be toggled
5795 // gboolean (*GtkTreeSelectionFunc) (GtkTreeSelection *selection, GtkTreeModel *model, GtkTreePath *path, gboolean path_currently_selected, gpointer data);
5796 public typedef extern(C
) int function (GtkTreeSelection
*, GtkTreeModel
*, GtkTreePath
*, int, void*) GtkTreeSelectionFunc
;
5799 * A function used by gtk_tree_selection_selected_foreach() to map all
5800 * selected rows. It will be called on every selected row in the view.
5802 * The GtkTreeModel being viewed
5804 * The GtkTreePath of a selected row
5806 * A GtkTreeIter pointing to a selected row
5810 // void (*GtkTreeSelectionForeachFunc) (GtkTreeModel *model, GtkTreePath *path, GtkTreeIter *iter, gpointer data);
5811 public typedef extern(C
) void function (GtkTreeModel
*, GtkTreePath
*, GtkTreeIter
*, void*) GtkTreeSelectionForeachFunc
;
5814 * A function to set the properties of a cell instead of just using the
5815 * straight mapping between the cell and the model. This is useful for
5816 * customizing the cell renderer. For example, a function might get an
5817 * integer from the tree_model, and render it to the "text" attribute of
5818 * "cell" by converting it to its written equivilent. This is set by
5819 * calling gtk_tree_view_column_set_cell_data_func()
5823 * The GtkCellRenderer that is being rendered by tree_column
5825 * The GtkTreeModel being rendered
5827 * A GtkTreeIter of the current row rendered
5831 // void (*GtkTreeCellDataFunc) (GtkTreeViewColumn *tree_column, GtkCellRenderer *cell, GtkTreeModel *tree_model, GtkTreeIter *iter, gpointer data);
5832 public typedef extern(C
) void function (GtkTreeViewColumn
*, GtkCellRenderer
*, GtkTreeModel
*, GtkTreeIter
*, void*) GtkTreeCellDataFunc
;
5835 * Function type for determining whether column can be dropped in a
5836 * particular spot (as determined by prev_column and next_column). In
5837 * left to right locales, prev_column is on the left of the potential drop
5838 * spot, and next_column is on the right. In right to left mode, this is
5839 * reversed. This function should return TRUE if the spot is a valid drop
5840 * spot. Please note that returning TRUE does not actually indicate that
5841 * the column drop was made, but is meant only to indicate a possible drop
5846 * The GtkTreeViewColumn being dragged
5848 * A GtkTreeViewColumn on one side of column
5850 * A GtkTreeViewColumn on the other side of column
5854 * TRUE, if column can be dropped in this spot
5856 // gboolean (*GtkTreeViewColumnDropFunc) (GtkTreeView *tree_view, GtkTreeViewColumn *column, GtkTreeViewColumn *prev_column, GtkTreeViewColumn *next_column, gpointer data);
5857 public typedef extern(C
) int function (GtkTreeView
*, GtkTreeViewColumn
*, GtkTreeViewColumn
*, GtkTreeViewColumn
*, void*) GtkTreeViewColumnDropFunc
;
5860 * Function used for gtk_tree_view_map_expanded_rows.
5864 * The path that's expanded
5868 // void (*GtkTreeViewMappingFunc) (GtkTreeView *tree_view, GtkTreePath *path, gpointer user_data);
5869 public typedef extern(C
) void function (GtkTreeView
*, GtkTreePath
*, void*) GtkTreeViewMappingFunc
;
5872 * A function used for checking whether a row in model matches
5873 * a search key string entered by the user. Note the return value
5874 * is reversed from what you would normally expect, though it
5875 * has some similarity to strcmp() returning 0 for equal strings.
5877 * the GtkTreeModel being searched
5879 * the search column set by gtk_tree_view_set_search_column()
5881 * the key string to compare with
5883 * a GtkTreeIter pointing the row of model that should be compared
5886 * user data from gtk_tree_view_set_search_equal_func()
5888 * FALSE if the row matches, TRUE otherwise.
5890 // gboolean (*GtkTreeViewSearchEqualFunc) (GtkTreeModel *model, gint column, const gchar *key, GtkTreeIter *iter, gpointer search_data);
5891 public typedef extern(C
) int function (GtkTreeModel
*, int, char[], GtkTreeIter
*, void*) GtkTreeViewSearchEqualFunc
;
5898 // void (*GtkTreeViewSearchPositionFunc) (GtkTreeView *tree_view, GtkWidget *search_dialog, gpointer user_data);
5899 public typedef extern(C
) void function (GtkTreeView
*, GtkWidget
*, void*) GtkTreeViewSearchPositionFunc
;
5907 // void (*GtkTreeDestroyCountFunc) (GtkTreeView *tree_view, GtkTreePath *path, gint children, gpointer user_data);
5908 public typedef extern(C
) void function (GtkTreeView
*, GtkTreePath
*, int, void*) GtkTreeDestroyCountFunc
;
5911 * Function type for determining whether the row pointed to by iter should
5912 * be rendered as a separator. A common way to implement this is to have a
5913 * boolean column in the model, whose values the GtkTreeViewRowSeparatorFunc
5918 * a GtkTreeIter pointing at a row in model
5922 * TRUE if the row is a separator
5924 // gboolean (*GtkTreeViewRowSeparatorFunc) (GtkTreeModel *model, GtkTreeIter *iter, gpointer data);
5925 public typedef extern(C
) int function (GtkTreeModel
*, GtkTreeIter
*, void*) GtkTreeViewRowSeparatorFunc
;
5928 * A function used by gtk_icon_view_selected_foreach() to map all
5929 * selected rows. It will be called on every selected row in the view.
5933 * The GtkTreePath of a selected row
5937 // void (*GtkIconViewForeachFunc) (GtkIconView *icon_view, GtkTreePath *path, gpointer data);
5938 public typedef extern(C
) void function (GtkIconView
*, GtkTreePath
*, void*) GtkIconViewForeachFunc
;
5941 * A GtkTreeIterCompareFunc should return a negative integer, zero, or a positive
5942 * integer if a sorts before b, a sorts with b, or a sorts after b
5943 * respectively. If two iters compare as equal, their order in the sorted model
5944 * is undefined. In order to ensure that the GtkTreeSortable behaves as
5945 * expected, the GtkTreeIterCompareFunc must define a partial order on
5946 * the model, i.e. it must be reflexive, antisymmetric and transitive.
5947 * For example, if model is a product catalogue, then a compare function
5948 * for the "price" column could be one which returns
5949 * price_of(a) - price_of(b).
5951 * The GtkTreeModel the comparison is within
5953 * A GtkTreeIter in model
5955 * Another GtkTreeIter in model
5957 * Data passed when the compare func is assigned e.g. by
5958 * gtk_tree_sortable_set_sort_func()
5961 // gint (*GtkTreeIterCompareFunc) (GtkTreeModel *model, GtkTreeIter *a, GtkTreeIter *b, gpointer user_data);
5962 public typedef extern(C
) int function (GtkTreeModel
*, GtkTreeIter
*, GtkTreeIter
*, void*) GtkTreeIterCompareFunc
;
5965 * A function which decides whether the row indicated by iter is visible.
5967 * the child model of the GtkTreeModelFilter
5969 * a GtkTreeIter pointing to the row in model whose visibility
5972 * user data given to gtk_tree_model_filter_set_visible_func()
5974 * Whether the row indicated by iter is visible.
5976 // gboolean (*GtkTreeModelFilterVisibleFunc) (GtkTreeModel *model, GtkTreeIter *iter, gpointer data);
5977 public typedef extern(C
) int function (GtkTreeModel
*, GtkTreeIter
*, void*) GtkTreeModelFilterVisibleFunc
;
5980 * A function which calculates display values from raw values in the model.
5981 * It must fill value with the display value for the column column in the
5982 * row indicated by iter.
5983 * Since this function is called for each data access, it's not a
5984 * particularly efficient operation.
5986 * the GtkTreeModelFilter
5988 * a GtkTreeIter pointing to the row whose display values are determined
5990 * A GValue which is already initialized for with the correct type for
5991 * the column column.
5993 * the column whose display value is determined
5995 * user data given to gtk_tree_model_filter_set_modify_func()
5997 // void (*GtkTreeModelFilterModifyFunc) (GtkTreeModel *model, GtkTreeIter *iter, GValue *value, gint column, gpointer data);
5998 public typedef extern(C
) void function (GtkTreeModel
*, GtkTreeIter
*, GValue
*, int, void*) GtkTreeModelFilterModifyFunc
;
6001 * A function which should set the value of cell_layout's cell renderer(s)
6006 * the cell renderer whose value is to be set
6010 * a GtkTreeIter indicating the row to set the value for
6012 * user data passed to gtk_cell_layout_set_cell_data_func()
6014 // void (*GtkCellLayoutDataFunc) (GtkCellLayout *cell_layout, GtkCellRenderer *cell, GtkTreeModel *tree_model, GtkTreeIter *iter, gpointer data);
6015 public typedef extern(C
) void function (GtkCellLayout
*, GtkCellRenderer
*, GtkTreeModel
*, GtkTreeIter
*, void*) GtkCellLayoutDataFunc
;
6018 * A user function supplied when calling gtk_menu_popup() which controls the
6019 * positioning of the menu when it is displayed. The function sets the x
6020 * and y parameters to the coordinates where the menu is to be drawn.
6024 * address of the gint representing the horizontal position where the
6025 * menu shall be drawn. This is an output parameter.
6027 * address of the gint representing the vertical position where the
6028 * menu shall be drawn. This is an output parameter.
6030 * whether the menu should be pushed in to be completely inside the
6031 * screen instead of just clamped to the size to the screen.
6033 * the data supplied by the user in the gtk_menu_popup() data
6036 // void (*GtkMenuPositionFunc) (GtkMenu *menu, gint *x, gint *y, gboolean *push_in, gpointer user_data);
6037 public typedef extern(C
) void function (GtkMenu
*, gint
*, gint
*, gboolean
*, void*) GtkMenuPositionFunc
;
6040 * A user function supplied when calling gtk_menu_attach_to_widget() which
6041 * will be called when the menu is later detached from the widget.
6043 * the GtkWidget that the menu is being detached from.
6045 * the GtkMenu being detached.
6047 // void (*GtkMenuDetachFunc) (GtkWidget *attach_widget, GtkMenu *menu);
6048 public typedef extern(C
) void function (GtkWidget
*, GtkMenu
*) GtkMenuDetachFunc
;
6054 // void (*GtkColorSelectionChangePaletteFunc) (const GdkColor *colors, gint n_colors);
6055 public typedef extern(C
) void function (GdkColor
*, int) GtkColorSelectionChangePaletteFunc
;
6063 // void (*GtkColorSelectionChangePaletteWithScreenFunc) (GdkScreen *screen, const GdkColor *colors, gint n_colors);
6064 public typedef extern(C
) void function (GdkScreen
*, GdkColor
*, int) GtkColorSelectionChangePaletteWithScreenFunc
;
6067 * The type of function that is used with custom filters,
6068 * see gtk_file_filter_add_custom().
6070 * a GtkFileFilterInfo that is filled according
6071 * to the needed flags passed to gtk_file_filter_add_custom()
6073 * user data passed to gtk_file_filter_add_custom()
6075 * TRUE if the file should be displayed
6077 // gboolean (*GtkFileFilterFunc) (const GtkFileFilterInfo *filter_info, gpointer data);
6078 public typedef extern(C
) int function (GtkFileFilterInfo
*, void*) GtkFileFilterFunc
;
6081 * A function used by GtkNotebook when a detachable tab is dropped
6082 * in the root window, it's used to create a window containing a notebook
6083 * where the tab will be attached. This function will also be responsible
6084 * of moving/resizing the window and adding the necessary properties to
6085 * the notebook (i.e.: group-id).
6086 * If the function returns NULL, the drag will be cancelled.
6088 * The source GtkNotebook of the drag operation
6090 * the child GtkWidget affected
6092 * the X coordinate where the drop happens
6094 * the Y coordinate where the drop happens
6098 * The created GtkNotebook where the tab will be attached, or NULL to cancel the drag
6100 // GtkNotebook* (*GtkNotebookWindowCreationFunc) (GtkNotebook *source, GtkWidget *page, gint x, gint y, gpointer data);
6101 public typedef extern(C
) GtkNotebook
* function (GtkNotebook
*, GtkWidget
*, int, int, void*) GtkNotebookWindowCreationFunc
;
6104 * The type of the callback functions used for e.g. iterating over
6105 * the children of a container, see gtk_container_foreach().
6107 * the widget to operate on
6109 * user-supplied data
6111 // void (*GtkCallback) (GtkWidget *widget, gpointer data);
6112 public typedef extern(C
) void function (GtkWidget
*, void*) GtkCallback
;
6116 * GtkPrintFunc is deprecated and should not be used in newly-written code.
6120 // void (*GtkPrintFunc) (gpointer func_data, const gchar *str);
6121 public typedef extern(C
) void function (void*, char[]) GtkPrintFunc
;
6124 * The function used to translate messages in e.g. GtkIconFactory
6125 * and GtkActionGroup.
6127 * The id of the message. In GtkItemFactory this will be a path
6128 * from a GtkItemFactoryEntry, in GtkActionGroup, it will be a label
6129 * or tooltip from a GtkActionEntry.
6131 * user data passed in when registering the function
6133 * the translated message
6135 // gchar* (*GtkTranslateFunc) (const gchar *path, gpointer func_data);
6136 public typedef extern(C
) char* function (char[], void*) GtkTranslateFunc
;
6140 * GtkItemFactoryCallback is deprecated and should not be used in newly-written code.
6142 // void (*GtkItemFactoryCallback) ();
6143 public typedef extern(C
) void function () GtkItemFactoryCallback
;
6147 * GtkItemFactoryCallback1 is deprecated and should not be used in newly-written code.
6152 // void (*GtkItemFactoryCallback1) (gpointer callback_data, guint callback_action, GtkWidget *widget);
6153 public typedef extern(C
) void function (void*, uint, GtkWidget
*) GtkItemFactoryCallback1
;
6157 * GtkItemFactoryCallback2 is deprecated and should not be used in newly-written code.
6162 // void (*GtkItemFactoryCallback2) (GtkWidget *widget, gpointer callback_data, guint callback_action);
6163 public typedef extern(C
) void function (GtkWidget
*, void*, uint) GtkItemFactoryCallback2
;
6192 * The "Cancel" item.
6197 * The "CD-Rom" item.
6212 * The "Color Picker" item.
6218 * The "Convert" item.
6223 * The "Connect" icon.
6239 * The "Delete" item.
6249 * The "Information" item.
6254 * The "Question" item.
6259 * The "Warning" item.
6264 * The "Directory" icon.
6270 * The "Disconnect" icon.
6276 * The "Drag-And-Drop" icon.
6281 * The "Drag-And-Drop multiple" icon.
6292 * The "Execute" item.
6308 * The "Find and Replace" item.
6313 * The "Floppy" item.
6318 * The "Fullscreen" item.
6324 * The "Bottom" item.
6357 * The "Forward" item.
6368 * The "Harddisk" item.
6384 * The "Indent" item.
6402 * The "Italic" item.
6407 * The "Jump to" item.
6413 * The "Center" item.
6433 * The "Leave Fullscreen" item.
6439 * The "Media Forward" item.
6446 * The "Media Next" item.
6453 * The "Media Pause" item.
6459 * The "Media Play" item.
6466 * The "Media Previous" item.
6473 * The "Media Record" item.
6479 * The "Media Rewind" item.
6486 * The "Media Stop" item.
6492 * The "Missing image" icon.
6497 * The "Network" item.
6523 * The "Landscape Orientation" item.
6526 ORIENTATION_LANDSCAPE
,
6529 * The "Portrait Orientation" item.
6532 ORIENTATION_PORTRAIT
,
6535 * The "Reverse Landscape Orientation" item.
6538 ORIENTATION_REVERSE_LANDSCAPE
,
6541 * The "Reverse Portrait Orientation" item.
6544 ORIENTATION_REVERSE_PORTRAIT
,
6552 * The "Preferences" item.
6562 * The "Print Preview" item.
6567 * The "Properties" item.
6583 * The "Refresh" item.
6588 * The "Remove" item.
6593 * The "Revert" item.
6604 * The "Save As" item.
6609 * The "Select All" item.
6625 * The "Ascending" item.
6630 * The "Descending" item.
6635 * The "Spell Check" item.
6645 * The "Strikethrough" item.
6650 * The "Undelete" item.
6656 * The "Underline" item.
6667 * The "Unindent" item.
6679 * The "Zoom 100%" item.
6684 * The "Zoom to Fit" item.
6689 * The "Zoom In" item.
6694 * The "Zoom Out" item.
6701 char[][] StockDesc
=
6718 "gtk-dialog-question",
6719 "gtk-dialog-warning",
6728 "gtk-find-and-replace",
6747 "gtk-justify-center",
6750 "gtk-justify-right",
6751 "gtk-leave-fullscreen",
6752 "gtk-media-forward",
6756 "gtk-media-previous",
6760 "gtk-missing-image",
6766 "gtk-orientation-landscape",
6767 "gtk-orientation-portrait",
6768 "gtk-orientation-reverse-landscape",
6769 "gtk-orientation-reverse-portrait",
6773 "gtk-print-preview",
6779 "gtk-revert-to-saved",
6785 "gtk-sort-ascending",
6786 "gtk-sort-descending",
6789 "gtk-strikethrough",