source: trunk/third/gtk/gtk/gtk.defs @ 14482

Revision 14482, 51.5 KB checked in by ghudson, 24 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r14481, which included commits to RCS files with non-trunk default branches.
Line 
1;; generated by makeenums.pl  ; -*- scheme -*-
2
3
4; enumerations from "gtkaccelgroup.h"
5
6(define-flags GtkAccelFlags
7   (visible GTK_ACCEL_VISIBLE)
8   (signal-visible GTK_ACCEL_SIGNAL_VISIBLE)
9   (locked GTK_ACCEL_LOCKED)
10   (mask GTK_ACCEL_MASK))
11
12; enumerations from "gtkcalendar.h"
13
14(define-flags GtkCalendarDisplayOptions
15   (show-heading GTK_CALENDAR_SHOW_HEADING)
16   (show-day-names GTK_CALENDAR_SHOW_DAY_NAMES)
17   (no-month-change GTK_CALENDAR_NO_MONTH_CHANGE)
18   (show-week-numbers GTK_CALENDAR_SHOW_WEEK_NUMBERS)
19   (week-start-monday GTK_CALENDAR_WEEK_START_MONDAY))
20
21; enumerations from "gtkclist.h"
22
23(define-enum GtkCellType
24   (empty GTK_CELL_EMPTY)
25   (text GTK_CELL_TEXT)
26   (pixmap GTK_CELL_PIXMAP)
27   (pixtext GTK_CELL_PIXTEXT)
28   (widget GTK_CELL_WIDGET))
29
30(define-enum GtkCListDragPos
31   (none GTK_CLIST_DRAG_NONE)
32   (before GTK_CLIST_DRAG_BEFORE)
33   (into GTK_CLIST_DRAG_INTO)
34   (after GTK_CLIST_DRAG_AFTER))
35
36(define-flags GtkButtonAction
37   (ignored GTK_BUTTON_IGNORED)
38   (selects GTK_BUTTON_SELECTS)
39   (drags GTK_BUTTON_DRAGS)
40   (expands GTK_BUTTON_EXPANDS))
41
42; enumerations from "gtkctree.h"
43
44(define-enum GtkCTreePos
45   (before GTK_CTREE_POS_BEFORE)
46   (as-child GTK_CTREE_POS_AS_CHILD)
47   (after GTK_CTREE_POS_AFTER))
48
49(define-enum GtkCTreeLineStyle
50   (none GTK_CTREE_LINES_NONE)
51   (solid GTK_CTREE_LINES_SOLID)
52   (dotted GTK_CTREE_LINES_DOTTED)
53   (tabbed GTK_CTREE_LINES_TABBED))
54
55(define-enum GtkCTreeExpanderStyle
56   (none GTK_CTREE_EXPANDER_NONE)
57   (square GTK_CTREE_EXPANDER_SQUARE)
58   (triangle GTK_CTREE_EXPANDER_TRIANGLE)
59   (circular GTK_CTREE_EXPANDER_CIRCULAR))
60
61(define-enum GtkCTreeExpansionType
62   (expand GTK_CTREE_EXPANSION_EXPAND)
63   (expand-recursive GTK_CTREE_EXPANSION_EXPAND_RECURSIVE)
64   (collapse GTK_CTREE_EXPANSION_COLLAPSE)
65   (collapse-recursive GTK_CTREE_EXPANSION_COLLAPSE_RECURSIVE)
66   (toggle GTK_CTREE_EXPANSION_TOGGLE)
67   (toggle-recursive GTK_CTREE_EXPANSION_TOGGLE_RECURSIVE))
68
69; enumerations from "gtkdebug.h"
70
71(define-flags GtkDebugFlag
72   (objects GTK_DEBUG_OBJECTS)
73   (misc GTK_DEBUG_MISC)
74   (signals GTK_DEBUG_SIGNALS)
75   (dnd GTK_DEBUG_DND)
76   (plugsocket GTK_DEBUG_PLUGSOCKET))
77
78; enumerations from "gtkdnd.h"
79
80(define-flags GtkDestDefaults
81   (motion GTK_DEST_DEFAULT_MOTION)
82   (highlight GTK_DEST_DEFAULT_HIGHLIGHT)
83   (drop GTK_DEST_DEFAULT_DROP)
84   (all GTK_DEST_DEFAULT_ALL))
85
86(define-flags GtkTargetFlags
87   (same-app GTK_TARGET_SAME_APP)
88   (same-widget GTK_TARGET_SAME_WIDGET))
89
90; enumerations from "gtkenums.h"
91
92(define-enum GtkArrowType
93   (up GTK_ARROW_UP)
94   (down GTK_ARROW_DOWN)
95   (left GTK_ARROW_LEFT)
96   (right GTK_ARROW_RIGHT))
97
98(define-flags GtkAttachOptions
99   (expand GTK_EXPAND)
100   (shrink GTK_SHRINK)
101   (fill GTK_FILL))
102
103(define-enum GtkButtonBoxStyle
104   (default-style GTK_BUTTONBOX_DEFAULT_STYLE)
105   (spread GTK_BUTTONBOX_SPREAD)
106   (edge GTK_BUTTONBOX_EDGE)
107   (start GTK_BUTTONBOX_START)
108   (end GTK_BUTTONBOX_END))
109
110(define-enum GtkCurveType
111   (linear GTK_CURVE_TYPE_LINEAR)
112   (spline GTK_CURVE_TYPE_SPLINE)
113   (free GTK_CURVE_TYPE_FREE))
114
115(define-enum GtkDirectionType
116   (tab-forward GTK_DIR_TAB_FORWARD)
117   (tab-backward GTK_DIR_TAB_BACKWARD)
118   (up GTK_DIR_UP)
119   (down GTK_DIR_DOWN)
120   (left GTK_DIR_LEFT)
121   (right GTK_DIR_RIGHT))
122
123(define-enum GtkJustification
124   (left GTK_JUSTIFY_LEFT)
125   (right GTK_JUSTIFY_RIGHT)
126   (center GTK_JUSTIFY_CENTER)
127   (fill GTK_JUSTIFY_FILL))
128
129(define-enum GtkMatchType
130   (all GTK_MATCH_ALL)
131   (all-tail GTK_MATCH_ALL_TAIL)
132   (head GTK_MATCH_HEAD)
133   (tail GTK_MATCH_TAIL)
134   (exact GTK_MATCH_EXACT)
135   (last GTK_MATCH_LAST))
136
137(define-enum GtkMenuDirectionType
138   (parent GTK_MENU_DIR_PARENT)
139   (child GTK_MENU_DIR_CHILD)
140   (next GTK_MENU_DIR_NEXT)
141   (prev GTK_MENU_DIR_PREV))
142
143(define-enum GtkMenuFactoryType
144   (menu GTK_MENU_FACTORY_MENU)
145   (menu-bar GTK_MENU_FACTORY_MENU_BAR)
146   (option-menu GTK_MENU_FACTORY_OPTION_MENU))
147
148(define-enum GtkMetricType
149   (pixels GTK_PIXELS)
150   (inches GTK_INCHES)
151   (centimeters GTK_CENTIMETERS))
152
153(define-enum GtkOrientation
154   (horizontal GTK_ORIENTATION_HORIZONTAL)
155   (vertical GTK_ORIENTATION_VERTICAL))
156
157(define-enum GtkCornerType
158   (top-left GTK_CORNER_TOP_LEFT)
159   (bottom-left GTK_CORNER_BOTTOM_LEFT)
160   (top-right GTK_CORNER_TOP_RIGHT)
161   (bottom-right GTK_CORNER_BOTTOM_RIGHT))
162
163(define-enum GtkPackType
164   (start GTK_PACK_START)
165   (end GTK_PACK_END))
166
167(define-enum GtkPathPriorityType
168   (lowest GTK_PATH_PRIO_LOWEST)
169   (gtk GTK_PATH_PRIO_GTK)
170   (application GTK_PATH_PRIO_APPLICATION)
171   (rc GTK_PATH_PRIO_RC)
172   (highest GTK_PATH_PRIO_HIGHEST)
173   (mask GTK_PATH_PRIO_MASK))
174
175(define-enum GtkPathType
176   (widget GTK_PATH_WIDGET)
177   (widget-class GTK_PATH_WIDGET_CLASS)
178   (class GTK_PATH_CLASS))
179
180(define-enum GtkPolicyType
181   (always GTK_POLICY_ALWAYS)
182   (automatic GTK_POLICY_AUTOMATIC)
183   (never GTK_POLICY_NEVER))
184
185(define-enum GtkPositionType
186   (left GTK_POS_LEFT)
187   (right GTK_POS_RIGHT)
188   (top GTK_POS_TOP)
189   (bottom GTK_POS_BOTTOM))
190
191(define-enum GtkPreviewType
192   (color GTK_PREVIEW_COLOR)
193   (grayscale GTK_PREVIEW_GRAYSCALE))
194
195(define-enum GtkReliefStyle
196   (normal GTK_RELIEF_NORMAL)
197   (half GTK_RELIEF_HALF)
198   (none GTK_RELIEF_NONE))
199
200(define-enum GtkResizeMode
201   (parent GTK_RESIZE_PARENT)
202   (queue GTK_RESIZE_QUEUE)
203   (immediate GTK_RESIZE_IMMEDIATE))
204
205(define-flags GtkSignalRunType
206   (first GTK_RUN_FIRST)
207   (last GTK_RUN_LAST)
208   (both GTK_RUN_BOTH)
209   (no-recurse GTK_RUN_NO_RECURSE)
210   (action GTK_RUN_ACTION)
211   (no-hooks GTK_RUN_NO_HOOKS))
212
213(define-enum GtkScrollType
214   (none GTK_SCROLL_NONE)
215   (step-backward GTK_SCROLL_STEP_BACKWARD)
216   (step-forward GTK_SCROLL_STEP_FORWARD)
217   (page-backward GTK_SCROLL_PAGE_BACKWARD)
218   (page-forward GTK_SCROLL_PAGE_FORWARD)
219   (jump GTK_SCROLL_JUMP))
220
221(define-enum GtkSelectionMode
222   (single GTK_SELECTION_SINGLE)
223   (browse GTK_SELECTION_BROWSE)
224   (multiple GTK_SELECTION_MULTIPLE)
225   (extended GTK_SELECTION_EXTENDED))
226
227(define-enum GtkShadowType
228   (none GTK_SHADOW_NONE)
229   (in GTK_SHADOW_IN)
230   (out GTK_SHADOW_OUT)
231   (etched-in GTK_SHADOW_ETCHED_IN)
232   (etched-out GTK_SHADOW_ETCHED_OUT))
233
234(define-enum GtkStateType
235   (normal GTK_STATE_NORMAL)
236   (active GTK_STATE_ACTIVE)
237   (prelight GTK_STATE_PRELIGHT)
238   (selected GTK_STATE_SELECTED)
239   (insensitive GTK_STATE_INSENSITIVE))
240
241(define-enum GtkSubmenuDirection
242   (left GTK_DIRECTION_LEFT)
243   (right GTK_DIRECTION_RIGHT))
244
245(define-enum GtkSubmenuPlacement
246   (top-bottom GTK_TOP_BOTTOM)
247   (left-right GTK_LEFT_RIGHT))
248
249(define-enum GtkToolbarStyle
250   (icons GTK_TOOLBAR_ICONS)
251   (text GTK_TOOLBAR_TEXT)
252   (both GTK_TOOLBAR_BOTH))
253
254(define-enum GtkTroughType
255   (none GTK_TROUGH_NONE)
256   (start GTK_TROUGH_START)
257   (end GTK_TROUGH_END)
258   (jump GTK_TROUGH_JUMP))
259
260(define-enum GtkUpdateType
261   (continuous GTK_UPDATE_CONTINUOUS)
262   (discontinuous GTK_UPDATE_DISCONTINUOUS)
263   (delayed GTK_UPDATE_DELAYED))
264
265(define-enum GtkVisibility
266   (none GTK_VISIBILITY_NONE)
267   (partial GTK_VISIBILITY_PARTIAL)
268   (full GTK_VISIBILITY_FULL))
269
270(define-enum GtkWindowPosition
271   (none GTK_WIN_POS_NONE)
272   (center GTK_WIN_POS_CENTER)
273   (mouse GTK_WIN_POS_MOUSE)
274   (center-always GTK_WIN_POS_CENTER_ALWAYS))
275
276(define-enum GtkWindowType
277   (toplevel GTK_WINDOW_TOPLEVEL)
278   (dialog GTK_WINDOW_DIALOG)
279   (popup GTK_WINDOW_POPUP))
280
281(define-enum GtkSortType
282   (ascending GTK_SORT_ASCENDING)
283   (descending GTK_SORT_DESCENDING))
284
285; enumerations from "gtkfontsel.h"
286
287(define-enum GtkFontMetricType
288   (pixels GTK_FONT_METRIC_PIXELS)
289   (points GTK_FONT_METRIC_POINTS))
290
291(define-flags GtkFontType
292   (bitmap GTK_FONT_BITMAP)
293   (scalable GTK_FONT_SCALABLE)
294   (scalable-bitmap GTK_FONT_SCALABLE_BITMAP)
295   (all GTK_FONT_ALL))
296
297(define-enum GtkFontFilterType
298   (base GTK_FONT_FILTER_BASE)
299   (user GTK_FONT_FILTER_USER))
300
301; enumerations from "gtkobject.h"
302
303(define-flags GtkObjectFlags
304   (destroyed GTK_DESTROYED)
305   (floating GTK_FLOATING)
306   (connected GTK_CONNECTED)
307   (constructed GTK_CONSTRUCTED))
308
309(define-flags GtkArgFlags
310   (readable GTK_ARG_READABLE)
311   (writable GTK_ARG_WRITABLE)
312   (construct GTK_ARG_CONSTRUCT)
313   (construct-only GTK_ARG_CONSTRUCT_ONLY)
314   (child-arg GTK_ARG_CHILD_ARG)
315   (mask GTK_ARG_MASK)
316   (readwrite GTK_ARG_READWRITE))
317
318; enumerations from "gtkpacker.h"
319
320(define-flags GtkPackerOptions
321   (expand GTK_PACK_EXPAND)
322   (fill-x GTK_FILL_X)
323   (fill-y GTK_FILL_Y))
324
325(define-enum GtkSideType
326   (top GTK_SIDE_TOP)
327   (bottom GTK_SIDE_BOTTOM)
328   (left GTK_SIDE_LEFT)
329   (right GTK_SIDE_RIGHT))
330
331(define-enum GtkAnchorType
332   (center GTK_ANCHOR_CENTER)
333   (north GTK_ANCHOR_NORTH)
334   (north-west GTK_ANCHOR_NORTH_WEST)
335   (north-east GTK_ANCHOR_NORTH_EAST)
336   (south GTK_ANCHOR_SOUTH)
337   (south-west GTK_ANCHOR_SOUTH_WEST)
338   (south-east GTK_ANCHOR_SOUTH_EAST)
339   (west GTK_ANCHOR_WEST)
340   (east GTK_ANCHOR_EAST)
341   (n GTK_ANCHOR_N)
342   (nw GTK_ANCHOR_NW)
343   (ne GTK_ANCHOR_NE)
344   (s GTK_ANCHOR_S)
345   (sw GTK_ANCHOR_SW)
346   (se GTK_ANCHOR_SE)
347   (w GTK_ANCHOR_W)
348   (e GTK_ANCHOR_E))
349
350; enumerations from "gtkprivate.h"
351
352(define-flags GtkPrivateFlags
353   (user-style PRIVATE_GTK_USER_STYLE)
354   (redraw-pending PRIVATE_GTK_REDRAW_PENDING)
355   (resize-pending PRIVATE_GTK_RESIZE_PENDING)
356   (resize-needed PRIVATE_GTK_RESIZE_NEEDED)
357   (leave-pending PRIVATE_GTK_LEAVE_PENDING)
358   (has-shape-mask PRIVATE_GTK_HAS_SHAPE_MASK)
359   (in-reparent PRIVATE_GTK_IN_REPARENT)
360   (is-offscreen PRIVATE_GTK_IS_OFFSCREEN)
361   (fulldraw-pending PRIVATE_GTK_FULLDRAW_PENDING))
362
363; enumerations from "gtkprogressbar.h"
364
365(define-enum GtkProgressBarStyle
366   (continuous GTK_PROGRESS_CONTINUOUS)
367   (discrete GTK_PROGRESS_DISCRETE))
368
369(define-enum GtkProgressBarOrientation
370   (left-to-right GTK_PROGRESS_LEFT_TO_RIGHT)
371   (right-to-left GTK_PROGRESS_RIGHT_TO_LEFT)
372   (bottom-to-top GTK_PROGRESS_BOTTOM_TO_TOP)
373   (top-to-bottom GTK_PROGRESS_TOP_TO_BOTTOM))
374
375; enumerations from "gtkrc.h"
376
377(define-flags GtkRcFlags
378   (fg GTK_RC_FG)
379   (bg GTK_RC_BG)
380   (text GTK_RC_TEXT)
381   (base GTK_RC_BASE))
382
383(define-enum GtkRcTokenType
384   (invalid GTK_RC_TOKEN_INVALID)
385   (include GTK_RC_TOKEN_INCLUDE)
386   (normal GTK_RC_TOKEN_NORMAL)
387   (active GTK_RC_TOKEN_ACTIVE)
388   (prelight GTK_RC_TOKEN_PRELIGHT)
389   (selected GTK_RC_TOKEN_SELECTED)
390   (insensitive GTK_RC_TOKEN_INSENSITIVE)
391   (fg GTK_RC_TOKEN_FG)
392   (bg GTK_RC_TOKEN_BG)
393   (base GTK_RC_TOKEN_BASE)
394   (text GTK_RC_TOKEN_TEXT)
395   (font GTK_RC_TOKEN_FONT)
396   (fontset GTK_RC_TOKEN_FONTSET)
397   (bg-pixmap GTK_RC_TOKEN_BG_PIXMAP)
398   (pixmap-path GTK_RC_TOKEN_PIXMAP_PATH)
399   (style GTK_RC_TOKEN_STYLE)
400   (binding GTK_RC_TOKEN_BINDING)
401   (bind GTK_RC_TOKEN_BIND)
402   (widget GTK_RC_TOKEN_WIDGET)
403   (widget-class GTK_RC_TOKEN_WIDGET_CLASS)
404   (class GTK_RC_TOKEN_CLASS)
405   (lowest GTK_RC_TOKEN_LOWEST)
406   (gtk GTK_RC_TOKEN_GTK)
407   (application GTK_RC_TOKEN_APPLICATION)
408   (rc GTK_RC_TOKEN_RC)
409   (highest GTK_RC_TOKEN_HIGHEST)
410   (engine GTK_RC_TOKEN_ENGINE)
411   (module-path GTK_RC_TOKEN_MODULE_PATH)
412   (last GTK_RC_TOKEN_LAST))
413
414; enumerations from "gtkspinbutton.h"
415
416(define-enum GtkSpinButtonUpdatePolicy
417   (always GTK_UPDATE_ALWAYS)
418   (if-valid GTK_UPDATE_IF_VALID))
419
420(define-enum GtkSpinType
421   (step-forward GTK_SPIN_STEP_FORWARD)
422   (step-backward GTK_SPIN_STEP_BACKWARD)
423   (page-forward GTK_SPIN_PAGE_FORWARD)
424   (page-backward GTK_SPIN_PAGE_BACKWARD)
425   (home GTK_SPIN_HOME)
426   (end GTK_SPIN_END)
427   (user-defined GTK_SPIN_USER_DEFINED))
428
429; enumerations from "gtktoolbar.h"
430
431(define-enum GtkToolbarChildType
432   (space GTK_TOOLBAR_CHILD_SPACE)
433   (button GTK_TOOLBAR_CHILD_BUTTON)
434   (togglebutton GTK_TOOLBAR_CHILD_TOGGLEBUTTON)
435   (radiobutton GTK_TOOLBAR_CHILD_RADIOBUTTON)
436   (widget GTK_TOOLBAR_CHILD_WIDGET))
437
438(define-enum GtkToolbarSpaceStyle
439   (empty GTK_TOOLBAR_SPACE_EMPTY)
440   (line GTK_TOOLBAR_SPACE_LINE))
441
442; enumerations from "gtktree.h"
443
444(define-enum GtkTreeViewMode
445   (line GTK_TREE_VIEW_LINE)
446   (item GTK_TREE_VIEW_ITEM))
447
448; enumerations from "gtktypeutils.h"
449
450(define-enum GtkFundamentalType
451   (invalid GTK_TYPE_INVALID)
452   (none GTK_TYPE_NONE)
453   (char GTK_TYPE_CHAR)
454   (uchar GTK_TYPE_UCHAR)
455   (bool GTK_TYPE_BOOL)
456   (int GTK_TYPE_INT)
457   (uint GTK_TYPE_UINT)
458   (long GTK_TYPE_LONG)
459   (ulong GTK_TYPE_ULONG)
460   (float GTK_TYPE_FLOAT)
461   (double GTK_TYPE_DOUBLE)
462   (string GTK_TYPE_STRING)
463   (enum GTK_TYPE_ENUM)
464   (flags GTK_TYPE_FLAGS)
465   (boxed GTK_TYPE_BOXED)
466   (pointer GTK_TYPE_POINTER)
467   (signal GTK_TYPE_SIGNAL)
468   (args GTK_TYPE_ARGS)
469   (callback GTK_TYPE_CALLBACK)
470   (c-callback GTK_TYPE_C_CALLBACK)
471   (foreign GTK_TYPE_FOREIGN)
472   (object GTK_TYPE_OBJECT))
473
474; enumerations from "gtkwidget.h"
475
476(define-flags GtkWidgetFlags
477   (toplevel GTK_TOPLEVEL)
478   (no-window GTK_NO_WINDOW)
479   (realized GTK_REALIZED)
480   (mapped GTK_MAPPED)
481   (visible GTK_VISIBLE)
482   (sensitive GTK_SENSITIVE)
483   (parent-sensitive GTK_PARENT_SENSITIVE)
484   (can-focus GTK_CAN_FOCUS)
485   (has-focus GTK_HAS_FOCUS)
486   (can-default GTK_CAN_DEFAULT)
487   (has-default GTK_HAS_DEFAULT)
488   (has-grab GTK_HAS_GRAB)
489   (rc-style GTK_RC_STYLE)
490   (composite-child GTK_COMPOSITE_CHILD)
491   (no-reparent GTK_NO_REPARENT)
492   (app-paintable GTK_APP_PAINTABLE)
493   (receives-default GTK_RECEIVES_DEFAULT))
494
495; enumerations from "../gdk/gdktypes.h"
496
497(define-enum GdkWindowType
498   (root GDK_WINDOW_ROOT)
499   (toplevel GDK_WINDOW_TOPLEVEL)
500   (child GDK_WINDOW_CHILD)
501   (dialog GDK_WINDOW_DIALOG)
502   (temp GDK_WINDOW_TEMP)
503   (pixmap GDK_WINDOW_PIXMAP)
504   (foreign GDK_WINDOW_FOREIGN))
505
506(define-enum GdkWindowClass
507   (output GDK_INPUT_OUTPUT)
508   (only GDK_INPUT_ONLY))
509
510(define-enum GdkImageType
511   (normal GDK_IMAGE_NORMAL)
512   (shared GDK_IMAGE_SHARED)
513   (fastest GDK_IMAGE_FASTEST))
514
515(define-enum GdkVisualType
516   (static-gray GDK_VISUAL_STATIC_GRAY)
517   (grayscale GDK_VISUAL_GRAYSCALE)
518   (static-color GDK_VISUAL_STATIC_COLOR)
519   (pseudo-color GDK_VISUAL_PSEUDO_COLOR)
520   (true-color GDK_VISUAL_TRUE_COLOR)
521   (direct-color GDK_VISUAL_DIRECT_COLOR))
522
523(define-enum GdkFontType
524   (font GDK_FONT_FONT)
525   (fontset GDK_FONT_FONTSET))
526
527(define-flags GdkWindowAttributesType
528   (title GDK_WA_TITLE)
529   (x GDK_WA_X)
530   (y GDK_WA_Y)
531   (cursor GDK_WA_CURSOR)
532   (colormap GDK_WA_COLORMAP)
533   (visual GDK_WA_VISUAL)
534   (wmclass GDK_WA_WMCLASS)
535   (noredir GDK_WA_NOREDIR))
536
537(define-flags GdkWindowHints
538   (pos GDK_HINT_POS)
539   (min-size GDK_HINT_MIN_SIZE)
540   (max-size GDK_HINT_MAX_SIZE)
541   (base-size GDK_HINT_BASE_SIZE)
542   (aspect GDK_HINT_ASPECT)
543   (resize-inc GDK_HINT_RESIZE_INC))
544
545(define-enum GdkFunction
546   (copy GDK_COPY)
547   (invert GDK_INVERT)
548   (xor GDK_XOR)
549   (clear GDK_CLEAR)
550   (and GDK_AND)
551   (and-reverse GDK_AND_REVERSE)
552   (and-invert GDK_AND_INVERT)
553   (noop GDK_NOOP)
554   (or GDK_OR)
555   (equiv GDK_EQUIV)
556   (or-reverse GDK_OR_REVERSE)
557   (copy-invert GDK_COPY_INVERT)
558   (or-invert GDK_OR_INVERT)
559   (nand GDK_NAND)
560   (set GDK_SET))
561
562(define-enum GdkFill
563   (solid GDK_SOLID)
564   (tiled GDK_TILED)
565   (stippled GDK_STIPPLED)
566   (opaque-stippled GDK_OPAQUE_STIPPLED))
567
568(define-enum GdkFillRule
569   (even-odd-rule GDK_EVEN_ODD_RULE)
570   (winding-rule GDK_WINDING_RULE))
571
572(define-enum GdkLineStyle
573   (solid GDK_LINE_SOLID)
574   (on-off-dash GDK_LINE_ON_OFF_DASH)
575   (double-dash GDK_LINE_DOUBLE_DASH))
576
577(define-enum GdkCapStyle
578   (not-last GDK_CAP_NOT_LAST)
579   (butt GDK_CAP_BUTT)
580   (round GDK_CAP_ROUND)
581   (projecting GDK_CAP_PROJECTING))
582
583(define-enum GdkJoinStyle
584   (miter GDK_JOIN_MITER)
585   (round GDK_JOIN_ROUND)
586   (bevel GDK_JOIN_BEVEL))
587
588(define-enum GdkCursorType
589   (num-glyphs GDK_NUM_GLYPHS)
590   (x-cursor GDK_X_CURSOR)
591   (arrow GDK_ARROW)
592   (based-arrow-down GDK_BASED_ARROW_DOWN)
593   (based-arrow-up GDK_BASED_ARROW_UP)
594   (boat GDK_BOAT)
595   (bogosity GDK_BOGOSITY)
596   (bottom-left-corner GDK_BOTTOM_LEFT_CORNER)
597   (bottom-right-corner GDK_BOTTOM_RIGHT_CORNER)
598   (bottom-side GDK_BOTTOM_SIDE)
599   (bottom-tee GDK_BOTTOM_TEE)
600   (box-spiral GDK_BOX_SPIRAL)
601   (center-ptr GDK_CENTER_PTR)
602   (circle GDK_CIRCLE)
603   (clock GDK_CLOCK)
604   (coffee-mug GDK_COFFEE_MUG)
605   (cross GDK_CROSS)
606   (cross-reverse GDK_CROSS_REVERSE)
607   (crosshair GDK_CROSSHAIR)
608   (diamond-cross GDK_DIAMOND_CROSS)
609   (dot GDK_DOT)
610   (dotbox GDK_DOTBOX)
611   (double-arrow GDK_DOUBLE_ARROW)
612   (draft-large GDK_DRAFT_LARGE)
613   (draft-small GDK_DRAFT_SMALL)
614   (draped-box GDK_DRAPED_BOX)
615   (exchange GDK_EXCHANGE)
616   (fleur GDK_FLEUR)
617   (gobbler GDK_GOBBLER)
618   (gumby GDK_GUMBY)
619   (hand1 GDK_HAND1)
620   (hand2 GDK_HAND2)
621   (heart GDK_HEART)
622   (icon GDK_ICON)
623   (iron-cross GDK_IRON_CROSS)
624   (left-ptr GDK_LEFT_PTR)
625   (left-side GDK_LEFT_SIDE)
626   (left-tee GDK_LEFT_TEE)
627   (leftbutton GDK_LEFTBUTTON)
628   (ll-angle GDK_LL_ANGLE)
629   (lr-angle GDK_LR_ANGLE)
630   (man GDK_MAN)
631   (middlebutton GDK_MIDDLEBUTTON)
632   (mouse GDK_MOUSE)
633   (pencil GDK_PENCIL)
634   (pirate GDK_PIRATE)
635   (plus GDK_PLUS)
636   (question-arrow GDK_QUESTION_ARROW)
637   (right-ptr GDK_RIGHT_PTR)
638   (right-side GDK_RIGHT_SIDE)
639   (right-tee GDK_RIGHT_TEE)
640   (rightbutton GDK_RIGHTBUTTON)
641   (rtl-logo GDK_RTL_LOGO)
642   (sailboat GDK_SAILBOAT)
643   (sb-down-arrow GDK_SB_DOWN_ARROW)
644   (sb-h-double-arrow GDK_SB_H_DOUBLE_ARROW)
645   (sb-left-arrow GDK_SB_LEFT_ARROW)
646   (sb-right-arrow GDK_SB_RIGHT_ARROW)
647   (sb-up-arrow GDK_SB_UP_ARROW)
648   (sb-v-double-arrow GDK_SB_V_DOUBLE_ARROW)
649   (shuttle GDK_SHUTTLE)
650   (sizing GDK_SIZING)
651   (spider GDK_SPIDER)
652   (spraycan GDK_SPRAYCAN)
653   (star GDK_STAR)
654   (target GDK_TARGET)
655   (tcross GDK_TCROSS)
656   (top-left-arrow GDK_TOP_LEFT_ARROW)
657   (top-left-corner GDK_TOP_LEFT_CORNER)
658   (top-right-corner GDK_TOP_RIGHT_CORNER)
659   (top-side GDK_TOP_SIDE)
660   (top-tee GDK_TOP_TEE)
661   (trek GDK_TREK)
662   (ul-angle GDK_UL_ANGLE)
663   (umbrella GDK_UMBRELLA)
664   (ur-angle GDK_UR_ANGLE)
665   (watch GDK_WATCH)
666   (xterm GDK_XTERM)
667   (last-cursor GDK_LAST_CURSOR)
668   (cursor-is-pixmap GDK_CURSOR_IS_PIXMAP))
669
670(define-enum GdkFilterReturn
671   (continue GDK_FILTER_CONTINUE)
672   (translate GDK_FILTER_TRANSLATE)
673   (remove GDK_FILTER_REMOVE))
674
675(define-enum GdkVisibilityState
676   (unobscured GDK_VISIBILITY_UNOBSCURED)
677   (partial GDK_VISIBILITY_PARTIAL)
678   (fully-obscured GDK_VISIBILITY_FULLY_OBSCURED))
679
680(define-enum GdkEventType
681   (nothing GDK_NOTHING)
682   (delete GDK_DELETE)
683   (destroy GDK_DESTROY)
684   (expose GDK_EXPOSE)
685   (motion-notify GDK_MOTION_NOTIFY)
686   (button-press GDK_BUTTON_PRESS)
687   (2button-press GDK_2BUTTON_PRESS)
688   (3button-press GDK_3BUTTON_PRESS)
689   (button-release GDK_BUTTON_RELEASE)
690   (key-press GDK_KEY_PRESS)
691   (key-release GDK_KEY_RELEASE)
692   (enter-notify GDK_ENTER_NOTIFY)
693   (leave-notify GDK_LEAVE_NOTIFY)
694   (focus-change GDK_FOCUS_CHANGE)
695   (configure GDK_CONFIGURE)
696   (map GDK_MAP)
697   (unmap GDK_UNMAP)
698   (property-notify GDK_PROPERTY_NOTIFY)
699   (selection-clear GDK_SELECTION_CLEAR)
700   (selection-request GDK_SELECTION_REQUEST)
701   (selection-notify GDK_SELECTION_NOTIFY)
702   (proximity-in GDK_PROXIMITY_IN)
703   (proximity-out GDK_PROXIMITY_OUT)
704   (drag-enter GDK_DRAG_ENTER)
705   (drag-leave GDK_DRAG_LEAVE)
706   (drag-motion GDK_DRAG_MOTION)
707   (drag-status GDK_DRAG_STATUS)
708   (drop-start GDK_DROP_START)
709   (drop-finished GDK_DROP_FINISHED)
710   (client-event GDK_CLIENT_EVENT)
711   (visibility-notify GDK_VISIBILITY_NOTIFY)
712   (no-expose GDK_NO_EXPOSE))
713
714(define-flags GdkEventMask
715   (exposure-mask GDK_EXPOSURE_MASK)
716   (pointer-motion-mask GDK_POINTER_MOTION_MASK)
717   (pointer-motion-hint-mask GDK_POINTER_MOTION_HINT_MASK)
718   (button-motion-mask GDK_BUTTON_MOTION_MASK)
719   (button1-motion-mask GDK_BUTTON1_MOTION_MASK)
720   (button2-motion-mask GDK_BUTTON2_MOTION_MASK)
721   (button3-motion-mask GDK_BUTTON3_MOTION_MASK)
722   (button-press-mask GDK_BUTTON_PRESS_MASK)
723   (button-release-mask GDK_BUTTON_RELEASE_MASK)
724   (key-press-mask GDK_KEY_PRESS_MASK)
725   (key-release-mask GDK_KEY_RELEASE_MASK)
726   (enter-notify-mask GDK_ENTER_NOTIFY_MASK)
727   (leave-notify-mask GDK_LEAVE_NOTIFY_MASK)
728   (focus-change-mask GDK_FOCUS_CHANGE_MASK)
729   (structure-mask GDK_STRUCTURE_MASK)
730   (property-change-mask GDK_PROPERTY_CHANGE_MASK)
731   (visibility-notify-mask GDK_VISIBILITY_NOTIFY_MASK)
732   (proximity-in-mask GDK_PROXIMITY_IN_MASK)
733   (proximity-out-mask GDK_PROXIMITY_OUT_MASK)
734   (substructure-mask GDK_SUBSTRUCTURE_MASK)
735   (all-events-mask GDK_ALL_EVENTS_MASK))
736
737(define-enum GdkNotifyType
738   (ancestor GDK_NOTIFY_ANCESTOR)
739   (virtual GDK_NOTIFY_VIRTUAL)
740   (inferior GDK_NOTIFY_INFERIOR)
741   (nonlinear GDK_NOTIFY_NONLINEAR)
742   (nonlinear-virtual GDK_NOTIFY_NONLINEAR_VIRTUAL)
743   (unknown GDK_NOTIFY_UNKNOWN))
744
745(define-enum GdkCrossingMode
746   (normal GDK_CROSSING_NORMAL)
747   (grab GDK_CROSSING_GRAB)
748   (ungrab GDK_CROSSING_UNGRAB))
749
750(define-flags GdkModifierType
751   (shift-mask GDK_SHIFT_MASK)
752   (lock-mask GDK_LOCK_MASK)
753   (control-mask GDK_CONTROL_MASK)
754   (mod1-mask GDK_MOD1_MASK)
755   (mod2-mask GDK_MOD2_MASK)
756   (mod3-mask GDK_MOD3_MASK)
757   (mod4-mask GDK_MOD4_MASK)
758   (mod5-mask GDK_MOD5_MASK)
759   (button1-mask GDK_BUTTON1_MASK)
760   (button2-mask GDK_BUTTON2_MASK)
761   (button3-mask GDK_BUTTON3_MASK)
762   (button4-mask GDK_BUTTON4_MASK)
763   (button5-mask GDK_BUTTON5_MASK)
764   (release-mask GDK_RELEASE_MASK)
765   (modifier-mask GDK_MODIFIER_MASK))
766
767(define-enum GdkSubwindowMode
768   (clip-by-children GDK_CLIP_BY_CHILDREN)
769   (include-inferiors GDK_INCLUDE_INFERIORS))
770
771(define-flags GdkInputCondition
772   (read GDK_INPUT_READ)
773   (write GDK_INPUT_WRITE)
774   (exception GDK_INPUT_EXCEPTION))
775
776(define-enum GdkStatus
777   (ok GDK_OK)
778   (error GDK_ERROR)
779   (error-param GDK_ERROR_PARAM)
780   (error-file GDK_ERROR_FILE)
781   (error-mem GDK_ERROR_MEM))
782
783(define-enum GdkByteOrder
784   (lsb-first GDK_LSB_FIRST)
785   (msb-first GDK_MSB_FIRST))
786
787(define-flags GdkGCValuesMask
788   (foreground GDK_GC_FOREGROUND)
789   (background GDK_GC_BACKGROUND)
790   (font GDK_GC_FONT)
791   (function GDK_GC_FUNCTION)
792   (fill GDK_GC_FILL)
793   (tile GDK_GC_TILE)
794   (stipple GDK_GC_STIPPLE)
795   (clip-mask GDK_GC_CLIP_MASK)
796   (subwindow GDK_GC_SUBWINDOW)
797   (ts-x-origin GDK_GC_TS_X_ORIGIN)
798   (ts-y-origin GDK_GC_TS_Y_ORIGIN)
799   (clip-x-origin GDK_GC_CLIP_X_ORIGIN)
800   (clip-y-origin GDK_GC_CLIP_Y_ORIGIN)
801   (exposures GDK_GC_EXPOSURES)
802   (line-width GDK_GC_LINE_WIDTH)
803   (line-style GDK_GC_LINE_STYLE)
804   (cap-style GDK_GC_CAP_STYLE)
805   (join-style GDK_GC_JOIN_STYLE))
806
807(define-enum GdkSelection
808   (primary GDK_SELECTION_PRIMARY)
809   (secondary GDK_SELECTION_SECONDARY))
810
811(define-enum GdkPropertyState
812   (new-value GDK_PROPERTY_NEW_VALUE)
813   (delete GDK_PROPERTY_DELETE))
814
815(define-enum GdkPropMode
816   (replace GDK_PROP_MODE_REPLACE)
817   (prepend GDK_PROP_MODE_PREPEND)
818   (append GDK_PROP_MODE_APPEND))
819
820(define-enum GdkInputSource
821   (mouse GDK_SOURCE_MOUSE)
822   (pen GDK_SOURCE_PEN)
823   (eraser GDK_SOURCE_ERASER)
824   (cursor GDK_SOURCE_CURSOR))
825
826(define-enum GdkInputMode
827   (disabled GDK_MODE_DISABLED)
828   (screen GDK_MODE_SCREEN)
829   (window GDK_MODE_WINDOW))
830
831(define-enum GdkAxisUse
832   (ignore GDK_AXIS_IGNORE)
833   (x GDK_AXIS_X)
834   (y GDK_AXIS_Y)
835   (pressure GDK_AXIS_PRESSURE)
836   (xtilt GDK_AXIS_XTILT)
837   (ytilt GDK_AXIS_YTILT)
838   (last GDK_AXIS_LAST))
839
840(define-enum GdkTarget
841   (bitmap GDK_TARGET_BITMAP)
842   (colormap GDK_TARGET_COLORMAP)
843   (drawable GDK_TARGET_DRAWABLE)
844   (pixmap GDK_TARGET_PIXMAP)
845   (string GDK_TARGET_STRING))
846
847(define-enum GdkSelectionType
848   (atom GDK_SELECTION_TYPE_ATOM)
849   (bitmap GDK_SELECTION_TYPE_BITMAP)
850   (colormap GDK_SELECTION_TYPE_COLORMAP)
851   (drawable GDK_SELECTION_TYPE_DRAWABLE)
852   (integer GDK_SELECTION_TYPE_INTEGER)
853   (pixmap GDK_SELECTION_TYPE_PIXMAP)
854   (window GDK_SELECTION_TYPE_WINDOW)
855   (string GDK_SELECTION_TYPE_STRING))
856
857(define-enum GdkExtensionMode
858   (none GDK_EXTENSION_EVENTS_NONE)
859   (all GDK_EXTENSION_EVENTS_ALL)
860   (cursor GDK_EXTENSION_EVENTS_CURSOR))
861
862(define-flags GdkIMStyle
863   (preedit-area GDK_IM_PREEDIT_AREA)
864   (preedit-callbacks GDK_IM_PREEDIT_CALLBACKS)
865   (preedit-position GDK_IM_PREEDIT_POSITION)
866   (preedit-nothing GDK_IM_PREEDIT_NOTHING)
867   (preedit-none GDK_IM_PREEDIT_NONE)
868   (preedit-mask GDK_IM_PREEDIT_MASK)
869   (status-area GDK_IM_STATUS_AREA)
870   (status-callbacks GDK_IM_STATUS_CALLBACKS)
871   (status-nothing GDK_IM_STATUS_NOTHING)
872   (status-none GDK_IM_STATUS_NONE)
873   (status-mask GDK_IM_STATUS_MASK))
874
875(define-flags GdkICAttributesType
876   (style GDK_IC_STYLE)
877   (client-window GDK_IC_CLIENT_WINDOW)
878   (focus-window GDK_IC_FOCUS_WINDOW)
879   (filter-events GDK_IC_FILTER_EVENTS)
880   (spot-location GDK_IC_SPOT_LOCATION)
881   (line-spacing GDK_IC_LINE_SPACING)
882   (cursor GDK_IC_CURSOR)
883   (preedit-fontset GDK_IC_PREEDIT_FONTSET)
884   (preedit-area GDK_IC_PREEDIT_AREA)
885   (preedit-area-needed GDK_IC_PREEDIT_AREA_NEEDED)
886   (preedit-foreground GDK_IC_PREEDIT_FOREGROUND)
887   (preedit-background GDK_IC_PREEDIT_BACKGROUND)
888   (preedit-pixmap GDK_IC_PREEDIT_PIXMAP)
889   (preedit-colormap GDK_IC_PREEDIT_COLORMAP)
890   (status-fontset GDK_IC_STATUS_FONTSET)
891   (status-area GDK_IC_STATUS_AREA)
892   (status-area-needed GDK_IC_STATUS_AREA_NEEDED)
893   (status-foreground GDK_IC_STATUS_FOREGROUND)
894   (status-background GDK_IC_STATUS_BACKGROUND)
895   (status-pixmap GDK_IC_STATUS_PIXMAP)
896   (status-colormap GDK_IC_STATUS_COLORMAP)
897   (all-req GDK_IC_ALL_REQ)
898   (client-window GDK_IC_CLIENT_WINDOW)
899   (preedit-area-req GDK_IC_PREEDIT_AREA_REQ)
900   (preedit-fontset GDK_IC_PREEDIT_FONTSET)
901   (preedit-position-req GDK_IC_PREEDIT_POSITION_REQ)
902   (preedit-fontset GDK_IC_PREEDIT_FONTSET)
903   (status-area-req GDK_IC_STATUS_AREA_REQ)
904   (status-fontset GDK_IC_STATUS_FONTSET))
905
906(define-flags GdkWMDecoration
907   (all GDK_DECOR_ALL)
908   (border GDK_DECOR_BORDER)
909   (resizeh GDK_DECOR_RESIZEH)
910   (title GDK_DECOR_TITLE)
911   (menu GDK_DECOR_MENU)
912   (minimize GDK_DECOR_MINIMIZE)
913   (maximize GDK_DECOR_MAXIMIZE))
914
915(define-flags GdkWMFunction
916   (all GDK_FUNC_ALL)
917   (resize GDK_FUNC_RESIZE)
918   (move GDK_FUNC_MOVE)
919   (minimize GDK_FUNC_MINIMIZE)
920   (maximize GDK_FUNC_MAXIMIZE)
921   (close GDK_FUNC_CLOSE))
922
923(define-enum GdkColorContextMode
924   (undefined GDK_CC_MODE_UNDEFINED)
925   (bw GDK_CC_MODE_BW)
926   (std-cmap GDK_CC_MODE_STD_CMAP)
927   (true GDK_CC_MODE_TRUE)
928   (my-gray GDK_CC_MODE_MY_GRAY)
929   (palette GDK_CC_MODE_PALETTE))
930
931(define-enum GdkOverlapType
932   (in GDK_OVERLAP_RECTANGLE_IN)
933   (out GDK_OVERLAP_RECTANGLE_OUT)
934   (part GDK_OVERLAP_RECTANGLE_PART))
935
936(define-flags GdkDragAction
937   (default GDK_ACTION_DEFAULT)
938   (copy GDK_ACTION_COPY)
939   (move GDK_ACTION_MOVE)
940   (link GDK_ACTION_LINK)
941   (private GDK_ACTION_PRIVATE)
942   (ask GDK_ACTION_ASK))
943
944(define-enum GdkDragProtocol
945   (motif GDK_DRAG_PROTO_MOTIF)
946   (xdnd GDK_DRAG_PROTO_XDND)
947   (rootwin GDK_DRAG_PROTO_ROOTWIN)
948   (none GDK_DRAG_PROTO_NONE))
949
950; enumerations from "../gdk/gdkrgb.h"
951
952(define-enum GdkRgbDither
953   (none GDK_RGB_DITHER_NONE)
954   (normal GDK_RGB_DITHER_NORMAL)
955   (max GDK_RGB_DITHER_MAX))
956;; -*- scheme -*-
957
958
959;;;
960;;; manual portion from gtk-boxed.defs
961;;;
962
963
964
965;;; Gtk boxed types
966
967(define-boxed GtkAccelGroup
968  gtk_accel_group_ref
969  gtk_accel_group_unref)
970
971(define-boxed GtkSelectionData
972)
973
974(define-boxed GtkStyle
975  gtk_style_ref
976  gtk_style_unref)
977
978(define-boxed GtkCTreeNode
979)
980
981;;; Gdk boxed types
982
983                                        ;(define-boxed GdkPoint
984                                        ;  gdk_point_copy
985                                        ;  gdk_point_destroy)
986
987(define-boxed GdkColormap
988  gdk_colormap_ref
989  gdk_colormap_unref)
990
991(define-boxed GdkVisual
992  gdk_visual_ref
993  gdk_visual_unref)
994
995(define-boxed GdkFont
996  gdk_font_ref
997  gdk_font_unref)
998
999(define-boxed GdkWindow
1000  gdk_window_ref
1001  gdk_window_unref)
1002
1003(define-boxed GdkDragContext
1004  gdk_drag_context_ref
1005  gdk_drag_context_unref)
1006(define-boxed GdkEvent
1007  gdk_event_copy
1008  gdk_event_free
1009  "sizeof(GdkEvent)")
1010
1011(define-boxed GdkColor
1012  gdk_color_copy
1013  gdk_color_free
1014  "sizeof(GdkColor)")
1015
1016(define-func gtk_style_get_white_interp
1017  GdkColor
1018  ((GtkStyle style)))
1019
1020;;; Functions
1021
1022;; Gdk
1023
1024(define-func gdk_font_load
1025  GdkFont
1026  ((string name)))
1027
1028;; main
1029
1030(define-func gtk_exit
1031  none
1032  ((int code (= "0"))))
1033
1034(define-func gtk_main
1035  none
1036  ())
1037
1038(define-func gtk_main_quit
1039  none
1040  ())
1041
1042(define-func gtk_main_iteration
1043  bool
1044  ())
1045
1046(define-func gtk_timeout_add_interp
1047  int
1048  ((int interval)
1049   (callback function)))
1050
1051(define-func gtk_timeout_remove
1052  none
1053  ((int tag)))
1054
1055(define-func gtk_idle_add_interp
1056  int
1057  ((callback function)))
1058
1059(define-func gtk_idle_remove
1060  none
1061  ((int tag)))
1062
1063(define-func gtk_input_add_interp
1064  int
1065  ((int source)
1066   (GdkInputCondition condition)
1067   (callback callback)))
1068
1069(define-func gtk_input_remove
1070  none
1071  ((int tag)))
1072
1073(define-func gtk_rc_parse
1074  none
1075  ((string file)))
1076
1077(define-func g_mem_chunk_info
1078  none
1079  ())
1080
1081;; GtkObject
1082
1083(define-func gtk_object_destroy
1084  none
1085  ((GtkObject object)))
1086
1087;; Signals
1088
1089(define-func gtk_signal_connect_interp
1090  int
1091  ((GtkObject object)
1092   (string name)
1093   (callback func)
1094   (bool after (= "0"))))
1095
1096;; GtkWidget
1097
1098(define-object GtkWidget (GtkObject)
1099  (fields
1100   (GtkStyle style)))
1101
1102(define-func gtk_grab_add
1103  none
1104  ((GtkWidget widget)))
1105
1106(define-func gtk_grab_remove
1107  none
1108  ((GtkWidget widget)))
1109
1110(define-func GTK_WIDGET_STATE
1111  GtkStateType
1112  ((GtkWidget widget)))
1113
1114(define-func GTK_WIDGET_FLAGS
1115  GtkWidgetFlags
1116  ((GtkWidget widget)))
1117
1118(define-func GTK_WIDGET_SET_FLAGS
1119  none
1120  ((GtkWidget widget)
1121   (GtkWidgetFlags flags)))
1122
1123(define-func GTK_WIDGET_UNSET_FLAGS
1124  none
1125  ((GtkWidget widget)
1126   (GtkWidgetFlags flags)))
1127
1128(define-func gtk_widget_destroy
1129  none
1130  ((GtkWidget widget)))
1131
1132(define-func gtk_widget_unparent
1133  none
1134  ((GtkWidget widget)))
1135
1136(define-func gtk_widget_show
1137  none
1138  ((GtkWidget widget)))
1139
1140(define-func gtk_widget_hide
1141  none
1142  ((GtkWidget widget)))
1143
1144(define-func gtk_widget_map
1145  none
1146  ((GtkWidget widget)))
1147
1148(define-func gtk_widget_unmap
1149  none
1150  ((GtkWidget widget)))
1151
1152(define-func gtk_widget_realize
1153  none
1154  ((GtkWidget widget)))
1155
1156(define-func gtk_widget_unrealize
1157  none
1158  ((GtkWidget widget)))
1159
1160(define-func gtk_widget_add_accelerator
1161  none
1162  ((GtkWidget widget)
1163   (string accel_signal)
1164   (GtkAccelGroup accel_group)
1165   (guint accel_key)
1166   (guint accel_mods)
1167   (GtkAccelFlags accel_flags)))
1168
1169(define-func gtk_widget_remove_accelerator
1170  none
1171  ((GtkWidget widget)
1172   (GtkAccelGroup accel_group)
1173   (guint accel_key)
1174   (guint accel_mods)))
1175
1176(define-func gtk_widget_event
1177  bool
1178  ((GtkWidget widget)
1179   (GdkEvent event)))
1180
1181(define-func gtk_widget_activate
1182  none
1183  ((GtkWidget widget)))
1184
1185(define-func gtk_widget_reparent
1186  none
1187  ((GtkWidget widget)
1188   (GtkWidget new_parent)))
1189
1190(define-func gtk_widget_popup
1191  none
1192  ((GtkWidget widget)
1193   (int x)
1194   (int y)))
1195
1196(define-func gtk_widget_basic
1197  bool
1198  ((GtkWidget widget)))
1199
1200(define-func gtk_widget_grab_focus
1201  none
1202  ((GtkWidget widget)))
1203
1204(define-func gtk_widget_grab_default
1205  none
1206  ((GtkWidget widget)))
1207
1208(define-func gtk_widget_restore_state
1209  none
1210  ((GtkWidget widget)))
1211
1212(define-func gtk_widget_set_name
1213  none
1214  ((GtkWidget widget)
1215   (string name)))
1216
1217(define-func gtk_widget_get_name
1218  static_string
1219  ((GtkWidget widget)))
1220
1221(define-func gtk_widget_set_state
1222  none
1223  ((GtkWidget widget)
1224   (GtkStateType state)))
1225
1226(define-func gtk_widget_set_sensitive
1227  none
1228  ((GtkWidget widget)
1229   (bool sensitive)))
1230
1231(define-func gtk_widget_set_style
1232  none
1233  ((GtkWidget widget)
1234   (GtkStyle style)))
1235
1236(define-func gtk_widget_set_uposition
1237  none
1238  ((GtkWidget widget)
1239   (int x)
1240   (int y)))
1241
1242(define-func gtk_widget_set_usize
1243  none
1244  ((GtkWidget widget)
1245   (int height)
1246   (int width)))
1247
1248(define-func gtk_widget_set_events
1249  none
1250  ((GtkWidget widget)
1251   (GdkEventMask events)))
1252
1253(define-func gtk_widget_set_extension_events
1254  none
1255  ((GtkWidget widget)
1256   (GdkEventMask events)))
1257
1258(define-func gtk_widget_get_toplevel
1259  GtkWidget
1260  ((GtkWidget widget)))
1261
1262                                        ;(define-func gtk_widget_get_ancestor
1263                                        ;  GtkWidget
1264                                        ;  ((GtkWidget widget)
1265                                        ;   (GtkType type)))
1266
1267(define-func gtk_widget_get_colormap
1268  GdkColormap
1269  ((GtkWidget widget)))
1270
1271(define-func gtk_widget_get_visual
1272  GdkVisual
1273  ((GtkWidget widget)))
1274
1275(define-func gtk_widget_get_style
1276  GtkStyle
1277  ((GtkWidget widget)))
1278
1279(define-func gtk_widget_get_events
1280  GdkEventMask
1281  ((GtkWidget widget)))
1282
1283(define-func gtk_widget_get_extension_events
1284  GdkEventMask
1285  ((GtkWidget widget)))
1286
1287(define-func gtk_widget_push_colormap
1288  none
1289  ((GdkColormap cmap)))
1290
1291(define-func gtk_widget_push_visual
1292  none
1293  ((GdkVisual visual)))
1294
1295(define-func gtk_widget_push_style
1296  none
1297  ((GtkStyle style)))
1298
1299(define-func gtk_widget_pop_colormap
1300  none
1301  ())
1302
1303(define-func gtk_widget_pop_visual
1304  none
1305  ())
1306
1307(define-func gtk_widget_pop_style
1308  none
1309  ())
1310
1311(define-func gtk_widget_set_default_colormap
1312  none
1313  ((GdkColormap cmap)))
1314
1315(define-func gtk_widget_set_default_visual
1316  none
1317  ((GdkVisual visual)))
1318
1319(define-func gtk_widget_set_default_style
1320  none
1321  ((GtkStyle style)))
1322
1323(define-func gtk_widget_get_default_colormap
1324  GdkColormap
1325  ())
1326
1327(define-func gtk_widget_get_default_visual
1328  GdkVisual
1329  ())
1330
1331(define-func gtk_widget_get_default_style
1332  GtkStyle
1333  ())
1334
1335;;; Container
1336
1337(define-object GtkContainer (GtkWidget))
1338
1339(define-func gtk_container_border_width
1340  none
1341  ((GtkContainer container)
1342   (int border_width)))
1343
1344(define-func gtk_container_add
1345  none
1346  ((GtkContainer container)
1347   (GtkWidget widget)))
1348
1349(define-func gtk_container_remove
1350  none
1351  ((GtkContainer container)
1352   (GtkWidget widget)))
1353
1354(define-func gtk_container_disable_resize
1355  none
1356  ((GtkContainer container)))
1357
1358(define-func gtk_container_enable_resize
1359  none
1360  ((GtkContainer container)))
1361
1362(define-func gtk_container_block_resize
1363  none
1364  ((GtkContainer container)))
1365
1366(define-func gtk_container_unblock_resize
1367  none
1368  ((GtkContainer container)))
1369
1370(define-func gtk_container_need_resize
1371  bool
1372  ((GtkContainer container)))
1373
1374(define-func gtk_container_focus
1375  GtkDirectionType
1376  ((GtkContainer container)
1377   (GtkDirectionType direction)))
1378
1379;;; Bin
1380
1381(define-object GtkBin (GtkContainer))
1382
1383;;; Window
1384
1385(define-object GtkWindow (GtkBin))
1386
1387(define-func gtk_window_new
1388  GtkWidget
1389  ((GtkWindowType type)))
1390
1391(define-func gtk_window_set_title
1392  none
1393  ((GtkWindow window)
1394   (string title)))
1395
1396(define-func gtk_window_set_focus
1397  none
1398  ((GtkWindow window)
1399   (GtkWidget focus)))
1400
1401(define-func gtk_window_set_default
1402  none
1403  ((GtkWindow window)
1404   (GtkWidget default)))
1405
1406(define-func gtk_window_set_policy
1407  none
1408  ((GtkWindow window)
1409   (bool allow_shrink)
1410   (bool allow_grow)
1411   (bool auto_shrink)))
1412
1413(define-func gtk_window_add_accel_group
1414  none
1415  ((GtkWindow window)
1416   (GtkAccelGroup accel_group)))
1417
1418(define-func gtk_window_remove_accel_group
1419  none
1420  ((GtkWindow window)
1421   (GtkAccelGroup accel_group)))
1422
1423(define-func gtk_window_position
1424  none
1425  ((GtkWindow window)
1426   (GtkWindowPosition position)))
1427
1428;;; Box
1429
1430(define-object GtkBox (GtkContainer))
1431
1432(define-func gtk_box_pack_start
1433  none
1434  ((GtkBox box)
1435   (GtkWidget child)
1436   (bool expand (= "TRUE"))
1437   (bool fill (= "TRUE"))
1438   (int padding (= "0"))))
1439
1440(define-func gtk_box_pack_end
1441  none
1442  ((GtkBox box)
1443   (GtkWidget child)
1444   (bool expand (= "TRUE"))
1445   (bool fill (= "TRUE"))
1446   (int padding (= "0"))))
1447
1448(define-func gtk_box_pack_start_defaults
1449  none
1450  ((GtkBox box)
1451   (GtkWidget child)))
1452
1453(define-func gtk_box_pack_end_defaults
1454  none
1455  ((GtkBox box)
1456   (GtkWidget child)))
1457
1458(define-func gtk_box_set_homogeneous
1459  none
1460  ((GtkBox box)
1461   (bool homogenous)))
1462
1463(define-func gtk_box_set_spacing
1464  none
1465  ((GtkBox box)
1466   (int spacing)))
1467
1468;;; Table
1469
1470(define-object GtkTable (GtkContainer))
1471
1472(define-func gtk_table_new
1473  GtkWidget
1474  ((int rows)
1475   (int columns)
1476   (bool homogenous)))
1477
1478(define-func gtk_table_attach
1479  none
1480  ((GtkTable table)
1481   (GtkWidget child)
1482   (int left_attach)
1483   (int right_attach)
1484   (int top_attach)
1485   (int bottom_attach)
1486   (GtkAttachOptions xoptions (= "GTK_EXPAND|GTK_FILL"))
1487   (GtkAttachOptions yoptions (= "GTK_EXPAND|GTK_FILL"))
1488   (int xpadding (= "0"))
1489   (int ypadding (= "0"))))
1490
1491(define-func gtk_table_attach_defaults
1492  none
1493  ((GtkTable table)
1494   (GtkWidget child)
1495   (int left_attach)
1496   (int right_attach)
1497   (int top_attach)
1498   (int bottom_attach)))
1499
1500(define-func gtk_table_set_row_spacing
1501  none
1502  ((GtkTable table)
1503   (int row)
1504   (int spacing)))
1505
1506(define-func gtk_table_set_col_spacing
1507  none
1508  ((GtkTable table)
1509   (int column)
1510   (int spacing)))
1511
1512(define-func gtk_table_set_row_spacings
1513  none
1514  ((GtkTable table)
1515   (int spacing)))
1516
1517(define-func gtk_table_set_col_spacings
1518  none
1519  ((GtkTable table)
1520   (int spacing)))
1521
1522;;; Button
1523
1524(define-object GtkButton (GtkContainer))
1525
1526(define-func gtk_button_new
1527  GtkWidget
1528  ())
1529
1530(define-func gtk_button_new_with_label
1531  GtkWidget
1532  ((string label)))
1533
1534(define-func gtk_button_pressed
1535  none
1536  ((GtkButton button)))
1537
1538(define-func gtk_button_released
1539  none
1540  ((GtkButton button)))
1541
1542(define-func gtk_button_clicked
1543  none
1544  ((GtkButton button)))
1545
1546(define-func gtk_button_enter
1547  none
1548  ((GtkButton button)))
1549
1550(define-func gtk_button_leave
1551  none
1552  ((GtkButton button)))
1553
1554;;; ToggleButton
1555
1556(define-object GtkToggleButton (GtkButton))
1557
1558(define-func gtk_toggle_button_new
1559  GtkWidget
1560  ())
1561
1562(define-func gtk_toggle_button_new_with_label
1563  GtkWidget
1564  ((string label)))
1565
1566(define-func gtk_toggle_button_set_mode
1567  none
1568  ((GtkToggleButton toggle_button)
1569   (bool draw_indicator)))
1570
1571(define-func gtk_toggle_button_set_state
1572  none
1573  ((GtkToggleButton toggle_button)
1574   (bool state)))
1575
1576(define-func gtk_toggle_button_toggled
1577  none
1578  ((GtkToggleButton toggle_button)))
1579
1580;;; CheckButton
1581
1582(define-object GtkCheckButton (GtkToggleButton))
1583
1584(define-func gtk_check_button_new
1585  GtkWidget
1586  ())
1587
1588(define-func gtk_check_button_new_with_label
1589  GtkWidget
1590  ((string label)))
1591
1592;;; RadioButton
1593
1594(define-object GtkRadioButton (GtkCheckButton))
1595
1596(define-func gtk_radio_button_new_interp
1597  GtkWidget
1598  ((GtkRadioButton group (null-ok))))
1599
1600(define-func gtk_radio_button_new_with_label_interp
1601  GtkWidget
1602  ((GtkRadioButton group (null-ok))
1603   (string label)))
1604
1605;;; Misc
1606
1607(define-object GtkMisc (GtkWidget))
1608
1609(define-func gtk_misc_set_alignment
1610  none
1611  ((GtkMisc misc)
1612   (float xalign)
1613   (float yalign)))
1614
1615(define-func gtk_misc_set_padding
1616  none
1617  ((GtkMisc misc)
1618   (int xpad)
1619   (int ypad)))
1620
1621;;; Label
1622
1623(define-object GtkLabel (GtkMisc))
1624
1625(define-func gtk_label_new
1626  GtkWidget
1627  ((string str)))
1628
1629(define-func gtk_label_set
1630  none
1631  ((GtkLabel label)
1632   (string str)))
1633
1634(define-func gtk_label_get_interp
1635  static_string
1636  ((GtkLabel label)))
1637
1638;; VBox
1639
1640(define-object GtkVBox (GtkBox))
1641
1642(define-func gtk_vbox_new
1643  GtkWidget
1644  ((bool homogenous)
1645   (int spacing)))
1646
1647;; HBox
1648
1649(define-object GtkHBox (GtkBox))
1650
1651(define-func gtk_hbox_new
1652  GtkWidget
1653  ((bool homogenous)
1654   (int spacing)))
1655
1656;; Separator
1657
1658(define-object GtkSeparator (GtkWidget))
1659
1660;; HSeparator
1661
1662(define-object GtkHSeparator (GtkSeparator))
1663
1664(define-func gtk_hseparator_new
1665  GtkWidget
1666  ())
1667
1668;; VSeparator
1669
1670(define-object GtkVSeparator (GtkSeparator))
1671
1672(define-func gtk_vseparator_new
1673  GtkWidget
1674  ())
1675
1676;; Frame
1677
1678(define-object GtkFrame (GtkBin))
1679
1680(define-func gtk_frame_new
1681  GtkWidget
1682  ((string label (null-ok))))
1683
1684(define-func gtk_frame_set_label
1685  none
1686  ((GtkFrame frame)
1687   (string label)))
1688
1689(define-func gtk_frame_set_label_align
1690  none
1691  ((GtkFrame frame)
1692   (float xalign)
1693   (float yalign)))
1694
1695(define-func gtk_frame_set_shadow_type
1696  none
1697  ((GtkFrame frame)
1698   (GtkShadowType type)))
1699
1700;; Progress Bar
1701
1702(define-object GtkProgressBar (GtkWidget)
1703  (fields
1704   (float percentage)))
1705
1706(define-func gtk_progress_bar_new
1707  GtkWidget
1708  ())
1709
1710(define-func gtk_progress_bar_update
1711  none
1712  ((GtkProgressBar progress_bar)
1713   (float percentage)))
1714
1715                                        ;(define-func gtk_progress_bar_percentage
1716                                        ;  float
1717                                        ;  ((GtkProgressBar progress_bar)))
1718
1719;; Tooltips
1720
1721(define-object GtkTooltips (GtkData))
1722
1723(define-func gtk_tooltips_new
1724  GtkTooltips
1725  ())
1726
1727(define-func gtk_tooltips_destroy
1728  none
1729  ((GtkTooltips tooltips)))
1730
1731(define-func gtk_tooltips_enable
1732  none
1733  ((GtkTooltips tooltips)))
1734
1735(define-func gtk_tooltips_disable
1736  none
1737  ((GtkTooltips tooltips)))
1738
1739(define-func gtk_tooltips_set_delay
1740  none
1741  ((GtkTooltips tooltips)
1742   (int delay)))
1743
1744(define-func gtk_tooltips_set_tips
1745  none
1746  ((GtkTooltips tooltips)
1747   (GtkWidget widget)
1748   (string tips_text (null-ok))))
1749
1750(define-func gtk_tooltips_set_colors
1751  none
1752  ((GtkTooltips tooltips)
1753   (GdkColor background)
1754   (GdkColor foreground)))
1755
1756;; MenuShell
1757
1758(define-object GtkMenuShell (GtkContainer))
1759
1760(define-func gtk_menu_shell_append
1761  none
1762  ((GtkMenuShell menu_shell)
1763   (GtkWidget child)))
1764
1765(define-func gtk_menu_shell_prepend
1766  none
1767  ((GtkMenuShell menu_shell)
1768   (GtkWidget child)))
1769
1770(define-func gtk_menu_shell_insert
1771  none
1772  ((GtkMenuShell menu_shell)
1773   (GtkWidget child)
1774   (int position)))
1775
1776(define-func gtk_menu_shell_deactivate
1777  none
1778  ((GtkMenuShell menu_shell)))
1779
1780;; MenuBar
1781
1782(define-object GtkMenuBar (GtkMenuShell))
1783
1784(define-func gtk_menu_bar_new
1785  GtkWidget
1786  ())
1787
1788(define-func gtk_menu_bar_append
1789  none
1790  ((GtkMenuBar menu_bar)
1791   (GtkWidget child)))
1792
1793(define-func gtk_menu_bar_prepend
1794  none
1795  ((GtkMenuBar menu_bar)
1796   (GtkWidget child)))
1797
1798(define-func gtk_menu_bar_insert
1799  none
1800  ((GtkMenuBar menu_bar)
1801   (GtkWidget child)
1802   (int position)))
1803
1804;; Menu
1805
1806(define-object GtkMenu (GtkMenuShell))
1807
1808(define-func gtk_menu_new
1809  GtkWidget
1810  ())
1811
1812(define-func gtk_menu_append
1813  none
1814  ((GtkMenu menu)
1815   (GtkWidget child)))
1816
1817(define-func gtk_menu_prepend
1818  none
1819  ((GtkMenu menu)
1820   (GtkWidget child)))
1821
1822(define-func gtk_menu_insert
1823  none
1824  ((GtkMenu menu)
1825   (GtkWidget child)
1826   (int position)))
1827
1828(define-func gtk_menu_popup_interp
1829  none
1830  ((GtkMenu menu)
1831   (GtkWidget parent_menu_shell)
1832   (GtkWidget parent_menu_item)
1833   (int button)
1834   (int activate_time)))
1835
1836(define-func gtk_menu_popdown
1837  none
1838  ((GtkMenu menu)))
1839
1840(define-func gtk_menu_get_active
1841  GtkWidget
1842  ((GtkMenu menu)))
1843
1844(define-func gtk_menu_set_active
1845  none
1846  ((GtkMenu menu)
1847   (int index)))
1848
1849(define-func gtk_menu_set_accel_group
1850  none
1851  ((GtkMenu menu)
1852   (GtkAccelGroup accel_group)))
1853
1854
1855;; Item
1856
1857(define-object GtkItem (GtkBin))
1858
1859(define-func gtk_item_select
1860  none
1861  ((GtkItem item)))
1862
1863(define-func gtk_item_deselect
1864  none
1865  ((GtkItem item)))
1866
1867(define-func gtk_item_toggle
1868  none
1869  ((GtkItem item)))
1870
1871;; MenuItem
1872
1873(define-object GtkMenuItem (GtkItem))
1874
1875(define-func gtk_menu_item_new
1876  GtkWidget
1877  ())
1878
1879(define-func gtk_menu_item_new_with_label
1880  GtkWidget
1881  ((string label)))
1882
1883(define-func gtk_menu_item_set_submenu
1884  none
1885  ((GtkMenuItem menu_item)
1886   (GtkWidget submenu)))
1887
1888(define-func gtk_menu_item_set_placement
1889  none
1890  ((GtkMenuItem menu_item)
1891   (GtkSubmenuPlacement placement)))
1892
1893(define-func gtk_menu_item_configure
1894  none
1895  ((GtkMenuItem menu_item)
1896   (bool show_toggle_indicator)
1897   (bool show_submenu_indicator)))
1898
1899(define-func gtk_menu_item_select
1900  none
1901  ((GtkMenuItem menu_item)))
1902
1903(define-func gtk_menu_item_deselect
1904  none
1905  ((GtkMenuItem menu_item)))
1906
1907(define-func gtk_menu_item_activate
1908  none
1909  ((GtkMenuItem menu_item)))
1910
1911;; CheckMenuItem
1912
1913(define-object GtkCheckMenuItem (GtkMenuItem))
1914
1915(define-func gtk_check_menu_item_new
1916  GtkWidget
1917  ())
1918
1919(define-func gtk_check_menu_item_new_with_label
1920  GtkWidget
1921  ((string label)))
1922
1923(define-func gtk_check_menu_item_set_state
1924  none
1925  ((GtkCheckMenuItem check_menu_item)
1926   (bool state)))
1927
1928(define-func gtk_check_menu_item_toggled
1929  none
1930  ((GtkCheckMenuItem check_menu_item)))
1931
1932;; RadioMenuItem
1933
1934(define-object GtkRadioMenuItem (GtkCheckMenuItem))
1935
1936(define-func gtk_radio_menu_item_new_interp
1937  GtkWidget
1938  ((GtkRadioMenuItem group (null-ok))))
1939
1940(define-func gtk_radio_menu_item_new_with_label_interp
1941  GtkWidget
1942  ((GtkRadioMenuItem group (null-ok))
1943   (string label)))
1944
1945;; OptionMenu
1946
1947(define-object GtkOptionMenu (GtkButton))
1948
1949(define-func gtk_option_menu_new
1950  GtkWidget
1951  ())
1952
1953(define-func gtk_option_menu_get_menu
1954  GtkWidget
1955  ((GtkOptionMenu option_menu)))
1956
1957(define-func gtk_option_menu_set_menu
1958  none
1959  ((GtkOptionMenu option_menu)
1960   (GtkWidget menu)))
1961
1962(define-func gtk_option_menu_remove_menu
1963  none
1964  ((GtkOptionMenu option_menu)))
1965
1966(define-func gtk_option_menu_set_history
1967  none
1968  ((GtkOptionMenu option_menu)
1969   (int index)))
1970
1971;; Pixmaps
1972
1973(define-object GtkPixmap (GtkMisc))
1974
1975(define-func gtk_pixmap_new_interp
1976  GtkWidget
1977  ((string xpm_file)
1978   (GtkWidget intended_parent)))
1979
1980;; Data
1981
1982(define-object GtkData (GtkObject))
1983
1984;; Adjustment
1985
1986(define-object GtkAdjustment (GtkData))
1987
1988(define-func gtk_adjustment_new
1989  GtkObject
1990  ((float value)
1991   (float lower)
1992   (float upper)
1993   (float step_increment)
1994   (float page_increment)
1995   (float page_size)))
1996
1997;; ScrolledWidow
1998
1999(define-object GtkScrolledWindow (GtkContainer))
2000
2001(define-func gtk_scrolled_window_new
2002  GtkWidget
2003  ((GtkAdjustment hadjustment (null-ok) (= "NULL"))
2004   (GtkAdjustment vadjustment (null-ok) (= "NULL"))))
2005
2006(define-func gtk_scrolled_window_get_hadjustment
2007  GtkAdjustment
2008  ((GtkScrolledWindow scrolled_window)))
2009
2010(define-func gtk_scrolled_window_get_vadjustment
2011  GtkAdjustment
2012  ((GtkScrolledWindow scrolled_window)))
2013
2014(define-func gtk_scrolled_window_set_policy
2015  none
2016  ((GtkScrolledWindow scrolled_window)
2017   (GtkPolicyType hscrollbar_policy)
2018   (GtkPolicyType vscrollbar_policy)))
2019
2020;; ListItem
2021
2022(define-object GtkListItem (GtkItem))
2023
2024(define-func gtk_list_item_new
2025  GtkWidget
2026  ())
2027
2028(define-func gtk_list_item_new_with_label
2029  GtkWidget
2030  ((string label)))
2031
2032(define-func gtk_list_item_select
2033  none
2034  ((GtkListItem list_item)))
2035
2036(define-func gtk_list_item_deselect
2037  none
2038  ((GtkListItem list_item)))
2039
2040;; List
2041
2042(define-object GtkList (GtkContainer))
2043
2044(define-func gtk_list_new
2045  GtkWidget
2046  ())
2047
2048(define-func gtk_list_append_item
2049  none
2050  ((GtkList list)
2051   (GtkListItem item)))
2052
2053(define-func gtk_list_prepend_item
2054  none
2055  ((GtkList list)
2056   (GtkListItem item)))
2057
2058;; XXX many missing
2059
2060(define-func gtk_list_clear_items
2061  none
2062  ((GtkList list)
2063   (int start)
2064   (int end)))
2065
2066(define-func gtk_list_select_item
2067  none
2068  ((GtkList list)
2069   (int item)))
2070
2071(define-func gtk_list_unselect_item
2072  none
2073  ((GtkList list)
2074   (int item)))
2075
2076(define-func gtk_list_select_child
2077  none
2078  ((GtkList list)
2079   (GtkWidget child)))
2080
2081(define-func gtk_list_unselect_child
2082  none
2083  ((GtkList list)
2084   (GtkWidget child)))
2085
2086(define-func gtk_list_child_position
2087  int
2088  ((GtkList list)
2089   (GtkWidget child)))
2090
2091(define-func gtk_list_set_selection_mode
2092  none
2093  ((GtkList list)
2094   (GtkSelectionMode mode)))
2095
2096;; Notebook
2097
2098(define-object GtkNotebook (GtkContainer)
2099  (fields
2100   (GtkPositionType tab_pos)))
2101
2102(define-func gtk_notebook_new
2103  GtkWidget
2104  ())
2105
2106(define-func gtk_notebook_append_page
2107  none
2108  ((GtkNotebook notebook)
2109   (GtkWidget child)
2110   (GtkWidget tab_label)))
2111
2112(define-func gtk_notebook_prepend_page
2113  none
2114  ((GtkNotebook notebook)
2115   (GtkWidget child)
2116   (GtkWidget tab_label)))
2117
2118(define-func gtk_notebook_insert_page
2119  none
2120  ((GtkNotebook notebook)
2121   (GtkWidget child)
2122   (GtkWidget tab_label)
2123   (int position)))
2124
2125(define-func gtk_notebook_remove_page
2126  none
2127  ((GtkNotebook notebook)
2128   (int page_num)))
2129
2130(define-func gtk_notebook_current_page
2131  int
2132  ((GtkNotebook notebook)))
2133
2134(define-func gtk_notebook_set_page
2135  none
2136  ((GtkNotebook notebook)
2137   (int page_num)))
2138
2139(define-func gtk_notebook_next_page
2140  none
2141  ((GtkNotebook notebook)))
2142
2143(define-func gtk_notebook_prev_page
2144  none
2145  ((GtkNotebook notebook)))
2146
2147(define-func gtk_notebook_set_tab_pos
2148  none
2149  ((GtkNotebook notebook)
2150   (GtkPositionType pos)))
2151
2152(define-func gtk_notebook_set_show_tabs
2153  none
2154  ((GtkNotebook notebook)
2155   (bool show_tabs)))
2156
2157(define-func gtk_notebook_set_show_border
2158  none
2159  ((GtkNotebook notebook)
2160   (bool show_border)))
2161
2162;; Entry
2163
2164(define-object GtkEntry (GtkWidget))
2165
2166(define-func gtk_entry_new
2167  GtkWidget
2168  ())
2169
2170(define-func gtk_entry_set_text
2171  none
2172  ((GtkEntry entry)
2173   (string text)))
2174
2175(define-func gtk_entry_append_text
2176  none
2177  ((GtkEntry entry)
2178   (string text)))
2179
2180(define-func gtk_entry_prepend_text
2181  none
2182  ((GtkEntry entry)
2183   (string text)))
2184
2185(define-func gtk_entry_set_position
2186  none
2187  ((GtkEntry entry)
2188   (int position)))
2189
2190(define-func gtk_entry_get_text
2191  static_string
2192  ((GtkEntry entry)))
2193
2194;; Text
2195
2196(define-object GtkText (GtkWidget))
2197
2198(define-func gtk_text_new
2199  GtkWidget
2200  ((GtkAdjustment hadj (null-ok))
2201   (GtkAdjustment vadj (null-ok))))
2202
2203(define-func gtk_text_set_editable
2204  none
2205  ((GtkText text)
2206   (bool editable)))
2207
2208(define-func gtk_text_set_adjustments
2209  none
2210  ((GtkText text)
2211   (GtkAdjustment hadj)
2212   (GtkAdjustment vadj)))
2213
2214(define-func gtk_text_set_point
2215  none
2216  ((GtkText text)
2217   (uint index)))
2218
2219(define-func gtk_text_get_point
2220  uint
2221  ((GtkText text)))
2222
2223(define-func gtk_text_get_length
2224  uint
2225  ((GtkText text)))
2226
2227(define-func gtk_text_freeze
2228  none
2229  ((GtkText text)))
2230
2231(define-func gtk_text_thaw
2232  none
2233  ((GtkText text)))
2234
2235(define-func gtk_text_insert
2236  none
2237  ((GtkText text)
2238   (GdkFont font (null-ok))
2239   (GdkColor fore (null-ok))
2240   (GdkColor back (null-ok))
2241   (string chars)
2242   (int length)))
2243
2244(define-func gtk_text_backward_delete
2245  none
2246  ((GtkText text)
2247   (uint nchars)))
2248
2249(define-func gtk_text_foreward_delete
2250  none
2251  ((GtkText text)
2252   (uint nchars)))
2253
2254;; Alignment
2255
2256(define-object GtkAlignment (GtkBin))
2257
2258(define-func gtk_alignment_new
2259  GtkWidget
2260  ((float xalign)
2261   (float yalign)
2262   (float xscale)
2263   (float yscale)))
2264
2265(define-func gtk_alignment_set
2266  none
2267  ((GtkAlignment alignment)
2268   (float xalign)
2269   (float yalign)
2270   (float xscale)
2271   (float yscale)))
2272
2273;; Color
2274
2275                                        ; XXX lots missing
2276
2277(define-func gdk_color_parse_interp
2278  GdkColor
2279  ((string spec)))
2280
2281;; Preview
2282
2283(define-object GtkPreview (GtkWidget))
2284
2285;; XXX lots missing
2286
2287(define-func gtk_preview_set_install_cmap
2288  none
2289  ((bool install_cmap)))
2290
2291(define-func gtk_preview_set_reserved
2292  none
2293  ((int nreserved)))
2294
2295(define-func gtk_preview_get_visual
2296  GdkVisual
2297  ())
2298
2299(define-func gtk_preview_get_cmap
2300  GdkColormap
2301  ())
2302
2303;; ColorSelectionDialog
2304
2305(define-object GtkColorSelectionDialog (GtkWindow)
2306  (fields
2307   (GtkWidget colorsel)
2308   (GtkWidget main_vbox)
2309   (GtkWidget ok_button)
2310   (GtkWidget reset_button)
2311   (GtkWidget cancel_button)
2312   (GtkWidget help_button)))
2313
2314(define-func gtk_color_selection_dialog_new
2315  GtkWidget
2316  ((string title)))
2317
2318;; ColorSelection
2319
2320(define-object GtkColorSelection (GtkVBox))
2321
2322(define-func gtk_color_selection_new
2323  GtkWidget
2324  ())
2325
2326(define-func gtk_color_selection_set_update_policy
2327  none
2328  ((GtkColorSelection colorsel)
2329   (GtkUpdateType policy)))
2330
2331(define-func gtk_color_selection_set_opacity
2332  none
2333  ((GtkColorSelection colorsel)
2334   (bool use_opacity)))
2335
2336;; Range
2337
2338(define-object GtkRange (GtkWidget))
2339
2340(define-func gtk_range_get_adjustment
2341  GtkAdjustment
2342  ((GtkRange range)))
2343
2344(define-func gtk_range_set_update_policy
2345  none
2346  ((GtkRange range)
2347   (GtkUpdateType policy)))
2348
2349(define-func gtk_range_set_adjustment
2350  none
2351  ((GtkRange range)
2352   (GtkAdjustment adjustment)))
2353
2354;; Scale
2355
2356(define-object GtkScale (GtkRange))
2357
2358(define-func gtk_scale_set_digits
2359  none
2360  ((GtkScale scale)
2361   (bool digits)))
2362
2363(define-func gtk_scale_set_draw_value
2364  none
2365  ((GtkScale scale)
2366   (bool draw_value)))
2367
2368(define-func gtk_scale_set_value_pos
2369  none
2370  ((GtkScale scale)
2371   (GtkPositionType pos)))
2372
2373;; HScale
2374
2375(define-object GtkHScale (GtkScale))
2376
2377(define-func gtk_hscale_new
2378  GtkWidget
2379  ((GtkAdjustment adjustment)))
2380
2381;; VScale
2382
2383(define-object GtkVScale (GtkScale))
2384
2385(define-func gtk_vscale_new
2386  GtkWidget
2387  ((GtkAdjustment adjustment)))
2388
2389;; Scrollbar
2390
2391(define-object GtkScrollbar (GtkRange))
2392
2393;; HScrollbar
2394
2395(define-object GtkHScrollbar (GtkScrollbar))
2396
2397(define-func gtk_hscrollbar_new
2398  GtkWidget
2399  ((GtkAdjustment adjustment)))
2400
2401;; VScrollbar
2402
2403(define-object GtkVScrollbar (GtkScrollbar))
2404
2405(define-func gtk_vscrollbar_new
2406  GtkWidget
2407  ((GtkAdjustment adjustment)))
2408
2409;; Dialog
2410
2411(define-object GtkDialog (GtkWindow)
2412  (fields
2413   (GtkWidget vbox)
2414   (GtkWidget action_area)))
2415
2416(define-func gtk_dialog_new
2417  GtkWidget
2418  ())
2419
2420;; Paned
2421
2422(define-object GtkPaned (GtkContainer))
2423
2424(define-func gtk_paned_add1
2425  none
2426  ((GtkPaned paned)
2427   (GtkWidget child)))
2428
2429(define-func gtk_paned_add2
2430  none
2431  ((GtkPaned paned)
2432   (GtkWidget child)))
2433
2434(define-func gtk_paned_handle_size
2435  none
2436  ((GtkPaned paned)
2437   (int size)))
2438
2439(define-func gtk_paned_gutter_size
2440  none
2441  ((GtkPaned paned)
2442   (int size)))
2443
2444;; HPaned
2445
2446(define-object GtkHPaned (GtkPaned))
2447
2448(define-func gtk_hpaned_new
2449  GtkWidget
2450  ())
2451
2452;; VPaned
2453
2454(define-object GtkVPaned (GtkPaned))
2455
2456(define-func gtk_vpaned_new
2457  GtkWidget
2458  ())
2459
2460;;; hack
2461
2462;(define-func panel_register_toy
2463;  none
2464;  ((gpointer panel)
2465;   (GtkWidget applet)
2466;   (string id)
2467;   (string params)
2468;   (int x)
2469;   (int y)
2470;   (int flags)))
2471
2472;(define-func panel_quit
2473;  none
2474;  ((gpointer panel)))
2475
2476;(define-func panel_new_applet
2477;  none
2478;  ((gpointer panel)
2479;   (string applet)
2480;   (string params)))
Note: See TracBrowser for help on using the repository browser.