"Fossies" - the Fresh Open Source Software Archive

Member "FreeBASIC-1.09.0-win64/inc/gtk/gtk2.bi" (1 Jan 2022, 781105 Bytes) of package /windows/misc/FreeBASIC-1.09.0-win64.zip:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Visual Basic source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

A hint: This file contains one or more very long lines, so maybe it is better readable using the pure text view mode that shows the contents as wrapped lines within the browser window.


    1 '' FreeBASIC binding for gtk+-2.24.28
    2 ''
    3 '' based on the C header files:
    4 ''   GTK - The GIMP Toolkit
    5 ''   Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
    6 ''
    7 ''   This library is free software; you can redistribute it and/or
    8 ''   modify it under the terms of the GNU Lesser General Public
    9 ''   License as published by the Free Software Foundation; either
   10 ''   version 2 of the License, or (at your option) any later version.
   11 ''
   12 ''   This library is distributed in the hope that it will be useful,
   13 ''   but WITHOUT ANY WARRANTY; without even the implied warranty of
   14 ''   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   15 ''   Lesser General Public License for more details.
   16 ''
   17 ''   You should have received a copy of the GNU Lesser General Public
   18 ''   License along with this library; if not, write to the
   19 ''   Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor,
   20 ''   Boston, MA 02111-1301, USA.
   21 ''
   22 '' translated to FreeBASIC by:
   23 ''   (C) 2011, 2012 Thomas[ dot ]Freiherr[ at ]gmx[ dot ]net
   24 ''   Copyright © 2015 FreeBASIC development team
   25 
   26 #pragma once
   27 
   28 #ifdef __FB_UNIX__
   29     #inclib "gtk-x11-2.0"
   30 #else
   31     #inclib "gtk-win32-2.0"
   32 #endif
   33 
   34 #include once "gdk/gdk2.bi"
   35 #include once "glib-object.bi"
   36 #include once "glib.bi"
   37 #include once "atk/atk.bi"
   38 #include once "gio/gio.bi"
   39 #include once "gdk-pixbuf/gdk-pixbuf.bi"
   40 #include once "pango/pango.bi"
   41 #include once "cairo/cairo.bi"
   42 #include once "crt/time.bi"
   43 #include once "crt/stdarg.bi"
   44 
   45 '' The following symbols have been renamed:
   46 ''     procedure gtk_widget_has_focus => gtk_widget_has_focus_
   47 ''     procedure gtk_widget_has_default => gtk_widget_has_default_
   48 ''     procedure gtk_widget_has_grab => gtk_widget_has_grab_
   49 ''     procedure gtk_widget_is_sensitive => gtk_widget_is_sensitive_
   50 ''     variable gtk_major_version => gtk_major_version_
   51 ''     variable gtk_minor_version => gtk_minor_version_
   52 ''     variable gtk_micro_version => gtk_micro_version_
   53 ''     variable gtk_binary_age => gtk_binary_age_
   54 ''     variable gtk_interface_age => gtk_interface_age_
   55 ''     procedure gtk_check_version => gtk_check_version_
   56 ''     #ifdef __FB_WIN32__
   57 ''         procedure gtk_init => gtk_init_
   58 ''         procedure gtk_init_check => gtk_init_check_
   59 ''     #endif
   60 ''     procedure gtk_stock_add => gtk_stock_add_
   61 
   62 #ifdef __FB_WIN32__
   63 #pragma push(msbitfields)
   64 #endif
   65 
   66 extern "C"
   67 
   68 #define __GTK_H__
   69 #define __GTK_H_INSIDE__
   70 #define __GTK_ABOUT_DIALOG_H__
   71 #define __GTK_DIALOG_H__
   72 #define __GTK_WINDOW_H__
   73 #define __GTK_ACCEL_GROUP_H__
   74 #define __GTK_ENUMS_H__
   75 
   76 type GtkAnchorType as long
   77 enum
   78     GTK_ANCHOR_CENTER
   79     GTK_ANCHOR_NORTH
   80     GTK_ANCHOR_NORTH_WEST
   81     GTK_ANCHOR_NORTH_EAST
   82     GTK_ANCHOR_SOUTH
   83     GTK_ANCHOR_SOUTH_WEST
   84     GTK_ANCHOR_SOUTH_EAST
   85     GTK_ANCHOR_WEST
   86     GTK_ANCHOR_EAST
   87     GTK_ANCHOR_N = GTK_ANCHOR_NORTH
   88     GTK_ANCHOR_NW = GTK_ANCHOR_NORTH_WEST
   89     GTK_ANCHOR_NE = GTK_ANCHOR_NORTH_EAST
   90     GTK_ANCHOR_S = GTK_ANCHOR_SOUTH
   91     GTK_ANCHOR_SW = GTK_ANCHOR_SOUTH_WEST
   92     GTK_ANCHOR_SE = GTK_ANCHOR_SOUTH_EAST
   93     GTK_ANCHOR_W = GTK_ANCHOR_WEST
   94     GTK_ANCHOR_E = GTK_ANCHOR_EAST
   95 end enum
   96 
   97 type GtkArrowPlacement as long
   98 enum
   99     GTK_ARROWS_BOTH
  100     GTK_ARROWS_START
  101     GTK_ARROWS_END
  102 end enum
  103 
  104 type GtkArrowType as long
  105 enum
  106     GTK_ARROW_UP
  107     GTK_ARROW_DOWN
  108     GTK_ARROW_LEFT
  109     GTK_ARROW_RIGHT
  110     GTK_ARROW_NONE
  111 end enum
  112 
  113 type GtkAttachOptions as long
  114 enum
  115     GTK_EXPAND = 1 shl 0
  116     GTK_SHRINK = 1 shl 1
  117     GTK_FILL = 1 shl 2
  118 end enum
  119 
  120 type GtkButtonBoxStyle as long
  121 enum
  122     GTK_BUTTONBOX_DEFAULT_STYLE
  123     GTK_BUTTONBOX_SPREAD
  124     GTK_BUTTONBOX_EDGE
  125     GTK_BUTTONBOX_START
  126     GTK_BUTTONBOX_END
  127     GTK_BUTTONBOX_CENTER
  128 end enum
  129 
  130 type GtkCurveType as long
  131 enum
  132     GTK_CURVE_TYPE_LINEAR
  133     GTK_CURVE_TYPE_SPLINE
  134     GTK_CURVE_TYPE_FREE
  135 end enum
  136 
  137 type GtkDeleteType as long
  138 enum
  139     GTK_DELETE_CHARS
  140     GTK_DELETE_WORD_ENDS
  141     GTK_DELETE_WORDS
  142     GTK_DELETE_DISPLAY_LINES
  143     GTK_DELETE_DISPLAY_LINE_ENDS
  144     GTK_DELETE_PARAGRAPH_ENDS
  145     GTK_DELETE_PARAGRAPHS
  146     GTK_DELETE_WHITESPACE
  147 end enum
  148 
  149 type GtkDirectionType as long
  150 enum
  151     GTK_DIR_TAB_FORWARD
  152     GTK_DIR_TAB_BACKWARD
  153     GTK_DIR_UP
  154     GTK_DIR_DOWN
  155     GTK_DIR_LEFT
  156     GTK_DIR_RIGHT
  157 end enum
  158 
  159 type GtkExpanderStyle as long
  160 enum
  161     GTK_EXPANDER_COLLAPSED
  162     GTK_EXPANDER_SEMI_COLLAPSED
  163     GTK_EXPANDER_SEMI_EXPANDED
  164     GTK_EXPANDER_EXPANDED
  165 end enum
  166 
  167 type GtkIconSize as long
  168 enum
  169     GTK_ICON_SIZE_INVALID
  170     GTK_ICON_SIZE_MENU
  171     GTK_ICON_SIZE_SMALL_TOOLBAR
  172     GTK_ICON_SIZE_LARGE_TOOLBAR
  173     GTK_ICON_SIZE_BUTTON
  174     GTK_ICON_SIZE_DND
  175     GTK_ICON_SIZE_DIALOG
  176 end enum
  177 
  178 type GtkSensitivityType as long
  179 enum
  180     GTK_SENSITIVITY_AUTO
  181     GTK_SENSITIVITY_ON
  182     GTK_SENSITIVITY_OFF
  183 end enum
  184 
  185 type GtkSideType as long
  186 enum
  187     GTK_SIDE_TOP
  188     GTK_SIDE_BOTTOM
  189     GTK_SIDE_LEFT
  190     GTK_SIDE_RIGHT
  191 end enum
  192 
  193 type GtkTextDirection as long
  194 enum
  195     GTK_TEXT_DIR_NONE
  196     GTK_TEXT_DIR_LTR
  197     GTK_TEXT_DIR_RTL
  198 end enum
  199 
  200 type GtkJustification as long
  201 enum
  202     GTK_JUSTIFY_LEFT
  203     GTK_JUSTIFY_RIGHT
  204     GTK_JUSTIFY_CENTER
  205     GTK_JUSTIFY_FILL
  206 end enum
  207 
  208 type GtkMatchType as long
  209 enum
  210     GTK_MATCH_ALL
  211     GTK_MATCH_ALL_TAIL
  212     GTK_MATCH_HEAD
  213     GTK_MATCH_TAIL
  214     GTK_MATCH_EXACT
  215     GTK_MATCH_LAST
  216 end enum
  217 
  218 type GtkMenuDirectionType as long
  219 enum
  220     GTK_MENU_DIR_PARENT
  221     GTK_MENU_DIR_CHILD
  222     GTK_MENU_DIR_NEXT
  223     GTK_MENU_DIR_PREV
  224 end enum
  225 
  226 type GtkMessageType as long
  227 enum
  228     GTK_MESSAGE_INFO
  229     GTK_MESSAGE_WARNING
  230     GTK_MESSAGE_QUESTION
  231     GTK_MESSAGE_ERROR
  232     GTK_MESSAGE_OTHER
  233 end enum
  234 
  235 type GtkMetricType as long
  236 enum
  237     GTK_PIXELS
  238     GTK_INCHES
  239     GTK_CENTIMETERS
  240 end enum
  241 
  242 type GtkMovementStep as long
  243 enum
  244     GTK_MOVEMENT_LOGICAL_POSITIONS
  245     GTK_MOVEMENT_VISUAL_POSITIONS
  246     GTK_MOVEMENT_WORDS
  247     GTK_MOVEMENT_DISPLAY_LINES
  248     GTK_MOVEMENT_DISPLAY_LINE_ENDS
  249     GTK_MOVEMENT_PARAGRAPHS
  250     GTK_MOVEMENT_PARAGRAPH_ENDS
  251     GTK_MOVEMENT_PAGES
  252     GTK_MOVEMENT_BUFFER_ENDS
  253     GTK_MOVEMENT_HORIZONTAL_PAGES
  254 end enum
  255 
  256 type GtkScrollStep as long
  257 enum
  258     GTK_SCROLL_STEPS
  259     GTK_SCROLL_PAGES
  260     GTK_SCROLL_ENDS
  261     GTK_SCROLL_HORIZONTAL_STEPS
  262     GTK_SCROLL_HORIZONTAL_PAGES
  263     GTK_SCROLL_HORIZONTAL_ENDS
  264 end enum
  265 
  266 type GtkOrientation as long
  267 enum
  268     GTK_ORIENTATION_HORIZONTAL
  269     GTK_ORIENTATION_VERTICAL
  270 end enum
  271 
  272 type GtkCornerType as long
  273 enum
  274     GTK_CORNER_TOP_LEFT
  275     GTK_CORNER_BOTTOM_LEFT
  276     GTK_CORNER_TOP_RIGHT
  277     GTK_CORNER_BOTTOM_RIGHT
  278 end enum
  279 
  280 type GtkPackType as long
  281 enum
  282     GTK_PACK_START
  283     GTK_PACK_END
  284 end enum
  285 
  286 type GtkPathPriorityType as long
  287 enum
  288     GTK_PATH_PRIO_LOWEST = 0
  289     GTK_PATH_PRIO_GTK = 4
  290     GTK_PATH_PRIO_APPLICATION = 8
  291     GTK_PATH_PRIO_THEME = 10
  292     GTK_PATH_PRIO_RC = 12
  293     GTK_PATH_PRIO_HIGHEST = 15
  294 end enum
  295 
  296 const GTK_PATH_PRIO_MASK = &h0f
  297 
  298 type GtkPathType as long
  299 enum
  300     GTK_PATH_WIDGET
  301     GTK_PATH_WIDGET_CLASS
  302     GTK_PATH_CLASS
  303 end enum
  304 
  305 type GtkPolicyType as long
  306 enum
  307     GTK_POLICY_ALWAYS
  308     GTK_POLICY_AUTOMATIC
  309     GTK_POLICY_NEVER
  310 end enum
  311 
  312 type GtkPositionType as long
  313 enum
  314     GTK_POS_LEFT
  315     GTK_POS_RIGHT
  316     GTK_POS_TOP
  317     GTK_POS_BOTTOM
  318 end enum
  319 
  320 type GtkPreviewType as long
  321 enum
  322     GTK_PREVIEW_COLOR
  323     GTK_PREVIEW_GRAYSCALE
  324 end enum
  325 
  326 type GtkReliefStyle as long
  327 enum
  328     GTK_RELIEF_NORMAL
  329     GTK_RELIEF_HALF
  330     GTK_RELIEF_NONE
  331 end enum
  332 
  333 type GtkResizeMode as long
  334 enum
  335     GTK_RESIZE_PARENT
  336     GTK_RESIZE_QUEUE
  337     GTK_RESIZE_IMMEDIATE
  338 end enum
  339 
  340 type GtkSignalRunType as long
  341 enum
  342     GTK_RUN_FIRST = G_SIGNAL_RUN_FIRST
  343     GTK_RUN_LAST = G_SIGNAL_RUN_LAST
  344     GTK_RUN_BOTH = GTK_RUN_FIRST or GTK_RUN_LAST
  345     GTK_RUN_NO_RECURSE = G_SIGNAL_NO_RECURSE
  346     GTK_RUN_ACTION = G_SIGNAL_ACTION
  347     GTK_RUN_NO_HOOKS = G_SIGNAL_NO_HOOKS
  348 end enum
  349 
  350 type GtkScrollType as long
  351 enum
  352     GTK_SCROLL_NONE
  353     GTK_SCROLL_JUMP
  354     GTK_SCROLL_STEP_BACKWARD
  355     GTK_SCROLL_STEP_FORWARD
  356     GTK_SCROLL_PAGE_BACKWARD
  357     GTK_SCROLL_PAGE_FORWARD
  358     GTK_SCROLL_STEP_UP
  359     GTK_SCROLL_STEP_DOWN
  360     GTK_SCROLL_PAGE_UP
  361     GTK_SCROLL_PAGE_DOWN
  362     GTK_SCROLL_STEP_LEFT
  363     GTK_SCROLL_STEP_RIGHT
  364     GTK_SCROLL_PAGE_LEFT
  365     GTK_SCROLL_PAGE_RIGHT
  366     GTK_SCROLL_START
  367     GTK_SCROLL_END
  368 end enum
  369 
  370 type GtkSelectionMode as long
  371 enum
  372     GTK_SELECTION_NONE
  373     GTK_SELECTION_SINGLE
  374     GTK_SELECTION_BROWSE
  375     GTK_SELECTION_MULTIPLE
  376     GTK_SELECTION_EXTENDED = GTK_SELECTION_MULTIPLE
  377 end enum
  378 
  379 type GtkShadowType as long
  380 enum
  381     GTK_SHADOW_NONE
  382     GTK_SHADOW_IN
  383     GTK_SHADOW_OUT
  384     GTK_SHADOW_ETCHED_IN
  385     GTK_SHADOW_ETCHED_OUT
  386 end enum
  387 
  388 type GtkStateType as long
  389 enum
  390     GTK_STATE_NORMAL
  391     GTK_STATE_ACTIVE
  392     GTK_STATE_PRELIGHT
  393     GTK_STATE_SELECTED
  394     GTK_STATE_INSENSITIVE
  395 end enum
  396 
  397 type GtkSubmenuDirection as long
  398 enum
  399     GTK_DIRECTION_LEFT
  400     GTK_DIRECTION_RIGHT
  401 end enum
  402 
  403 type GtkSubmenuPlacement as long
  404 enum
  405     GTK_TOP_BOTTOM
  406     GTK_LEFT_RIGHT
  407 end enum
  408 
  409 type GtkToolbarStyle as long
  410 enum
  411     GTK_TOOLBAR_ICONS
  412     GTK_TOOLBAR_TEXT
  413     GTK_TOOLBAR_BOTH
  414     GTK_TOOLBAR_BOTH_HORIZ
  415 end enum
  416 
  417 type GtkUpdateType as long
  418 enum
  419     GTK_UPDATE_CONTINUOUS
  420     GTK_UPDATE_DISCONTINUOUS
  421     GTK_UPDATE_DELAYED
  422 end enum
  423 
  424 type GtkVisibility as long
  425 enum
  426     GTK_VISIBILITY_NONE
  427     GTK_VISIBILITY_PARTIAL
  428     GTK_VISIBILITY_FULL
  429 end enum
  430 
  431 type GtkWindowPosition as long
  432 enum
  433     GTK_WIN_POS_NONE
  434     GTK_WIN_POS_CENTER
  435     GTK_WIN_POS_MOUSE
  436     GTK_WIN_POS_CENTER_ALWAYS
  437     GTK_WIN_POS_CENTER_ON_PARENT
  438 end enum
  439 
  440 type GtkWindowType as long
  441 enum
  442     GTK_WINDOW_TOPLEVEL
  443     GTK_WINDOW_POPUP
  444 end enum
  445 
  446 type GtkWrapMode as long
  447 enum
  448     GTK_WRAP_NONE
  449     GTK_WRAP_CHAR
  450     GTK_WRAP_WORD
  451     GTK_WRAP_WORD_CHAR
  452 end enum
  453 
  454 type GtkSortType as long
  455 enum
  456     GTK_SORT_ASCENDING
  457     GTK_SORT_DESCENDING
  458 end enum
  459 
  460 type GtkIMPreeditStyle as long
  461 enum
  462     GTK_IM_PREEDIT_NOTHING
  463     GTK_IM_PREEDIT_CALLBACK
  464     GTK_IM_PREEDIT_NONE
  465 end enum
  466 
  467 type GtkIMStatusStyle as long
  468 enum
  469     GTK_IM_STATUS_NOTHING
  470     GTK_IM_STATUS_CALLBACK
  471     GTK_IM_STATUS_NONE
  472 end enum
  473 
  474 type GtkPackDirection as long
  475 enum
  476     GTK_PACK_DIRECTION_LTR
  477     GTK_PACK_DIRECTION_RTL
  478     GTK_PACK_DIRECTION_TTB
  479     GTK_PACK_DIRECTION_BTT
  480 end enum
  481 
  482 type GtkPrintPages as long
  483 enum
  484     GTK_PRINT_PAGES_ALL
  485     GTK_PRINT_PAGES_CURRENT
  486     GTK_PRINT_PAGES_RANGES
  487     GTK_PRINT_PAGES_SELECTION
  488 end enum
  489 
  490 type GtkPageSet as long
  491 enum
  492     GTK_PAGE_SET_ALL
  493     GTK_PAGE_SET_EVEN
  494     GTK_PAGE_SET_ODD
  495 end enum
  496 
  497 type GtkNumberUpLayout as long
  498 enum
  499     GTK_NUMBER_UP_LAYOUT_LEFT_TO_RIGHT_TOP_TO_BOTTOM
  500     GTK_NUMBER_UP_LAYOUT_LEFT_TO_RIGHT_BOTTOM_TO_TOP
  501     GTK_NUMBER_UP_LAYOUT_RIGHT_TO_LEFT_TOP_TO_BOTTOM
  502     GTK_NUMBER_UP_LAYOUT_RIGHT_TO_LEFT_BOTTOM_TO_TOP
  503     GTK_NUMBER_UP_LAYOUT_TOP_TO_BOTTOM_LEFT_TO_RIGHT
  504     GTK_NUMBER_UP_LAYOUT_TOP_TO_BOTTOM_RIGHT_TO_LEFT
  505     GTK_NUMBER_UP_LAYOUT_BOTTOM_TO_TOP_LEFT_TO_RIGHT
  506     GTK_NUMBER_UP_LAYOUT_BOTTOM_TO_TOP_RIGHT_TO_LEFT
  507 end enum
  508 
  509 type GtkPageOrientation as long
  510 enum
  511     GTK_PAGE_ORIENTATION_PORTRAIT
  512     GTK_PAGE_ORIENTATION_LANDSCAPE
  513     GTK_PAGE_ORIENTATION_REVERSE_PORTRAIT
  514     GTK_PAGE_ORIENTATION_REVERSE_LANDSCAPE
  515 end enum
  516 
  517 type GtkPrintQuality as long
  518 enum
  519     GTK_PRINT_QUALITY_LOW
  520     GTK_PRINT_QUALITY_NORMAL
  521     GTK_PRINT_QUALITY_HIGH
  522     GTK_PRINT_QUALITY_DRAFT
  523 end enum
  524 
  525 type GtkPrintDuplex as long
  526 enum
  527     GTK_PRINT_DUPLEX_SIMPLEX
  528     GTK_PRINT_DUPLEX_HORIZONTAL
  529     GTK_PRINT_DUPLEX_VERTICAL
  530 end enum
  531 
  532 type GtkUnit as long
  533 enum
  534     GTK_UNIT_PIXEL
  535     GTK_UNIT_POINTS
  536     GTK_UNIT_INCH
  537     GTK_UNIT_MM
  538 end enum
  539 
  540 type GtkTreeViewGridLines as long
  541 enum
  542     GTK_TREE_VIEW_GRID_LINES_NONE
  543     GTK_TREE_VIEW_GRID_LINES_HORIZONTAL
  544     GTK_TREE_VIEW_GRID_LINES_VERTICAL
  545     GTK_TREE_VIEW_GRID_LINES_BOTH
  546 end enum
  547 
  548 type GtkDragResult as long
  549 enum
  550     GTK_DRAG_RESULT_SUCCESS
  551     GTK_DRAG_RESULT_NO_TARGET
  552     GTK_DRAG_RESULT_USER_CANCELLED
  553     GTK_DRAG_RESULT_TIMEOUT_EXPIRED
  554     GTK_DRAG_RESULT_GRAB_BROKEN
  555     GTK_DRAG_RESULT_ERROR
  556 end enum
  557 
  558 #define GTK_TYPE_ACCEL_GROUP gtk_accel_group_get_type()
  559 #define GTK_ACCEL_GROUP(object) G_TYPE_CHECK_INSTANCE_CAST((object), GTK_TYPE_ACCEL_GROUP, GtkAccelGroup)
  560 #define GTK_ACCEL_GROUP_CLASS(klass) G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_ACCEL_GROUP, GtkAccelGroupClass)
  561 #define GTK_IS_ACCEL_GROUP(object) G_TYPE_CHECK_INSTANCE_TYPE((object), GTK_TYPE_ACCEL_GROUP)
  562 #define GTK_IS_ACCEL_GROUP_CLASS(klass) G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_ACCEL_GROUP)
  563 #define GTK_ACCEL_GROUP_GET_CLASS(obj) G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_ACCEL_GROUP, GtkAccelGroupClass)
  564 
  565 type GtkAccelFlags as long
  566 enum
  567     GTK_ACCEL_VISIBLE = 1 shl 0
  568     GTK_ACCEL_LOCKED = 1 shl 1
  569     GTK_ACCEL_MASK = &h07
  570 end enum
  571 
  572 type GtkAccelGroup as _GtkAccelGroup
  573 type GtkAccelGroupClass as _GtkAccelGroupClass
  574 type GtkAccelKey as _GtkAccelKey
  575 type GtkAccelGroupEntry as _GtkAccelGroupEntry
  576 type GtkAccelGroupActivate as function(byval accel_group as GtkAccelGroup ptr, byval acceleratable as GObject ptr, byval keyval as guint, byval modifier as GdkModifierType) as gboolean
  577 type GtkAccelGroupFindFunc as function(byval key as GtkAccelKey ptr, byval closure as GClosure ptr, byval data as gpointer) as gboolean
  578 
  579 type _GtkAccelGroup
  580     parent as GObject
  581     lock_count as guint
  582     modifier_mask as GdkModifierType
  583     acceleratables as GSList ptr
  584     n_accels as guint
  585     priv_accels as GtkAccelGroupEntry ptr
  586 end type
  587 
  588 type _GtkAccelGroupClass
  589     parent_class as GObjectClass
  590     accel_changed as sub(byval accel_group as GtkAccelGroup ptr, byval keyval as guint, byval modifier as GdkModifierType, byval accel_closure as GClosure ptr)
  591     _gtk_reserved1 as sub()
  592     _gtk_reserved2 as sub()
  593     _gtk_reserved3 as sub()
  594     _gtk_reserved4 as sub()
  595 end type
  596 
  597 type _GtkAccelKey
  598     accel_key as guint
  599     accel_mods as GdkModifierType
  600     accel_flags : 16 as guint
  601 end type
  602 
  603 declare function gtk_accel_group_get_type() as GType
  604 declare function gtk_accel_group_new() as GtkAccelGroup ptr
  605 declare function gtk_accel_group_get_is_locked(byval accel_group as GtkAccelGroup ptr) as gboolean
  606 declare function gtk_accel_group_get_modifier_mask(byval accel_group as GtkAccelGroup ptr) as GdkModifierType
  607 declare sub gtk_accel_group_lock(byval accel_group as GtkAccelGroup ptr)
  608 declare sub gtk_accel_group_unlock(byval accel_group as GtkAccelGroup ptr)
  609 declare sub gtk_accel_group_connect(byval accel_group as GtkAccelGroup ptr, byval accel_key as guint, byval accel_mods as GdkModifierType, byval accel_flags as GtkAccelFlags, byval closure as GClosure ptr)
  610 declare sub gtk_accel_group_connect_by_path(byval accel_group as GtkAccelGroup ptr, byval accel_path as const gchar ptr, byval closure as GClosure ptr)
  611 declare function gtk_accel_group_disconnect(byval accel_group as GtkAccelGroup ptr, byval closure as GClosure ptr) as gboolean
  612 declare function gtk_accel_group_disconnect_key(byval accel_group as GtkAccelGroup ptr, byval accel_key as guint, byval accel_mods as GdkModifierType) as gboolean
  613 declare function gtk_accel_group_activate(byval accel_group as GtkAccelGroup ptr, byval accel_quark as GQuark, byval acceleratable as GObject ptr, byval accel_key as guint, byval accel_mods as GdkModifierType) as gboolean
  614 declare sub _gtk_accel_group_attach(byval accel_group as GtkAccelGroup ptr, byval object as GObject ptr)
  615 declare sub _gtk_accel_group_detach(byval accel_group as GtkAccelGroup ptr, byval object as GObject ptr)
  616 declare function gtk_accel_groups_activate(byval object as GObject ptr, byval accel_key as guint, byval accel_mods as GdkModifierType) as gboolean
  617 declare function gtk_accel_groups_from_object(byval object as GObject ptr) as GSList ptr
  618 declare function gtk_accel_group_find(byval accel_group as GtkAccelGroup ptr, byval find_func as GtkAccelGroupFindFunc, byval data as gpointer) as GtkAccelKey ptr
  619 declare function gtk_accel_group_from_accel_closure(byval closure as GClosure ptr) as GtkAccelGroup ptr
  620 declare function gtk_accelerator_valid(byval keyval as guint, byval modifiers as GdkModifierType) as gboolean
  621 declare sub gtk_accelerator_parse(byval accelerator as const gchar ptr, byval accelerator_key as guint ptr, byval accelerator_mods as GdkModifierType ptr)
  622 declare function gtk_accelerator_name(byval accelerator_key as guint, byval accelerator_mods as GdkModifierType) as gchar ptr
  623 declare function gtk_accelerator_get_label(byval accelerator_key as guint, byval accelerator_mods as GdkModifierType) as gchar ptr
  624 declare sub gtk_accelerator_set_default_mod_mask(byval default_mod_mask as GdkModifierType)
  625 declare function gtk_accelerator_get_default_mod_mask() as guint
  626 declare function gtk_accel_group_query(byval accel_group as GtkAccelGroup ptr, byval accel_key as guint, byval accel_mods as GdkModifierType, byval n_entries as guint ptr) as GtkAccelGroupEntry ptr
  627 declare sub _gtk_accel_group_reconnect(byval accel_group as GtkAccelGroup ptr, byval accel_path_quark as GQuark)
  628 
  629 type _GtkAccelGroupEntry
  630     key as GtkAccelKey
  631     closure as GClosure ptr
  632     accel_path_quark as GQuark
  633 end type
  634 
  635 declare function gtk_accel_group_ref alias "g_object_ref"(byval object as gpointer) as gpointer
  636 declare sub gtk_accel_group_unref alias "g_object_unref"(byval object as gpointer)
  637 #define __GTK_BIN_H__
  638 #define __GTK_CONTAINER_H__
  639 #define __GTK_WIDGET_H__
  640 #define __GTK_OBJECT_H__
  641 #define __GTK_TYPE_UTILS_H__
  642 #define __GTK_TYPE_BUILTINS_H__
  643 declare function gtk_accel_flags_get_type() as GType
  644 #define GTK_TYPE_ACCEL_FLAGS gtk_accel_flags_get_type()
  645 declare function gtk_assistant_page_type_get_type() as GType
  646 #define GTK_TYPE_ASSISTANT_PAGE_TYPE gtk_assistant_page_type_get_type()
  647 declare function gtk_builder_error_get_type() as GType
  648 #define GTK_TYPE_BUILDER_ERROR gtk_builder_error_get_type()
  649 declare function gtk_calendar_display_options_get_type() as GType
  650 #define GTK_TYPE_CALENDAR_DISPLAY_OPTIONS gtk_calendar_display_options_get_type()
  651 declare function gtk_cell_renderer_state_get_type() as GType
  652 #define GTK_TYPE_CELL_RENDERER_STATE gtk_cell_renderer_state_get_type()
  653 declare function gtk_cell_renderer_mode_get_type() as GType
  654 #define GTK_TYPE_CELL_RENDERER_MODE gtk_cell_renderer_mode_get_type()
  655 declare function gtk_cell_renderer_accel_mode_get_type() as GType
  656 #define GTK_TYPE_CELL_RENDERER_ACCEL_MODE gtk_cell_renderer_accel_mode_get_type()
  657 declare function gtk_debug_flag_get_type() as GType
  658 #define GTK_TYPE_DEBUG_FLAG gtk_debug_flag_get_type()
  659 declare function gtk_dialog_flags_get_type() as GType
  660 #define GTK_TYPE_DIALOG_FLAGS gtk_dialog_flags_get_type()
  661 declare function gtk_response_type_get_type() as GType
  662 #define GTK_TYPE_RESPONSE_TYPE gtk_response_type_get_type()
  663 declare function gtk_dest_defaults_get_type() as GType
  664 #define GTK_TYPE_DEST_DEFAULTS gtk_dest_defaults_get_type()
  665 declare function gtk_target_flags_get_type() as GType
  666 #define GTK_TYPE_TARGET_FLAGS gtk_target_flags_get_type()
  667 declare function gtk_entry_icon_position_get_type() as GType
  668 #define GTK_TYPE_ENTRY_ICON_POSITION gtk_entry_icon_position_get_type()
  669 declare function gtk_anchor_type_get_type() as GType
  670 #define GTK_TYPE_ANCHOR_TYPE gtk_anchor_type_get_type()
  671 declare function gtk_arrow_placement_get_type() as GType
  672 #define GTK_TYPE_ARROW_PLACEMENT gtk_arrow_placement_get_type()
  673 declare function gtk_arrow_type_get_type() as GType
  674 #define GTK_TYPE_ARROW_TYPE gtk_arrow_type_get_type()
  675 declare function gtk_attach_options_get_type() as GType
  676 #define GTK_TYPE_ATTACH_OPTIONS gtk_attach_options_get_type()
  677 declare function gtk_button_box_style_get_type() as GType
  678 #define GTK_TYPE_BUTTON_BOX_STYLE gtk_button_box_style_get_type()
  679 declare function gtk_curve_type_get_type() as GType
  680 #define GTK_TYPE_CURVE_TYPE gtk_curve_type_get_type()
  681 declare function gtk_delete_type_get_type() as GType
  682 #define GTK_TYPE_DELETE_TYPE gtk_delete_type_get_type()
  683 declare function gtk_direction_type_get_type() as GType
  684 #define GTK_TYPE_DIRECTION_TYPE gtk_direction_type_get_type()
  685 declare function gtk_expander_style_get_type() as GType
  686 #define GTK_TYPE_EXPANDER_STYLE gtk_expander_style_get_type()
  687 declare function gtk_icon_size_get_type() as GType
  688 #define GTK_TYPE_ICON_SIZE gtk_icon_size_get_type()
  689 declare function gtk_sensitivity_type_get_type() as GType
  690 #define GTK_TYPE_SENSITIVITY_TYPE gtk_sensitivity_type_get_type()
  691 declare function gtk_side_type_get_type() as GType
  692 #define GTK_TYPE_SIDE_TYPE gtk_side_type_get_type()
  693 declare function gtk_text_direction_get_type() as GType
  694 #define GTK_TYPE_TEXT_DIRECTION gtk_text_direction_get_type()
  695 declare function gtk_justification_get_type() as GType
  696 #define GTK_TYPE_JUSTIFICATION gtk_justification_get_type()
  697 declare function gtk_match_type_get_type() as GType
  698 #define GTK_TYPE_MATCH_TYPE gtk_match_type_get_type()
  699 declare function gtk_menu_direction_type_get_type() as GType
  700 #define GTK_TYPE_MENU_DIRECTION_TYPE gtk_menu_direction_type_get_type()
  701 declare function gtk_message_type_get_type() as GType
  702 #define GTK_TYPE_MESSAGE_TYPE gtk_message_type_get_type()
  703 declare function gtk_metric_type_get_type() as GType
  704 #define GTK_TYPE_METRIC_TYPE gtk_metric_type_get_type()
  705 declare function gtk_movement_step_get_type() as GType
  706 #define GTK_TYPE_MOVEMENT_STEP gtk_movement_step_get_type()
  707 declare function gtk_scroll_step_get_type() as GType
  708 #define GTK_TYPE_SCROLL_STEP gtk_scroll_step_get_type()
  709 declare function gtk_orientation_get_type() as GType
  710 #define GTK_TYPE_ORIENTATION gtk_orientation_get_type()
  711 declare function gtk_corner_type_get_type() as GType
  712 #define GTK_TYPE_CORNER_TYPE gtk_corner_type_get_type()
  713 declare function gtk_pack_type_get_type() as GType
  714 #define GTK_TYPE_PACK_TYPE gtk_pack_type_get_type()
  715 declare function gtk_path_priority_type_get_type() as GType
  716 #define GTK_TYPE_PATH_PRIORITY_TYPE gtk_path_priority_type_get_type()
  717 declare function gtk_path_type_get_type() as GType
  718 #define GTK_TYPE_PATH_TYPE gtk_path_type_get_type()
  719 declare function gtk_policy_type_get_type() as GType
  720 #define GTK_TYPE_POLICY_TYPE gtk_policy_type_get_type()
  721 declare function gtk_position_type_get_type() as GType
  722 #define GTK_TYPE_POSITION_TYPE gtk_position_type_get_type()
  723 declare function gtk_preview_type_get_type() as GType
  724 #define GTK_TYPE_PREVIEW_TYPE gtk_preview_type_get_type()
  725 declare function gtk_relief_style_get_type() as GType
  726 #define GTK_TYPE_RELIEF_STYLE gtk_relief_style_get_type()
  727 declare function gtk_resize_mode_get_type() as GType
  728 #define GTK_TYPE_RESIZE_MODE gtk_resize_mode_get_type()
  729 declare function gtk_signal_run_type_get_type() as GType
  730 #define GTK_TYPE_SIGNAL_RUN_TYPE gtk_signal_run_type_get_type()
  731 declare function gtk_scroll_type_get_type() as GType
  732 #define GTK_TYPE_SCROLL_TYPE gtk_scroll_type_get_type()
  733 declare function gtk_selection_mode_get_type() as GType
  734 #define GTK_TYPE_SELECTION_MODE gtk_selection_mode_get_type()
  735 declare function gtk_shadow_type_get_type() as GType
  736 #define GTK_TYPE_SHADOW_TYPE gtk_shadow_type_get_type()
  737 declare function gtk_state_type_get_type() as GType
  738 #define GTK_TYPE_STATE_TYPE gtk_state_type_get_type()
  739 declare function gtk_submenu_direction_get_type() as GType
  740 #define GTK_TYPE_SUBMENU_DIRECTION gtk_submenu_direction_get_type()
  741 declare function gtk_submenu_placement_get_type() as GType
  742 #define GTK_TYPE_SUBMENU_PLACEMENT gtk_submenu_placement_get_type()
  743 declare function gtk_toolbar_style_get_type() as GType
  744 #define GTK_TYPE_TOOLBAR_STYLE gtk_toolbar_style_get_type()
  745 declare function gtk_update_type_get_type() as GType
  746 #define GTK_TYPE_UPDATE_TYPE gtk_update_type_get_type()
  747 declare function gtk_visibility_get_type() as GType
  748 #define GTK_TYPE_VISIBILITY gtk_visibility_get_type()
  749 declare function gtk_window_position_get_type() as GType
  750 #define GTK_TYPE_WINDOW_POSITION gtk_window_position_get_type()
  751 declare function gtk_window_type_get_type() as GType
  752 #define GTK_TYPE_WINDOW_TYPE gtk_window_type_get_type()
  753 declare function gtk_wrap_mode_get_type() as GType
  754 #define GTK_TYPE_WRAP_MODE gtk_wrap_mode_get_type()
  755 declare function gtk_sort_type_get_type() as GType
  756 #define GTK_TYPE_SORT_TYPE gtk_sort_type_get_type()
  757 declare function gtk_im_preedit_style_get_type() as GType
  758 #define GTK_TYPE_IM_PREEDIT_STYLE gtk_im_preedit_style_get_type()
  759 declare function gtk_im_status_style_get_type() as GType
  760 #define GTK_TYPE_IM_STATUS_STYLE gtk_im_status_style_get_type()
  761 declare function gtk_pack_direction_get_type() as GType
  762 #define GTK_TYPE_PACK_DIRECTION gtk_pack_direction_get_type()
  763 declare function gtk_print_pages_get_type() as GType
  764 #define GTK_TYPE_PRINT_PAGES gtk_print_pages_get_type()
  765 declare function gtk_page_set_get_type() as GType
  766 #define GTK_TYPE_PAGE_SET gtk_page_set_get_type()
  767 declare function gtk_number_up_layout_get_type() as GType
  768 #define GTK_TYPE_NUMBER_UP_LAYOUT gtk_number_up_layout_get_type()
  769 declare function gtk_page_orientation_get_type() as GType
  770 #define GTK_TYPE_PAGE_ORIENTATION gtk_page_orientation_get_type()
  771 declare function gtk_print_quality_get_type() as GType
  772 #define GTK_TYPE_PRINT_QUALITY gtk_print_quality_get_type()
  773 declare function gtk_print_duplex_get_type() as GType
  774 #define GTK_TYPE_PRINT_DUPLEX gtk_print_duplex_get_type()
  775 declare function gtk_unit_get_type() as GType
  776 #define GTK_TYPE_UNIT gtk_unit_get_type()
  777 declare function gtk_tree_view_grid_lines_get_type() as GType
  778 #define GTK_TYPE_TREE_VIEW_GRID_LINES gtk_tree_view_grid_lines_get_type()
  779 declare function gtk_drag_result_get_type() as GType
  780 #define GTK_TYPE_DRAG_RESULT gtk_drag_result_get_type()
  781 declare function gtk_file_chooser_action_get_type() as GType
  782 #define GTK_TYPE_FILE_CHOOSER_ACTION gtk_file_chooser_action_get_type()
  783 declare function gtk_file_chooser_confirmation_get_type() as GType
  784 #define GTK_TYPE_FILE_CHOOSER_CONFIRMATION gtk_file_chooser_confirmation_get_type()
  785 declare function gtk_file_chooser_error_get_type() as GType
  786 #define GTK_TYPE_FILE_CHOOSER_ERROR gtk_file_chooser_error_get_type()
  787 declare function gtk_file_filter_flags_get_type() as GType
  788 #define GTK_TYPE_FILE_FILTER_FLAGS gtk_file_filter_flags_get_type()
  789 declare function gtk_icon_lookup_flags_get_type() as GType
  790 #define GTK_TYPE_ICON_LOOKUP_FLAGS gtk_icon_lookup_flags_get_type()
  791 declare function gtk_icon_theme_error_get_type() as GType
  792 #define GTK_TYPE_ICON_THEME_ERROR gtk_icon_theme_error_get_type()
  793 declare function gtk_icon_view_drop_position_get_type() as GType
  794 #define GTK_TYPE_ICON_VIEW_DROP_POSITION gtk_icon_view_drop_position_get_type()
  795 declare function gtk_image_type_get_type() as GType
  796 #define GTK_TYPE_IMAGE_TYPE gtk_image_type_get_type()
  797 declare function gtk_buttons_type_get_type() as GType
  798 #define GTK_TYPE_BUTTONS_TYPE gtk_buttons_type_get_type()
  799 declare function gtk_notebook_tab_get_type() as GType
  800 #define GTK_TYPE_NOTEBOOK_TAB gtk_notebook_tab_get_type()
  801 declare function gtk_object_flags_get_type() as GType
  802 #define GTK_TYPE_OBJECT_FLAGS gtk_object_flags_get_type()
  803 declare function gtk_arg_flags_get_type() as GType
  804 #define GTK_TYPE_ARG_FLAGS gtk_arg_flags_get_type()
  805 declare function gtk_print_status_get_type() as GType
  806 #define GTK_TYPE_PRINT_STATUS gtk_print_status_get_type()
  807 declare function gtk_print_operation_result_get_type() as GType
  808 #define GTK_TYPE_PRINT_OPERATION_RESULT gtk_print_operation_result_get_type()
  809 declare function gtk_print_operation_action_get_type() as GType
  810 #define GTK_TYPE_PRINT_OPERATION_ACTION gtk_print_operation_action_get_type()
  811 declare function gtk_print_error_get_type() as GType
  812 #define GTK_TYPE_PRINT_ERROR gtk_print_error_get_type()
  813 declare function gtk_private_flags_get_type() as GType
  814 #define GTK_TYPE_PRIVATE_FLAGS gtk_private_flags_get_type()
  815 declare function gtk_progress_bar_style_get_type() as GType
  816 #define GTK_TYPE_PROGRESS_BAR_STYLE gtk_progress_bar_style_get_type()
  817 declare function gtk_progress_bar_orientation_get_type() as GType
  818 #define GTK_TYPE_PROGRESS_BAR_ORIENTATION gtk_progress_bar_orientation_get_type()
  819 declare function gtk_rc_flags_get_type() as GType
  820 #define GTK_TYPE_RC_FLAGS gtk_rc_flags_get_type()
  821 declare function gtk_rc_token_type_get_type() as GType
  822 #define GTK_TYPE_RC_TOKEN_TYPE gtk_rc_token_type_get_type()
  823 declare function gtk_recent_sort_type_get_type() as GType
  824 #define GTK_TYPE_RECENT_SORT_TYPE gtk_recent_sort_type_get_type()
  825 declare function gtk_recent_chooser_error_get_type() as GType
  826 #define GTK_TYPE_RECENT_CHOOSER_ERROR gtk_recent_chooser_error_get_type()
  827 declare function gtk_recent_filter_flags_get_type() as GType
  828 #define GTK_TYPE_RECENT_FILTER_FLAGS gtk_recent_filter_flags_get_type()
  829 declare function gtk_recent_manager_error_get_type() as GType
  830 #define GTK_TYPE_RECENT_MANAGER_ERROR gtk_recent_manager_error_get_type()
  831 declare function gtk_size_group_mode_get_type() as GType
  832 #define GTK_TYPE_SIZE_GROUP_MODE gtk_size_group_mode_get_type()
  833 declare function gtk_spin_button_update_policy_get_type() as GType
  834 #define GTK_TYPE_SPIN_BUTTON_UPDATE_POLICY gtk_spin_button_update_policy_get_type()
  835 declare function gtk_spin_type_get_type() as GType
  836 #define GTK_TYPE_SPIN_TYPE gtk_spin_type_get_type()
  837 declare function gtk_text_buffer_target_info_get_type() as GType
  838 #define GTK_TYPE_TEXT_BUFFER_TARGET_INFO gtk_text_buffer_target_info_get_type()
  839 declare function gtk_text_search_flags_get_type() as GType
  840 #define GTK_TYPE_TEXT_SEARCH_FLAGS gtk_text_search_flags_get_type()
  841 declare function gtk_text_window_type_get_type() as GType
  842 #define GTK_TYPE_TEXT_WINDOW_TYPE gtk_text_window_type_get_type()
  843 declare function gtk_toolbar_child_type_get_type() as GType
  844 #define GTK_TYPE_TOOLBAR_CHILD_TYPE gtk_toolbar_child_type_get_type()
  845 declare function gtk_toolbar_space_style_get_type() as GType
  846 #define GTK_TYPE_TOOLBAR_SPACE_STYLE gtk_toolbar_space_style_get_type()
  847 declare function gtk_tool_palette_drag_targets_get_type() as GType
  848 #define GTK_TYPE_TOOL_PALETTE_DRAG_TARGETS gtk_tool_palette_drag_targets_get_type()
  849 declare function gtk_tree_model_flags_get_type() as GType
  850 #define GTK_TYPE_TREE_MODEL_FLAGS gtk_tree_model_flags_get_type()
  851 declare function gtk_tree_view_drop_position_get_type() as GType
  852 #define GTK_TYPE_TREE_VIEW_DROP_POSITION gtk_tree_view_drop_position_get_type()
  853 declare function gtk_tree_view_column_sizing_get_type() as GType
  854 #define GTK_TYPE_TREE_VIEW_COLUMN_SIZING gtk_tree_view_column_sizing_get_type()
  855 declare function gtk_ui_manager_item_type_get_type() as GType
  856 #define GTK_TYPE_UI_MANAGER_ITEM_TYPE gtk_ui_manager_item_type_get_type()
  857 declare function gtk_widget_flags_get_type() as GType
  858 #define GTK_TYPE_WIDGET_FLAGS gtk_widget_flags_get_type()
  859 declare function gtk_widget_help_type_get_type() as GType
  860 #define GTK_TYPE_WIDGET_HELP_TYPE gtk_widget_help_type_get_type()
  861 declare function gtk_tree_view_mode_get_type() as GType
  862 #define GTK_TYPE_TREE_VIEW_MODE gtk_tree_view_mode_get_type()
  863 declare function gtk_cell_type_get_type() as GType
  864 #define GTK_TYPE_CELL_TYPE gtk_cell_type_get_type()
  865 declare function gtk_clist_drag_pos_get_type() as GType
  866 #define GTK_TYPE_CLIST_DRAG_POS gtk_clist_drag_pos_get_type()
  867 declare function gtk_button_action_get_type() as GType
  868 #define GTK_TYPE_BUTTON_ACTION gtk_button_action_get_type()
  869 declare function gtk_ctree_pos_get_type() as GType
  870 #define GTK_TYPE_CTREE_POS gtk_ctree_pos_get_type()
  871 declare function gtk_ctree_line_style_get_type() as GType
  872 #define GTK_TYPE_CTREE_LINE_STYLE gtk_ctree_line_style_get_type()
  873 declare function gtk_ctree_expander_style_get_type() as GType
  874 #define GTK_TYPE_CTREE_EXPANDER_STYLE gtk_ctree_expander_style_get_type()
  875 declare function gtk_ctree_expansion_type_get_type() as GType
  876 #define GTK_TYPE_CTREE_EXPANSION_TYPE gtk_ctree_expansion_type_get_type()
  877 #define GTK_TYPE_IDENTIFIER gtk_identifier_get_type()
  878 declare function gtk_identifier_get_type() as GType
  879 
  880 type GtkArg as _GtkArg
  881 type GtkObject as _GtkObject
  882 type GtkFunction as function(byval data as gpointer) as gboolean
  883 type GtkCallbackMarshal as sub(byval object as GtkObject ptr, byval data as gpointer, byval n_args as guint, byval args as GtkArg ptr)
  884 type GtkTranslateFunc as function(byval path as const gchar ptr, byval func_data as gpointer) as gchar ptr
  885 
  886 #define GTK_TYPE_INVALID G_TYPE_INVALID
  887 #define GTK_TYPE_NONE G_TYPE_NONE
  888 #define GTK_TYPE_ENUM G_TYPE_ENUM
  889 #define GTK_TYPE_FLAGS G_TYPE_FLAGS
  890 #define GTK_TYPE_CHAR G_TYPE_CHAR
  891 #define GTK_TYPE_UCHAR G_TYPE_UCHAR
  892 #define GTK_TYPE_BOOL G_TYPE_BOOLEAN
  893 #define GTK_TYPE_INT G_TYPE_INT
  894 #define GTK_TYPE_UINT G_TYPE_UINT
  895 #define GTK_TYPE_LONG G_TYPE_LONG
  896 #define GTK_TYPE_ULONG G_TYPE_ULONG
  897 #define GTK_TYPE_FLOAT G_TYPE_FLOAT
  898 #define GTK_TYPE_DOUBLE G_TYPE_DOUBLE
  899 #define GTK_TYPE_STRING G_TYPE_STRING
  900 #define GTK_TYPE_BOXED G_TYPE_BOXED
  901 #define GTK_TYPE_POINTER G_TYPE_POINTER
  902 type GtkFundamentalType as GType
  903 #define GTK_CLASS_NAME(class) g_type_name(G_TYPE_FROM_CLASS(class))
  904 #define GTK_CLASS_TYPE(class) G_TYPE_FROM_CLASS(class)
  905 #define GTK_TYPE_IS_OBJECT(type) g_type_is_a((type), GTK_TYPE_OBJECT)
  906 #define GTK_TYPE_FUNDAMENTAL_LAST (G_TYPE_LAST_RESERVED_FUNDAMENTAL - 1)
  907 #define GTK_TYPE_FUNDAMENTAL_MAX G_TYPE_FUNDAMENTAL_MAX
  908 #define GTK_FUNDAMENTAL_TYPE G_TYPE_FUNDAMENTAL
  909 #define GTK_STRUCT_OFFSET G_STRUCT_OFFSET
  910 #define GTK_CHECK_CAST G_TYPE_CHECK_INSTANCE_CAST
  911 #define GTK_CHECK_CLASS_CAST G_TYPE_CHECK_CLASS_CAST
  912 #define GTK_CHECK_GET_CLASS G_TYPE_INSTANCE_GET_CLASS
  913 #define GTK_CHECK_TYPE G_TYPE_CHECK_INSTANCE_TYPE
  914 #define GTK_CHECK_CLASS_TYPE G_TYPE_CHECK_CLASS_TYPE
  915 
  916 type GtkType as GType
  917 type GtkTypeObject as GTypeInstance
  918 type GtkTypeClass as GTypeClass
  919 type GtkClassInitFunc as GBaseInitFunc
  920 type GtkObjectInitFunc as GInstanceInitFunc
  921 type GtkSignalMarshaller as GSignalCMarshaller
  922 type GtkDestroyNotify as sub(byval data as gpointer)
  923 type GtkSignalFunc as sub()
  924 #define GTK_SIGNAL_FUNC(f) G_CALLBACK(f)
  925 
  926 type _GtkArg_d_signal_data
  927     f as GCallback
  928     d as gpointer
  929 end type
  930 
  931 union _GtkArg_d
  932     char_data as byte
  933     uchar_data as guchar
  934     bool_data as gboolean
  935     int_data as gint
  936     uint_data as guint
  937     long_data as glong
  938     ulong_data as gulong
  939     float_data as gfloat
  940     double_data as gdouble
  941     string_data as gchar ptr
  942     object_data as GtkObject ptr
  943     pointer_data as gpointer
  944     signal_data as _GtkArg_d_signal_data
  945 end union
  946 
  947 type _GtkArg
  948     as GType type
  949     name as gchar ptr
  950     d as _GtkArg_d
  951 end type
  952 
  953 #define GTK_VALUE_CHAR(a) (a).d.char_data
  954 #define GTK_VALUE_UCHAR(a) (a).d.uchar_data
  955 #define GTK_VALUE_BOOL(a) (a).d.bool_data
  956 #define GTK_VALUE_INT(a) (a).d.int_data
  957 #define GTK_VALUE_UINT(a) (a).d.uint_data
  958 #define GTK_VALUE_LONG(a) (a).d.long_data
  959 #define GTK_VALUE_ULONG(a) (a).d.ulong_data
  960 #define GTK_VALUE_FLOAT(a) (a).d.float_data
  961 #define GTK_VALUE_DOUBLE(a) (a).d.double_data
  962 #define GTK_VALUE_STRING(a) (a).d.string_data
  963 #define GTK_VALUE_ENUM(a) (a).d.int_data
  964 #define GTK_VALUE_FLAGS(a) (a).d.uint_data
  965 #define GTK_VALUE_BOXED(a) (a).d.pointer_data
  966 #define GTK_VALUE_OBJECT(a) (a).d.object_data
  967 #define GTK_VALUE_POINTER(a) (a).d.pointer_data
  968 #define GTK_VALUE_SIGNAL(a) (a).d.signal_data
  969 #define GTK_RETLOC_CHAR(a) cptr(gchar ptr, (a).d.pointer_data)
  970 #define GTK_RETLOC_UCHAR(a) cptr(guchar ptr, (a).d.pointer_data)
  971 #define GTK_RETLOC_BOOL(a) cptr(gboolean ptr, (a).d.pointer_data)
  972 #define GTK_RETLOC_INT(a) cptr(gint ptr, (a).d.pointer_data)
  973 #define GTK_RETLOC_UINT(a) cptr(guint ptr, (a).d.pointer_data)
  974 #define GTK_RETLOC_LONG(a) cptr(glong ptr, (a).d.pointer_data)
  975 #define GTK_RETLOC_ULONG(a) cptr(gulong ptr, (a).d.pointer_data)
  976 #define GTK_RETLOC_FLOAT(a) cptr(gfloat ptr, (a).d.pointer_data)
  977 #define GTK_RETLOC_DOUBLE(a) cptr(gdouble ptr, (a).d.pointer_data)
  978 #define GTK_RETLOC_STRING(a) cptr(gchar ptr ptr, (a).d.pointer_data)
  979 #define GTK_RETLOC_ENUM(a) cptr(gint ptr, (a).d.pointer_data)
  980 #define GTK_RETLOC_FLAGS(a) cptr(guint ptr, (a).d.pointer_data)
  981 #define GTK_RETLOC_BOXED(a) cptr(gpointer ptr, (a).d.pointer_data)
  982 #define GTK_RETLOC_OBJECT(a) cptr(GtkObject ptr ptr, (a).d.pointer_data)
  983 #define GTK_RETLOC_POINTER(a) cptr(gpointer ptr, (a).d.pointer_data)
  984 type GtkTypeInfo as _GtkTypeInfo
  985 
  986 type _GtkTypeInfo
  987     type_name as gchar ptr
  988     object_size as guint
  989     class_size as guint
  990     class_init_func as GtkClassInitFunc
  991     object_init_func as GtkObjectInitFunc
  992     reserved_1 as gpointer
  993     reserved_2 as gpointer
  994     base_class_init_func as GtkClassInitFunc
  995 end type
  996 
  997 declare sub gtk_type_init(byval debug_flags as GTypeDebugFlags)
  998 declare function gtk_type_unique(byval parent_type as GtkType, byval gtkinfo as const GtkTypeInfo ptr) as GtkType
  999 declare function gtk_type_class(byval type as GtkType) as gpointer
 1000 declare function gtk_type_new(byval type as GtkType) as gpointer
 1001 
 1002 #define gtk_type_name(type) g_type_name(type)
 1003 #define gtk_type_from_name(name) g_type_from_name(name)
 1004 #define gtk_type_parent(type) g_type_parent(type)
 1005 #define gtk_type_is_a(type, is_a_type) g_type_is_a((type), (is_a_type))
 1006 type GtkEnumValue as GEnumValue
 1007 type GtkFlagValue as GFlagsValue
 1008 
 1009 declare function gtk_type_enum_get_values(byval enum_type as GtkType) as GtkEnumValue ptr
 1010 declare function gtk_type_flags_get_values(byval flags_type as GtkType) as GtkFlagValue ptr
 1011 declare function gtk_type_enum_find_value(byval enum_type as GtkType, byval value_name as const gchar ptr) as GtkEnumValue ptr
 1012 declare function gtk_type_flags_find_value(byval flags_type as GtkType, byval value_name as const gchar ptr) as GtkFlagValue ptr
 1013 #define __GTK_DEBUG_H__
 1014 
 1015 type GtkDebugFlag as long
 1016 enum
 1017     GTK_DEBUG_MISC = 1 shl 0
 1018     GTK_DEBUG_PLUGSOCKET = 1 shl 1
 1019     GTK_DEBUG_TEXT = 1 shl 2
 1020     GTK_DEBUG_TREE = 1 shl 3
 1021     GTK_DEBUG_UPDATES = 1 shl 4
 1022     GTK_DEBUG_KEYBINDINGS = 1 shl 5
 1023     GTK_DEBUG_MULTIHEAD = 1 shl 6
 1024     GTK_DEBUG_MODULES = 1 shl 7
 1025     GTK_DEBUG_GEOMETRY = 1 shl 8
 1026     GTK_DEBUG_ICONTHEME = 1 shl 9
 1027     GTK_DEBUG_PRINTING = 1 shl 10
 1028     GTK_DEBUG_BUILDER = 1 shl 11
 1029 end enum
 1030 
 1031 #define GTK_NOTE(type, action)
 1032 
 1033 #ifdef __FB_UNIX__
 1034     extern gtk_debug_flags as guint
 1035 #else
 1036     extern import gtk_debug_flags as guint
 1037 #endif
 1038 
 1039 #define GTK_TYPE_OBJECT gtk_object_get_type()
 1040 #define GTK_OBJECT(object) G_TYPE_CHECK_INSTANCE_CAST((object), GTK_TYPE_OBJECT, GtkObject)
 1041 #define GTK_OBJECT_CLASS(klass) G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_OBJECT, GtkObjectClass)
 1042 #define GTK_IS_OBJECT(object) G_TYPE_CHECK_INSTANCE_TYPE((object), GTK_TYPE_OBJECT)
 1043 #define GTK_IS_OBJECT_CLASS(klass) G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_OBJECT)
 1044 #define GTK_OBJECT_GET_CLASS(object) G_TYPE_INSTANCE_GET_CLASS((object), GTK_TYPE_OBJECT, GtkObjectClass)
 1045 #define GTK_OBJECT_TYPE G_OBJECT_TYPE
 1046 #define GTK_OBJECT_TYPE_NAME G_OBJECT_TYPE_NAME
 1047 
 1048 type GtkObjectFlags as long
 1049 enum
 1050     GTK_IN_DESTRUCTION = 1 shl 0
 1051     GTK_FLOATING = 1 shl 1
 1052     GTK_RESERVED_1 = 1 shl 2
 1053     GTK_RESERVED_2 = 1 shl 3
 1054 end enum
 1055 
 1056 #define GTK_OBJECT_FLAGS(obj) GTK_OBJECT(obj)->flags
 1057 #define GTK_OBJECT_FLOATING(obj) g_object_is_floating(obj)
 1058 #define GTK_OBJECT_SET_FLAGS(obj, flag) scope : GTK_OBJECT_FLAGS(obj) or= (flag) : end scope
 1059 #define GTK_OBJECT_UNSET_FLAGS(obj, flag) scope : GTK_OBJECT_FLAGS(obj) and= not (flag) : end scope
 1060 type GtkObjectClass as _GtkObjectClass
 1061 
 1062 type _GtkObject
 1063     parent_instance as GInitiallyUnowned
 1064     flags as guint32
 1065 end type
 1066 
 1067 type _GtkObjectClass
 1068     parent_class as GInitiallyUnownedClass
 1069     set_arg as sub(byval object as GtkObject ptr, byval arg as GtkArg ptr, byval arg_id as guint)
 1070     get_arg as sub(byval object as GtkObject ptr, byval arg as GtkArg ptr, byval arg_id as guint)
 1071     destroy as sub(byval object as GtkObject ptr)
 1072 end type
 1073 
 1074 declare function gtk_object_get_type() as GType
 1075 declare sub gtk_object_sink(byval object as GtkObject ptr)
 1076 declare sub gtk_object_destroy(byval object as GtkObject ptr)
 1077 declare function gtk_object_new(byval type as GType, byval first_property_name as const gchar ptr, ...) as GtkObject ptr
 1078 declare function gtk_object_ref(byval object as GtkObject ptr) as GtkObject ptr
 1079 declare sub gtk_object_unref(byval object as GtkObject ptr)
 1080 declare sub gtk_object_weakref(byval object as GtkObject ptr, byval notify as GDestroyNotify, byval data as gpointer)
 1081 declare sub gtk_object_weakunref(byval object as GtkObject ptr, byval notify as GDestroyNotify, byval data as gpointer)
 1082 declare sub gtk_object_set_data(byval object as GtkObject ptr, byval key as const gchar ptr, byval data as gpointer)
 1083 declare sub gtk_object_set_data_full(byval object as GtkObject ptr, byval key as const gchar ptr, byval data as gpointer, byval destroy as GDestroyNotify)
 1084 declare sub gtk_object_remove_data(byval object as GtkObject ptr, byval key as const gchar ptr)
 1085 declare function gtk_object_get_data(byval object as GtkObject ptr, byval key as const gchar ptr) as gpointer
 1086 declare sub gtk_object_remove_no_notify(byval object as GtkObject ptr, byval key as const gchar ptr)
 1087 declare sub gtk_object_set_user_data(byval object as GtkObject ptr, byval data as gpointer)
 1088 declare function gtk_object_get_user_data(byval object as GtkObject ptr) as gpointer
 1089 declare sub gtk_object_set_data_by_id(byval object as GtkObject ptr, byval data_id as GQuark, byval data as gpointer)
 1090 declare sub gtk_object_set_data_by_id_full(byval object as GtkObject ptr, byval data_id as GQuark, byval data as gpointer, byval destroy as GDestroyNotify)
 1091 declare function gtk_object_get_data_by_id(byval object as GtkObject ptr, byval data_id as GQuark) as gpointer
 1092 declare sub gtk_object_remove_data_by_id(byval object as GtkObject ptr, byval data_id as GQuark)
 1093 declare sub gtk_object_remove_no_notify_by_id(byval object as GtkObject ptr, byval key_id as GQuark)
 1094 declare function gtk_object_data_try_key alias "g_quark_try_string"(byval string as const gchar ptr) as GQuark
 1095 declare function gtk_object_data_force_id alias "g_quark_from_string"(byval string as const gchar ptr) as GQuark
 1096 
 1097 type GtkArgFlags as long
 1098 enum
 1099     GTK_ARG_READABLE = G_PARAM_READABLE
 1100     GTK_ARG_WRITABLE = G_PARAM_WRITABLE
 1101     GTK_ARG_CONSTRUCT = G_PARAM_CONSTRUCT
 1102     GTK_ARG_CONSTRUCT_ONLY = G_PARAM_CONSTRUCT_ONLY
 1103     GTK_ARG_CHILD_ARG = 1 shl 4
 1104 end enum
 1105 
 1106 const GTK_ARG_READWRITE = GTK_ARG_READABLE or GTK_ARG_WRITABLE
 1107 declare sub gtk_object_get(byval object as GtkObject ptr, byval first_property_name as const gchar ptr, ...)
 1108 declare sub gtk_object_set(byval object as GtkObject ptr, byval first_property_name as const gchar ptr, ...)
 1109 declare sub gtk_object_add_arg_type(byval arg_name as const gchar ptr, byval arg_type as GType, byval arg_flags as guint, byval arg_id as guint)
 1110 
 1111 #define __GTK_ADJUSTMENT_H__
 1112 #define GTK_TYPE_ADJUSTMENT gtk_adjustment_get_type()
 1113 #define GTK_ADJUSTMENT(obj) G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_ADJUSTMENT, GtkAdjustment)
 1114 #define GTK_ADJUSTMENT_CLASS(klass) G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_ADJUSTMENT, GtkAdjustmentClass)
 1115 #define GTK_IS_ADJUSTMENT(obj) G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_ADJUSTMENT)
 1116 #define GTK_IS_ADJUSTMENT_CLASS(klass) G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_ADJUSTMENT)
 1117 #define GTK_ADJUSTMENT_GET_CLASS(obj) G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_ADJUSTMENT, GtkAdjustmentClass)
 1118 type GtkAdjustment as _GtkAdjustment
 1119 type GtkAdjustmentClass as _GtkAdjustmentClass
 1120 
 1121 type _GtkAdjustment
 1122     parent_instance as GtkObject
 1123     lower as gdouble
 1124     upper as gdouble
 1125     value as gdouble
 1126     step_increment as gdouble
 1127     page_increment as gdouble
 1128     page_size as gdouble
 1129 end type
 1130 
 1131 type _GtkAdjustmentClass
 1132     parent_class as GtkObjectClass
 1133     changed as sub(byval adjustment as GtkAdjustment ptr)
 1134     value_changed as sub(byval adjustment as GtkAdjustment ptr)
 1135     _gtk_reserved1 as sub()
 1136     _gtk_reserved2 as sub()
 1137     _gtk_reserved3 as sub()
 1138     _gtk_reserved4 as sub()
 1139 end type
 1140 
 1141 declare function gtk_adjustment_get_type() as GType
 1142 declare function gtk_adjustment_new(byval value as gdouble, byval lower as gdouble, byval upper as gdouble, byval step_increment as gdouble, byval page_increment as gdouble, byval page_size as gdouble) as GtkObject ptr
 1143 declare sub gtk_adjustment_changed(byval adjustment as GtkAdjustment ptr)
 1144 declare sub gtk_adjustment_value_changed(byval adjustment as GtkAdjustment ptr)
 1145 declare sub gtk_adjustment_clamp_page(byval adjustment as GtkAdjustment ptr, byval lower as gdouble, byval upper as gdouble)
 1146 declare function gtk_adjustment_get_value(byval adjustment as GtkAdjustment ptr) as gdouble
 1147 declare sub gtk_adjustment_set_value(byval adjustment as GtkAdjustment ptr, byval value as gdouble)
 1148 declare function gtk_adjustment_get_lower(byval adjustment as GtkAdjustment ptr) as gdouble
 1149 declare sub gtk_adjustment_set_lower(byval adjustment as GtkAdjustment ptr, byval lower as gdouble)
 1150 declare function gtk_adjustment_get_upper(byval adjustment as GtkAdjustment ptr) as gdouble
 1151 declare sub gtk_adjustment_set_upper(byval adjustment as GtkAdjustment ptr, byval upper as gdouble)
 1152 declare function gtk_adjustment_get_step_increment(byval adjustment as GtkAdjustment ptr) as gdouble
 1153 declare sub gtk_adjustment_set_step_increment(byval adjustment as GtkAdjustment ptr, byval step_increment as gdouble)
 1154 declare function gtk_adjustment_get_page_increment(byval adjustment as GtkAdjustment ptr) as gdouble
 1155 declare sub gtk_adjustment_set_page_increment(byval adjustment as GtkAdjustment ptr, byval page_increment as gdouble)
 1156 declare function gtk_adjustment_get_page_size(byval adjustment as GtkAdjustment ptr) as gdouble
 1157 declare sub gtk_adjustment_set_page_size(byval adjustment as GtkAdjustment ptr, byval page_size as gdouble)
 1158 declare sub gtk_adjustment_configure(byval adjustment as GtkAdjustment ptr, byval value as gdouble, byval lower as gdouble, byval upper as gdouble, byval step_increment as gdouble, byval page_increment as gdouble, byval page_size as gdouble)
 1159 
 1160 #define __GTK_STYLE_H__
 1161 #define GTK_TYPE_STYLE gtk_style_get_type()
 1162 #define GTK_STYLE(object) G_TYPE_CHECK_INSTANCE_CAST((object), GTK_TYPE_STYLE, GtkStyle)
 1163 #define GTK_STYLE_CLASS(klass) G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_STYLE, GtkStyleClass)
 1164 #define GTK_IS_STYLE(object) G_TYPE_CHECK_INSTANCE_TYPE((object), GTK_TYPE_STYLE)
 1165 #define GTK_IS_STYLE_CLASS(klass) G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_STYLE)
 1166 #define GTK_STYLE_GET_CLASS(obj) G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_STYLE, GtkStyleClass)
 1167 #define GTK_TYPE_BORDER gtk_border_get_type()
 1168 
 1169 type GtkBorder as _GtkBorder
 1170 type GtkStyle as _GtkStyle
 1171 type GtkStyleClass as _GtkStyleClass
 1172 type GtkThemeEngine as _GtkThemeEngine
 1173 type GtkRcStyle as _GtkRcStyle
 1174 type GtkIconSet as _GtkIconSet
 1175 type GtkIconSource as _GtkIconSource
 1176 type GtkRcProperty as _GtkRcProperty
 1177 type GtkSettings as _GtkSettings
 1178 type GtkRcPropertyParser as function(byval pspec as const GParamSpec ptr, byval rc_string as const GString ptr, byval property_value as GValue ptr) as gboolean
 1179 type GtkWidget as _GtkWidget
 1180 #define GTK_STYLE_ATTACHED(style) (GTK_STYLE(style)->attach_count > 0)
 1181 
 1182 type _GtkStyle
 1183     parent_instance as GObject
 1184     fg(0 to 4) as GdkColor
 1185     bg(0 to 4) as GdkColor
 1186     light(0 to 4) as GdkColor
 1187     dark(0 to 4) as GdkColor
 1188     mid(0 to 4) as GdkColor
 1189     text(0 to 4) as GdkColor
 1190     base(0 to 4) as GdkColor
 1191     text_aa(0 to 4) as GdkColor
 1192     black as GdkColor
 1193     white as GdkColor
 1194     font_desc as PangoFontDescription ptr
 1195     xthickness as gint
 1196     ythickness as gint
 1197     fg_gc(0 to 4) as GdkGC ptr
 1198     bg_gc(0 to 4) as GdkGC ptr
 1199     light_gc(0 to 4) as GdkGC ptr
 1200     dark_gc(0 to 4) as GdkGC ptr
 1201     mid_gc(0 to 4) as GdkGC ptr
 1202     text_gc(0 to 4) as GdkGC ptr
 1203     base_gc(0 to 4) as GdkGC ptr
 1204     text_aa_gc(0 to 4) as GdkGC ptr
 1205     black_gc as GdkGC ptr
 1206     white_gc as GdkGC ptr
 1207     bg_pixmap(0 to 4) as GdkPixmap ptr
 1208     attach_count as gint
 1209     depth as gint
 1210     colormap as GdkColormap ptr
 1211     private_font as GdkFont ptr
 1212     private_font_desc as PangoFontDescription ptr
 1213     rc_style as GtkRcStyle ptr
 1214     styles as GSList ptr
 1215     property_cache as GArray ptr
 1216     icon_factories as GSList ptr
 1217 end type
 1218 
 1219 type _GtkStyleClass
 1220     parent_class as GObjectClass
 1221     realize as sub(byval style as GtkStyle ptr)
 1222     unrealize as sub(byval style as GtkStyle ptr)
 1223     copy as sub(byval style as GtkStyle ptr, byval src as GtkStyle ptr)
 1224     clone as function(byval style as GtkStyle ptr) as GtkStyle ptr
 1225     init_from_rc as sub(byval style as GtkStyle ptr, byval rc_style as GtkRcStyle ptr)
 1226     set_background as sub(byval style as GtkStyle ptr, byval window as GdkWindow ptr, byval state_type as GtkStateType)
 1227     render_icon as function(byval style as GtkStyle ptr, byval source as const GtkIconSource ptr, byval direction as GtkTextDirection, byval state as GtkStateType, byval size as GtkIconSize, byval widget as GtkWidget ptr, byval detail as const gchar ptr) as GdkPixbuf ptr
 1228     draw_hline as sub(byval style as GtkStyle ptr, byval window as GdkWindow ptr, byval state_type as GtkStateType, byval area as GdkRectangle ptr, byval widget as GtkWidget ptr, byval detail as const gchar ptr, byval x1 as gint, byval x2 as gint, byval y as gint)
 1229     draw_vline as sub(byval style as GtkStyle ptr, byval window as GdkWindow ptr, byval state_type as GtkStateType, byval area as GdkRectangle ptr, byval widget as GtkWidget ptr, byval detail as const gchar ptr, byval y1_ as gint, byval y2_ as gint, byval x as gint)
 1230     draw_shadow as sub(byval style as GtkStyle ptr, byval window as GdkWindow ptr, byval state_type as GtkStateType, byval shadow_type as GtkShadowType, byval area as GdkRectangle ptr, byval widget as GtkWidget ptr, byval detail as const gchar ptr, byval x as gint, byval y as gint, byval width as gint, byval height as gint)
 1231     draw_polygon as sub(byval style as GtkStyle ptr, byval window as GdkWindow ptr, byval state_type as GtkStateType, byval shadow_type as GtkShadowType, byval area as GdkRectangle ptr, byval widget as GtkWidget ptr, byval detail as const gchar ptr, byval point as GdkPoint ptr, byval npoints as gint, byval fill as gboolean)
 1232     draw_arrow as sub(byval style as GtkStyle ptr, byval window as GdkWindow ptr, byval state_type as GtkStateType, byval shadow_type as GtkShadowType, byval area as GdkRectangle ptr, byval widget as GtkWidget ptr, byval detail as const gchar ptr, byval arrow_type as GtkArrowType, byval fill as gboolean, byval x as gint, byval y as gint, byval width as gint, byval height as gint)
 1233     draw_diamond as sub(byval style as GtkStyle ptr, byval window as GdkWindow ptr, byval state_type as GtkStateType, byval shadow_type as GtkShadowType, byval area as GdkRectangle ptr, byval widget as GtkWidget ptr, byval detail as const gchar ptr, byval x as gint, byval y as gint, byval width as gint, byval height as gint)
 1234     draw_string as sub(byval style as GtkStyle ptr, byval window as GdkWindow ptr, byval state_type as GtkStateType, byval area as GdkRectangle ptr, byval widget as GtkWidget ptr, byval detail as const gchar ptr, byval x as gint, byval y as gint, byval string as const gchar ptr)
 1235     draw_box as sub(byval style as GtkStyle ptr, byval window as GdkWindow ptr, byval state_type as GtkStateType, byval shadow_type as GtkShadowType, byval area as GdkRectangle ptr, byval widget as GtkWidget ptr, byval detail as const gchar ptr, byval x as gint, byval y as gint, byval width as gint, byval height as gint)
 1236     draw_flat_box as sub(byval style as GtkStyle ptr, byval window as GdkWindow ptr, byval state_type as GtkStateType, byval shadow_type as GtkShadowType, byval area as GdkRectangle ptr, byval widget as GtkWidget ptr, byval detail as const gchar ptr, byval x as gint, byval y as gint, byval width as gint, byval height as gint)
 1237     draw_check as sub(byval style as GtkStyle ptr, byval window as GdkWindow ptr, byval state_type as GtkStateType, byval shadow_type as GtkShadowType, byval area as GdkRectangle ptr, byval widget as GtkWidget ptr, byval detail as const gchar ptr, byval x as gint, byval y as gint, byval width as gint, byval height as gint)
 1238     draw_option as sub(byval style as GtkStyle ptr, byval window as GdkWindow ptr, byval state_type as GtkStateType, byval shadow_type as GtkShadowType, byval area as GdkRectangle ptr, byval widget as GtkWidget ptr, byval detail as const gchar ptr, byval x as gint, byval y as gint, byval width as gint, byval height as gint)
 1239     draw_tab as sub(byval style as GtkStyle ptr, byval window as GdkWindow ptr, byval state_type as GtkStateType, byval shadow_type as GtkShadowType, byval area as GdkRectangle ptr, byval widget as GtkWidget ptr, byval detail as const gchar ptr, byval x as gint, byval y as gint, byval width as gint, byval height as gint)
 1240     draw_shadow_gap as sub(byval style as GtkStyle ptr, byval window as GdkWindow ptr, byval state_type as GtkStateType, byval shadow_type as GtkShadowType, byval area as GdkRectangle ptr, byval widget as GtkWidget ptr, byval detail as const gchar ptr, byval x as gint, byval y as gint, byval width as gint, byval height as gint, byval gap_side as GtkPositionType, byval gap_x as gint, byval gap_width as gint)
 1241     draw_box_gap as sub(byval style as GtkStyle ptr, byval window as GdkWindow ptr, byval state_type as GtkStateType, byval shadow_type as GtkShadowType, byval area as GdkRectangle ptr, byval widget as GtkWidget ptr, byval detail as const gchar ptr, byval x as gint, byval y as gint, byval width as gint, byval height as gint, byval gap_side as GtkPositionType, byval gap_x as gint, byval gap_width as gint)
 1242     draw_extension as sub(byval style as GtkStyle ptr, byval window as GdkWindow ptr, byval state_type as GtkStateType, byval shadow_type as GtkShadowType, byval area as GdkRectangle ptr, byval widget as GtkWidget ptr, byval detail as const gchar ptr, byval x as gint, byval y as gint, byval width as gint, byval height as gint, byval gap_side as GtkPositionType)
 1243     draw_focus as sub(byval style as GtkStyle ptr, byval window as GdkWindow ptr, byval state_type as GtkStateType, byval area as GdkRectangle ptr, byval widget as GtkWidget ptr, byval detail as const gchar ptr, byval x as gint, byval y as gint, byval width as gint, byval height as gint)
 1244     draw_slider as sub(byval style as GtkStyle ptr, byval window as GdkWindow ptr, byval state_type as GtkStateType, byval shadow_type as GtkShadowType, byval area as GdkRectangle ptr, byval widget as GtkWidget ptr, byval detail as const gchar ptr, byval x as gint, byval y as gint, byval width as gint, byval height as gint, byval orientation as GtkOrientation)
 1245     draw_handle as sub(byval style as GtkStyle ptr, byval window as GdkWindow ptr, byval state_type as GtkStateType, byval shadow_type as GtkShadowType, byval area as GdkRectangle ptr, byval widget as GtkWidget ptr, byval detail as const gchar ptr, byval x as gint, byval y as gint, byval width as gint, byval height as gint, byval orientation as GtkOrientation)
 1246     draw_expander as sub(byval style as GtkStyle ptr, byval window as GdkWindow ptr, byval state_type as GtkStateType, byval area as GdkRectangle ptr, byval widget as GtkWidget ptr, byval detail as const gchar ptr, byval x as gint, byval y as gint, byval expander_style as GtkExpanderStyle)
 1247     draw_layout as sub(byval style as GtkStyle ptr, byval window as GdkWindow ptr, byval state_type as GtkStateType, byval use_text as gboolean, byval area as GdkRectangle ptr, byval widget as GtkWidget ptr, byval detail as const gchar ptr, byval x as gint, byval y as gint, byval layout as PangoLayout ptr)
 1248     draw_resize_grip as sub(byval style as GtkStyle ptr, byval window as GdkWindow ptr, byval state_type as GtkStateType, byval area as GdkRectangle ptr, byval widget as GtkWidget ptr, byval detail as const gchar ptr, byval edge as GdkWindowEdge, byval x as gint, byval y as gint, byval width as gint, byval height as gint)
 1249     draw_spinner as sub(byval style as GtkStyle ptr, byval window as GdkWindow ptr, byval state_type as GtkStateType, byval area as GdkRectangle ptr, byval widget as GtkWidget ptr, byval detail as const gchar ptr, byval step as guint, byval x as gint, byval y as gint, byval width as gint, byval height as gint)
 1250     _gtk_reserved1 as sub()
 1251     _gtk_reserved2 as sub()
 1252     _gtk_reserved3 as sub()
 1253     _gtk_reserved4 as sub()
 1254     _gtk_reserved5 as sub()
 1255     _gtk_reserved6 as sub()
 1256     _gtk_reserved7 as sub()
 1257     _gtk_reserved8 as sub()
 1258     _gtk_reserved9 as sub()
 1259     _gtk_reserved10 as sub()
 1260     _gtk_reserved11 as sub()
 1261 end type
 1262 
 1263 type _GtkBorder
 1264     left as gint
 1265     right as gint
 1266     top as gint
 1267     bottom as gint
 1268 end type
 1269 
 1270 declare function gtk_style_get_type() as GType
 1271 declare function gtk_style_new() as GtkStyle ptr
 1272 declare function gtk_style_copy(byval style as GtkStyle ptr) as GtkStyle ptr
 1273 declare function gtk_style_attach(byval style as GtkStyle ptr, byval window as GdkWindow ptr) as GtkStyle ptr
 1274 declare sub gtk_style_detach(byval style as GtkStyle ptr)
 1275 declare function gtk_style_ref(byval style as GtkStyle ptr) as GtkStyle ptr
 1276 declare sub gtk_style_unref(byval style as GtkStyle ptr)
 1277 declare function gtk_style_get_font(byval style as GtkStyle ptr) as GdkFont ptr
 1278 declare sub gtk_style_set_font(byval style as GtkStyle ptr, byval font as GdkFont ptr)
 1279 declare sub gtk_style_set_background(byval style as GtkStyle ptr, byval window as GdkWindow ptr, byval state_type as GtkStateType)
 1280 declare sub gtk_style_apply_default_background(byval style as GtkStyle ptr, byval window as GdkWindow ptr, byval set_bg as gboolean, byval state_type as GtkStateType, byval area as const GdkRectangle ptr, byval x as gint, byval y as gint, byval width as gint, byval height as gint)
 1281 declare function gtk_style_lookup_icon_set(byval style as GtkStyle ptr, byval stock_id as const gchar ptr) as GtkIconSet ptr
 1282 declare function gtk_style_lookup_color(byval style as GtkStyle ptr, byval color_name as const gchar ptr, byval color as GdkColor ptr) as gboolean
 1283 declare function gtk_style_render_icon(byval style as GtkStyle ptr, byval source as const GtkIconSource ptr, byval direction as GtkTextDirection, byval state as GtkStateType, byval size as GtkIconSize, byval widget as GtkWidget ptr, byval detail as const gchar ptr) as GdkPixbuf ptr
 1284 declare sub gtk_draw_hline(byval style as GtkStyle ptr, byval window as GdkWindow ptr, byval state_type as GtkStateType, byval x1 as gint, byval x2 as gint, byval y as gint)
 1285 declare sub gtk_draw_vline(byval style as GtkStyle ptr, byval window as GdkWindow ptr, byval state_type as GtkStateType, byval y1_ as gint, byval y2_ as gint, byval x as gint)
 1286 declare sub gtk_draw_shadow(byval style as GtkStyle ptr, byval window as GdkWindow ptr, byval state_type as GtkStateType, byval shadow_type as GtkShadowType, byval x as gint, byval y as gint, byval width as gint, byval height as gint)
 1287 declare sub gtk_draw_polygon(byval style as GtkStyle ptr, byval window as GdkWindow ptr, byval state_type as GtkStateType, byval shadow_type as GtkShadowType, byval points as GdkPoint ptr, byval npoints as gint, byval fill as gboolean)
 1288 declare sub gtk_draw_arrow(byval style as GtkStyle ptr, byval window as GdkWindow ptr, byval state_type as GtkStateType, byval shadow_type as GtkShadowType, byval arrow_type as GtkArrowType, byval fill as gboolean, byval x as gint, byval y as gint, byval width as gint, byval height as gint)
 1289 declare sub gtk_draw_diamond(byval style as GtkStyle ptr, byval window as GdkWindow ptr, byval state_type as GtkStateType, byval shadow_type as GtkShadowType, byval x as gint, byval y as gint, byval width as gint, byval height as gint)
 1290 declare sub gtk_draw_box(byval style as GtkStyle ptr, byval window as GdkWindow ptr, byval state_type as GtkStateType, byval shadow_type as GtkShadowType, byval x as gint, byval y as gint, byval width as gint, byval height as gint)
 1291 declare sub gtk_draw_flat_box(byval style as GtkStyle ptr, byval window as GdkWindow ptr, byval state_type as GtkStateType, byval shadow_type as GtkShadowType, byval x as gint, byval y as gint, byval width as gint, byval height as gint)
 1292 declare sub gtk_draw_check(byval style as GtkStyle ptr, byval window as GdkWindow ptr, byval state_type as GtkStateType, byval shadow_type as GtkShadowType, byval x as gint, byval y as gint, byval width as gint, byval height as gint)
 1293 declare sub gtk_draw_option(byval style as GtkStyle ptr, byval window as GdkWindow ptr, byval state_type as GtkStateType, byval shadow_type as GtkShadowType, byval x as gint, byval y as gint, byval width as gint, byval height as gint)
 1294 declare sub gtk_draw_tab(byval style as GtkStyle ptr, byval window as GdkWindow ptr, byval state_type as GtkStateType, byval shadow_type as GtkShadowType, byval x as gint, byval y as gint, byval width as gint, byval height as gint)
 1295 declare sub gtk_draw_shadow_gap(byval style as GtkStyle ptr, byval window as GdkWindow ptr, byval state_type as GtkStateType, byval shadow_type as GtkShadowType, byval x as gint, byval y as gint, byval width as gint, byval height as gint, byval gap_side as GtkPositionType, byval gap_x as gint, byval gap_width as gint)
 1296 declare sub gtk_draw_box_gap(byval style as GtkStyle ptr, byval window as GdkWindow ptr, byval state_type as GtkStateType, byval shadow_type as GtkShadowType, byval x as gint, byval y as gint, byval width as gint, byval height as gint, byval gap_side as GtkPositionType, byval gap_x as gint, byval gap_width as gint)
 1297 declare sub gtk_draw_extension(byval style as GtkStyle ptr, byval window as GdkWindow ptr, byval state_type as GtkStateType, byval shadow_type as GtkShadowType, byval x as gint, byval y as gint, byval width as gint, byval height as gint, byval gap_side as GtkPositionType)
 1298 declare sub gtk_draw_focus(byval style as GtkStyle ptr, byval window as GdkWindow ptr, byval x as gint, byval y as gint, byval width as gint, byval height as gint)
 1299 declare sub gtk_draw_slider(byval style as GtkStyle ptr, byval window as GdkWindow ptr, byval state_type as GtkStateType, byval shadow_type as GtkShadowType, byval x as gint, byval y as gint, byval width as gint, byval height as gint, byval orientation as GtkOrientation)
 1300 declare sub gtk_draw_handle(byval style as GtkStyle ptr, byval window as GdkWindow ptr, byval state_type as GtkStateType, byval shadow_type as GtkShadowType, byval x as gint, byval y as gint, byval width as gint, byval height as gint, byval orientation as GtkOrientation)
 1301 declare sub gtk_draw_expander(byval style as GtkStyle ptr, byval window as GdkWindow ptr, byval state_type as GtkStateType, byval x as gint, byval y as gint, byval expander_style as GtkExpanderStyle)
 1302 declare sub gtk_draw_layout(byval style as GtkStyle ptr, byval window as GdkWindow ptr, byval state_type as GtkStateType, byval use_text as gboolean, byval x as gint, byval y as gint, byval layout as PangoLayout ptr)
 1303 declare sub gtk_draw_resize_grip(byval style as GtkStyle ptr, byval window as GdkWindow ptr, byval state_type as GtkStateType, byval edge as GdkWindowEdge, byval x as gint, byval y as gint, byval width as gint, byval height as gint)
 1304 declare sub gtk_paint_hline(byval style as GtkStyle ptr, byval window as GdkWindow ptr, byval state_type as GtkStateType, byval area as const GdkRectangle ptr, byval widget as GtkWidget ptr, byval detail as const gchar ptr, byval x1 as gint, byval x2 as gint, byval y as gint)
 1305 declare sub gtk_paint_vline(byval style as GtkStyle ptr, byval window as GdkWindow ptr, byval state_type as GtkStateType, byval area as const GdkRectangle ptr, byval widget as GtkWidget ptr, byval detail as const gchar ptr, byval y1_ as gint, byval y2_ as gint, byval x as gint)
 1306 declare sub gtk_paint_shadow(byval style as GtkStyle ptr, byval window as GdkWindow ptr, byval state_type as GtkStateType, byval shadow_type as GtkShadowType, byval area as const GdkRectangle ptr, byval widget as GtkWidget ptr, byval detail as const gchar ptr, byval x as gint, byval y as gint, byval width as gint, byval height as gint)
 1307 declare sub gtk_paint_polygon(byval style as GtkStyle ptr, byval window as GdkWindow ptr, byval state_type as GtkStateType, byval shadow_type as GtkShadowType, byval area as const GdkRectangle ptr, byval widget as GtkWidget ptr, byval detail as const gchar ptr, byval points as const GdkPoint ptr, byval n_points as gint, byval fill as gboolean)
 1308 declare sub gtk_paint_arrow(byval style as GtkStyle ptr, byval window as GdkWindow ptr, byval state_type as GtkStateType, byval shadow_type as GtkShadowType, byval area as const GdkRectangle ptr, byval widget as GtkWidget ptr, byval detail as const gchar ptr, byval arrow_type as GtkArrowType, byval fill as gboolean, byval x as gint, byval y as gint, byval width as gint, byval height as gint)
 1309 declare sub gtk_paint_diamond(byval style as GtkStyle ptr, byval window as GdkWindow ptr, byval state_type as GtkStateType, byval shadow_type as GtkShadowType, byval area as const GdkRectangle ptr, byval widget as GtkWidget ptr, byval detail as const gchar ptr, byval x as gint, byval y as gint, byval width as gint, byval height as gint)
 1310 declare sub gtk_paint_box(byval style as GtkStyle ptr, byval window as GdkWindow ptr, byval state_type as GtkStateType, byval shadow_type as GtkShadowType, byval area as const GdkRectangle ptr, byval widget as GtkWidget ptr, byval detail as const gchar ptr, byval x as gint, byval y as gint, byval width as gint, byval height as gint)
 1311 declare sub gtk_paint_flat_box(byval style as GtkStyle ptr, byval window as GdkWindow ptr, byval state_type as GtkStateType, byval shadow_type as GtkShadowType, byval area as const GdkRectangle ptr, byval widget as GtkWidget ptr, byval detail as const gchar ptr, byval x as gint, byval y as gint, byval width as gint, byval height as gint)
 1312 declare sub gtk_paint_check(byval style as GtkStyle ptr, byval window as GdkWindow ptr, byval state_type as GtkStateType, byval shadow_type as GtkShadowType, byval area as const GdkRectangle ptr, byval widget as GtkWidget ptr, byval detail as const gchar ptr, byval x as gint, byval y as gint, byval width as gint, byval height as gint)
 1313 declare sub gtk_paint_option(byval style as GtkStyle ptr, byval window as GdkWindow ptr, byval state_type as GtkStateType, byval shadow_type as GtkShadowType, byval area as const GdkRectangle ptr, byval widget as GtkWidget ptr, byval detail as const gchar ptr, byval x as gint, byval y as gint, byval width as gint, byval height as gint)
 1314 declare sub gtk_paint_tab(byval style as GtkStyle ptr, byval window as GdkWindow ptr, byval state_type as GtkStateType, byval shadow_type as GtkShadowType, byval area as const GdkRectangle ptr, byval widget as GtkWidget ptr, byval detail as const gchar ptr, byval x as gint, byval y as gint, byval width as gint, byval height as gint)
 1315 declare sub gtk_paint_shadow_gap(byval style as GtkStyle ptr, byval window as GdkWindow ptr, byval state_type as GtkStateType, byval shadow_type as GtkShadowType, byval area as const GdkRectangle ptr, byval widget as GtkWidget ptr, byval detail as const gchar ptr, byval x as gint, byval y as gint, byval width as gint, byval height as gint, byval gap_side as GtkPositionType, byval gap_x as gint, byval gap_width as gint)
 1316 declare sub gtk_paint_box_gap(byval style as GtkStyle ptr, byval window as GdkWindow ptr, byval state_type as GtkStateType, byval shadow_type as GtkShadowType, byval area as const GdkRectangle ptr, byval widget as GtkWidget ptr, byval detail as const gchar ptr, byval x as gint, byval y as gint, byval width as gint, byval height as gint, byval gap_side as GtkPositionType, byval gap_x as gint, byval gap_width as gint)
 1317 declare sub gtk_paint_extension(byval style as GtkStyle ptr, byval window as GdkWindow ptr, byval state_type as GtkStateType, byval shadow_type as GtkShadowType, byval area as const GdkRectangle ptr, byval widget as GtkWidget ptr, byval detail as const gchar ptr, byval x as gint, byval y as gint, byval width as gint, byval height as gint, byval gap_side as GtkPositionType)
 1318 declare sub gtk_paint_focus(byval style as GtkStyle ptr, byval window as GdkWindow ptr, byval state_type as GtkStateType, byval area as const GdkRectangle ptr, byval widget as GtkWidget ptr, byval detail as const gchar ptr, byval x as gint, byval y as gint, byval width as gint, byval height as gint)
 1319 declare sub gtk_paint_slider(byval style as GtkStyle ptr, byval window as GdkWindow ptr, byval state_type as GtkStateType, byval shadow_type as GtkShadowType, byval area as const GdkRectangle ptr, byval widget as GtkWidget ptr, byval detail as const gchar ptr, byval x as gint, byval y as gint, byval width as gint, byval height as gint, byval orientation as GtkOrientation)
 1320 declare sub gtk_paint_handle(byval style as GtkStyle ptr, byval window as GdkWindow ptr, byval state_type as GtkStateType, byval shadow_type as GtkShadowType, byval area as const GdkRectangle ptr, byval widget as GtkWidget ptr, byval detail as const gchar ptr, byval x as gint, byval y as gint, byval width as gint, byval height as gint, byval orientation as GtkOrientation)
 1321 declare sub gtk_paint_expander(byval style as GtkStyle ptr, byval window as GdkWindow ptr, byval state_type as GtkStateType, byval area as const GdkRectangle ptr, byval widget as GtkWidget ptr, byval detail as const gchar ptr, byval x as gint, byval y as gint, byval expander_style as GtkExpanderStyle)
 1322 declare sub gtk_paint_layout(byval style as GtkStyle ptr, byval window as GdkWindow ptr, byval state_type as GtkStateType, byval use_text as gboolean, byval area as const GdkRectangle ptr, byval widget as GtkWidget ptr, byval detail as const gchar ptr, byval x as gint, byval y as gint, byval layout as PangoLayout ptr)
 1323 declare sub gtk_paint_resize_grip(byval style as GtkStyle ptr, byval window as GdkWindow ptr, byval state_type as GtkStateType, byval area as const GdkRectangle ptr, byval widget as GtkWidget ptr, byval detail as const gchar ptr, byval edge as GdkWindowEdge, byval x as gint, byval y as gint, byval width as gint, byval height as gint)
 1324 declare sub gtk_paint_spinner(byval style as GtkStyle ptr, byval window as GdkWindow ptr, byval state_type as GtkStateType, byval area as const GdkRectangle ptr, byval widget as GtkWidget ptr, byval detail as const gchar ptr, byval step as guint, byval x as gint, byval y as gint, byval width as gint, byval height as gint)
 1325 declare function gtk_border_get_type() as GType
 1326 declare function gtk_border_new() as GtkBorder ptr
 1327 declare function gtk_border_copy(byval border_ as const GtkBorder ptr) as GtkBorder ptr
 1328 declare sub gtk_border_free(byval border_ as GtkBorder ptr)
 1329 declare sub gtk_style_get_style_property(byval style as GtkStyle ptr, byval widget_type as GType, byval property_name as const gchar ptr, byval value as GValue ptr)
 1330 declare sub gtk_style_get_valist(byval style as GtkStyle ptr, byval widget_type as GType, byval first_property_name as const gchar ptr, byval var_args as va_list)
 1331 declare sub gtk_style_get(byval style as GtkStyle ptr, byval widget_type as GType, byval first_property_name as const gchar ptr, ...)
 1332 declare function _gtk_style_peek_property_value(byval style as GtkStyle ptr, byval widget_type as GType, byval pspec as GParamSpec ptr, byval parser as GtkRcPropertyParser) as const GValue ptr
 1333 declare sub _gtk_style_init_for_settings(byval style as GtkStyle ptr, byval settings as GtkSettings ptr)
 1334 declare sub _gtk_style_shade(byval a as const GdkColor ptr, byval b as GdkColor ptr, byval k as gdouble)
 1335 #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)
 1336 declare sub gtk_draw_string(byval style as GtkStyle ptr, byval window as GdkWindow ptr, byval state_type as GtkStateType, byval x as gint, byval y as gint, byval string as const gchar ptr)
 1337 declare sub gtk_paint_string(byval style as GtkStyle ptr, byval window as GdkWindow ptr, byval state_type as GtkStateType, byval area as const GdkRectangle ptr, byval widget as GtkWidget ptr, byval detail as const gchar ptr, byval x as gint, byval y as gint, byval string as const gchar ptr)
 1338 declare sub gtk_draw_insertion_cursor(byval widget as GtkWidget ptr, byval drawable as GdkDrawable ptr, byval area as const GdkRectangle ptr, byval location as const GdkRectangle ptr, byval is_primary as gboolean, byval direction as GtkTextDirection, byval draw_arrow as gboolean)
 1339 declare function _gtk_widget_get_cursor_gc(byval widget as GtkWidget ptr) as GdkGC ptr
 1340 declare sub _gtk_widget_get_cursor_color(byval widget as GtkWidget ptr, byval color as GdkColor ptr)
 1341 #define __GTK_SETTINGS_H__
 1342 #define __GTK_RC_H__
 1343 
 1344 type GtkIconFactory as _GtkIconFactory
 1345 type GtkRcContext as _GtkRcContext
 1346 type GtkRcStyleClass as _GtkRcStyleClass
 1347 
 1348 #define GTK_TYPE_RC_STYLE gtk_rc_style_get_type()
 1349 #define GTK_RC_STYLE(object) G_TYPE_CHECK_INSTANCE_CAST((object), GTK_TYPE_RC_STYLE, GtkRcStyle)
 1350 #define GTK_RC_STYLE_CLASS(klass) G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_RC_STYLE, GtkRcStyleClass)
 1351 #define GTK_IS_RC_STYLE(object) G_TYPE_CHECK_INSTANCE_TYPE((object), GTK_TYPE_RC_STYLE)
 1352 #define GTK_IS_RC_STYLE_CLASS(klass) G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_RC_STYLE)
 1353 #define GTK_RC_STYLE_GET_CLASS(obj) G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_RC_STYLE, GtkRcStyleClass)
 1354 
 1355 type GtkRcFlags as long
 1356 enum
 1357     GTK_RC_FG = 1 shl 0
 1358     GTK_RC_BG = 1 shl 1
 1359     GTK_RC_TEXT = 1 shl 2
 1360     GTK_RC_BASE = 1 shl 3
 1361 end enum
 1362 
 1363 type _GtkRcStyle
 1364     parent_instance as GObject
 1365     name as gchar ptr
 1366     bg_pixmap_name(0 to 4) as gchar ptr
 1367     font_desc as PangoFontDescription ptr
 1368     color_flags(0 to 4) as GtkRcFlags
 1369     fg(0 to 4) as GdkColor
 1370     bg(0 to 4) as GdkColor
 1371     text(0 to 4) as GdkColor
 1372     base(0 to 4) as GdkColor
 1373     xthickness as gint
 1374     ythickness as gint
 1375     rc_properties as GArray ptr
 1376     rc_style_lists as GSList ptr
 1377     icon_factories as GSList ptr
 1378     engine_specified : 1 as guint
 1379 end type
 1380 
 1381 type _GtkRcStyleClass
 1382     parent_class as GObjectClass
 1383     create_rc_style as function(byval rc_style as GtkRcStyle ptr) as GtkRcStyle ptr
 1384     parse as function(byval rc_style as GtkRcStyle ptr, byval settings as GtkSettings ptr, byval scanner as GScanner ptr) as guint
 1385     merge as sub(byval dest as GtkRcStyle ptr, byval src as GtkRcStyle ptr)
 1386     create_style as function(byval rc_style as GtkRcStyle ptr) as GtkStyle ptr
 1387     _gtk_reserved1 as sub()
 1388     _gtk_reserved2 as sub()
 1389     _gtk_reserved3 as sub()
 1390     _gtk_reserved4 as sub()
 1391 end type
 1392 
 1393 declare sub _gtk_rc_init()
 1394 declare function _gtk_rc_parse_widget_class_path(byval pattern as const gchar ptr) as GSList ptr
 1395 declare sub _gtk_rc_free_widget_class_path(byval list as GSList ptr)
 1396 declare function _gtk_rc_match_widget_class(byval list as GSList ptr, byval length as gint, byval path as gchar ptr, byval path_reversed as gchar ptr) as gboolean
 1397 
 1398 #ifdef __FB_UNIX__
 1399     declare sub gtk_rc_add_default_file(byval filename as const gchar ptr)
 1400     declare sub gtk_rc_set_default_files(byval filenames as gchar ptr ptr)
 1401 #else
 1402     declare sub gtk_rc_add_default_file_utf8(byval filename as const gchar ptr)
 1403     declare sub gtk_rc_add_default_file alias "gtk_rc_add_default_file_utf8"(byval filename as const gchar ptr)
 1404     declare sub gtk_rc_set_default_files_utf8(byval filenames as gchar ptr ptr)
 1405     declare sub gtk_rc_set_default_files alias "gtk_rc_set_default_files_utf8"(byval filenames as gchar ptr ptr)
 1406 #endif
 1407 
 1408 declare function gtk_rc_get_default_files() as gchar ptr ptr
 1409 declare function gtk_rc_get_style(byval widget as GtkWidget ptr) as GtkStyle ptr
 1410 declare function gtk_rc_get_style_by_paths(byval settings as GtkSettings ptr, byval widget_path as const zstring ptr, byval class_path as const zstring ptr, byval type as GType) as GtkStyle ptr
 1411 declare function gtk_rc_reparse_all_for_settings(byval settings as GtkSettings ptr, byval force_load as gboolean) as gboolean
 1412 declare sub gtk_rc_reset_styles(byval settings as GtkSettings ptr)
 1413 declare function gtk_rc_find_pixmap_in_path(byval settings as GtkSettings ptr, byval scanner as GScanner ptr, byval pixmap_file as const gchar ptr) as gchar ptr
 1414 
 1415 #ifdef __FB_UNIX__
 1416     declare sub gtk_rc_parse(byval filename as const gchar ptr)
 1417 #else
 1418     declare sub gtk_rc_parse_utf8(byval filename as const gchar ptr)
 1419     declare sub gtk_rc_parse alias "gtk_rc_parse_utf8"(byval filename as const gchar ptr)
 1420 #endif
 1421 
 1422 declare sub gtk_rc_parse_string(byval rc_string as const gchar ptr)
 1423 declare function gtk_rc_reparse_all() as gboolean
 1424 declare sub gtk_rc_add_widget_name_style(byval rc_style as GtkRcStyle ptr, byval pattern as const gchar ptr)
 1425 declare sub gtk_rc_add_widget_class_style(byval rc_style as GtkRcStyle ptr, byval pattern as const gchar ptr)
 1426 declare sub gtk_rc_add_class_style(byval rc_style as GtkRcStyle ptr, byval pattern as const gchar ptr)
 1427 declare function gtk_rc_style_get_type() as GType
 1428 declare function gtk_rc_style_new() as GtkRcStyle ptr
 1429 declare function gtk_rc_style_copy(byval orig as GtkRcStyle ptr) as GtkRcStyle ptr
 1430 declare sub gtk_rc_style_ref(byval rc_style as GtkRcStyle ptr)
 1431 declare sub gtk_rc_style_unref(byval rc_style as GtkRcStyle ptr)
 1432 declare function gtk_rc_find_module_in_path(byval module_file as const gchar ptr) as gchar ptr
 1433 declare function gtk_rc_get_theme_dir() as gchar ptr
 1434 declare function gtk_rc_get_module_dir() as gchar ptr
 1435 declare function gtk_rc_get_im_module_path() as gchar ptr
 1436 declare function gtk_rc_get_im_module_file() as gchar ptr
 1437 
 1438 type GtkRcTokenType as long
 1439 enum
 1440     GTK_RC_TOKEN_INVALID = G_TOKEN_LAST
 1441     GTK_RC_TOKEN_INCLUDE
 1442     GTK_RC_TOKEN_NORMAL
 1443     GTK_RC_TOKEN_ACTIVE
 1444     GTK_RC_TOKEN_PRELIGHT
 1445     GTK_RC_TOKEN_SELECTED
 1446     GTK_RC_TOKEN_INSENSITIVE
 1447     GTK_RC_TOKEN_FG
 1448     GTK_RC_TOKEN_BG
 1449     GTK_RC_TOKEN_TEXT
 1450     GTK_RC_TOKEN_BASE
 1451     GTK_RC_TOKEN_XTHICKNESS
 1452     GTK_RC_TOKEN_YTHICKNESS
 1453     GTK_RC_TOKEN_FONT
 1454     GTK_RC_TOKEN_FONTSET
 1455     GTK_RC_TOKEN_FONT_NAME
 1456     GTK_RC_TOKEN_BG_PIXMAP
 1457     GTK_RC_TOKEN_PIXMAP_PATH
 1458     GTK_RC_TOKEN_STYLE
 1459     GTK_RC_TOKEN_BINDING
 1460     GTK_RC_TOKEN_BIND
 1461     GTK_RC_TOKEN_WIDGET
 1462     GTK_RC_TOKEN_WIDGET_CLASS
 1463     GTK_RC_TOKEN_CLASS
 1464     GTK_RC_TOKEN_LOWEST
 1465     GTK_RC_TOKEN_GTK
 1466     GTK_RC_TOKEN_APPLICATION
 1467     GTK_RC_TOKEN_THEME
 1468     GTK_RC_TOKEN_RC
 1469     GTK_RC_TOKEN_HIGHEST
 1470     GTK_RC_TOKEN_ENGINE
 1471     GTK_RC_TOKEN_MODULE_PATH
 1472     GTK_RC_TOKEN_IM_MODULE_PATH
 1473     GTK_RC_TOKEN_IM_MODULE_FILE
 1474     GTK_RC_TOKEN_STOCK
 1475     GTK_RC_TOKEN_LTR
 1476     GTK_RC_TOKEN_RTL
 1477     GTK_RC_TOKEN_COLOR
 1478     GTK_RC_TOKEN_UNBIND
 1479     GTK_RC_TOKEN_LAST
 1480 end enum
 1481 
 1482 declare function gtk_rc_scanner_new() as GScanner ptr
 1483 declare function gtk_rc_parse_color(byval scanner as GScanner ptr, byval color as GdkColor ptr) as guint
 1484 declare function gtk_rc_parse_color_full(byval scanner as GScanner ptr, byval style as GtkRcStyle ptr, byval color as GdkColor ptr) as guint
 1485 declare function gtk_rc_parse_state(byval scanner as GScanner ptr, byval state as GtkStateType ptr) as guint
 1486 declare function gtk_rc_parse_priority(byval scanner as GScanner ptr, byval priority as GtkPathPriorityType ptr) as guint
 1487 
 1488 type _GtkRcProperty
 1489     type_name as GQuark
 1490     property_name as GQuark
 1491     origin as gchar ptr
 1492     value as GValue
 1493 end type
 1494 
 1495 declare function _gtk_rc_style_lookup_rc_property(byval rc_style as GtkRcStyle ptr, byval type_name as GQuark, byval property_name as GQuark) as const GtkRcProperty ptr
 1496 declare sub _gtk_rc_style_set_rc_property(byval rc_style as GtkRcStyle ptr, byval property as GtkRcProperty ptr)
 1497 declare sub _gtk_rc_style_unset_rc_property(byval rc_style as GtkRcStyle ptr, byval type_name as GQuark, byval property_name as GQuark)
 1498 declare function _gtk_rc_style_get_color_hashes(byval rc_style as GtkRcStyle ptr) as GSList ptr
 1499 declare function _gtk_rc_context_get_default_font_name(byval settings as GtkSettings ptr) as const gchar ptr
 1500 declare sub _gtk_rc_context_destroy(byval settings as GtkSettings ptr)
 1501 
 1502 #define GTK_TYPE_SETTINGS gtk_settings_get_type()
 1503 #define GTK_SETTINGS(obj) G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_SETTINGS, GtkSettings)
 1504 #define GTK_SETTINGS_CLASS(klass) G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_SETTINGS, GtkSettingsClass)
 1505 #define GTK_IS_SETTINGS(obj) G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_SETTINGS)
 1506 #define GTK_IS_SETTINGS_CLASS(klass) G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_SETTINGS)
 1507 #define GTK_SETTINGS_GET_CLASS(obj) G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_SETTINGS, GtkSettingsClass)
 1508 
 1509 type GtkSettingsClass as _GtkSettingsClass
 1510 type GtkSettingsValue as _GtkSettingsValue
 1511 type GtkSettingsPropertyValue as _GtkSettingsPropertyValue
 1512 
 1513 type _GtkSettings
 1514     parent_instance as GObject
 1515     queued_settings as GData ptr
 1516     property_values as GtkSettingsPropertyValue ptr
 1517     rc_context as GtkRcContext ptr
 1518     screen as GdkScreen ptr
 1519 end type
 1520 
 1521 type _GtkSettingsClass
 1522     parent_class as GObjectClass
 1523 end type
 1524 
 1525 type _GtkSettingsValue
 1526     origin as gchar ptr
 1527     value as GValue
 1528 end type
 1529 
 1530 declare function gtk_settings_get_type() as GType
 1531 declare function gtk_settings_get_default() as GtkSettings ptr
 1532 declare function gtk_settings_get_for_screen(byval screen as GdkScreen ptr) as GtkSettings ptr
 1533 declare sub gtk_settings_install_property(byval pspec as GParamSpec ptr)
 1534 declare sub gtk_settings_install_property_parser(byval pspec as GParamSpec ptr, byval parser as GtkRcPropertyParser)
 1535 declare function gtk_rc_property_parse_color(byval pspec as const GParamSpec ptr, byval gstring as const GString ptr, byval property_value as GValue ptr) as gboolean
 1536 declare function gtk_rc_property_parse_enum(byval pspec as const GParamSpec ptr, byval gstring as const GString ptr, byval property_value as GValue ptr) as gboolean
 1537 declare function gtk_rc_property_parse_flags(byval pspec as const GParamSpec ptr, byval gstring as const GString ptr, byval property_value as GValue ptr) as gboolean
 1538 declare function gtk_rc_property_parse_requisition(byval pspec as const GParamSpec ptr, byval gstring as const GString ptr, byval property_value as GValue ptr) as gboolean
 1539 declare function gtk_rc_property_parse_border(byval pspec as const GParamSpec ptr, byval gstring as const GString ptr, byval property_value as GValue ptr) as gboolean
 1540 declare sub gtk_settings_set_property_value(byval settings as GtkSettings ptr, byval name as const gchar ptr, byval svalue as const GtkSettingsValue ptr)
 1541 declare sub gtk_settings_set_string_property(byval settings as GtkSettings ptr, byval name as const gchar ptr, byval v_string as const gchar ptr, byval origin as const gchar ptr)
 1542 declare sub gtk_settings_set_long_property(byval settings as GtkSettings ptr, byval name as const gchar ptr, byval v_long as glong, byval origin as const gchar ptr)
 1543 declare sub gtk_settings_set_double_property(byval settings as GtkSettings ptr, byval name as const gchar ptr, byval v_double as gdouble, byval origin as const gchar ptr)
 1544 declare sub _gtk_settings_set_property_value_from_rc(byval settings as GtkSettings ptr, byval name as const gchar ptr, byval svalue as const GtkSettingsValue ptr)
 1545 declare sub _gtk_settings_reset_rc_values(byval settings as GtkSettings ptr)
 1546 declare sub _gtk_settings_handle_event(byval event as GdkEventSetting ptr)
 1547 declare function _gtk_rc_property_parser_from_type(byval type as GType) as GtkRcPropertyParser
 1548 declare function _gtk_settings_parse_convert(byval parser as GtkRcPropertyParser, byval src_value as const GValue ptr, byval pspec as GParamSpec ptr, byval dest_value as GValue ptr) as gboolean
 1549 
 1550 type GtkWidgetFlags as long
 1551 enum
 1552     GTK_TOPLEVEL = 1 shl 4
 1553     GTK_NO_WINDOW = 1 shl 5
 1554     GTK_REALIZED = 1 shl 6
 1555     GTK_MAPPED = 1 shl 7
 1556     GTK_VISIBLE = 1 shl 8
 1557     GTK_SENSITIVE = 1 shl 9
 1558     GTK_PARENT_SENSITIVE = 1 shl 10
 1559     GTK_CAN_FOCUS = 1 shl 11
 1560     GTK_HAS_FOCUS = 1 shl 12
 1561     GTK_CAN_DEFAULT = 1 shl 13
 1562     GTK_HAS_DEFAULT = 1 shl 14
 1563     GTK_HAS_GRAB = 1 shl 15
 1564     GTK_RC_STYLE_ = 1 shl 16
 1565     GTK_COMPOSITE_CHILD = 1 shl 17
 1566     GTK_NO_REPARENT = 1 shl 18
 1567     GTK_APP_PAINTABLE = 1 shl 19
 1568     GTK_RECEIVES_DEFAULT = 1 shl 20
 1569     GTK_DOUBLE_BUFFERED = 1 shl 21
 1570     GTK_NO_SHOW_ALL = 1 shl 22
 1571 end enum
 1572 
 1573 type GtkWidgetHelpType as long
 1574 enum
 1575     GTK_WIDGET_HELP_TOOLTIP
 1576     GTK_WIDGET_HELP_WHATS_THIS
 1577 end enum
 1578 
 1579 #define GTK_TYPE_WIDGET gtk_widget_get_type()
 1580 #define GTK_WIDGET(widget) G_TYPE_CHECK_INSTANCE_CAST((widget), GTK_TYPE_WIDGET, GtkWidget)
 1581 #define GTK_WIDGET_CLASS(klass) G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_WIDGET, GtkWidgetClass)
 1582 #define GTK_IS_WIDGET(widget) G_TYPE_CHECK_INSTANCE_TYPE((widget), GTK_TYPE_WIDGET)
 1583 #define GTK_IS_WIDGET_CLASS(klass) G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_WIDGET)
 1584 #define GTK_WIDGET_GET_CLASS(obj) G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_WIDGET, GtkWidgetClass)
 1585 #define GTK_WIDGET_TYPE(wid) GTK_OBJECT_TYPE(wid)
 1586 #define GTK_WIDGET_STATE(wid) GTK_WIDGET(wid)->state
 1587 #define GTK_WIDGET_SAVED_STATE(wid) GTK_WIDGET(wid)->saved_state
 1588 #define GTK_WIDGET_FLAGS(wid) GTK_OBJECT_FLAGS(wid)
 1589 #define GTK_WIDGET_TOPLEVEL(wid) ((GTK_WIDGET_FLAGS(wid) and GTK_TOPLEVEL) <> 0)
 1590 #define GTK_WIDGET_NO_WINDOW(wid) ((GTK_WIDGET_FLAGS(wid) and GTK_NO_WINDOW) <> 0)
 1591 #define GTK_WIDGET_REALIZED(wid) ((GTK_WIDGET_FLAGS(wid) and GTK_REALIZED) <> 0)
 1592 #define GTK_WIDGET_MAPPED(wid) ((GTK_WIDGET_FLAGS(wid) and GTK_MAPPED) <> 0)
 1593 #define GTK_WIDGET_VISIBLE(wid) ((GTK_WIDGET_FLAGS(wid) and GTK_VISIBLE) <> 0)
 1594 #define GTK_WIDGET_DRAWABLE(wid) (GTK_WIDGET_VISIBLE(wid) andalso GTK_WIDGET_MAPPED(wid))
 1595 #define GTK_WIDGET_SENSITIVE(wid) ((GTK_WIDGET_FLAGS(wid) and GTK_SENSITIVE) <> 0)
 1596 #define GTK_WIDGET_PARENT_SENSITIVE(wid) ((GTK_WIDGET_FLAGS(wid) and GTK_PARENT_SENSITIVE) <> 0)
 1597 #define GTK_WIDGET_IS_SENSITIVE(wid) (GTK_WIDGET_SENSITIVE(wid) andalso GTK_WIDGET_PARENT_SENSITIVE(wid))
 1598 #define GTK_WIDGET_CAN_FOCUS(wid) ((GTK_WIDGET_FLAGS(wid) and GTK_CAN_FOCUS) <> 0)
 1599 #define GTK_WIDGET_HAS_FOCUS(wid) ((GTK_WIDGET_FLAGS(wid) and GTK_HAS_FOCUS) <> 0)
 1600 #define GTK_WIDGET_CAN_DEFAULT(wid) ((GTK_WIDGET_FLAGS(wid) and GTK_CAN_DEFAULT) <> 0)
 1601 #define GTK_WIDGET_HAS_DEFAULT(wid) ((GTK_WIDGET_FLAGS(wid) and GTK_HAS_DEFAULT) <> 0)
 1602 #define GTK_WIDGET_HAS_GRAB(wid) ((GTK_WIDGET_FLAGS(wid) and GTK_HAS_GRAB) <> 0)
 1603 #define GTK_WIDGET_RC_STYLE(wid) ((GTK_WIDGET_FLAGS(wid) and GTK_RC_STYLE) <> 0)
 1604 #define GTK_WIDGET_COMPOSITE_CHILD(wid) ((GTK_WIDGET_FLAGS(wid) and GTK_COMPOSITE_CHILD) <> 0)
 1605 #define GTK_WIDGET_APP_PAINTABLE(wid) ((GTK_WIDGET_FLAGS(wid) and GTK_APP_PAINTABLE) <> 0)
 1606 #define GTK_WIDGET_RECEIVES_DEFAULT(wid) ((GTK_WIDGET_FLAGS(wid) and GTK_RECEIVES_DEFAULT) <> 0)
 1607 #define GTK_WIDGET_DOUBLE_BUFFERED(wid) ((GTK_WIDGET_FLAGS(wid) and GTK_DOUBLE_BUFFERED) <> 0)
 1608 #define GTK_WIDGET_SET_FLAGS(wid, flag) scope : GTK_WIDGET_FLAGS(wid) or= (flag) : end scope
 1609 #define GTK_WIDGET_UNSET_FLAGS(wid, flag) scope : GTK_WIDGET_FLAGS(wid) and= not (flag) : end scope
 1610 #define GTK_TYPE_REQUISITION gtk_requisition_get_type()
 1611 
 1612 type GtkRequisition as _GtkRequisition
 1613 type GtkSelectionData as _GtkSelectionData
 1614 type GtkWidgetClass as _GtkWidgetClass
 1615 type GtkWidgetAuxInfo as _GtkWidgetAuxInfo
 1616 type GtkWidgetShapeInfo as _GtkWidgetShapeInfo
 1617 type GtkClipboard as _GtkClipboard
 1618 type GtkTooltip as _GtkTooltip
 1619 type GtkWindow as _GtkWindow
 1620 type GtkAllocation as GdkRectangle
 1621 type GtkCallback as sub(byval widget as GtkWidget ptr, byval data as gpointer)
 1622 
 1623 type _GtkRequisition
 1624     width as gint
 1625     height as gint
 1626 end type
 1627 
 1628 type _GtkWidget
 1629     object as GtkObject
 1630     private_flags as guint16
 1631     state as guint8
 1632     saved_state as guint8
 1633     name as gchar ptr
 1634     style as GtkStyle ptr
 1635     requisition as GtkRequisition
 1636     allocation as GtkAllocation
 1637     window as GdkWindow ptr
 1638     parent as GtkWidget ptr
 1639 end type
 1640 
 1641 type _GtkWidgetClass
 1642     parent_class as GtkObjectClass
 1643     activate_signal as guint
 1644     set_scroll_adjustments_signal as guint
 1645     dispatch_child_properties_changed as sub(byval widget as GtkWidget ptr, byval n_pspecs as guint, byval pspecs as GParamSpec ptr ptr)
 1646     show as sub(byval widget as GtkWidget ptr)
 1647     show_all as sub(byval widget as GtkWidget ptr)
 1648     hide as sub(byval widget as GtkWidget ptr)
 1649     hide_all as sub(byval widget as GtkWidget ptr)
 1650     map as sub(byval widget as GtkWidget ptr)
 1651     unmap as sub(byval widget as GtkWidget ptr)
 1652     realize as sub(byval widget as GtkWidget ptr)
 1653     unrealize as sub(byval widget as GtkWidget ptr)
 1654     size_request as sub(byval widget as GtkWidget ptr, byval requisition as GtkRequisition ptr)
 1655     size_allocate as sub(byval widget as GtkWidget ptr, byval allocation as GtkAllocation ptr)
 1656     state_changed as sub(byval widget as GtkWidget ptr, byval previous_state as GtkStateType)
 1657     parent_set as sub(byval widget as GtkWidget ptr, byval previous_parent as GtkWidget ptr)
 1658     hierarchy_changed as sub(byval widget as GtkWidget ptr, byval previous_toplevel as GtkWidget ptr)
 1659     style_set as sub(byval widget as GtkWidget ptr, byval previous_style as GtkStyle ptr)
 1660     direction_changed as sub(byval widget as GtkWidget ptr, byval previous_direction as GtkTextDirection)
 1661     grab_notify as sub(byval widget as GtkWidget ptr, byval was_grabbed as gboolean)
 1662     child_notify as sub(byval widget as GtkWidget ptr, byval pspec as GParamSpec ptr)
 1663     mnemonic_activate as function(byval widget as GtkWidget ptr, byval group_cycling as gboolean) as gboolean
 1664     grab_focus as sub(byval widget as GtkWidget ptr)
 1665     focus as function(byval widget as GtkWidget ptr, byval direction as GtkDirectionType) as gboolean
 1666     event as function(byval widget as GtkWidget ptr, byval event as GdkEvent ptr) as gboolean
 1667     button_press_event as function(byval widget as GtkWidget ptr, byval event as GdkEventButton ptr) as gboolean
 1668     button_release_event as function(byval widget as GtkWidget ptr, byval event as GdkEventButton ptr) as gboolean
 1669     scroll_event as function(byval widget as GtkWidget ptr, byval event as GdkEventScroll ptr) as gboolean
 1670     motion_notify_event as function(byval widget as GtkWidget ptr, byval event as GdkEventMotion ptr) as gboolean
 1671     delete_event as function(byval widget as GtkWidget ptr, byval event as GdkEventAny ptr) as gboolean
 1672     destroy_event as function(byval widget as GtkWidget ptr, byval event as GdkEventAny ptr) as gboolean
 1673     expose_event as function(byval widget as GtkWidget ptr, byval event as GdkEventExpose ptr) as gboolean
 1674     key_press_event as function(byval widget as GtkWidget ptr, byval event as GdkEventKey ptr) as gboolean
 1675     key_release_event as function(byval widget as GtkWidget ptr, byval event as GdkEventKey ptr) as gboolean
 1676     enter_notify_event as function(byval widget as GtkWidget ptr, byval event as GdkEventCrossing ptr) as gboolean
 1677     leave_notify_event as function(byval widget as GtkWidget ptr, byval event as GdkEventCrossing ptr) as gboolean
 1678     configure_event as function(byval widget as GtkWidget ptr, byval event as GdkEventConfigure ptr) as gboolean
 1679     focus_in_event as function(byval widget as GtkWidget ptr, byval event as GdkEventFocus ptr) as gboolean
 1680     focus_out_event as function(byval widget as GtkWidget ptr, byval event as GdkEventFocus ptr) as gboolean
 1681     map_event as function(byval widget as GtkWidget ptr, byval event as GdkEventAny ptr) as gboolean
 1682     unmap_event as function(byval widget as GtkWidget ptr, byval event as GdkEventAny ptr) as gboolean
 1683     property_notify_event as function(byval widget as GtkWidget ptr, byval event as GdkEventProperty ptr) as gboolean
 1684     selection_clear_event as function(byval widget as GtkWidget ptr, byval event as GdkEventSelection ptr) as gboolean
 1685     selection_request_event as function(byval widget as GtkWidget ptr, byval event as GdkEventSelection ptr) as gboolean
 1686     selection_notify_event as function(byval widget as GtkWidget ptr, byval event as GdkEventSelection ptr) as gboolean
 1687     proximity_in_event as function(byval widget as GtkWidget ptr, byval event as GdkEventProximity ptr) as gboolean
 1688     proximity_out_event as function(byval widget as GtkWidget ptr, byval event as GdkEventProximity ptr) as gboolean
 1689     visibility_notify_event as function(byval widget as GtkWidget ptr, byval event as GdkEventVisibility ptr) as gboolean
 1690     client_event as function(byval widget as GtkWidget ptr, byval event as GdkEventClient ptr) as gboolean
 1691     no_expose_event as function(byval widget as GtkWidget ptr, byval event as GdkEventAny ptr) as gboolean
 1692     window_state_event as function(byval widget as GtkWidget ptr, byval event as GdkEventWindowState ptr) as gboolean
 1693     selection_get as sub(byval widget as GtkWidget ptr, byval selection_data as GtkSelectionData ptr, byval info as guint, byval time_ as guint)
 1694     selection_received as sub(byval widget as GtkWidget ptr, byval selection_data as GtkSelectionData ptr, byval time_ as guint)
 1695     drag_begin as sub(byval widget as GtkWidget ptr, byval context as GdkDragContext ptr)
 1696     drag_end as sub(byval widget as GtkWidget ptr, byval context as GdkDragContext ptr)
 1697     drag_data_get as sub(byval widget as GtkWidget ptr, byval context as GdkDragContext ptr, byval selection_data as GtkSelectionData ptr, byval info as guint, byval time_ as guint)
 1698     drag_data_delete as sub(byval widget as GtkWidget ptr, byval context as GdkDragContext ptr)
 1699     drag_leave as sub(byval widget as GtkWidget ptr, byval context as GdkDragContext ptr, byval time_ as guint)
 1700     drag_motion as function(byval widget as GtkWidget ptr, byval context as GdkDragContext ptr, byval x as gint, byval y as gint, byval time_ as guint) as gboolean
 1701     drag_drop as function(byval widget as GtkWidget ptr, byval context as GdkDragContext ptr, byval x as gint, byval y as gint, byval time_ as guint) as gboolean
 1702     drag_data_received as sub(byval widget as GtkWidget ptr, byval context as GdkDragContext ptr, byval x as gint, byval y as gint, byval selection_data as GtkSelectionData ptr, byval info as guint, byval time_ as guint)
 1703     popup_menu as function(byval widget as GtkWidget ptr) as gboolean
 1704     show_help as function(byval widget as GtkWidget ptr, byval help_type as GtkWidgetHelpType) as gboolean
 1705     get_accessible as function(byval widget as GtkWidget ptr) as AtkObject ptr
 1706     screen_changed as sub(byval widget as GtkWidget ptr, byval previous_screen as GdkScreen ptr)
 1707     can_activate_accel as function(byval widget as GtkWidget ptr, byval signal_id as guint) as gboolean
 1708     grab_broken_event as function(byval widget as GtkWidget ptr, byval event as GdkEventGrabBroken ptr) as gboolean
 1709     composited_changed as sub(byval widget as GtkWidget ptr)
 1710     query_tooltip as function(byval widget as GtkWidget ptr, byval x as gint, byval y as gint, byval keyboard_tooltip as gboolean, byval tooltip as GtkTooltip ptr) as gboolean
 1711     _gtk_reserved5 as sub()
 1712     _gtk_reserved6 as sub()
 1713     _gtk_reserved7 as sub()
 1714 end type
 1715 
 1716 type _GtkWidgetAuxInfo
 1717     x as gint
 1718     y as gint
 1719     width as gint
 1720     height as gint
 1721     x_set : 1 as guint
 1722     y_set : 1 as guint
 1723 end type
 1724 
 1725 type _GtkWidgetShapeInfo
 1726     offset_x as gint16
 1727     offset_y as gint16
 1728     shape_mask as GdkBitmap ptr
 1729 end type
 1730 
 1731 declare function gtk_widget_get_type() as GType
 1732 declare function gtk_widget_new(byval type as GType, byval first_property_name as const gchar ptr, ...) as GtkWidget ptr
 1733 declare sub gtk_widget_destroy(byval widget as GtkWidget ptr)
 1734 declare sub gtk_widget_destroyed(byval widget as GtkWidget ptr, byval widget_pointer as GtkWidget ptr ptr)
 1735 declare function gtk_widget_ref(byval widget as GtkWidget ptr) as GtkWidget ptr
 1736 declare sub gtk_widget_unref(byval widget as GtkWidget ptr)
 1737 declare sub gtk_widget_set(byval widget as GtkWidget ptr, byval first_property_name as const gchar ptr, ...)
 1738 declare sub gtk_widget_hide_all(byval widget as GtkWidget ptr)
 1739 declare sub gtk_widget_unparent(byval widget as GtkWidget ptr)
 1740 declare sub gtk_widget_show(byval widget as GtkWidget ptr)
 1741 declare sub gtk_widget_show_now(byval widget as GtkWidget ptr)
 1742 declare sub gtk_widget_hide(byval widget as GtkWidget ptr)
 1743 declare sub gtk_widget_show_all(byval widget as GtkWidget ptr)
 1744 declare sub gtk_widget_set_no_show_all(byval widget as GtkWidget ptr, byval no_show_all as gboolean)
 1745 declare function gtk_widget_get_no_show_all(byval widget as GtkWidget ptr) as gboolean
 1746 declare sub gtk_widget_map(byval widget as GtkWidget ptr)
 1747 declare sub gtk_widget_unmap(byval widget as GtkWidget ptr)
 1748 declare sub gtk_widget_realize(byval widget as GtkWidget ptr)
 1749 declare sub gtk_widget_unrealize(byval widget as GtkWidget ptr)
 1750 declare sub gtk_widget_queue_draw(byval widget as GtkWidget ptr)
 1751 declare sub gtk_widget_queue_draw_area(byval widget as GtkWidget ptr, byval x as gint, byval y as gint, byval width as gint, byval height as gint)
 1752 declare sub gtk_widget_queue_clear(byval widget as GtkWidget ptr)
 1753 declare sub gtk_widget_queue_clear_area(byval widget as GtkWidget ptr, byval x as gint, byval y as gint, byval width as gint, byval height as gint)
 1754 declare sub gtk_widget_queue_resize(byval widget as GtkWidget ptr)
 1755 declare sub gtk_widget_queue_resize_no_redraw(byval widget as GtkWidget ptr)
 1756 declare sub gtk_widget_draw(byval widget as GtkWidget ptr, byval area as const GdkRectangle ptr)
 1757 declare sub gtk_widget_size_request(byval widget as GtkWidget ptr, byval requisition as GtkRequisition ptr)
 1758 declare sub gtk_widget_size_allocate(byval widget as GtkWidget ptr, byval allocation as GtkAllocation ptr)
 1759 declare sub gtk_widget_get_child_requisition(byval widget as GtkWidget ptr, byval requisition as GtkRequisition ptr)
 1760 declare sub gtk_widget_add_accelerator(byval widget as GtkWidget ptr, byval accel_signal as const gchar ptr, byval accel_group as GtkAccelGroup ptr, byval accel_key as guint, byval accel_mods as GdkModifierType, byval accel_flags as GtkAccelFlags)
 1761 declare function gtk_widget_remove_accelerator(byval widget as GtkWidget ptr, byval accel_group as GtkAccelGroup ptr, byval accel_key as guint, byval accel_mods as GdkModifierType) as gboolean
 1762 declare sub gtk_widget_set_accel_path(byval widget as GtkWidget ptr, byval accel_path as const gchar ptr, byval accel_group as GtkAccelGroup ptr)
 1763 declare function _gtk_widget_get_accel_path(byval widget as GtkWidget ptr, byval locked as gboolean ptr) as const gchar ptr
 1764 declare function gtk_widget_list_accel_closures(byval widget as GtkWidget ptr) as GList ptr
 1765 declare function gtk_widget_can_activate_accel(byval widget as GtkWidget ptr, byval signal_id as guint) as gboolean
 1766 declare function gtk_widget_mnemonic_activate(byval widget as GtkWidget ptr, byval group_cycling as gboolean) as gboolean
 1767 declare function gtk_widget_event(byval widget as GtkWidget ptr, byval event as GdkEvent ptr) as gboolean
 1768 declare function gtk_widget_send_expose(byval widget as GtkWidget ptr, byval event as GdkEvent ptr) as gint
 1769 declare function gtk_widget_send_focus_change(byval widget as GtkWidget ptr, byval event as GdkEvent ptr) as gboolean
 1770 declare function gtk_widget_activate(byval widget as GtkWidget ptr) as gboolean
 1771 declare function gtk_widget_set_scroll_adjustments(byval widget as GtkWidget ptr, byval hadjustment as GtkAdjustment ptr, byval vadjustment as GtkAdjustment ptr) as gboolean
 1772 declare sub gtk_widget_reparent(byval widget as GtkWidget ptr, byval new_parent as GtkWidget ptr)
 1773 declare function gtk_widget_intersect(byval widget as GtkWidget ptr, byval area as const GdkRectangle ptr, byval intersection as GdkRectangle ptr) as gboolean
 1774 declare function gtk_widget_region_intersect(byval widget as GtkWidget ptr, byval region as const GdkRegion ptr) as GdkRegion ptr
 1775 declare sub gtk_widget_freeze_child_notify(byval widget as GtkWidget ptr)
 1776 declare sub gtk_widget_child_notify(byval widget as GtkWidget ptr, byval child_property as const gchar ptr)
 1777 declare sub gtk_widget_thaw_child_notify(byval widget as GtkWidget ptr)
 1778 declare sub gtk_widget_set_can_focus(byval widget as GtkWidget ptr, byval can_focus as gboolean)
 1779 declare function gtk_widget_get_can_focus(byval widget as GtkWidget ptr) as gboolean
 1780 declare function gtk_widget_has_focus_ alias "gtk_widget_has_focus"(byval widget as GtkWidget ptr) as gboolean
 1781 declare function gtk_widget_is_focus(byval widget as GtkWidget ptr) as gboolean
 1782 declare sub gtk_widget_grab_focus(byval widget as GtkWidget ptr)
 1783 declare sub gtk_widget_set_can_default(byval widget as GtkWidget ptr, byval can_default as gboolean)
 1784 declare function gtk_widget_get_can_default(byval widget as GtkWidget ptr) as gboolean
 1785 declare function gtk_widget_has_default_ alias "gtk_widget_has_default"(byval widget as GtkWidget ptr) as gboolean
 1786 declare sub gtk_widget_grab_default(byval widget as GtkWidget ptr)
 1787 declare sub gtk_widget_set_receives_default(byval widget as GtkWidget ptr, byval receives_default as gboolean)
 1788 declare function gtk_widget_get_receives_default(byval widget as GtkWidget ptr) as gboolean
 1789 declare function gtk_widget_has_grab_ alias "gtk_widget_has_grab"(byval widget as GtkWidget ptr) as gboolean
 1790 declare sub gtk_widget_set_name(byval widget as GtkWidget ptr, byval name as const gchar ptr)
 1791 declare function gtk_widget_get_name(byval widget as GtkWidget ptr) as const gchar ptr
 1792 declare sub gtk_widget_set_state(byval widget as GtkWidget ptr, byval state as GtkStateType)
 1793 declare function gtk_widget_get_state(byval widget as GtkWidget ptr) as GtkStateType
 1794 declare sub gtk_widget_set_sensitive(byval widget as GtkWidget ptr, byval sensitive as gboolean)
 1795 declare function gtk_widget_get_sensitive(byval widget as GtkWidget ptr) as gboolean
 1796 declare function gtk_widget_is_sensitive_ alias "gtk_widget_is_sensitive"(byval widget as GtkWidget ptr) as gboolean
 1797 declare sub gtk_widget_set_visible(byval widget as GtkWidget ptr, byval visible as gboolean)
 1798 declare function gtk_widget_get_visible(byval widget as GtkWidget ptr) as gboolean
 1799 declare sub gtk_widget_set_has_window(byval widget as GtkWidget ptr, byval has_window as gboolean)
 1800 declare function gtk_widget_get_has_window(byval widget as GtkWidget ptr) as gboolean
 1801 declare function gtk_widget_is_toplevel(byval widget as GtkWidget ptr) as gboolean
 1802 declare function gtk_widget_is_drawable(byval widget as GtkWidget ptr) as gboolean
 1803 declare sub gtk_widget_set_realized(byval widget as GtkWidget ptr, byval realized as gboolean)
 1804 declare function gtk_widget_get_realized(byval widget as GtkWidget ptr) as gboolean
 1805 declare sub gtk_widget_set_mapped(byval widget as GtkWidget ptr, byval mapped as gboolean)
 1806 declare function gtk_widget_get_mapped(byval widget as GtkWidget ptr) as gboolean
 1807 declare sub gtk_widget_set_app_paintable(byval widget as GtkWidget ptr, byval app_paintable as gboolean)
 1808 declare function gtk_widget_get_app_paintable(byval widget as GtkWidget ptr) as gboolean
 1809 declare sub gtk_widget_set_double_buffered(byval widget as GtkWidget ptr, byval double_buffered as gboolean)
 1810 declare function gtk_widget_get_double_buffered(byval widget as GtkWidget ptr) as gboolean
 1811 declare sub gtk_widget_set_redraw_on_allocate(byval widget as GtkWidget ptr, byval redraw_on_allocate as gboolean)
 1812 declare sub gtk_widget_set_parent(byval widget as GtkWidget ptr, byval parent as GtkWidget ptr)
 1813 declare function gtk_widget_get_parent(byval widget as GtkWidget ptr) as GtkWidget ptr
 1814 declare sub gtk_widget_set_parent_window(byval widget as GtkWidget ptr, byval parent_window as GdkWindow ptr)
 1815 declare function gtk_widget_get_parent_window(byval widget as GtkWidget ptr) as GdkWindow ptr
 1816 declare sub gtk_widget_set_child_visible(byval widget as GtkWidget ptr, byval is_visible as gboolean)
 1817 declare function gtk_widget_get_child_visible(byval widget as GtkWidget ptr) as gboolean
 1818 declare sub gtk_widget_set_window(byval widget as GtkWidget ptr, byval window as GdkWindow ptr)
 1819 declare function gtk_widget_get_window(byval widget as GtkWidget ptr) as GdkWindow ptr
 1820 declare sub gtk_widget_get_allocation(byval widget as GtkWidget ptr, byval allocation as GtkAllocation ptr)
 1821 declare sub gtk_widget_set_allocation(byval widget as GtkWidget ptr, byval allocation as const GtkAllocation ptr)
 1822 declare sub gtk_widget_get_requisition(byval widget as GtkWidget ptr, byval requisition as GtkRequisition ptr)
 1823 declare function gtk_widget_child_focus(byval widget as GtkWidget ptr, byval direction as GtkDirectionType) as gboolean
 1824 declare function gtk_widget_keynav_failed(byval widget as GtkWidget ptr, byval direction as GtkDirectionType) as gboolean
 1825 declare sub gtk_widget_error_bell(byval widget as GtkWidget ptr)
 1826 declare sub gtk_widget_set_size_request(byval widget as GtkWidget ptr, byval width as gint, byval height as gint)
 1827 declare sub gtk_widget_get_size_request(byval widget as GtkWidget ptr, byval width as gint ptr, byval height as gint ptr)
 1828 declare sub gtk_widget_set_uposition(byval widget as GtkWidget ptr, byval x as gint, byval y as gint)
 1829 declare sub gtk_widget_set_usize(byval widget as GtkWidget ptr, byval width as gint, byval height as gint)
 1830 declare sub gtk_widget_set_events(byval widget as GtkWidget ptr, byval events as gint)
 1831 declare sub gtk_widget_add_events(byval widget as GtkWidget ptr, byval events as gint)
 1832 declare sub gtk_widget_set_extension_events(byval widget as GtkWidget ptr, byval mode as GdkExtensionMode)
 1833 declare function gtk_widget_get_extension_events(byval widget as GtkWidget ptr) as GdkExtensionMode
 1834 declare function gtk_widget_get_toplevel(byval widget as GtkWidget ptr) as GtkWidget ptr
 1835 declare function gtk_widget_get_ancestor(byval widget as GtkWidget ptr, byval widget_type as GType) as GtkWidget ptr
 1836 declare function gtk_widget_get_colormap(byval widget as GtkWidget ptr) as GdkColormap ptr
 1837 declare function gtk_widget_get_visual(byval widget as GtkWidget ptr) as GdkVisual ptr
 1838 declare function gtk_widget_get_screen(byval widget as GtkWidget ptr) as GdkScreen ptr
 1839 declare function gtk_widget_has_screen(byval widget as GtkWidget ptr) as gboolean
 1840 declare function gtk_widget_get_display(byval widget as GtkWidget ptr) as GdkDisplay ptr
 1841 declare function gtk_widget_get_root_window(byval widget as GtkWidget ptr) as GdkWindow ptr
 1842 declare function gtk_widget_get_settings(byval widget as GtkWidget ptr) as GtkSettings ptr
 1843 declare function gtk_widget_get_clipboard(byval widget as GtkWidget ptr, byval selection as GdkAtom) as GtkClipboard ptr
 1844 declare function gtk_widget_get_snapshot(byval widget as GtkWidget ptr, byval clip_rect as GdkRectangle ptr) as GdkPixmap ptr
 1845 
 1846 #define gtk_widget_set_visual(widget, visual) 0
 1847 #define gtk_widget_push_visual(visual) 0
 1848 #define gtk_widget_pop_visual() 0
 1849 #define gtk_widget_set_default_visual(visual) 0
 1850 
 1851 declare function gtk_widget_get_accessible(byval widget as GtkWidget ptr) as AtkObject ptr
 1852 declare sub gtk_widget_set_colormap(byval widget as GtkWidget ptr, byval colormap as GdkColormap ptr)
 1853 declare function gtk_widget_get_events(byval widget as GtkWidget ptr) as gint
 1854 declare sub gtk_widget_get_pointer(byval widget as GtkWidget ptr, byval x as gint ptr, byval y as gint ptr)
 1855 declare function gtk_widget_is_ancestor(byval widget as GtkWidget ptr, byval ancestor as GtkWidget ptr) as gboolean
 1856 declare function gtk_widget_translate_coordinates(byval src_widget as GtkWidget ptr, byval dest_widget as GtkWidget ptr, byval src_x as gint, byval src_y as gint, byval dest_x as gint ptr, byval dest_y as gint ptr) as gboolean
 1857 declare function gtk_widget_hide_on_delete(byval widget as GtkWidget ptr) as gboolean
 1858 declare sub gtk_widget_style_attach(byval style as GtkWidget ptr)
 1859 declare function gtk_widget_has_rc_style(byval widget as GtkWidget ptr) as gboolean
 1860 declare sub gtk_widget_set_style(byval widget as GtkWidget ptr, byval style as GtkStyle ptr)
 1861 declare sub gtk_widget_ensure_style(byval widget as GtkWidget ptr)
 1862 declare function gtk_widget_get_style(byval widget as GtkWidget ptr) as GtkStyle ptr
 1863 declare sub gtk_widget_modify_style(byval widget as GtkWidget ptr, byval style as GtkRcStyle ptr)
 1864 declare function gtk_widget_get_modifier_style(byval widget as GtkWidget ptr) as GtkRcStyle ptr
 1865 declare sub gtk_widget_modify_fg(byval widget as GtkWidget ptr, byval state as GtkStateType, byval color as const GdkColor ptr)
 1866 declare sub gtk_widget_modify_bg(byval widget as GtkWidget ptr, byval state as GtkStateType, byval color as const GdkColor ptr)
 1867 declare sub gtk_widget_modify_text(byval widget as GtkWidget ptr, byval state as GtkStateType, byval color as const GdkColor ptr)
 1868 declare sub gtk_widget_modify_base(byval widget as GtkWidget ptr, byval state as GtkStateType, byval color as const GdkColor ptr)
 1869 declare sub gtk_widget_modify_cursor(byval widget as GtkWidget ptr, byval primary as const GdkColor ptr, byval secondary as const GdkColor ptr)
 1870 declare sub gtk_widget_modify_font(byval widget as GtkWidget ptr, byval font_desc as PangoFontDescription ptr)
 1871 #define gtk_widget_set_rc_style(widget) gtk_widget_set_style(widget, NULL)
 1872 #define gtk_widget_restore_default_style(widget) gtk_widget_set_style(widget, NULL)
 1873 declare function gtk_widget_create_pango_context(byval widget as GtkWidget ptr) as PangoContext ptr
 1874 declare function gtk_widget_get_pango_context(byval widget as GtkWidget ptr) as PangoContext ptr
 1875 declare function gtk_widget_create_pango_layout(byval widget as GtkWidget ptr, byval text as const gchar ptr) as PangoLayout ptr
 1876 declare function gtk_widget_render_icon(byval widget as GtkWidget ptr, byval stock_id as const gchar ptr, byval size as GtkIconSize, byval detail as const gchar ptr) as GdkPixbuf ptr
 1877 declare sub gtk_widget_set_composite_name(byval widget as GtkWidget ptr, byval name as const gchar ptr)
 1878 declare function gtk_widget_get_composite_name(byval widget as GtkWidget ptr) as gchar ptr
 1879 declare sub gtk_widget_reset_rc_styles(byval widget as GtkWidget ptr)
 1880 declare sub gtk_widget_push_colormap(byval cmap as GdkColormap ptr)
 1881 declare sub gtk_widget_push_composite_child()
 1882 declare sub gtk_widget_pop_composite_child()
 1883 declare sub gtk_widget_pop_colormap()
 1884 declare sub gtk_widget_class_install_style_property(byval klass as GtkWidgetClass ptr, byval pspec as GParamSpec ptr)
 1885 declare sub gtk_widget_class_install_style_property_parser(byval klass as GtkWidgetClass ptr, byval pspec as GParamSpec ptr, byval parser as GtkRcPropertyParser)
 1886 declare function gtk_widget_class_find_style_property(byval klass as GtkWidgetClass ptr, byval property_name as const gchar ptr) as GParamSpec ptr
 1887 declare function gtk_widget_class_list_style_properties(byval klass as GtkWidgetClass ptr, byval n_properties as guint ptr) as GParamSpec ptr ptr
 1888 declare sub gtk_widget_style_get_property(byval widget as GtkWidget ptr, byval property_name as const gchar ptr, byval value as GValue ptr)
 1889 declare sub gtk_widget_style_get_valist(byval widget as GtkWidget ptr, byval first_property_name as const gchar ptr, byval var_args as va_list)
 1890 declare sub gtk_widget_style_get(byval widget as GtkWidget ptr, byval first_property_name as const gchar ptr, ...)
 1891 declare sub gtk_widget_set_default_colormap(byval colormap as GdkColormap ptr)
 1892 declare function gtk_widget_get_default_style() as GtkStyle ptr
 1893 declare function gtk_widget_get_default_colormap() as GdkColormap ptr
 1894 declare function gtk_widget_get_default_visual() as GdkVisual ptr
 1895 declare sub gtk_widget_set_direction(byval widget as GtkWidget ptr, byval dir as GtkTextDirection)
 1896 declare function gtk_widget_get_direction(byval widget as GtkWidget ptr) as GtkTextDirection
 1897 declare sub gtk_widget_set_default_direction(byval dir as GtkTextDirection)
 1898 declare function gtk_widget_get_default_direction() as GtkTextDirection
 1899 declare function gtk_widget_is_composited(byval widget as GtkWidget ptr) as gboolean
 1900 declare sub gtk_widget_shape_combine_mask(byval widget as GtkWidget ptr, byval shape_mask as GdkBitmap ptr, byval offset_x as gint, byval offset_y as gint)
 1901 declare sub gtk_widget_input_shape_combine_mask(byval widget as GtkWidget ptr, byval shape_mask as GdkBitmap ptr, byval offset_x as gint, byval offset_y as gint)
 1902 declare sub gtk_widget_reset_shapes(byval widget as GtkWidget ptr)
 1903 declare sub gtk_widget_path(byval widget as GtkWidget ptr, byval path_length as guint ptr, byval path as gchar ptr ptr, byval path_reversed as gchar ptr ptr)
 1904 declare sub gtk_widget_class_path(byval widget as GtkWidget ptr, byval path_length as guint ptr, byval path as gchar ptr ptr, byval path_reversed as gchar ptr ptr)
 1905 declare function gtk_widget_list_mnemonic_labels(byval widget as GtkWidget ptr) as GList ptr
 1906 declare sub gtk_widget_add_mnemonic_label(byval widget as GtkWidget ptr, byval label as GtkWidget ptr)
 1907 declare sub gtk_widget_remove_mnemonic_label(byval widget as GtkWidget ptr, byval label as GtkWidget ptr)
 1908 declare sub gtk_widget_set_tooltip_window(byval widget as GtkWidget ptr, byval custom_window as GtkWindow ptr)
 1909 declare function gtk_widget_get_tooltip_window(byval widget as GtkWidget ptr) as GtkWindow ptr
 1910 declare sub gtk_widget_trigger_tooltip_query(byval widget as GtkWidget ptr)
 1911 declare sub gtk_widget_set_tooltip_text(byval widget as GtkWidget ptr, byval text as const gchar ptr)
 1912 declare function gtk_widget_get_tooltip_text(byval widget as GtkWidget ptr) as gchar ptr
 1913 declare sub gtk_widget_set_tooltip_markup(byval widget as GtkWidget ptr, byval markup as const gchar ptr)
 1914 declare function gtk_widget_get_tooltip_markup(byval widget as GtkWidget ptr) as gchar ptr
 1915 declare sub gtk_widget_set_has_tooltip(byval widget as GtkWidget ptr, byval has_tooltip as gboolean)
 1916 declare function gtk_widget_get_has_tooltip(byval widget as GtkWidget ptr) as gboolean
 1917 declare function gtk_requisition_get_type() as GType
 1918 declare function gtk_requisition_copy(byval requisition as const GtkRequisition ptr) as GtkRequisition ptr
 1919 declare sub gtk_requisition_free(byval requisition as GtkRequisition ptr)
 1920 declare sub _gtk_widget_set_has_default(byval widget as GtkWidget ptr, byval has_default as gboolean)
 1921 declare sub _gtk_widget_set_has_grab(byval widget as GtkWidget ptr, byval has_grab as gboolean)
 1922 declare sub _gtk_widget_set_is_toplevel(byval widget as GtkWidget ptr, byval is_toplevel as gboolean)
 1923 declare sub _gtk_widget_grab_notify(byval widget as GtkWidget ptr, byval was_grabbed as gboolean)
 1924 declare function _gtk_widget_get_aux_info(byval widget as GtkWidget ptr, byval create as gboolean) as GtkWidgetAuxInfo ptr
 1925 declare sub _gtk_widget_propagate_hierarchy_changed(byval widget as GtkWidget ptr, byval previous_toplevel as GtkWidget ptr)
 1926 declare sub _gtk_widget_propagate_screen_changed(byval widget as GtkWidget ptr, byval previous_screen as GdkScreen ptr)
 1927 declare sub _gtk_widget_propagate_composited_changed(byval widget as GtkWidget ptr)
 1928 declare sub _gtk_widget_set_pointer_window(byval widget as GtkWidget ptr, byval pointer_window as GdkWindow ptr)
 1929 declare function _gtk_widget_get_pointer_window(byval widget as GtkWidget ptr) as GdkWindow ptr
 1930 declare function _gtk_widget_is_pointer_widget(byval widget as GtkWidget ptr) as gboolean
 1931 declare sub _gtk_widget_synthesize_crossing(byval from as GtkWidget ptr, byval to as GtkWidget ptr, byval mode as GdkCrossingMode)
 1932 declare function _gtk_widget_peek_colormap() as GdkColormap ptr
 1933 declare sub _gtk_widget_buildable_finish_accelerator(byval widget as GtkWidget ptr, byval toplevel as GtkWidget ptr, byval user_data as gpointer)
 1934 
 1935 #define GTK_TYPE_CONTAINER gtk_container_get_type()
 1936 #define GTK_CONTAINER(obj) G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_CONTAINER, GtkContainer)
 1937 #define GTK_CONTAINER_CLASS(klass) G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_CONTAINER, GtkContainerClass)
 1938 #define GTK_IS_CONTAINER(obj) G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_CONTAINER)
 1939 #define GTK_IS_CONTAINER_CLASS(klass) G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_CONTAINER)
 1940 #define GTK_CONTAINER_GET_CLASS(obj) G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_CONTAINER, GtkContainerClass)
 1941 #define GTK_IS_RESIZE_CONTAINER(widget) (GTK_IS_CONTAINER(widget) andalso (cptr(GtkContainer ptr, (widget))->resize_mode <> GTK_RESIZE_PARENT))
 1942 type GtkContainer as _GtkContainer
 1943 type GtkContainerClass as _GtkContainerClass
 1944 
 1945 type _GtkContainer
 1946     widget as GtkWidget
 1947     focus_child as GtkWidget ptr
 1948     border_width : 16 as guint
 1949     need_resize : 1 as guint
 1950     resize_mode : 2 as guint
 1951     reallocate_redraws : 1 as guint
 1952     has_focus_chain : 1 as guint
 1953 end type
 1954 
 1955 type _GtkContainerClass
 1956     parent_class as GtkWidgetClass
 1957     add as sub(byval container as GtkContainer ptr, byval widget as GtkWidget ptr)
 1958     remove as sub(byval container as GtkContainer ptr, byval widget as GtkWidget ptr)
 1959     check_resize as sub(byval container as GtkContainer ptr)
 1960     forall as sub(byval container as GtkContainer ptr, byval include_internals as gboolean, byval callback as GtkCallback, byval callback_data as gpointer)
 1961     set_focus_child as sub(byval container as GtkContainer ptr, byval widget as GtkWidget ptr)
 1962     child_type as function(byval container as GtkContainer ptr) as GType
 1963     composite_name as function(byval container as GtkContainer ptr, byval child as GtkWidget ptr) as gchar ptr
 1964     set_child_property as sub(byval container as GtkContainer ptr, byval child as GtkWidget ptr, byval property_id as guint, byval value as const GValue ptr, byval pspec as GParamSpec ptr)
 1965     get_child_property as sub(byval container as GtkContainer ptr, byval child as GtkWidget ptr, byval property_id as guint, byval value as GValue ptr, byval pspec as GParamSpec ptr)
 1966     _gtk_reserved1 as sub()
 1967     _gtk_reserved2 as sub()
 1968     _gtk_reserved3 as sub()
 1969     _gtk_reserved4 as sub()
 1970 end type
 1971 
 1972 declare function gtk_container_get_type() as GType
 1973 declare sub gtk_container_set_border_width(byval container as GtkContainer ptr, byval border_width as guint)
 1974 declare function gtk_container_get_border_width(byval container as GtkContainer ptr) as guint
 1975 declare sub gtk_container_add(byval container as GtkContainer ptr, byval widget as GtkWidget ptr)
 1976 declare sub gtk_container_remove(byval container as GtkContainer ptr, byval widget as GtkWidget ptr)
 1977 declare sub gtk_container_set_resize_mode(byval container as GtkContainer ptr, byval resize_mode as GtkResizeMode)
 1978 declare function gtk_container_get_resize_mode(byval container as GtkContainer ptr) as GtkResizeMode
 1979 declare sub gtk_container_check_resize(byval container as GtkContainer ptr)
 1980 declare sub gtk_container_foreach(byval container as GtkContainer ptr, byval callback as GtkCallback, byval callback_data as gpointer)
 1981 declare sub gtk_container_foreach_full(byval container as GtkContainer ptr, byval callback as GtkCallback, byval marshal as GtkCallbackMarshal, byval callback_data as gpointer, byval notify as GDestroyNotify)
 1982 declare function gtk_container_get_children(byval container as GtkContainer ptr) as GList ptr
 1983 declare function gtk_container_children alias "gtk_container_get_children"(byval container as GtkContainer ptr) as GList ptr
 1984 declare sub gtk_container_propagate_expose(byval container as GtkContainer ptr, byval child as GtkWidget ptr, byval event as GdkEventExpose ptr)
 1985 declare sub gtk_container_set_focus_chain(byval container as GtkContainer ptr, byval focusable_widgets as GList ptr)
 1986 declare function gtk_container_get_focus_chain(byval container as GtkContainer ptr, byval focusable_widgets as GList ptr ptr) as gboolean
 1987 declare sub gtk_container_unset_focus_chain(byval container as GtkContainer ptr)
 1988 declare sub gtk_container_set_reallocate_redraws(byval container as GtkContainer ptr, byval needs_redraws as gboolean)
 1989 declare sub gtk_container_set_focus_child(byval container as GtkContainer ptr, byval child as GtkWidget ptr)
 1990 declare function gtk_container_get_focus_child(byval container as GtkContainer ptr) as GtkWidget ptr
 1991 declare sub gtk_container_set_focus_vadjustment(byval container as GtkContainer ptr, byval adjustment as GtkAdjustment ptr)
 1992 declare function gtk_container_get_focus_vadjustment(byval container as GtkContainer ptr) as GtkAdjustment ptr
 1993 declare sub gtk_container_set_focus_hadjustment(byval container as GtkContainer ptr, byval adjustment as GtkAdjustment ptr)
 1994 declare function gtk_container_get_focus_hadjustment(byval container as GtkContainer ptr) as GtkAdjustment ptr
 1995 declare sub gtk_container_resize_children(byval container as GtkContainer ptr)
 1996 declare function gtk_container_child_type(byval container as GtkContainer ptr) as GType
 1997 declare sub gtk_container_class_install_child_property(byval cclass as GtkContainerClass ptr, byval property_id as guint, byval pspec as GParamSpec ptr)
 1998 declare function gtk_container_class_find_child_property(byval cclass as GObjectClass ptr, byval property_name as const gchar ptr) as GParamSpec ptr
 1999 declare function gtk_container_class_list_child_properties(byval cclass as GObjectClass ptr, byval n_properties as guint ptr) as GParamSpec ptr ptr
 2000 declare sub gtk_container_add_with_properties(byval container as GtkContainer ptr, byval widget as GtkWidget ptr, byval first_prop_name as const gchar ptr, ...)
 2001 declare sub gtk_container_child_set(byval container as GtkContainer ptr, byval child as GtkWidget ptr, byval first_prop_name as const gchar ptr, ...)
 2002 declare sub gtk_container_child_get(byval container as GtkContainer ptr, byval child as GtkWidget ptr, byval first_prop_name as const gchar ptr, ...)
 2003 declare sub gtk_container_child_set_valist(byval container as GtkContainer ptr, byval child as GtkWidget ptr, byval first_property_name as const gchar ptr, byval var_args as va_list)
 2004 declare sub gtk_container_child_get_valist(byval container as GtkContainer ptr, byval child as GtkWidget ptr, byval first_property_name as const gchar ptr, byval var_args as va_list)
 2005 declare sub gtk_container_child_set_property(byval container as GtkContainer ptr, byval child as GtkWidget ptr, byval property_name as const gchar ptr, byval value as const GValue ptr)
 2006 declare sub gtk_container_child_get_property(byval container as GtkContainer ptr, byval child as GtkWidget ptr, byval property_name as const gchar ptr, byval value as GValue ptr)
 2007 #define GTK_CONTAINER_WARN_INVALID_CHILD_PROPERTY_ID(object, property_id, pspec) G_OBJECT_WARN_INVALID_PSPEC((object), "child property id", (property_id), (pspec))
 2008 declare sub gtk_container_forall(byval container as GtkContainer ptr, byval callback as GtkCallback, byval callback_data as gpointer)
 2009 declare sub _gtk_container_queue_resize(byval container as GtkContainer ptr)
 2010 declare sub _gtk_container_clear_resize_widgets(byval container as GtkContainer ptr)
 2011 declare function _gtk_container_child_composite_name(byval container as GtkContainer ptr, byval child as GtkWidget ptr) as gchar ptr
 2012 declare sub _gtk_container_dequeue_resize_handler(byval container as GtkContainer ptr)
 2013 declare function _gtk_container_focus_sort(byval container as GtkContainer ptr, byval children as GList ptr, byval direction as GtkDirectionType, byval old_focus as GtkWidget ptr) as GList ptr
 2014 declare sub gtk_container_border_width alias "gtk_container_set_border_width"(byval container as GtkContainer ptr, byval border_width as guint)
 2015 
 2016 #define GTK_TYPE_BIN gtk_bin_get_type()
 2017 #define GTK_BIN(obj) G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_BIN, GtkBin)
 2018 #define GTK_BIN_CLASS(klass) G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_BIN, GtkBinClass)
 2019 #define GTK_IS_BIN(obj) G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_BIN)
 2020 #define GTK_IS_BIN_CLASS(klass) G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_BIN)
 2021 #define GTK_BIN_GET_CLASS(obj) G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_BIN, GtkBinClass)
 2022 type GtkBin as _GtkBin
 2023 type GtkBinClass as _GtkBinClass
 2024 
 2025 type _GtkBin
 2026     container as GtkContainer
 2027     child as GtkWidget ptr
 2028 end type
 2029 
 2030 type _GtkBinClass
 2031     parent_class as GtkContainerClass
 2032 end type
 2033 
 2034 declare function gtk_bin_get_type() as GType
 2035 declare function gtk_bin_get_child(byval bin as GtkBin ptr) as GtkWidget ptr
 2036 #define GTK_TYPE_WINDOW gtk_window_get_type()
 2037 #define GTK_WINDOW(obj) G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_WINDOW, GtkWindow)
 2038 #define GTK_WINDOW_CLASS(klass) G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_WINDOW, GtkWindowClass)
 2039 #define GTK_IS_WINDOW(obj) G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_WINDOW)
 2040 #define GTK_IS_WINDOW_CLASS(klass) G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_WINDOW)
 2041 #define GTK_WINDOW_GET_CLASS(obj) G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_WINDOW, GtkWindowClass)
 2042 
 2043 type GtkWindowClass as _GtkWindowClass
 2044 type GtkWindowGeometryInfo as _GtkWindowGeometryInfo
 2045 type GtkWindowGroup as _GtkWindowGroup
 2046 type GtkWindowGroupClass as _GtkWindowGroupClass
 2047 
 2048 type _GtkWindow
 2049     bin as GtkBin
 2050     title as gchar ptr
 2051     wmclass_name as gchar ptr
 2052     wmclass_class as gchar ptr
 2053     wm_role as gchar ptr
 2054     focus_widget as GtkWidget ptr
 2055     default_widget as GtkWidget ptr
 2056     transient_parent as GtkWindow ptr
 2057     geometry_info as GtkWindowGeometryInfo ptr
 2058     frame as GdkWindow ptr
 2059     group as GtkWindowGroup ptr
 2060     configure_request_count as guint16
 2061     allow_shrink : 1 as guint
 2062     allow_grow : 1 as guint
 2063     configure_notify_received : 1 as guint
 2064     need_default_position : 1 as guint
 2065     need_default_size : 1 as guint
 2066     position : 3 as guint
 2067     as guint type : 4
 2068     has_user_ref_count : 1 as guint
 2069     has_focus : 1 as guint
 2070     modal : 1 as guint
 2071     destroy_with_parent : 1 as guint
 2072     has_frame : 1 as guint
 2073     iconify_initially : 1 as guint
 2074     stick_initially : 1 as guint
 2075     maximize_initially : 1 as guint
 2076     decorated : 1 as guint
 2077     type_hint : 3 as guint
 2078     gravity : 5 as guint
 2079     is_active : 1 as guint
 2080     has_toplevel_focus : 1 as guint
 2081     frame_left as guint
 2082     frame_top as guint
 2083     frame_right as guint
 2084     frame_bottom as guint
 2085     keys_changed_handler as guint
 2086     mnemonic_modifier as GdkModifierType
 2087     screen as GdkScreen ptr
 2088 end type
 2089 
 2090 type _GtkWindowClass
 2091     parent_class as GtkBinClass
 2092     set_focus as sub(byval window as GtkWindow ptr, byval focus as GtkWidget ptr)
 2093     frame_event as function(byval window as GtkWindow ptr, byval event as GdkEvent ptr) as gboolean
 2094     activate_focus as sub(byval window as GtkWindow ptr)
 2095     activate_default as sub(byval window as GtkWindow ptr)
 2096     move_focus as sub(byval window as GtkWindow ptr, byval direction as GtkDirectionType)
 2097     keys_changed as sub(byval window as GtkWindow ptr)
 2098     _gtk_reserved1 as sub()
 2099     _gtk_reserved2 as sub()
 2100     _gtk_reserved3 as sub()
 2101     _gtk_reserved4 as sub()
 2102 end type
 2103 
 2104 #define GTK_TYPE_WINDOW_GROUP gtk_window_group_get_type()
 2105 #define GTK_WINDOW_GROUP(object) G_TYPE_CHECK_INSTANCE_CAST((object), GTK_TYPE_WINDOW_GROUP, GtkWindowGroup)
 2106 #define GTK_WINDOW_GROUP_CLASS(klass) G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_WINDOW_GROUP, GtkWindowGroupClass)
 2107 #define GTK_IS_WINDOW_GROUP(object) G_TYPE_CHECK_INSTANCE_TYPE((object), GTK_TYPE_WINDOW_GROUP)
 2108 #define GTK_IS_WINDOW_GROUP_CLASS(klass) G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_WINDOW_GROUP)
 2109 #define GTK_WINDOW_GROUP_GET_CLASS(obj) G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_WINDOW_GROUP, GtkWindowGroupClass)
 2110 
 2111 type _GtkWindowGroup
 2112     parent_instance as GObject
 2113     grabs as GSList ptr
 2114 end type
 2115 
 2116 type _GtkWindowGroupClass
 2117     parent_class as GObjectClass
 2118     _gtk_reserved1 as sub()
 2119     _gtk_reserved2 as sub()
 2120     _gtk_reserved3 as sub()
 2121     _gtk_reserved4 as sub()
 2122 end type
 2123 
 2124 declare function gtk_window_get_type() as GType
 2125 declare function gtk_window_new(byval type as GtkWindowType) as GtkWidget ptr
 2126 declare sub gtk_window_set_title(byval window as GtkWindow ptr, byval title as const gchar ptr)
 2127 declare function gtk_window_get_title(byval window as GtkWindow ptr) as const gchar ptr
 2128 declare sub gtk_window_set_wmclass(byval window as GtkWindow ptr, byval wmclass_name as const gchar ptr, byval wmclass_class as const gchar ptr)
 2129 declare sub gtk_window_set_role(byval window as GtkWindow ptr, byval role as const gchar ptr)
 2130 declare sub gtk_window_set_startup_id(byval window as GtkWindow ptr, byval startup_id as const gchar ptr)
 2131 declare function gtk_window_get_role(byval window as GtkWindow ptr) as const gchar ptr
 2132 declare sub gtk_window_add_accel_group(byval window as GtkWindow ptr, byval accel_group as GtkAccelGroup ptr)
 2133 declare sub gtk_window_remove_accel_group(byval window as GtkWindow ptr, byval accel_group as GtkAccelGroup ptr)
 2134 declare sub gtk_window_set_position(byval window as GtkWindow ptr, byval position as GtkWindowPosition)
 2135 declare function gtk_window_activate_focus(byval window as GtkWindow ptr) as gboolean
 2136 declare sub gtk_window_set_focus(byval window as GtkWindow ptr, byval focus as GtkWidget ptr)
 2137 declare function gtk_window_get_focus(byval window as GtkWindow ptr) as GtkWidget ptr
 2138 declare sub gtk_window_set_default(byval window as GtkWindow ptr, byval default_widget as GtkWidget ptr)
 2139 declare function gtk_window_get_default_widget(byval window as GtkWindow ptr) as GtkWidget ptr
 2140 declare function gtk_window_activate_default(byval window as GtkWindow ptr) as gboolean
 2141 declare sub gtk_window_set_transient_for(byval window as GtkWindow ptr, byval parent as GtkWindow ptr)
 2142 declare function gtk_window_get_transient_for(byval window as GtkWindow ptr) as GtkWindow ptr
 2143 declare sub gtk_window_set_opacity(byval window as GtkWindow ptr, byval opacity as gdouble)
 2144 declare function gtk_window_get_opacity(byval window as GtkWindow ptr) as gdouble
 2145 declare sub gtk_window_set_type_hint(byval window as GtkWindow ptr, byval hint as GdkWindowTypeHint)
 2146 declare function gtk_window_get_type_hint(byval window as GtkWindow ptr) as GdkWindowTypeHint
 2147 declare sub gtk_window_set_skip_taskbar_hint(byval window as GtkWindow ptr, byval setting as gboolean)
 2148 declare function gtk_window_get_skip_taskbar_hint(byval window as GtkWindow ptr) as gboolean
 2149 declare sub gtk_window_set_skip_pager_hint(byval window as GtkWindow ptr, byval setting as gboolean)
 2150 declare function gtk_window_get_skip_pager_hint(byval window as GtkWindow ptr) as gboolean
 2151 declare sub gtk_window_set_urgency_hint(byval window as GtkWindow ptr, byval setting as gboolean)
 2152 declare function gtk_window_get_urgency_hint(byval window as GtkWindow ptr) as gboolean
 2153 declare sub gtk_window_set_accept_focus(byval window as GtkWindow ptr, byval setting as gboolean)
 2154 declare function gtk_window_get_accept_focus(byval window as GtkWindow ptr) as gboolean
 2155 declare sub gtk_window_set_focus_on_map(byval window as GtkWindow ptr, byval setting as gboolean)
 2156 declare function gtk_window_get_focus_on_map(byval window as GtkWindow ptr) as gboolean
 2157 declare sub gtk_window_set_destroy_with_parent(byval window as GtkWindow ptr, byval setting as gboolean)
 2158 declare function gtk_window_get_destroy_with_parent(byval window as GtkWindow ptr) as gboolean
 2159 declare sub gtk_window_set_mnemonics_visible(byval window as GtkWindow ptr, byval setting as gboolean)
 2160 declare function gtk_window_get_mnemonics_visible(byval window as GtkWindow ptr) as gboolean
 2161 declare sub gtk_window_set_resizable(byval window as GtkWindow ptr, byval resizable as gboolean)
 2162 declare function gtk_window_get_resizable(byval window as GtkWindow ptr) as gboolean
 2163 declare sub gtk_window_set_gravity(byval window as GtkWindow ptr, byval gravity as GdkGravity)
 2164 declare function gtk_window_get_gravity(byval window as GtkWindow ptr) as GdkGravity
 2165 declare sub gtk_window_set_geometry_hints(byval window as GtkWindow ptr, byval geometry_widget as GtkWidget ptr, byval geometry as GdkGeometry ptr, byval geom_mask as GdkWindowHints)
 2166 declare sub gtk_window_set_screen(byval window as GtkWindow ptr, byval screen as GdkScreen ptr)
 2167 declare function gtk_window_get_screen(byval window as GtkWindow ptr) as GdkScreen ptr
 2168 declare function gtk_window_is_active(byval window as GtkWindow ptr) as gboolean
 2169 declare function gtk_window_has_toplevel_focus(byval window as GtkWindow ptr) as gboolean
 2170 declare sub gtk_window_set_has_frame(byval window as GtkWindow ptr, byval setting as gboolean)
 2171 declare function gtk_window_get_has_frame(byval window as GtkWindow ptr) as gboolean
 2172 declare sub gtk_window_set_frame_dimensions(byval window as GtkWindow ptr, byval left as gint, byval top as gint, byval right as gint, byval bottom as gint)
 2173 declare sub gtk_window_get_frame_dimensions(byval window as GtkWindow ptr, byval left as gint ptr, byval top as gint ptr, byval right as gint ptr, byval bottom as gint ptr)
 2174 declare sub gtk_window_set_decorated(byval window as GtkWindow ptr, byval setting as gboolean)
 2175 declare function gtk_window_get_decorated(byval window as GtkWindow ptr) as gboolean
 2176 declare sub gtk_window_set_deletable(byval window as GtkWindow ptr, byval setting as gboolean)
 2177 declare function gtk_window_get_deletable(byval window as GtkWindow ptr) as gboolean
 2178 declare sub gtk_window_set_icon_list(byval window as GtkWindow ptr, byval list as GList ptr)
 2179 declare function gtk_window_get_icon_list(byval window as GtkWindow ptr) as GList ptr
 2180 declare sub gtk_window_set_icon(byval window as GtkWindow ptr, byval icon as GdkPixbuf ptr)
 2181 declare sub gtk_window_set_icon_name(byval window as GtkWindow ptr, byval name as const gchar ptr)
 2182 
 2183 #ifdef __FB_UNIX__
 2184     declare function gtk_window_set_icon_from_file(byval window as GtkWindow ptr, byval filename as const gchar ptr, byval err as GError ptr ptr) as gboolean
 2185 #else
 2186     declare function gtk_window_set_icon_from_file_utf8(byval window as GtkWindow ptr, byval filename as const gchar ptr, byval err as GError ptr ptr) as gboolean
 2187     declare function gtk_window_set_icon_from_file alias "gtk_window_set_icon_from_file_utf8"(byval window as GtkWindow ptr, byval filename as const gchar ptr, byval err as GError ptr ptr) as gboolean
 2188 #endif
 2189 
 2190 declare function gtk_window_get_icon(byval window as GtkWindow ptr) as GdkPixbuf ptr
 2191 declare function gtk_window_get_icon_name(byval window as GtkWindow ptr) as const gchar ptr
 2192 declare sub gtk_window_set_default_icon_list(byval list as GList ptr)
 2193 declare function gtk_window_get_default_icon_list() as GList ptr
 2194 declare sub gtk_window_set_default_icon(byval icon as GdkPixbuf ptr)
 2195 declare sub gtk_window_set_default_icon_name(byval name as const gchar ptr)
 2196 declare function gtk_window_get_default_icon_name() as const gchar ptr
 2197 
 2198 #ifdef __FB_UNIX__
 2199     declare function gtk_window_set_default_icon_from_file(byval filename as const gchar ptr, byval err as GError ptr ptr) as gboolean
 2200 #else
 2201     declare function gtk_window_set_default_icon_from_file_utf8(byval filename as const gchar ptr, byval err as GError ptr ptr) as gboolean
 2202     declare function gtk_window_set_default_icon_from_file alias "gtk_window_set_default_icon_from_file_utf8"(byval filename as const gchar ptr, byval err as GError ptr ptr) as gboolean
 2203 #endif
 2204 
 2205 declare sub gtk_window_set_auto_startup_notification(byval setting as gboolean)
 2206 declare sub gtk_window_set_modal(byval window as GtkWindow ptr, byval modal as gboolean)
 2207 declare function gtk_window_get_modal(byval window as GtkWindow ptr) as gboolean
 2208 declare function gtk_window_list_toplevels() as GList ptr
 2209 declare sub gtk_window_add_mnemonic(byval window as GtkWindow ptr, byval keyval as guint, byval target as GtkWidget ptr)
 2210 declare sub gtk_window_remove_mnemonic(byval window as GtkWindow ptr, byval keyval as guint, byval target as GtkWidget ptr)
 2211 declare function gtk_window_mnemonic_activate(byval window as GtkWindow ptr, byval keyval as guint, byval modifier as GdkModifierType) as gboolean
 2212 declare sub gtk_window_set_mnemonic_modifier(byval window as GtkWindow ptr, byval modifier as GdkModifierType)
 2213 declare function gtk_window_get_mnemonic_modifier(byval window as GtkWindow ptr) as GdkModifierType
 2214 declare function gtk_window_activate_key(byval window as GtkWindow ptr, byval event as GdkEventKey ptr) as gboolean
 2215 declare function gtk_window_propagate_key_event(byval window as GtkWindow ptr, byval event as GdkEventKey ptr) as gboolean
 2216 declare sub gtk_window_present(byval window as GtkWindow ptr)
 2217 declare sub gtk_window_present_with_time(byval window as GtkWindow ptr, byval timestamp as guint32)
 2218 declare sub gtk_window_iconify(byval window as GtkWindow ptr)
 2219 declare sub gtk_window_deiconify(byval window as GtkWindow ptr)
 2220 declare sub gtk_window_stick(byval window as GtkWindow ptr)
 2221 declare sub gtk_window_unstick(byval window as GtkWindow ptr)
 2222 declare sub gtk_window_maximize(byval window as GtkWindow ptr)
 2223 declare sub gtk_window_unmaximize(byval window as GtkWindow ptr)
 2224 declare sub gtk_window_fullscreen(byval window as GtkWindow ptr)
 2225 declare sub gtk_window_unfullscreen(byval window as GtkWindow ptr)
 2226 declare sub gtk_window_set_keep_above(byval window as GtkWindow ptr, byval setting as gboolean)
 2227 declare sub gtk_window_set_keep_below(byval window as GtkWindow ptr, byval setting as gboolean)
 2228 declare sub gtk_window_begin_resize_drag(byval window as GtkWindow ptr, byval edge as GdkWindowEdge, byval button as gint, byval root_x as gint, byval root_y as gint, byval timestamp as guint32)
 2229 declare sub gtk_window_begin_move_drag(byval window as GtkWindow ptr, byval button as gint, byval root_x as gint, byval root_y as gint, byval timestamp as guint32)
 2230 declare sub gtk_window_set_policy(byval window as GtkWindow ptr, byval allow_shrink as gint, byval allow_grow as gint, byval auto_shrink as gint)
 2231 declare sub gtk_window_position alias "gtk_window_set_position"(byval window as GtkWindow ptr, byval position as GtkWindowPosition)
 2232 declare sub gtk_window_set_default_size(byval window as GtkWindow ptr, byval width as gint, byval height as gint)
 2233 declare sub gtk_window_get_default_size(byval window as GtkWindow ptr, byval width as gint ptr, byval height as gint ptr)
 2234 declare sub gtk_window_resize(byval window as GtkWindow ptr, byval width as gint, byval height as gint)
 2235 declare sub gtk_window_get_size(byval window as GtkWindow ptr, byval width as gint ptr, byval height as gint ptr)
 2236 declare sub gtk_window_move(byval window as GtkWindow ptr, byval x as gint, byval y as gint)
 2237 declare sub gtk_window_get_position(byval window as GtkWindow ptr, byval root_x as gint ptr, byval root_y as gint ptr)
 2238 declare function gtk_window_parse_geometry(byval window as GtkWindow ptr, byval geometry as const gchar ptr) as gboolean
 2239 declare function gtk_window_get_group(byval window as GtkWindow ptr) as GtkWindowGroup ptr
 2240 declare function gtk_window_has_group(byval window as GtkWindow ptr) as gboolean
 2241 declare sub gtk_window_reshow_with_initial_size(byval window as GtkWindow ptr)
 2242 declare function gtk_window_get_window_type(byval window as GtkWindow ptr) as GtkWindowType
 2243 declare function gtk_window_group_get_type() as GType
 2244 declare function gtk_window_group_new() as GtkWindowGroup ptr
 2245 declare sub gtk_window_group_add_window(byval window_group as GtkWindowGroup ptr, byval window as GtkWindow ptr)
 2246 declare sub gtk_window_group_remove_window(byval window_group as GtkWindowGroup ptr, byval window as GtkWindow ptr)
 2247 declare function gtk_window_group_list_windows(byval window_group as GtkWindowGroup ptr) as GList ptr
 2248 declare sub _gtk_window_internal_set_focus(byval window as GtkWindow ptr, byval focus as GtkWidget ptr)
 2249 declare sub gtk_window_remove_embedded_xid(byval window as GtkWindow ptr, byval xid as GdkNativeWindow)
 2250 declare sub gtk_window_add_embedded_xid(byval window as GtkWindow ptr, byval xid as GdkNativeWindow)
 2251 declare sub _gtk_window_reposition(byval window as GtkWindow ptr, byval x as gint, byval y as gint)
 2252 declare sub _gtk_window_constrain_size(byval window as GtkWindow ptr, byval width as gint, byval height as gint, byval new_width as gint ptr, byval new_height as gint ptr)
 2253 declare function gtk_window_group_get_current_grab(byval window_group as GtkWindowGroup ptr) as GtkWidget ptr
 2254 declare sub _gtk_window_set_has_toplevel_focus(byval window as GtkWindow ptr, byval has_toplevel_focus as gboolean)
 2255 declare sub _gtk_window_unset_focus_and_default(byval window as GtkWindow ptr, byval widget as GtkWidget ptr)
 2256 declare sub _gtk_window_set_is_active(byval window as GtkWindow ptr, byval is_active as gboolean)
 2257 declare sub _gtk_window_set_is_toplevel(byval window as GtkWindow ptr, byval is_toplevel as gboolean)
 2258 type GtkWindowKeysForeachFunc as sub(byval window as GtkWindow ptr, byval keyval as guint, byval modifiers as GdkModifierType, byval is_mnemonic as gboolean, byval data as gpointer)
 2259 declare sub _gtk_window_keys_foreach(byval window as GtkWindow ptr, byval func as GtkWindowKeysForeachFunc, byval func_data as gpointer)
 2260 declare function _gtk_window_query_nonaccels(byval window as GtkWindow ptr, byval accel_key as guint, byval accel_mods as GdkModifierType) as gboolean
 2261 
 2262 type GtkDialogFlags as long
 2263 enum
 2264     GTK_DIALOG_MODAL = 1 shl 0
 2265     GTK_DIALOG_DESTROY_WITH_PARENT = 1 shl 1
 2266     GTK_DIALOG_NO_SEPARATOR = 1 shl 2
 2267 end enum
 2268 
 2269 type GtkResponseType as long
 2270 enum
 2271     GTK_RESPONSE_NONE = -1
 2272     GTK_RESPONSE_REJECT = -2
 2273     GTK_RESPONSE_ACCEPT = -3
 2274     GTK_RESPONSE_DELETE_EVENT = -4
 2275     GTK_RESPONSE_OK = -5
 2276     GTK_RESPONSE_CANCEL = -6
 2277     GTK_RESPONSE_CLOSE = -7
 2278     GTK_RESPONSE_YES = -8
 2279     GTK_RESPONSE_NO = -9
 2280     GTK_RESPONSE_APPLY = -10
 2281     GTK_RESPONSE_HELP = -11
 2282 end enum
 2283 
 2284 #define GTK_TYPE_DIALOG gtk_dialog_get_type()
 2285 #define GTK_DIALOG(obj) G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_DIALOG, GtkDialog)
 2286 #define GTK_DIALOG_CLASS(klass) G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_DIALOG, GtkDialogClass)
 2287 #define GTK_IS_DIALOG(obj) G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_DIALOG)
 2288 #define GTK_IS_DIALOG_CLASS(klass) G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_DIALOG)
 2289 #define GTK_DIALOG_GET_CLASS(obj) G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_DIALOG, GtkDialogClass)
 2290 type GtkDialog as _GtkDialog
 2291 type GtkDialogClass as _GtkDialogClass
 2292 
 2293 type _GtkDialog
 2294     window as GtkWindow
 2295     vbox as GtkWidget ptr
 2296     action_area as GtkWidget ptr
 2297     separator as GtkWidget ptr
 2298 end type
 2299 
 2300 type _GtkDialogClass
 2301     parent_class as GtkWindowClass
 2302     response as sub(byval dialog as GtkDialog ptr, byval response_id as gint)
 2303     close as sub(byval dialog as GtkDialog ptr)
 2304     _gtk_reserved1 as sub()
 2305     _gtk_reserved2 as sub()
 2306     _gtk_reserved3 as sub()
 2307     _gtk_reserved4 as sub()
 2308 end type
 2309 
 2310 declare function gtk_dialog_get_type() as GType
 2311 declare function gtk_dialog_new() as GtkWidget ptr
 2312 declare function gtk_dialog_new_with_buttons(byval title as const gchar ptr, byval parent as GtkWindow ptr, byval flags as GtkDialogFlags, byval first_button_text as const gchar ptr, ...) as GtkWidget ptr
 2313 declare sub gtk_dialog_add_action_widget(byval dialog as GtkDialog ptr, byval child as GtkWidget ptr, byval response_id as gint)
 2314 declare function gtk_dialog_add_button(byval dialog as GtkDialog ptr, byval button_text as const gchar ptr, byval response_id as gint) as GtkWidget ptr
 2315 declare sub gtk_dialog_add_buttons(byval dialog as GtkDialog ptr, byval first_button_text as const gchar ptr, ...)
 2316 declare sub gtk_dialog_set_response_sensitive(byval dialog as GtkDialog ptr, byval response_id as gint, byval setting as gboolean)
 2317 declare sub gtk_dialog_set_default_response(byval dialog as GtkDialog ptr, byval response_id as gint)
 2318 declare function gtk_dialog_get_widget_for_response(byval dialog as GtkDialog ptr, byval response_id as gint) as GtkWidget ptr
 2319 declare function gtk_dialog_get_response_for_widget(byval dialog as GtkDialog ptr, byval widget as GtkWidget ptr) as gint
 2320 declare sub gtk_dialog_set_has_separator(byval dialog as GtkDialog ptr, byval setting as gboolean)
 2321 declare function gtk_dialog_get_has_separator(byval dialog as GtkDialog ptr) as gboolean
 2322 declare function gtk_alternative_dialog_button_order(byval screen as GdkScreen ptr) as gboolean
 2323 declare sub gtk_dialog_set_alternative_button_order(byval dialog as GtkDialog ptr, byval first_response_id as gint, ...)
 2324 declare sub gtk_dialog_set_alternative_button_order_from_array(byval dialog as GtkDialog ptr, byval n_params as gint, byval new_order as gint ptr)
 2325 declare sub gtk_dialog_response(byval dialog as GtkDialog ptr, byval response_id as gint)
 2326 declare function gtk_dialog_run(byval dialog as GtkDialog ptr) as gint
 2327 declare function gtk_dialog_get_action_area(byval dialog as GtkDialog ptr) as GtkWidget ptr
 2328 declare function gtk_dialog_get_content_area(byval dialog as GtkDialog ptr) as GtkWidget ptr
 2329 declare sub _gtk_dialog_set_ignore_separator(byval dialog as GtkDialog ptr, byval ignore_separator as gboolean)
 2330 
 2331 #define GTK_TYPE_ABOUT_DIALOG gtk_about_dialog_get_type()
 2332 #define GTK_ABOUT_DIALOG(object) G_TYPE_CHECK_INSTANCE_CAST((object), GTK_TYPE_ABOUT_DIALOG, GtkAboutDialog)
 2333 #define GTK_ABOUT_DIALOG_CLASS(klass) G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_ABOUT_DIALOG, GtkAboutDialogClass)
 2334 #define GTK_IS_ABOUT_DIALOG(object) G_TYPE_CHECK_INSTANCE_TYPE((object), GTK_TYPE_ABOUT_DIALOG)
 2335 #define GTK_IS_ABOUT_DIALOG_CLASS(klass) G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_ABOUT_DIALOG)
 2336 #define GTK_ABOUT_DIALOG_GET_CLASS(obj) G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_ABOUT_DIALOG, GtkAboutDialogClass)
 2337 type GtkAboutDialog as _GtkAboutDialog
 2338 type GtkAboutDialogClass as _GtkAboutDialogClass
 2339 
 2340 type _GtkAboutDialog
 2341     parent_instance as GtkDialog
 2342     private_data as gpointer
 2343 end type
 2344 
 2345 type _GtkAboutDialogClass
 2346     parent_class as GtkDialogClass
 2347     activate_link as function(byval dialog as GtkAboutDialog ptr, byval uri as const gchar ptr) as gboolean
 2348     _gtk_reserved1 as sub()
 2349     _gtk_reserved2 as sub()
 2350     _gtk_reserved3 as sub()
 2351 end type
 2352 
 2353 declare function gtk_about_dialog_get_type() as GType
 2354 declare function gtk_about_dialog_new() as GtkWidget ptr
 2355 declare sub gtk_show_about_dialog(byval parent as GtkWindow ptr, byval first_property_name as const gchar ptr, ...)
 2356 declare function gtk_about_dialog_get_name(byval about as GtkAboutDialog ptr) as const gchar ptr
 2357 declare sub gtk_about_dialog_set_name(byval about as GtkAboutDialog ptr, byval name as const gchar ptr)
 2358 declare function gtk_about_dialog_get_program_name(byval about as GtkAboutDialog ptr) as const gchar ptr
 2359 declare sub gtk_about_dialog_set_program_name(byval about as GtkAboutDialog ptr, byval name as const gchar ptr)
 2360 declare function gtk_about_dialog_get_version(byval about as GtkAboutDialog ptr) as const gchar ptr
 2361 declare sub gtk_about_dialog_set_version(byval about as GtkAboutDialog ptr, byval version as const gchar ptr)
 2362 declare function gtk_about_dialog_get_copyright(byval about as GtkAboutDialog ptr) as const gchar ptr
 2363 declare sub gtk_about_dialog_set_copyright(byval about as GtkAboutDialog ptr, byval copyright as const gchar ptr)
 2364 declare function gtk_about_dialog_get_comments(byval about as GtkAboutDialog ptr) as const gchar ptr
 2365 declare sub gtk_about_dialog_set_comments(byval about as GtkAboutDialog ptr, byval comments as const gchar ptr)
 2366 declare function gtk_about_dialog_get_license(byval about as GtkAboutDialog ptr) as const gchar ptr
 2367 declare sub gtk_about_dialog_set_license(byval about as GtkAboutDialog ptr, byval license as const gchar ptr)
 2368 declare function gtk_about_dialog_get_wrap_license(byval about as GtkAboutDialog ptr) as gboolean
 2369 declare sub gtk_about_dialog_set_wrap_license(byval about as GtkAboutDialog ptr, byval wrap_license as gboolean)
 2370 declare function gtk_about_dialog_get_website(byval about as GtkAboutDialog ptr) as const gchar ptr
 2371 declare sub gtk_about_dialog_set_website(byval about as GtkAboutDialog ptr, byval website as const gchar ptr)
 2372 declare function gtk_about_dialog_get_website_label(byval about as GtkAboutDialog ptr) as const gchar ptr
 2373 declare sub gtk_about_dialog_set_website_label(byval about as GtkAboutDialog ptr, byval website_label as const gchar ptr)
 2374 declare function gtk_about_dialog_get_authors(byval about as GtkAboutDialog ptr) as const gchar const ptr ptr
 2375 declare sub gtk_about_dialog_set_authors(byval about as GtkAboutDialog ptr, byval authors as const gchar ptr ptr)
 2376 declare function gtk_about_dialog_get_documenters(byval about as GtkAboutDialog ptr) as const gchar const ptr ptr
 2377 declare sub gtk_about_dialog_set_documenters(byval about as GtkAboutDialog ptr, byval documenters as const gchar ptr ptr)
 2378 declare function gtk_about_dialog_get_artists(byval about as GtkAboutDialog ptr) as const gchar const ptr ptr
 2379 declare sub gtk_about_dialog_set_artists(byval about as GtkAboutDialog ptr, byval artists as const gchar ptr ptr)
 2380 declare function gtk_about_dialog_get_translator_credits(byval about as GtkAboutDialog ptr) as const gchar ptr
 2381 declare sub gtk_about_dialog_set_translator_credits(byval about as GtkAboutDialog ptr, byval translator_credits as const gchar ptr)
 2382 declare function gtk_about_dialog_get_logo(byval about as GtkAboutDialog ptr) as GdkPixbuf ptr
 2383 declare sub gtk_about_dialog_set_logo(byval about as GtkAboutDialog ptr, byval logo as GdkPixbuf ptr)
 2384 declare function gtk_about_dialog_get_logo_icon_name(byval about as GtkAboutDialog ptr) as const gchar ptr
 2385 declare sub gtk_about_dialog_set_logo_icon_name(byval about as GtkAboutDialog ptr, byval icon_name as const gchar ptr)
 2386 type GtkAboutDialogActivateLinkFunc as sub(byval about as GtkAboutDialog ptr, byval link_ as const gchar ptr, byval data as gpointer)
 2387 declare function gtk_about_dialog_set_email_hook(byval func as GtkAboutDialogActivateLinkFunc, byval data as gpointer, byval destroy as GDestroyNotify) as GtkAboutDialogActivateLinkFunc
 2388 declare function gtk_about_dialog_set_url_hook(byval func as GtkAboutDialogActivateLinkFunc, byval data as gpointer, byval destroy as GDestroyNotify) as GtkAboutDialogActivateLinkFunc
 2389 
 2390 #define __GTK_ACCEL_LABEL_H__
 2391 #define __GTK_LABEL_H__
 2392 #define __GTK_MISC_H__
 2393 #define GTK_TYPE_MISC gtk_misc_get_type()
 2394 #define GTK_MISC(obj) G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_MISC, GtkMisc)
 2395 #define GTK_MISC_CLASS(klass) G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_MISC, GtkMiscClass)
 2396 #define GTK_IS_MISC(obj) G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_MISC)
 2397 #define GTK_IS_MISC_CLASS(klass) G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_MISC)
 2398 #define GTK_MISC_GET_CLASS(obj) G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_MISC, GtkMiscClass)
 2399 type GtkMisc as _GtkMisc
 2400 type GtkMiscClass as _GtkMiscClass
 2401 
 2402 type _GtkMisc
 2403     widget as GtkWidget
 2404     xalign as gfloat
 2405     yalign as gfloat
 2406     xpad as guint16
 2407     ypad as guint16
 2408 end type
 2409 
 2410 type _GtkMiscClass
 2411     parent_class as GtkWidgetClass
 2412 end type
 2413 
 2414 declare function gtk_misc_get_type() as GType
 2415 declare sub gtk_misc_set_alignment(byval misc as GtkMisc ptr, byval xalign as gfloat, byval yalign as gfloat)
 2416 declare sub gtk_misc_get_alignment(byval misc as GtkMisc ptr, byval xalign as gfloat ptr, byval yalign as gfloat ptr)
 2417 declare sub gtk_misc_set_padding(byval misc as GtkMisc ptr, byval xpad as gint, byval ypad as gint)
 2418 declare sub gtk_misc_get_padding(byval misc as GtkMisc ptr, byval xpad as gint ptr, byval ypad as gint ptr)
 2419 
 2420 #define __GTK_MENU_H__
 2421 #define __GTK_MENU_SHELL_H__
 2422 #define GTK_TYPE_MENU_SHELL gtk_menu_shell_get_type()
 2423 #define GTK_MENU_SHELL(obj) G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_MENU_SHELL, GtkMenuShell)
 2424 #define GTK_MENU_SHELL_CLASS(klass) G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_MENU_SHELL, GtkMenuShellClass)
 2425 #define GTK_IS_MENU_SHELL(obj) G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_MENU_SHELL)
 2426 #define GTK_IS_MENU_SHELL_CLASS(klass) G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_MENU_SHELL)
 2427 #define GTK_MENU_SHELL_GET_CLASS(obj) G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_MENU_SHELL, GtkMenuShellClass)
 2428 type GtkMenuShell as _GtkMenuShell
 2429 type GtkMenuShellClass as _GtkMenuShellClass
 2430 
 2431 type _GtkMenuShell
 2432     container as GtkContainer
 2433     children as GList ptr
 2434     active_menu_item as GtkWidget ptr
 2435     parent_menu_shell as GtkWidget ptr
 2436     button as guint
 2437     activate_time as guint32
 2438     active : 1 as guint
 2439     have_grab : 1 as guint
 2440     have_xgrab : 1 as guint
 2441     ignore_leave : 1 as guint
 2442     menu_flag : 1 as guint
 2443     ignore_enter : 1 as guint
 2444     keyboard_mode : 1 as guint
 2445 end type
 2446 
 2447 type _GtkMenuShellClass
 2448     parent_class as GtkContainerClass
 2449     submenu_placement : 1 as guint
 2450     deactivate as sub(byval menu_shell as GtkMenuShell ptr)
 2451     selection_done as sub(byval menu_shell as GtkMenuShell ptr)
 2452     move_current as sub(byval menu_shell as GtkMenuShell ptr, byval direction as GtkMenuDirectionType)
 2453     activate_current as sub(byval menu_shell as GtkMenuShell ptr, byval force_hide as gboolean)
 2454     cancel as sub(byval menu_shell as GtkMenuShell ptr)
 2455     select_item as sub(byval menu_shell as GtkMenuShell ptr, byval menu_item as GtkWidget ptr)
 2456     insert as sub(byval menu_shell as GtkMenuShell ptr, byval child as GtkWidget ptr, byval position as gint)
 2457     get_popup_delay as function(byval menu_shell as GtkMenuShell ptr) as gint
 2458     move_selected as function(byval menu_shell as GtkMenuShell ptr, byval distance as gint) as gboolean
 2459     _gtk_reserved1 as sub()
 2460     _gtk_reserved2 as sub()
 2461 end type
 2462 
 2463 declare function gtk_menu_shell_get_type() as GType
 2464 declare sub gtk_menu_shell_append(byval menu_shell as GtkMenuShell ptr, byval child as GtkWidget ptr)
 2465 declare sub gtk_menu_shell_prepend(byval menu_shell as GtkMenuShell ptr, byval child as GtkWidget ptr)
 2466 declare sub gtk_menu_shell_insert(byval menu_shell as GtkMenuShell ptr, byval child as GtkWidget ptr, byval position as gint)
 2467 declare sub gtk_menu_shell_deactivate(byval menu_shell as GtkMenuShell ptr)
 2468 declare sub gtk_menu_shell_select_item(byval menu_shell as GtkMenuShell ptr, byval menu_item as GtkWidget ptr)
 2469 declare sub gtk_menu_shell_deselect(byval menu_shell as GtkMenuShell ptr)
 2470 declare sub gtk_menu_shell_activate_item(byval menu_shell as GtkMenuShell ptr, byval menu_item as GtkWidget ptr, byval force_deactivate as gboolean)
 2471 declare sub gtk_menu_shell_select_first(byval menu_shell as GtkMenuShell ptr, byval search_sensitive as gboolean)
 2472 declare sub _gtk_menu_shell_select_last(byval menu_shell as GtkMenuShell ptr, byval search_sensitive as gboolean)
 2473 declare sub _gtk_menu_shell_activate(byval menu_shell as GtkMenuShell ptr)
 2474 declare function _gtk_menu_shell_get_popup_delay(byval menu_shell as GtkMenuShell ptr) as gint
 2475 declare sub gtk_menu_shell_cancel(byval menu_shell as GtkMenuShell ptr)
 2476 declare sub _gtk_menu_shell_add_mnemonic(byval menu_shell as GtkMenuShell ptr, byval keyval as guint, byval target as GtkWidget ptr)
 2477 declare sub _gtk_menu_shell_remove_mnemonic(byval menu_shell as GtkMenuShell ptr, byval keyval as guint, byval target as GtkWidget ptr)
 2478 declare function gtk_menu_shell_get_take_focus(byval menu_shell as GtkMenuShell ptr) as gboolean
 2479 declare sub gtk_menu_shell_set_take_focus(byval menu_shell as GtkMenuShell ptr, byval take_focus as gboolean)
 2480 declare sub _gtk_menu_shell_update_mnemonics(byval menu_shell as GtkMenuShell ptr)
 2481 declare sub _gtk_menu_shell_set_keyboard_mode(byval menu_shell as GtkMenuShell ptr, byval keyboard_mode as gboolean)
 2482 declare function _gtk_menu_shell_get_keyboard_mode(byval menu_shell as GtkMenuShell ptr) as gboolean
 2483 
 2484 #define GTK_TYPE_MENU gtk_menu_get_type()
 2485 #define GTK_MENU(obj) G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_MENU, GtkMenu)
 2486 #define GTK_MENU_CLASS(klass) G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_MENU, GtkMenuClass)
 2487 #define GTK_IS_MENU(obj) G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_MENU)
 2488 #define GTK_IS_MENU_CLASS(klass) G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_MENU)
 2489 #define GTK_MENU_GET_CLASS(obj) G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_MENU, GtkMenuClass)
 2490 
 2491 type GtkMenu as _GtkMenu
 2492 type GtkMenuClass as _GtkMenuClass
 2493 type GtkMenuPositionFunc as sub(byval menu as GtkMenu ptr, byval x as gint ptr, byval y as gint ptr, byval push_in as gboolean ptr, byval user_data as gpointer)
 2494 type GtkMenuDetachFunc as sub(byval attach_widget as GtkWidget ptr, byval menu as GtkMenu ptr)
 2495 
 2496 type _GtkMenu
 2497     menu_shell as GtkMenuShell
 2498     parent_menu_item as GtkWidget ptr
 2499     old_active_menu_item as GtkWidget ptr
 2500     accel_group as GtkAccelGroup ptr
 2501     accel_path as gchar ptr
 2502     position_func as GtkMenuPositionFunc
 2503     position_func_data as gpointer
 2504     toggle_size as guint
 2505     toplevel as GtkWidget ptr
 2506     tearoff_window as GtkWidget ptr
 2507     tearoff_hbox as GtkWidget ptr
 2508     tearoff_scrollbar as GtkWidget ptr
 2509     tearoff_adjustment as GtkAdjustment ptr
 2510     view_window as GdkWindow ptr
 2511     bin_window as GdkWindow ptr
 2512     scroll_offset as gint
 2513     saved_scroll_offset as gint
 2514     scroll_step as gint
 2515     timeout_id as guint
 2516     navigation_region as GdkRegion ptr
 2517     navigation_timeout as guint
 2518     needs_destruction_ref_count : 1 as guint
 2519     torn_off : 1 as guint
 2520     tearoff_active : 1 as guint
 2521     scroll_fast : 1 as guint
 2522     upper_arrow_visible : 1 as guint
 2523     lower_arrow_visible : 1 as guint
 2524     upper_arrow_prelight : 1 as guint
 2525     lower_arrow_prelight : 1 as guint
 2526 end type
 2527 
 2528 type _GtkMenuClass
 2529     parent_class as GtkMenuShellClass
 2530     _gtk_reserved1 as sub()
 2531     _gtk_reserved2 as sub()
 2532     _gtk_reserved3 as sub()
 2533     _gtk_reserved4 as sub()
 2534 end type
 2535 
 2536 declare function gtk_menu_get_type() as GType
 2537 declare function gtk_menu_new() as GtkWidget ptr
 2538 declare sub gtk_menu_popup(byval menu as GtkMenu ptr, byval parent_menu_shell as GtkWidget ptr, byval parent_menu_item as GtkWidget ptr, byval func as GtkMenuPositionFunc, byval data as gpointer, byval button as guint, byval activate_time as guint32)
 2539 declare sub gtk_menu_reposition(byval menu as GtkMenu ptr)
 2540 declare sub gtk_menu_popdown(byval menu as GtkMenu ptr)
 2541 declare function gtk_menu_get_active(byval menu as GtkMenu ptr) as GtkWidget ptr
 2542 declare sub gtk_menu_set_active(byval menu as GtkMenu ptr, byval index_ as guint)
 2543 declare sub gtk_menu_set_accel_group(byval menu as GtkMenu ptr, byval accel_group as GtkAccelGroup ptr)
 2544 declare function gtk_menu_get_accel_group(byval menu as GtkMenu ptr) as GtkAccelGroup ptr
 2545 declare sub gtk_menu_set_accel_path(byval menu as GtkMenu ptr, byval accel_path as const gchar ptr)
 2546 declare function gtk_menu_get_accel_path(byval menu as GtkMenu ptr) as const gchar ptr
 2547 declare sub gtk_menu_attach_to_widget(byval menu as GtkMenu ptr, byval attach_widget as GtkWidget ptr, byval detacher as GtkMenuDetachFunc)
 2548 declare sub gtk_menu_detach(byval menu as GtkMenu ptr)
 2549 declare function gtk_menu_get_attach_widget(byval menu as GtkMenu ptr) as GtkWidget ptr
 2550 declare sub gtk_menu_set_tearoff_state(byval menu as GtkMenu ptr, byval torn_off as gboolean)
 2551 declare function gtk_menu_get_tearoff_state(byval menu as GtkMenu ptr) as gboolean
 2552 declare sub gtk_menu_set_title(byval menu as GtkMenu ptr, byval title as const gchar ptr)
 2553 declare function gtk_menu_get_title(byval menu as GtkMenu ptr) as const gchar ptr
 2554 declare sub gtk_menu_reorder_child(byval menu as GtkMenu ptr, byval child as GtkWidget ptr, byval position as gint)
 2555 declare sub gtk_menu_set_screen(byval menu as GtkMenu ptr, byval screen as GdkScreen ptr)
 2556 declare sub gtk_menu_attach(byval menu as GtkMenu ptr, byval child as GtkWidget ptr, byval left_attach as guint, byval right_attach as guint, byval top_attach as guint, byval bottom_attach as guint)
 2557 declare sub gtk_menu_set_monitor(byval menu as GtkMenu ptr, byval monitor_num as gint)
 2558 declare function gtk_menu_get_monitor(byval menu as GtkMenu ptr) as gint
 2559 declare function gtk_menu_get_for_attach_widget(byval widget as GtkWidget ptr) as GList ptr
 2560 
 2561 #define gtk_menu_append(menu, child) gtk_menu_shell_append(cptr(GtkMenuShell ptr, (menu)), (child))
 2562 #define gtk_menu_prepend(menu, child) gtk_menu_shell_prepend(cptr(GtkMenuShell ptr, (menu)), (child))
 2563 #define gtk_menu_insert(menu, child, pos) gtk_menu_shell_insert(cptr(GtkMenuShell ptr, (menu)), (child), (pos))
 2564 declare sub gtk_menu_set_reserve_toggle_size(byval menu as GtkMenu ptr, byval reserve_toggle_size as gboolean)
 2565 declare function gtk_menu_get_reserve_toggle_size(byval menu as GtkMenu ptr) as gboolean
 2566 #define GTK_TYPE_LABEL gtk_label_get_type()
 2567 #define GTK_LABEL(obj) G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_LABEL, GtkLabel)
 2568 #define GTK_LABEL_CLASS(klass) G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_LABEL, GtkLabelClass)
 2569 #define GTK_IS_LABEL(obj) G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_LABEL)
 2570 #define GTK_IS_LABEL_CLASS(klass) G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_LABEL)
 2571 #define GTK_LABEL_GET_CLASS(obj) G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_LABEL, GtkLabelClass)
 2572 
 2573 type GtkLabel as _GtkLabel
 2574 type GtkLabelClass as _GtkLabelClass
 2575 type GtkLabelSelectionInfo as _GtkLabelSelectionInfo
 2576 
 2577 type _GtkLabel
 2578     misc as GtkMisc
 2579     label as gchar ptr
 2580     jtype : 2 as guint
 2581     wrap : 1 as guint
 2582     use_underline : 1 as guint
 2583     use_markup : 1 as guint
 2584     ellipsize : 3 as guint
 2585     single_line_mode : 1 as guint
 2586     have_transform : 1 as guint
 2587     in_click : 1 as guint
 2588     wrap_mode : 3 as guint
 2589     pattern_set : 1 as guint
 2590     track_links : 1 as guint
 2591     mnemonic_keyval as guint
 2592     text as gchar ptr
 2593     attrs as PangoAttrList ptr
 2594     effective_attrs as PangoAttrList ptr
 2595     layout as PangoLayout ptr
 2596     mnemonic_widget as GtkWidget ptr
 2597     mnemonic_window as GtkWindow ptr
 2598     select_info as GtkLabelSelectionInfo ptr
 2599 end type
 2600 
 2601 type _GtkLabelClass
 2602     parent_class as GtkMiscClass
 2603     move_cursor as sub(byval label as GtkLabel ptr, byval step as GtkMovementStep, byval count as gint, byval extend_selection as gboolean)
 2604     copy_clipboard as sub(byval label as GtkLabel ptr)
 2605     populate_popup as sub(byval label as GtkLabel ptr, byval menu as GtkMenu ptr)
 2606     activate_link as function(byval label as GtkLabel ptr, byval uri as const gchar ptr) as gboolean
 2607     _gtk_reserved1 as sub()
 2608     _gtk_reserved2 as sub()
 2609     _gtk_reserved3 as sub()
 2610 end type
 2611 
 2612 declare function gtk_label_get_type() as GType
 2613 declare function gtk_label_new(byval str as const gchar ptr) as GtkWidget ptr
 2614 declare function gtk_label_new_with_mnemonic(byval str as const gchar ptr) as GtkWidget ptr
 2615 declare sub gtk_label_set_text(byval label as GtkLabel ptr, byval str as const gchar ptr)
 2616 declare function gtk_label_get_text(byval label as GtkLabel ptr) as const gchar ptr
 2617 declare sub gtk_label_set_attributes(byval label as GtkLabel ptr, byval attrs as PangoAttrList ptr)
 2618 declare function gtk_label_get_attributes(byval label as GtkLabel ptr) as PangoAttrList ptr
 2619 declare sub gtk_label_set_label(byval label as GtkLabel ptr, byval str as const gchar ptr)
 2620 declare function gtk_label_get_label(byval label as GtkLabel ptr) as const gchar ptr
 2621 declare sub gtk_label_set_markup(byval label as GtkLabel ptr, byval str as const gchar ptr)
 2622 declare sub gtk_label_set_use_markup(byval label as GtkLabel ptr, byval setting as gboolean)
 2623 declare function gtk_label_get_use_markup(byval label as GtkLabel ptr) as gboolean
 2624 declare sub gtk_label_set_use_underline(byval label as GtkLabel ptr, byval setting as gboolean)
 2625 declare function gtk_label_get_use_underline(byval label as GtkLabel ptr) as gboolean
 2626 declare sub gtk_label_set_markup_with_mnemonic(byval label as GtkLabel ptr, byval str as const gchar ptr)
 2627 declare function gtk_label_get_mnemonic_keyval(byval label as GtkLabel ptr) as guint
 2628 declare sub gtk_label_set_mnemonic_widget(byval label as GtkLabel ptr, byval widget as GtkWidget ptr)
 2629 declare function gtk_label_get_mnemonic_widget(byval label as GtkLabel ptr) as GtkWidget ptr
 2630 declare sub gtk_label_set_text_with_mnemonic(byval label as GtkLabel ptr, byval str as const gchar ptr)
 2631 declare sub gtk_label_set_justify(byval label as GtkLabel ptr, byval jtype as GtkJustification)
 2632 declare function gtk_label_get_justify(byval label as GtkLabel ptr) as GtkJustification
 2633 declare sub gtk_label_set_ellipsize(byval label as GtkLabel ptr, byval mode as PangoEllipsizeMode)
 2634 declare function gtk_label_get_ellipsize(byval label as GtkLabel ptr) as PangoEllipsizeMode
 2635 declare sub gtk_label_set_width_chars(byval label as GtkLabel ptr, byval n_chars as gint)
 2636 declare function gtk_label_get_width_chars(byval label as GtkLabel ptr) as gint
 2637 declare sub gtk_label_set_max_width_chars(byval label as GtkLabel ptr, byval n_chars as gint)
 2638 declare function gtk_label_get_max_width_chars(byval label as GtkLabel ptr) as gint
 2639 declare sub gtk_label_set_pattern(byval label as GtkLabel ptr, byval pattern as const gchar ptr)
 2640 declare sub gtk_label_set_line_wrap(byval label as GtkLabel ptr, byval wrap as gboolean)
 2641 declare function gtk_label_get_line_wrap(byval label as GtkLabel ptr) as gboolean
 2642 declare sub gtk_label_set_line_wrap_mode(byval label as GtkLabel ptr, byval wrap_mode as PangoWrapMode)
 2643 declare function gtk_label_get_line_wrap_mode(byval label as GtkLabel ptr) as PangoWrapMode
 2644 declare sub gtk_label_set_selectable(byval label as GtkLabel ptr, byval setting as gboolean)
 2645 declare function gtk_label_get_selectable(byval label as GtkLabel ptr) as gboolean
 2646 declare sub gtk_label_set_angle(byval label as GtkLabel ptr, byval angle as gdouble)
 2647 declare function gtk_label_get_angle(byval label as GtkLabel ptr) as gdouble
 2648 declare sub gtk_label_select_region(byval label as GtkLabel ptr, byval start_offset as gint, byval end_offset as gint)
 2649 declare function gtk_label_get_selection_bounds(byval label as GtkLabel ptr, byval start as gint ptr, byval end as gint ptr) as gboolean
 2650 declare function gtk_label_get_layout(byval label as GtkLabel ptr) as PangoLayout ptr
 2651 declare sub gtk_label_get_layout_offsets(byval label as GtkLabel ptr, byval x as gint ptr, byval y as gint ptr)
 2652 declare sub gtk_label_set_single_line_mode(byval label as GtkLabel ptr, byval single_line_mode as gboolean)
 2653 declare function gtk_label_get_single_line_mode(byval label as GtkLabel ptr) as gboolean
 2654 declare function gtk_label_get_current_uri(byval label as GtkLabel ptr) as const gchar ptr
 2655 declare sub gtk_label_set_track_visited_links(byval label as GtkLabel ptr, byval track_links as gboolean)
 2656 declare function gtk_label_get_track_visited_links(byval label as GtkLabel ptr) as gboolean
 2657 declare sub gtk_label_set alias "gtk_label_set_text"(byval label as GtkLabel ptr, byval str as const gchar ptr)
 2658 declare sub gtk_label_get(byval label as GtkLabel ptr, byval str as gchar ptr ptr)
 2659 declare function gtk_label_parse_uline(byval label as GtkLabel ptr, byval string as const gchar ptr) as guint
 2660 declare sub _gtk_label_mnemonics_visible_apply_recursively(byval widget as GtkWidget ptr, byval mnemonics_visible as gboolean)
 2661 
 2662 #define GTK_TYPE_ACCEL_LABEL gtk_accel_label_get_type()
 2663 #define GTK_ACCEL_LABEL(obj) G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_ACCEL_LABEL, GtkAccelLabel)
 2664 #define GTK_ACCEL_LABEL_CLASS(klass) G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_ACCEL_LABEL, GtkAccelLabelClass)
 2665 #define GTK_IS_ACCEL_LABEL(obj) G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_ACCEL_LABEL)
 2666 #define GTK_IS_ACCEL_LABEL_CLASS(klass) G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_ACCEL_LABEL)
 2667 #define GTK_ACCEL_LABEL_GET_CLASS(obj) G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_ACCEL_LABEL, GtkAccelLabelClass)
 2668 type GtkAccelLabel as _GtkAccelLabel
 2669 type GtkAccelLabelClass as _GtkAccelLabelClass
 2670 
 2671 type _GtkAccelLabel
 2672     label as GtkLabel
 2673     gtk_reserved as guint
 2674     accel_padding as guint
 2675     accel_widget as GtkWidget ptr
 2676     accel_closure as GClosure ptr
 2677     accel_group as GtkAccelGroup ptr
 2678     accel_string as gchar ptr
 2679     accel_string_width as guint16
 2680 end type
 2681 
 2682 type _GtkAccelLabelClass
 2683     parent_class as GtkLabelClass
 2684     signal_quote1 as gchar ptr
 2685     signal_quote2 as gchar ptr
 2686     mod_name_shift as gchar ptr
 2687     mod_name_control as gchar ptr
 2688     mod_name_alt as gchar ptr
 2689     mod_separator as gchar ptr
 2690     accel_seperator as gchar ptr
 2691     latin1_to_char : 1 as guint
 2692     _gtk_reserved1 as sub()
 2693     _gtk_reserved2 as sub()
 2694     _gtk_reserved3 as sub()
 2695     _gtk_reserved4 as sub()
 2696 end type
 2697 
 2698 declare function gtk_accel_label_get_type() as GType
 2699 declare function gtk_accel_label_new(byval string as const gchar ptr) as GtkWidget ptr
 2700 declare function gtk_accel_label_get_accel_widget(byval accel_label as GtkAccelLabel ptr) as GtkWidget ptr
 2701 declare function gtk_accel_label_get_accel_width(byval accel_label as GtkAccelLabel ptr) as guint
 2702 declare function gtk_accel_label_accelerator_width alias "gtk_accel_label_get_accel_width"(byval accel_label as GtkAccelLabel ptr) as guint
 2703 declare sub gtk_accel_label_set_accel_widget(byval accel_label as GtkAccelLabel ptr, byval accel_widget as GtkWidget ptr)
 2704 declare sub gtk_accel_label_set_accel_closure(byval accel_label as GtkAccelLabel ptr, byval accel_closure as GClosure ptr)
 2705 declare function gtk_accel_label_refetch(byval accel_label as GtkAccelLabel ptr) as gboolean
 2706 declare function _gtk_accel_label_class_get_accelerator_label(byval klass as GtkAccelLabelClass ptr, byval accelerator_key as guint, byval accelerator_mods as GdkModifierType) as gchar ptr
 2707 
 2708 #define __GTK_ACCEL_MAP_H__
 2709 #define GTK_TYPE_ACCEL_MAP gtk_accel_map_get_type()
 2710 #define GTK_ACCEL_MAP(accel_map) G_TYPE_CHECK_INSTANCE_CAST((accel_map), GTK_TYPE_ACCEL_MAP, GtkAccelMap)
 2711 #define GTK_ACCEL_MAP_CLASS(klass) G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_ACCEL_MAP, GtkAccelMapClass)
 2712 #define GTK_IS_ACCEL_MAP(accel_map) G_TYPE_CHECK_INSTANCE_TYPE((accel_map), GTK_TYPE_ACCEL_MAP)
 2713 #define GTK_IS_ACCEL_MAP_CLASS(klass) G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_ACCEL_MAP)
 2714 #define GTK_ACCEL_MAP_GET_CLASS(obj) G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_ACCEL_MAP, GtkAccelMapClass)
 2715 
 2716 type GtkAccelMap as _GtkAccelMap
 2717 type GtkAccelMapClass as _GtkAccelMapClass
 2718 type GtkAccelMapForeach as sub(byval data as gpointer, byval accel_path as const gchar ptr, byval accel_key as guint, byval accel_mods as GdkModifierType, byval changed as gboolean)
 2719 
 2720 declare sub gtk_accel_map_add_entry(byval accel_path as const gchar ptr, byval accel_key as guint, byval accel_mods as GdkModifierType)
 2721 declare function gtk_accel_map_lookup_entry(byval accel_path as const gchar ptr, byval key as GtkAccelKey ptr) as gboolean
 2722 declare function gtk_accel_map_change_entry(byval accel_path as const gchar ptr, byval accel_key as guint, byval accel_mods as GdkModifierType, byval replace as gboolean) as gboolean
 2723 
 2724 #ifdef __FB_UNIX__
 2725     declare sub gtk_accel_map_load(byval file_name as const gchar ptr)
 2726     declare sub gtk_accel_map_save(byval file_name as const gchar ptr)
 2727 #else
 2728     declare sub gtk_accel_map_load_utf8(byval file_name as const gchar ptr)
 2729     declare sub gtk_accel_map_load alias "gtk_accel_map_load_utf8"(byval file_name as const gchar ptr)
 2730     declare sub gtk_accel_map_save_utf8(byval file_name as const gchar ptr)
 2731     declare sub gtk_accel_map_save alias "gtk_accel_map_save_utf8"(byval file_name as const gchar ptr)
 2732 #endif
 2733 
 2734 declare sub gtk_accel_map_foreach(byval data as gpointer, byval foreach_func as GtkAccelMapForeach)
 2735 declare sub gtk_accel_map_load_fd(byval fd as gint)
 2736 declare sub gtk_accel_map_load_scanner(byval scanner as GScanner ptr)
 2737 declare sub gtk_accel_map_save_fd(byval fd as gint)
 2738 declare sub gtk_accel_map_lock_path(byval accel_path as const gchar ptr)
 2739 declare sub gtk_accel_map_unlock_path(byval accel_path as const gchar ptr)
 2740 declare sub gtk_accel_map_add_filter(byval filter_pattern as const gchar ptr)
 2741 declare sub gtk_accel_map_foreach_unfiltered(byval data as gpointer, byval foreach_func as GtkAccelMapForeach)
 2742 declare function gtk_accel_map_get_type() as GType
 2743 declare function gtk_accel_map_get() as GtkAccelMap ptr
 2744 declare sub _gtk_accel_map_init()
 2745 declare sub _gtk_accel_map_add_group(byval accel_path as const gchar ptr, byval accel_group as GtkAccelGroup ptr)
 2746 declare sub _gtk_accel_map_remove_group(byval accel_path as const gchar ptr, byval accel_group as GtkAccelGroup ptr)
 2747 declare function _gtk_accel_path_is_valid(byval accel_path as const gchar ptr) as gboolean
 2748 
 2749 #define __GTK_ACCESSIBLE_H__
 2750 #define GTK_TYPE_ACCESSIBLE gtk_accessible_get_type()
 2751 #define GTK_ACCESSIBLE(obj) G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_ACCESSIBLE, GtkAccessible)
 2752 #define GTK_ACCESSIBLE_CLASS(klass) G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_ACCESSIBLE, GtkAccessibleClass)
 2753 #define GTK_IS_ACCESSIBLE(obj) G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_ACCESSIBLE)
 2754 #define GTK_IS_ACCESSIBLE_CLASS(klass) G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_ACCESSIBLE)
 2755 #define GTK_ACCESSIBLE_GET_CLASS(obj) G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_ACCESSIBLE, GtkAccessibleClass)
 2756 type GtkAccessible as _GtkAccessible
 2757 type GtkAccessibleClass as _GtkAccessibleClass
 2758 
 2759 type _GtkAccessible
 2760     parent as AtkObject
 2761     widget as GtkWidget ptr
 2762 end type
 2763 
 2764 type _GtkAccessibleClass
 2765     parent_class as AtkObjectClass
 2766     connect_widget_destroyed as sub(byval accessible as GtkAccessible ptr)
 2767     _gtk_reserved1 as sub()
 2768     _gtk_reserved2 as sub()
 2769     _gtk_reserved3 as sub()
 2770     _gtk_reserved4 as sub()
 2771 end type
 2772 
 2773 declare function gtk_accessible_get_type() as GType
 2774 declare sub gtk_accessible_set_widget(byval accessible as GtkAccessible ptr, byval widget as GtkWidget ptr)
 2775 declare function gtk_accessible_get_widget(byval accessible as GtkAccessible ptr) as GtkWidget ptr
 2776 declare sub gtk_accessible_connect_widget_destroyed(byval accessible as GtkAccessible ptr)
 2777 
 2778 #define __GTK_ACTION_H__
 2779 #define GTK_TYPE_ACTION gtk_action_get_type()
 2780 #define GTK_ACTION(obj) G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_ACTION, GtkAction)
 2781 #define GTK_ACTION_CLASS(klass) G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_ACTION, GtkActionClass)
 2782 #define GTK_IS_ACTION(obj) G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_ACTION)
 2783 #define GTK_IS_ACTION_CLASS(klass) G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_ACTION)
 2784 #define GTK_ACTION_GET_CLASS(obj) G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_ACTION, GtkActionClass)
 2785 
 2786 type GtkAction as _GtkAction
 2787 type GtkActionClass as _GtkActionClass
 2788 type GtkActionPrivate as _GtkActionPrivate
 2789 
 2790 type _GtkAction
 2791     object as GObject
 2792     private_data as GtkActionPrivate ptr
 2793 end type
 2794 
 2795 type _GtkActionClass
 2796     parent_class as GObjectClass
 2797     activate as sub(byval action as GtkAction ptr)
 2798     menu_item_type as GType
 2799     toolbar_item_type as GType
 2800     create_menu_item as function(byval action as GtkAction ptr) as GtkWidget ptr
 2801     create_tool_item as function(byval action as GtkAction ptr) as GtkWidget ptr
 2802     connect_proxy as sub(byval action as GtkAction ptr, byval proxy as GtkWidget ptr)
 2803     disconnect_proxy as sub(byval action as GtkAction ptr, byval proxy as GtkWidget ptr)
 2804     create_menu as function(byval action as GtkAction ptr) as GtkWidget ptr
 2805     _gtk_reserved2 as sub()
 2806     _gtk_reserved3 as sub()
 2807     _gtk_reserved4 as sub()
 2808 end type
 2809 
 2810 declare function gtk_action_get_type() as GType
 2811 declare function gtk_action_new(byval name as const gchar ptr, byval label as const gchar ptr, byval tooltip as const gchar ptr, byval stock_id as const gchar ptr) as GtkAction ptr
 2812 declare function gtk_action_get_name(byval action as GtkAction ptr) as const gchar ptr
 2813 declare function gtk_action_is_sensitive(byval action as GtkAction ptr) as gboolean
 2814 declare function gtk_action_get_sensitive(byval action as GtkAction ptr) as gboolean
 2815 declare sub gtk_action_set_sensitive(byval action as GtkAction ptr, byval sensitive as gboolean)
 2816 declare function gtk_action_is_visible(byval action as GtkAction ptr) as gboolean
 2817 declare function gtk_action_get_visible(byval action as GtkAction ptr) as gboolean
 2818 declare sub gtk_action_set_visible(byval action as GtkAction ptr, byval visible as gboolean)
 2819 declare sub gtk_action_activate(byval action as GtkAction ptr)
 2820 declare function gtk_action_create_icon(byval action as GtkAction ptr, byval icon_size as GtkIconSize) as GtkWidget ptr
 2821 declare function gtk_action_create_menu_item(byval action as GtkAction ptr) as GtkWidget ptr
 2822 declare function gtk_action_create_tool_item(byval action as GtkAction ptr) as GtkWidget ptr
 2823 declare function gtk_action_create_menu(byval action as GtkAction ptr) as GtkWidget ptr
 2824 declare function gtk_action_get_proxies(byval action as GtkAction ptr) as GSList ptr
 2825 declare sub gtk_action_connect_accelerator(byval action as GtkAction ptr)
 2826 declare sub gtk_action_disconnect_accelerator(byval action as GtkAction ptr)
 2827 declare function gtk_action_get_accel_path(byval action as GtkAction ptr) as const gchar ptr
 2828 declare function gtk_action_get_accel_closure(byval action as GtkAction ptr) as GClosure ptr
 2829 declare function gtk_widget_get_action(byval widget as GtkWidget ptr) as GtkAction ptr
 2830 declare sub gtk_action_connect_proxy(byval action as GtkAction ptr, byval proxy as GtkWidget ptr)
 2831 declare sub gtk_action_disconnect_proxy(byval action as GtkAction ptr, byval proxy as GtkWidget ptr)
 2832 declare sub gtk_action_block_activate_from(byval action as GtkAction ptr, byval proxy as GtkWidget ptr)
 2833 declare sub gtk_action_unblock_activate_from(byval action as GtkAction ptr, byval proxy as GtkWidget ptr)
 2834 declare sub gtk_action_block_activate(byval action as GtkAction ptr)
 2835 declare sub gtk_action_unblock_activate(byval action as GtkAction ptr)
 2836 declare sub _gtk_action_add_to_proxy_list(byval action as GtkAction ptr, byval proxy as GtkWidget ptr)
 2837 declare sub _gtk_action_remove_from_proxy_list(byval action as GtkAction ptr, byval proxy as GtkWidget ptr)
 2838 declare sub _gtk_action_emit_activate(byval action as GtkAction ptr)
 2839 declare sub gtk_action_set_accel_path(byval action as GtkAction ptr, byval accel_path as const gchar ptr)
 2840 declare sub gtk_action_set_accel_group(byval action as GtkAction ptr, byval accel_group as GtkAccelGroup ptr)
 2841 declare sub _gtk_action_sync_menu_visible(byval action as GtkAction ptr, byval proxy as GtkWidget ptr, byval empty as gboolean)
 2842 declare sub gtk_action_set_label(byval action as GtkAction ptr, byval label as const gchar ptr)
 2843 declare function gtk_action_get_label(byval action as GtkAction ptr) as const gchar ptr
 2844 declare sub gtk_action_set_short_label(byval action as GtkAction ptr, byval short_label as const gchar ptr)
 2845 declare function gtk_action_get_short_label(byval action as GtkAction ptr) as const gchar ptr
 2846 declare sub gtk_action_set_tooltip(byval action as GtkAction ptr, byval tooltip as const gchar ptr)
 2847 declare function gtk_action_get_tooltip(byval action as GtkAction ptr) as const gchar ptr
 2848 declare sub gtk_action_set_stock_id(byval action as GtkAction ptr, byval stock_id as const gchar ptr)
 2849 declare function gtk_action_get_stock_id(byval action as GtkAction ptr) as const gchar ptr
 2850 declare sub gtk_action_set_gicon(byval action as GtkAction ptr, byval icon as GIcon ptr)
 2851 declare function gtk_action_get_gicon(byval action as GtkAction ptr) as GIcon ptr
 2852 declare sub gtk_action_set_icon_name(byval action as GtkAction ptr, byval icon_name as const gchar ptr)
 2853 declare function gtk_action_get_icon_name(byval action as GtkAction ptr) as const gchar ptr
 2854 declare sub gtk_action_set_visible_horizontal(byval action as GtkAction ptr, byval visible_horizontal as gboolean)
 2855 declare function gtk_action_get_visible_horizontal(byval action as GtkAction ptr) as gboolean
 2856 declare sub gtk_action_set_visible_vertical(byval action as GtkAction ptr, byval visible_vertical as gboolean)
 2857 declare function gtk_action_get_visible_vertical(byval action as GtkAction ptr) as gboolean
 2858 declare sub gtk_action_set_is_important(byval action as GtkAction ptr, byval is_important as gboolean)
 2859 declare function gtk_action_get_is_important(byval action as GtkAction ptr) as gboolean
 2860 declare sub gtk_action_set_always_show_image(byval action as GtkAction ptr, byval always_show as gboolean)
 2861 declare function gtk_action_get_always_show_image(byval action as GtkAction ptr) as gboolean
 2862 
 2863 #define __GTK_ACTION_GROUP_H__
 2864 #define GTK_TYPE_ACTION_GROUP gtk_action_group_get_type()
 2865 #define GTK_ACTION_GROUP(obj) G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_ACTION_GROUP, GtkActionGroup)
 2866 #define GTK_ACTION_GROUP_CLASS(vtable) G_TYPE_CHECK_CLASS_CAST((vtable), GTK_TYPE_ACTION_GROUP, GtkActionGroupClass)
 2867 #define GTK_IS_ACTION_GROUP(obj) G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_ACTION_GROUP)
 2868 #define GTK_IS_ACTION_GROUP_CLASS(vtable) G_TYPE_CHECK_CLASS_TYPE((vtable), GTK_TYPE_ACTION_GROUP)
 2869 #define GTK_ACTION_GROUP_GET_CLASS(inst) G_TYPE_INSTANCE_GET_CLASS((inst), GTK_TYPE_ACTION_GROUP, GtkActionGroupClass)
 2870 
 2871 type GtkActionGroup as _GtkActionGroup
 2872 type GtkActionGroupPrivate as _GtkActionGroupPrivate
 2873 type GtkActionGroupClass as _GtkActionGroupClass
 2874 type GtkActionEntry as _GtkActionEntry
 2875 type GtkToggleActionEntry as _GtkToggleActionEntry
 2876 type GtkRadioActionEntry as _GtkRadioActionEntry
 2877 
 2878 type _GtkActionGroup
 2879     parent as GObject
 2880     private_data as GtkActionGroupPrivate ptr
 2881 end type
 2882 
 2883 type _GtkActionGroupClass
 2884     parent_class as GObjectClass
 2885     get_action as function(byval action_group as GtkActionGroup ptr, byval action_name as const gchar ptr) as GtkAction ptr
 2886     _gtk_reserved1 as sub()
 2887     _gtk_reserved2 as sub()
 2888     _gtk_reserved3 as sub()
 2889     _gtk_reserved4 as sub()
 2890 end type
 2891 
 2892 type _GtkActionEntry
 2893     name as const gchar ptr
 2894     stock_id as const gchar ptr
 2895     label as const gchar ptr
 2896     accelerator as const gchar ptr
 2897     tooltip as const gchar ptr
 2898     callback as GCallback
 2899 end type
 2900 
 2901 type _GtkToggleActionEntry
 2902     name as const gchar ptr
 2903     stock_id as const gchar ptr
 2904     label as const gchar ptr
 2905     accelerator as const gchar ptr
 2906     tooltip as const gchar ptr
 2907     callback as GCallback
 2908     is_active as gboolean
 2909 end type
 2910 
 2911 type _GtkRadioActionEntry
 2912     name as const gchar ptr
 2913     stock_id as const gchar ptr
 2914     label as const gchar ptr
 2915     accelerator as const gchar ptr
 2916     tooltip as const gchar ptr
 2917     value as gint
 2918 end type
 2919 
 2920 declare function gtk_action_group_get_type() as GType
 2921 declare function gtk_action_group_new(byval name as const gchar ptr) as GtkActionGroup ptr
 2922 declare function gtk_action_group_get_name(byval action_group as GtkActionGroup ptr) as const gchar ptr
 2923 declare function gtk_action_group_get_sensitive(byval action_group as GtkActionGroup ptr) as gboolean
 2924 declare sub gtk_action_group_set_sensitive(byval action_group as GtkActionGroup ptr, byval sensitive as gboolean)
 2925 declare function gtk_action_group_get_visible(byval action_group as GtkActionGroup ptr) as gboolean
 2926 declare sub gtk_action_group_set_visible(byval action_group as GtkActionGroup ptr, byval visible as gboolean)
 2927 declare function gtk_action_group_get_action(byval action_group as GtkActionGroup ptr, byval action_name as const gchar ptr) as GtkAction ptr
 2928 declare function gtk_action_group_list_actions(byval action_group as GtkActionGroup ptr) as GList ptr
 2929 declare sub gtk_action_group_add_action(byval action_group as GtkActionGroup ptr, byval action as GtkAction ptr)
 2930 declare sub gtk_action_group_add_action_with_accel(byval action_group as GtkActionGroup ptr, byval action as GtkAction ptr, byval accelerator as const gchar ptr)
 2931 declare sub gtk_action_group_remove_action(byval action_group as GtkActionGroup ptr, byval action as GtkAction ptr)
 2932 declare sub gtk_action_group_add_actions(byval action_group as GtkActionGroup ptr, byval entries as const GtkActionEntry ptr, byval n_entries as guint, byval user_data as gpointer)
 2933 declare sub gtk_action_group_add_toggle_actions(byval action_group as GtkActionGroup ptr, byval entries as const GtkToggleActionEntry ptr, byval n_entries as guint, byval user_data as gpointer)
 2934 declare sub gtk_action_group_add_radio_actions(byval action_group as GtkActionGroup ptr, byval entries as const GtkRadioActionEntry ptr, byval n_entries as guint, byval value as gint, byval on_change as GCallback, byval user_data as gpointer)
 2935 declare sub gtk_action_group_add_actions_full(byval action_group as GtkActionGroup ptr, byval entries as const GtkActionEntry ptr, byval n_entries as guint, byval user_data as gpointer, byval destroy as GDestroyNotify)
 2936 declare sub gtk_action_group_add_toggle_actions_full(byval action_group as GtkActionGroup ptr, byval entries as const GtkToggleActionEntry ptr, byval n_entries as guint, byval user_data as gpointer, byval destroy as GDestroyNotify)
 2937 declare sub gtk_action_group_add_radio_actions_full(byval action_group as GtkActionGroup ptr, byval entries as const GtkRadioActionEntry ptr, byval n_entries as guint, byval value as gint, byval on_change as GCallback, byval user_data as gpointer, byval destroy as GDestroyNotify)
 2938 declare sub gtk_action_group_set_translate_func(byval action_group as GtkActionGroup ptr, byval func as GtkTranslateFunc, byval data as gpointer, byval notify as GDestroyNotify)
 2939 declare sub gtk_action_group_set_translation_domain(byval action_group as GtkActionGroup ptr, byval domain as const gchar ptr)
 2940 declare function gtk_action_group_translate_string(byval action_group as GtkActionGroup ptr, byval string as const gchar ptr) as const gchar ptr
 2941 declare sub _gtk_action_group_emit_connect_proxy(byval action_group as GtkActionGroup ptr, byval action as GtkAction ptr, byval proxy as GtkWidget ptr)
 2942 declare sub _gtk_action_group_emit_disconnect_proxy(byval action_group as GtkActionGroup ptr, byval action as GtkAction ptr, byval proxy as GtkWidget ptr)
 2943 declare sub _gtk_action_group_emit_pre_activate(byval action_group as GtkActionGroup ptr, byval action as GtkAction ptr)
 2944 declare sub _gtk_action_group_emit_post_activate(byval action_group as GtkActionGroup ptr, byval action as GtkAction ptr)
 2945 
 2946 #define __GTK_ACTIVATABLE_H__
 2947 #define GTK_TYPE_ACTIVATABLE gtk_activatable_get_type()
 2948 #define GTK_ACTIVATABLE(obj) G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_ACTIVATABLE, GtkActivatable)
 2949 #define GTK_ACTIVATABLE_CLASS(obj) G_TYPE_CHECK_CLASS_CAST((obj), GTK_TYPE_ACTIVATABLE, GtkActivatableIface)
 2950 #define GTK_IS_ACTIVATABLE(obj) G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_ACTIVATABLE)
 2951 #define GTK_ACTIVATABLE_GET_IFACE(obj) G_TYPE_INSTANCE_GET_INTERFACE((obj), GTK_TYPE_ACTIVATABLE, GtkActivatableIface)
 2952 type GtkActivatable as _GtkActivatable
 2953 type GtkActivatableIface as _GtkActivatableIface
 2954 
 2955 type _GtkActivatableIface
 2956     g_iface as GTypeInterface
 2957     update as sub(byval activatable as GtkActivatable ptr, byval action as GtkAction ptr, byval property_name as const gchar ptr)
 2958     sync_action_properties as sub(byval activatable as GtkActivatable ptr, byval action as GtkAction ptr)
 2959 end type
 2960 
 2961 declare function gtk_activatable_get_type() as GType
 2962 declare sub gtk_activatable_sync_action_properties(byval activatable as GtkActivatable ptr, byval action as GtkAction ptr)
 2963 declare sub gtk_activatable_set_related_action(byval activatable as GtkActivatable ptr, byval action as GtkAction ptr)
 2964 declare function gtk_activatable_get_related_action(byval activatable as GtkActivatable ptr) as GtkAction ptr
 2965 declare sub gtk_activatable_set_use_action_appearance(byval activatable as GtkActivatable ptr, byval use_appearance as gboolean)
 2966 declare function gtk_activatable_get_use_action_appearance(byval activatable as GtkActivatable ptr) as gboolean
 2967 declare sub gtk_activatable_do_set_related_action(byval activatable as GtkActivatable ptr, byval action as GtkAction ptr)
 2968 
 2969 #define __GTK_ALIGNMENT_H__
 2970 #define GTK_TYPE_ALIGNMENT gtk_alignment_get_type()
 2971 #define GTK_ALIGNMENT(obj) G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_ALIGNMENT, GtkAlignment)
 2972 #define GTK_ALIGNMENT_CLASS(klass) G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_ALIGNMENT, GtkAlignmentClass)
 2973 #define GTK_IS_ALIGNMENT(obj) G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_ALIGNMENT)
 2974 #define GTK_IS_ALIGNMENT_CLASS(klass) G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_ALIGNMENT)
 2975 #define GTK_ALIGNMENT_GET_CLASS(obj) G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_ALIGNMENT, GtkAlignmentClass)
 2976 
 2977 type GtkAlignment as _GtkAlignment
 2978 type GtkAlignmentClass as _GtkAlignmentClass
 2979 type GtkAlignmentPrivate as _GtkAlignmentPrivate
 2980 
 2981 type _GtkAlignment
 2982     bin as GtkBin
 2983     xalign as gfloat
 2984     yalign as gfloat
 2985     xscale as gfloat
 2986     yscale as gfloat
 2987 end type
 2988 
 2989 type _GtkAlignmentClass
 2990     parent_class as GtkBinClass
 2991 end type
 2992 
 2993 declare function gtk_alignment_get_type() as GType
 2994 declare function gtk_alignment_new(byval xalign as gfloat, byval yalign as gfloat, byval xscale as gfloat, byval yscale as gfloat) as GtkWidget ptr
 2995 declare sub gtk_alignment_set(byval alignment as GtkAlignment ptr, byval xalign as gfloat, byval yalign as gfloat, byval xscale as gfloat, byval yscale as gfloat)
 2996 declare sub gtk_alignment_set_padding(byval alignment as GtkAlignment ptr, byval padding_top as guint, byval padding_bottom as guint, byval padding_left as guint, byval padding_right as guint)
 2997 declare sub gtk_alignment_get_padding(byval alignment as GtkAlignment ptr, byval padding_top as guint ptr, byval padding_bottom as guint ptr, byval padding_left as guint ptr, byval padding_right as guint ptr)
 2998 
 2999 #define __GTK_ARROW_H__
 3000 #define GTK_TYPE_ARROW gtk_arrow_get_type()
 3001 #define GTK_ARROW(obj) G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_ARROW, GtkArrow)
 3002 #define GTK_ARROW_CLASS(klass) G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_ARROW, GtkArrowClass)
 3003 #define GTK_IS_ARROW(obj) G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_ARROW)
 3004 #define GTK_IS_ARROW_CLASS(klass) G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_ARROW)
 3005 #define GTK_ARROW_GET_CLASS(obj) G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_ARROW, GtkArrowClass)
 3006 type GtkArrow as _GtkArrow
 3007 type GtkArrowClass as _GtkArrowClass
 3008 
 3009 type _GtkArrow
 3010     misc as GtkMisc
 3011     arrow_type as gint16
 3012     shadow_type as gint16
 3013 end type
 3014 
 3015 type _GtkArrowClass
 3016     parent_class as GtkMiscClass
 3017 end type
 3018 
 3019 declare function gtk_arrow_get_type() as GType
 3020 declare function gtk_arrow_new(byval arrow_type as GtkArrowType, byval shadow_type as GtkShadowType) as GtkWidget ptr
 3021 declare sub gtk_arrow_set(byval arrow as GtkArrow ptr, byval arrow_type as GtkArrowType, byval shadow_type as GtkShadowType)
 3022 
 3023 #define __GTK_ASPECT_FRAME_H__
 3024 #define __GTK_FRAME_H__
 3025 #define GTK_TYPE_FRAME gtk_frame_get_type()
 3026 #define GTK_FRAME(obj) G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_FRAME, GtkFrame)
 3027 #define GTK_FRAME_CLASS(klass) G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_FRAME, GtkFrameClass)
 3028 #define GTK_IS_FRAME(obj) G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_FRAME)
 3029 #define GTK_IS_FRAME_CLASS(klass) G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_FRAME)
 3030 #define GTK_FRAME_GET_CLASS(obj) G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_FRAME, GtkFrameClass)
 3031 type GtkFrame as _GtkFrame
 3032 type GtkFrameClass as _GtkFrameClass
 3033 
 3034 type _GtkFrame
 3035     bin as GtkBin
 3036     label_widget as GtkWidget ptr
 3037     shadow_type as gint16
 3038     label_xalign as gfloat
 3039     label_yalign as gfloat
 3040     child_allocation as GtkAllocation
 3041 end type
 3042 
 3043 type _GtkFrameClass
 3044     parent_class as GtkBinClass
 3045     compute_child_allocation as sub(byval frame as GtkFrame ptr, byval allocation as GtkAllocation ptr)
 3046 end type
 3047 
 3048 declare function gtk_frame_get_type() as GType
 3049 declare function gtk_frame_new(byval label as const gchar ptr) as GtkWidget ptr
 3050 declare sub gtk_frame_set_label(byval frame as GtkFrame ptr, byval label as const gchar ptr)
 3051 declare function gtk_frame_get_label(byval frame as GtkFrame ptr) as const gchar ptr
 3052 declare sub gtk_frame_set_label_widget(byval frame as GtkFrame ptr, byval label_widget as GtkWidget ptr)
 3053 declare function gtk_frame_get_label_widget(byval frame as GtkFrame ptr) as GtkWidget ptr
 3054 declare sub gtk_frame_set_label_align(byval frame as GtkFrame ptr, byval xalign as gfloat, byval yalign as gfloat)
 3055 declare sub gtk_frame_get_label_align(byval frame as GtkFrame ptr, byval xalign as gfloat ptr, byval yalign as gfloat ptr)
 3056 declare sub gtk_frame_set_shadow_type(byval frame as GtkFrame ptr, byval type as GtkShadowType)
 3057 declare function gtk_frame_get_shadow_type(byval frame as GtkFrame ptr) as GtkShadowType
 3058 
 3059 #define GTK_TYPE_ASPECT_FRAME gtk_aspect_frame_get_type()
 3060 #define GTK_ASPECT_FRAME(obj) G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_ASPECT_FRAME, GtkAspectFrame)
 3061 #define GTK_ASPECT_FRAME_CLASS(klass) G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_ASPECT_FRAME, GtkAspectFrameClass)
 3062 #define GTK_IS_ASPECT_FRAME(obj) G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_ASPECT_FRAME)
 3063 #define GTK_IS_ASPECT_FRAME_CLASS(klass) G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_ASPECT_FRAME)
 3064 #define GTK_ASPECT_FRAME_GET_CLASS(obj) G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_ASPECT_FRAME, GtkAspectFrameClass)
 3065 type GtkAspectFrame as _GtkAspectFrame
 3066 type GtkAspectFrameClass as _GtkAspectFrameClass
 3067 
 3068 type _GtkAspectFrame
 3069     frame as GtkFrame
 3070     xalign as gfloat
 3071     yalign as gfloat
 3072     ratio as gfloat
 3073     obey_child as gboolean
 3074     center_allocation as GtkAllocation
 3075 end type
 3076 
 3077 type _GtkAspectFrameClass
 3078     parent_class as GtkFrameClass
 3079 end type
 3080 
 3081 declare function gtk_aspect_frame_get_type() as GType
 3082 declare function gtk_aspect_frame_new(byval label as const gchar ptr, byval xalign as gfloat, byval yalign as gfloat, byval ratio as gfloat, byval obey_child as gboolean) as GtkWidget ptr
 3083 declare sub gtk_aspect_frame_set(byval aspect_frame as GtkAspectFrame ptr, byval xalign as gfloat, byval yalign as gfloat, byval ratio as gfloat, byval obey_child as gboolean)
 3084 
 3085 #define __GTK_ASSISTANT_H__
 3086 #define GTK_TYPE_ASSISTANT gtk_assistant_get_type()
 3087 #define GTK_ASSISTANT(o) G_TYPE_CHECK_INSTANCE_CAST((o), GTK_TYPE_ASSISTANT, GtkAssistant)
 3088 #define GTK_ASSISTANT_CLASS(c) G_TYPE_CHECK_CLASS_CAST((c), GTK_TYPE_ASSISTANT, GtkAssistantClass)
 3089 #define GTK_IS_ASSISTANT(o) G_TYPE_CHECK_INSTANCE_TYPE((o), GTK_TYPE_ASSISTANT)
 3090 #define GTK_IS_ASSISTANT_CLASS(c) G_TYPE_CHECK_CLASS_TYPE((c), GTK_TYPE_ASSISTANT)
 3091 #define GTK_ASSISTANT_GET_CLASS(o) G_TYPE_INSTANCE_GET_CLASS((o), GTK_TYPE_ASSISTANT, GtkAssistantClass)
 3092 
 3093 type GtkAssistantPageType as long
 3094 enum
 3095     GTK_ASSISTANT_PAGE_CONTENT
 3096     GTK_ASSISTANT_PAGE_INTRO
 3097     GTK_ASSISTANT_PAGE_CONFIRM
 3098     GTK_ASSISTANT_PAGE_SUMMARY
 3099     GTK_ASSISTANT_PAGE_PROGRESS
 3100 end enum
 3101 
 3102 type GtkAssistant as _GtkAssistant
 3103 type GtkAssistantPrivate as _GtkAssistantPrivate
 3104 type GtkAssistantClass as _GtkAssistantClass
 3105 
 3106 type _GtkAssistant
 3107     parent as GtkWindow
 3108     cancel as GtkWidget ptr
 3109     forward as GtkWidget ptr
 3110     back as GtkWidget ptr
 3111     apply as GtkWidget ptr
 3112     close as GtkWidget ptr
 3113     last as GtkWidget ptr
 3114     priv as GtkAssistantPrivate ptr
 3115 end type
 3116 
 3117 type _GtkAssistantClass
 3118     parent_class as GtkWindowClass
 3119     prepare as sub(byval assistant as GtkAssistant ptr, byval page as GtkWidget ptr)
 3120     apply as sub(byval assistant as GtkAssistant ptr)
 3121     close as sub(byval assistant as GtkAssistant ptr)
 3122     cancel as sub(byval assistant as GtkAssistant ptr)
 3123     _gtk_reserved1 as sub()
 3124     _gtk_reserved2 as sub()
 3125     _gtk_reserved3 as sub()
 3126     _gtk_reserved4 as sub()
 3127     _gtk_reserved5 as sub()
 3128 end type
 3129 
 3130 type GtkAssistantPageFunc as function(byval current_page as gint, byval data as gpointer) as gint
 3131 declare function gtk_assistant_get_type() as GType
 3132 declare function gtk_assistant_new() as GtkWidget ptr
 3133 declare function gtk_assistant_get_current_page(byval assistant as GtkAssistant ptr) as gint
 3134 declare sub gtk_assistant_set_current_page(byval assistant as GtkAssistant ptr, byval page_num as gint)
 3135 declare function gtk_assistant_get_n_pages(byval assistant as GtkAssistant ptr) as gint
 3136 declare function gtk_assistant_get_nth_page(byval assistant as GtkAssistant ptr, byval page_num as gint) as GtkWidget ptr
 3137 declare function gtk_assistant_prepend_page(byval assistant as GtkAssistant ptr, byval page as GtkWidget ptr) as gint
 3138 declare function gtk_assistant_append_page(byval assistant as GtkAssistant ptr, byval page as GtkWidget ptr) as gint
 3139 declare function gtk_assistant_insert_page(byval assistant as GtkAssistant ptr, byval page as GtkWidget ptr, byval position as gint) as gint
 3140 declare sub gtk_assistant_set_forward_page_func(byval assistant as GtkAssistant ptr, byval page_func as GtkAssistantPageFunc, byval data as gpointer, byval destroy as GDestroyNotify)
 3141 declare sub gtk_assistant_set_page_type(byval assistant as GtkAssistant ptr, byval page as GtkWidget ptr, byval type as GtkAssistantPageType)
 3142 declare function gtk_assistant_get_page_type(byval assistant as GtkAssistant ptr, byval page as GtkWidget ptr) as GtkAssistantPageType
 3143 declare sub gtk_assistant_set_page_title(byval assistant as GtkAssistant ptr, byval page as GtkWidget ptr, byval title as const gchar ptr)
 3144 declare function gtk_assistant_get_page_title(byval assistant as GtkAssistant ptr, byval page as GtkWidget ptr) as const gchar ptr
 3145 declare sub gtk_assistant_set_page_header_image(byval assistant as GtkAssistant ptr, byval page as GtkWidget ptr, byval pixbuf as GdkPixbuf ptr)
 3146 declare function gtk_assistant_get_page_header_image(byval assistant as GtkAssistant ptr, byval page as GtkWidget ptr) as GdkPixbuf ptr
 3147 declare sub gtk_assistant_set_page_side_image(byval assistant as GtkAssistant ptr, byval page as GtkWidget ptr, byval pixbuf as GdkPixbuf ptr)
 3148 declare function gtk_assistant_get_page_side_image(byval assistant as GtkAssistant ptr, byval page as GtkWidget ptr) as GdkPixbuf ptr
 3149 declare sub gtk_assistant_set_page_complete(byval assistant as GtkAssistant ptr, byval page as GtkWidget ptr, byval complete as gboolean)
 3150 declare function gtk_assistant_get_page_complete(byval assistant as GtkAssistant ptr, byval page as GtkWidget ptr) as gboolean
 3151 declare sub gtk_assistant_add_action_widget(byval assistant as GtkAssistant ptr, byval child as GtkWidget ptr)
 3152 declare sub gtk_assistant_remove_action_widget(byval assistant as GtkAssistant ptr, byval child as GtkWidget ptr)
 3153 declare sub gtk_assistant_update_buttons_state(byval assistant as GtkAssistant ptr)
 3154 declare sub gtk_assistant_commit(byval assistant as GtkAssistant ptr)
 3155 
 3156 #define __GTK_BUTTON_BOX_H__
 3157 #define __GTK_BOX_H__
 3158 #define GTK_TYPE_BOX gtk_box_get_type()
 3159 #define GTK_BOX(obj) G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_BOX, GtkBox)
 3160 #define GTK_BOX_CLASS(klass) G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_BOX, GtkBoxClass)
 3161 #define GTK_IS_BOX(obj) G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_BOX)
 3162 #define GTK_IS_BOX_CLASS(klass) G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_BOX)
 3163 #define GTK_BOX_GET_CLASS(obj) G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_BOX, GtkBoxClass)
 3164 type GtkBox as _GtkBox
 3165 type GtkBoxClass as _GtkBoxClass
 3166 
 3167 type _GtkBox
 3168     container as GtkContainer
 3169     children as GList ptr
 3170     spacing as gint16
 3171     homogeneous : 1 as guint
 3172 end type
 3173 
 3174 type _GtkBoxClass
 3175     parent_class as GtkContainerClass
 3176 end type
 3177 
 3178 type GtkBoxChild as _GtkBoxChild
 3179 
 3180 type _GtkBoxChild
 3181     widget as GtkWidget ptr
 3182     padding as guint16
 3183     expand : 1 as guint
 3184     fill : 1 as guint
 3185     pack : 1 as guint
 3186     is_secondary : 1 as guint
 3187 end type
 3188 
 3189 declare function gtk_box_get_type() as GType
 3190 declare function _gtk_box_new(byval orientation as GtkOrientation, byval homogeneous as gboolean, byval spacing as gint) as GtkWidget ptr
 3191 declare sub gtk_box_pack_start(byval box as GtkBox ptr, byval child as GtkWidget ptr, byval expand as gboolean, byval fill as gboolean, byval padding as guint)
 3192 declare sub gtk_box_pack_end(byval box as GtkBox ptr, byval child as GtkWidget ptr, byval expand as gboolean, byval fill as gboolean, byval padding as guint)
 3193 declare sub gtk_box_pack_start_defaults(byval box as GtkBox ptr, byval widget as GtkWidget ptr)
 3194 declare sub gtk_box_pack_end_defaults(byval box as GtkBox ptr, byval widget as GtkWidget ptr)
 3195 declare sub gtk_box_set_homogeneous(byval box as GtkBox ptr, byval homogeneous as gboolean)
 3196 declare function gtk_box_get_homogeneous(byval box as GtkBox ptr) as gboolean
 3197 declare sub gtk_box_set_spacing(byval box as GtkBox ptr, byval spacing as gint)
 3198 declare function gtk_box_get_spacing(byval box as GtkBox ptr) as gint
 3199 declare sub gtk_box_reorder_child(byval box as GtkBox ptr, byval child as GtkWidget ptr, byval position as gint)
 3200 declare sub gtk_box_query_child_packing(byval box as GtkBox ptr, byval child as GtkWidget ptr, byval expand as gboolean ptr, byval fill as gboolean ptr, byval padding as guint ptr, byval pack_type as GtkPackType ptr)
 3201 declare sub gtk_box_set_child_packing(byval box as GtkBox ptr, byval child as GtkWidget ptr, byval expand as gboolean, byval fill as gboolean, byval padding as guint, byval pack_type as GtkPackType)
 3202 declare sub _gtk_box_set_old_defaults(byval box as GtkBox ptr)
 3203 declare function _gtk_box_get_spacing_set(byval box as GtkBox ptr) as gboolean
 3204 declare sub _gtk_box_set_spacing_set(byval box as GtkBox ptr, byval spacing_set as gboolean)
 3205 
 3206 #define GTK_TYPE_BUTTON_BOX gtk_button_box_get_type()
 3207 #define GTK_BUTTON_BOX(obj) G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_BUTTON_BOX, GtkButtonBox)
 3208 #define GTK_BUTTON_BOX_CLASS(klass) G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_BUTTON_BOX, GtkButtonBoxClass)
 3209 #define GTK_IS_BUTTON_BOX(obj) G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_BUTTON_BOX)
 3210 #define GTK_IS_BUTTON_BOX_CLASS(klass) G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_BUTTON_BOX)
 3211 #define GTK_BUTTON_BOX_GET_CLASS(obj) G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_BUTTON_BOX, GtkButtonBoxClass)
 3212 const GTK_BUTTONBOX_DEFAULT = -1
 3213 type GtkButtonBox as _GtkButtonBox
 3214 type GtkButtonBoxClass as _GtkButtonBoxClass
 3215 
 3216 type _GtkButtonBox
 3217     box as GtkBox
 3218     child_min_width as gint
 3219     child_min_height as gint
 3220     child_ipad_x as gint
 3221     child_ipad_y as gint
 3222     layout_style as GtkButtonBoxStyle
 3223 end type
 3224 
 3225 type _GtkButtonBoxClass
 3226     parent_class as GtkBoxClass
 3227 end type
 3228 
 3229 declare function gtk_button_box_get_type() as GType
 3230 declare function gtk_button_box_get_layout(byval widget as GtkButtonBox ptr) as GtkButtonBoxStyle
 3231 declare sub gtk_button_box_set_layout(byval widget as GtkButtonBox ptr, byval layout_style as GtkButtonBoxStyle)
 3232 declare function gtk_button_box_get_child_secondary(byval widget as GtkButtonBox ptr, byval child as GtkWidget ptr) as gboolean
 3233 declare sub gtk_button_box_set_child_secondary(byval widget as GtkButtonBox ptr, byval child as GtkWidget ptr, byval is_secondary as gboolean)
 3234 #define gtk_button_box_set_spacing(b, s) gtk_box_set_spacing(GTK_BOX(b), s)
 3235 #define gtk_button_box_get_spacing(b) gtk_box_get_spacing(GTK_BOX(b))
 3236 declare sub gtk_button_box_set_child_size(byval widget as GtkButtonBox ptr, byval min_width as gint, byval min_height as gint)
 3237 declare sub gtk_button_box_set_child_ipadding(byval widget as GtkButtonBox ptr, byval ipad_x as gint, byval ipad_y as gint)
 3238 declare sub gtk_button_box_get_child_size(byval widget as GtkButtonBox ptr, byval min_width as gint ptr, byval min_height as gint ptr)
 3239 declare sub gtk_button_box_get_child_ipadding(byval widget as GtkButtonBox ptr, byval ipad_x as gint ptr, byval ipad_y as gint ptr)
 3240 declare sub _gtk_button_box_child_requisition(byval widget as GtkWidget ptr, byval nvis_children as long ptr, byval nvis_secondaries as long ptr, byval width as long ptr, byval height as long ptr)
 3241 #define __GTK_BINDINGS_H__
 3242 
 3243 type GtkBindingSet as _GtkBindingSet
 3244 type GtkBindingEntry as _GtkBindingEntry
 3245 type GtkBindingSignal as _GtkBindingSignal
 3246 type GtkBindingArg as _GtkBindingArg
 3247 
 3248 type _GtkBindingSet
 3249     set_name as gchar ptr
 3250     priority as gint
 3251     widget_path_pspecs as GSList ptr
 3252     widget_class_pspecs as GSList ptr
 3253     class_branch_pspecs as GSList ptr
 3254     entries as GtkBindingEntry ptr
 3255     current as GtkBindingEntry ptr
 3256     parsed : 1 as guint
 3257 end type
 3258 
 3259 type _GtkBindingEntry
 3260     keyval as guint
 3261     modifiers as GdkModifierType
 3262     binding_set as GtkBindingSet ptr
 3263     destroyed : 1 as guint
 3264     in_emission : 1 as guint
 3265     marks_unbound : 1 as guint
 3266     set_next as GtkBindingEntry ptr
 3267     hash_next as GtkBindingEntry ptr
 3268     signals as GtkBindingSignal ptr
 3269 end type
 3270 
 3271 union _GtkBindingArg_d
 3272     long_data as glong
 3273     double_data as gdouble
 3274     string_data as gchar ptr
 3275 end union
 3276 
 3277 type _GtkBindingArg
 3278     arg_type as GType
 3279     d as _GtkBindingArg_d
 3280 end type
 3281 
 3282 type _GtkBindingSignal
 3283     next as GtkBindingSignal ptr
 3284     signal_name as gchar ptr
 3285     n_args as guint
 3286     args as GtkBindingArg ptr
 3287 end type
 3288 
 3289 declare function gtk_binding_set_new(byval set_name as const gchar ptr) as GtkBindingSet ptr
 3290 declare function gtk_binding_set_by_class(byval object_class as gpointer) as GtkBindingSet ptr
 3291 declare function gtk_binding_set_find(byval set_name as const gchar ptr) as GtkBindingSet ptr
 3292 declare function gtk_bindings_activate(byval object as GtkObject ptr, byval keyval as guint, byval modifiers as GdkModifierType) as gboolean
 3293 declare function gtk_bindings_activate_event(byval object as GtkObject ptr, byval event as GdkEventKey ptr) as gboolean
 3294 declare function gtk_binding_set_activate(byval binding_set as GtkBindingSet ptr, byval keyval as guint, byval modifiers as GdkModifierType, byval object as GtkObject ptr) as gboolean
 3295 declare sub gtk_binding_entry_clear(byval binding_set as GtkBindingSet ptr, byval keyval as guint, byval modifiers as GdkModifierType)
 3296 declare sub gtk_binding_entry_add alias "gtk_binding_entry_clear"(byval binding_set as GtkBindingSet ptr, byval keyval as guint, byval modifiers as GdkModifierType)
 3297 declare function gtk_binding_parse_binding(byval scanner as GScanner ptr) as guint
 3298 declare sub gtk_binding_entry_skip(byval binding_set as GtkBindingSet ptr, byval keyval as guint, byval modifiers as GdkModifierType)
 3299 declare sub gtk_binding_entry_add_signal(byval binding_set as GtkBindingSet ptr, byval keyval as guint, byval modifiers as GdkModifierType, byval signal_name as const gchar ptr, byval n_args as guint, ...)
 3300 declare sub gtk_binding_entry_add_signall(byval binding_set as GtkBindingSet ptr, byval keyval as guint, byval modifiers as GdkModifierType, byval signal_name as const gchar ptr, byval binding_args as GSList ptr)
 3301 declare sub gtk_binding_entry_remove(byval binding_set as GtkBindingSet ptr, byval keyval as guint, byval modifiers as GdkModifierType)
 3302 declare sub gtk_binding_set_add_path(byval binding_set as GtkBindingSet ptr, byval path_type as GtkPathType, byval path_pattern as const gchar ptr, byval priority as GtkPathPriorityType)
 3303 declare function _gtk_binding_parse_binding(byval scanner as GScanner ptr) as guint
 3304 declare sub _gtk_binding_reset_parsed()
 3305 declare sub _gtk_binding_entry_add_signall(byval binding_set as GtkBindingSet ptr, byval keyval as guint, byval modifiers as GdkModifierType, byval signal_name as const gchar ptr, byval binding_args as GSList ptr)
 3306 
 3307 #define __GTK_BUILDABLE_H__
 3308 #define __GTK_BUILDER_H__
 3309 #define GTK_TYPE_BUILDER gtk_builder_get_type()
 3310 #define GTK_BUILDER(obj) G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_BUILDER, GtkBuilder)
 3311 #define GTK_BUILDER_CLASS(klass) G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_BUILDER, GtkBuilderClass)
 3312 #define GTK_IS_BUILDER(obj) G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_BUILDER)
 3313 #define GTK_IS_BUILDER_CLASS(klass) G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_BUILDER)
 3314 #define GTK_BUILDER_GET_CLASS(obj) G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_BUILDER, GtkBuilderClass)
 3315 #define GTK_BUILDER_ERROR gtk_builder_error_quark()
 3316 
 3317 type GtkBuilder as _GtkBuilder
 3318 type GtkBuilderClass as _GtkBuilderClass
 3319 type GtkBuilderPrivate as _GtkBuilderPrivate
 3320 
 3321 type GtkBuilderError as long
 3322 enum
 3323     GTK_BUILDER_ERROR_INVALID_TYPE_FUNCTION
 3324     GTK_BUILDER_ERROR_UNHANDLED_TAG
 3325     GTK_BUILDER_ERROR_MISSING_ATTRIBUTE
 3326     GTK_BUILDER_ERROR_INVALID_ATTRIBUTE
 3327     GTK_BUILDER_ERROR_INVALID_TAG
 3328     GTK_BUILDER_ERROR_MISSING_PROPERTY_VALUE
 3329     GTK_BUILDER_ERROR_INVALID_VALUE
 3330     GTK_BUILDER_ERROR_VERSION_MISMATCH
 3331     GTK_BUILDER_ERROR_DUPLICATE_ID
 3332 end enum
 3333 
 3334 declare function gtk_builder_error_quark() as GQuark
 3335 
 3336 type _GtkBuilder
 3337     parent_instance as GObject
 3338     priv as GtkBuilderPrivate ptr
 3339 end type
 3340 
 3341 type _GtkBuilderClass
 3342     parent_class as GObjectClass
 3343     get_type_from_name as function(byval builder as GtkBuilder ptr, byval type_name as const zstring ptr) as GType
 3344     _gtk_reserved1 as sub()
 3345     _gtk_reserved2 as sub()
 3346     _gtk_reserved3 as sub()
 3347     _gtk_reserved4 as sub()
 3348     _gtk_reserved5 as sub()
 3349     _gtk_reserved6 as sub()
 3350     _gtk_reserved7 as sub()
 3351     _gtk_reserved8 as sub()
 3352 end type
 3353 
 3354 type GtkBuilderConnectFunc as sub(byval builder as GtkBuilder ptr, byval object as GObject ptr, byval signal_name as const gchar ptr, byval handler_name as const gchar ptr, byval connect_object as GObject ptr, byval flags as GConnectFlags, byval user_data as gpointer)
 3355 declare function gtk_builder_get_type() as GType
 3356 declare function gtk_builder_new() as GtkBuilder ptr
 3357 declare function gtk_builder_add_from_file(byval builder as GtkBuilder ptr, byval filename as const gchar ptr, byval error as GError ptr ptr) as guint
 3358 declare function gtk_builder_add_from_string(byval builder as GtkBuilder ptr, byval buffer as const gchar ptr, byval length as gsize, byval error as GError ptr ptr) as guint
 3359 declare function gtk_builder_add_objects_from_file(byval builder as GtkBuilder ptr, byval filename as const gchar ptr, byval object_ids as gchar ptr ptr, byval error as GError ptr ptr) as guint
 3360 declare function gtk_builder_add_objects_from_string(byval builder as GtkBuilder ptr, byval buffer as const gchar ptr, byval length as gsize, byval object_ids as gchar ptr ptr, byval error as GError ptr ptr) as guint
 3361 declare function gtk_builder_get_object(byval builder as GtkBuilder ptr, byval name as const gchar ptr) as GObject ptr
 3362 declare function gtk_builder_get_objects(byval builder as GtkBuilder ptr) as GSList ptr
 3363 declare sub gtk_builder_connect_signals(byval builder as GtkBuilder ptr, byval user_data as gpointer)
 3364 declare sub gtk_builder_connect_signals_full(byval builder as GtkBuilder ptr, byval func as GtkBuilderConnectFunc, byval user_data as gpointer)
 3365 declare sub gtk_builder_set_translation_domain(byval builder as GtkBuilder ptr, byval domain as const gchar ptr)
 3366 declare function gtk_builder_get_translation_domain(byval builder as GtkBuilder ptr) as const gchar ptr
 3367 declare function gtk_builder_get_type_from_name(byval builder as GtkBuilder ptr, byval type_name as const zstring ptr) as GType
 3368 declare function gtk_builder_value_from_string(byval builder as GtkBuilder ptr, byval pspec as GParamSpec ptr, byval string as const gchar ptr, byval value as GValue ptr, byval error as GError ptr ptr) as gboolean
 3369 declare function gtk_builder_value_from_string_type(byval builder as GtkBuilder ptr, byval type as GType, byval string as const gchar ptr, byval value as GValue ptr, byval error as GError ptr ptr) as gboolean
 3370 
 3371 #define GTK_BUILDER_WARN_INVALID_CHILD_TYPE(object, type) g_warning("'%s' is not a valid child type of '%s'", type, g_type_name(G_OBJECT_TYPE(object)))
 3372 #define GTK_TYPE_BUILDABLE gtk_buildable_get_type()
 3373 #define GTK_BUILDABLE(obj) G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_BUILDABLE, GtkBuildable)
 3374 #define GTK_BUILDABLE_CLASS(obj) G_TYPE_CHECK_CLASS_CAST((obj), GTK_TYPE_BUILDABLE, GtkBuildableIface)
 3375 #define GTK_IS_BUILDABLE(obj) G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_BUILDABLE)
 3376 #define GTK_BUILDABLE_GET_IFACE(obj) G_TYPE_INSTANCE_GET_INTERFACE((obj), GTK_TYPE_BUILDABLE, GtkBuildableIface)
 3377 type GtkBuildable as _GtkBuildable
 3378 type GtkBuildableIface as _GtkBuildableIface
 3379 
 3380 type _GtkBuildableIface
 3381     g_iface as GTypeInterface
 3382     set_name as sub(byval buildable as GtkBuildable ptr, byval name as const gchar ptr)
 3383     get_name as function(byval buildable as GtkBuildable ptr) as const gchar ptr
 3384     add_child as sub(byval buildable as GtkBuildable ptr, byval builder as GtkBuilder ptr, byval child as GObject ptr, byval type as const gchar ptr)
 3385     set_buildable_property as sub(byval buildable as GtkBuildable ptr, byval builder as GtkBuilder ptr, byval name as const gchar ptr, byval value as const GValue ptr)
 3386     construct_child as function(byval buildable as GtkBuildable ptr, byval builder as GtkBuilder ptr, byval name as const gchar ptr) as GObject ptr
 3387     custom_tag_start as function(byval buildable as GtkBuildable ptr, byval builder as GtkBuilder ptr, byval child as GObject ptr, byval tagname as const gchar ptr, byval parser as GMarkupParser ptr, byval data as gpointer ptr) as gboolean
 3388     custom_tag_end as sub(byval buildable as GtkBuildable ptr, byval builder as GtkBuilder ptr, byval child as GObject ptr, byval tagname as const gchar ptr, byval data as gpointer ptr)
 3389     custom_finished as sub(byval buildable as GtkBuildable ptr, byval builder as GtkBuilder ptr, byval child as GObject ptr, byval tagname as const gchar ptr, byval data as gpointer)
 3390     parser_finished as sub(byval buildable as GtkBuildable ptr, byval builder as GtkBuilder ptr)
 3391     get_internal_child as function(byval buildable as GtkBuildable ptr, byval builder as GtkBuilder ptr, byval childname as const gchar ptr) as GObject ptr
 3392 end type
 3393 
 3394 declare function gtk_buildable_get_type() as GType
 3395 declare sub gtk_buildable_set_name(byval buildable as GtkBuildable ptr, byval name as const gchar ptr)
 3396 declare function gtk_buildable_get_name(byval buildable as GtkBuildable ptr) as const gchar ptr
 3397 declare sub gtk_buildable_add_child(byval buildable as GtkBuildable ptr, byval builder as GtkBuilder ptr, byval child as GObject ptr, byval type as const gchar ptr)
 3398 declare sub gtk_buildable_set_buildable_property(byval buildable as GtkBuildable ptr, byval builder as GtkBuilder ptr, byval name as const gchar ptr, byval value as const GValue ptr)
 3399 declare function gtk_buildable_construct_child(byval buildable as GtkBuildable ptr, byval builder as GtkBuilder ptr, byval name as const gchar ptr) as GObject ptr
 3400 declare function gtk_buildable_custom_tag_start(byval buildable as GtkBuildable ptr, byval builder as GtkBuilder ptr, byval child as GObject ptr, byval tagname as const gchar ptr, byval parser as GMarkupParser ptr, byval data as gpointer ptr) as gboolean
 3401 declare sub gtk_buildable_custom_tag_end(byval buildable as GtkBuildable ptr, byval builder as GtkBuilder ptr, byval child as GObject ptr, byval tagname as const gchar ptr, byval data as gpointer ptr)
 3402 declare sub gtk_buildable_custom_finished(byval buildable as GtkBuildable ptr, byval builder as GtkBuilder ptr, byval child as GObject ptr, byval tagname as const gchar ptr, byval data as gpointer)
 3403 declare sub gtk_buildable_parser_finished(byval buildable as GtkBuildable ptr, byval builder as GtkBuilder ptr)
 3404 declare function gtk_buildable_get_internal_child(byval buildable as GtkBuildable ptr, byval builder as GtkBuilder ptr, byval childname as const gchar ptr) as GObject ptr
 3405 
 3406 #define __GTK_BUTTON_H__
 3407 #define __GTK_IMAGE_H__
 3408 #define GTK_TYPE_IMAGE gtk_image_get_type()
 3409 #define GTK_IMAGE(obj) G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_IMAGE, GtkImage)
 3410 #define GTK_IMAGE_CLASS(klass) G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_IMAGE, GtkImageClass)
 3411 #define GTK_IS_IMAGE(obj) G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_IMAGE)
 3412 #define GTK_IS_IMAGE_CLASS(klass) G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_IMAGE)
 3413 #define GTK_IMAGE_GET_CLASS(obj) G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_IMAGE, GtkImageClass)
 3414 
 3415 type GtkImage as _GtkImage
 3416 type GtkImageClass as _GtkImageClass
 3417 type GtkImagePixmapData as _GtkImagePixmapData
 3418 type GtkImageImageData as _GtkImageImageData
 3419 type GtkImagePixbufData as _GtkImagePixbufData
 3420 type GtkImageStockData as _GtkImageStockData
 3421 type GtkImageIconSetData as _GtkImageIconSetData
 3422 type GtkImageAnimationData as _GtkImageAnimationData
 3423 type GtkImageIconNameData as _GtkImageIconNameData
 3424 type GtkImageGIconData as _GtkImageGIconData
 3425 
 3426 type _GtkImagePixmapData
 3427     pixmap as GdkPixmap ptr
 3428 end type
 3429 
 3430 type _GtkImageImageData
 3431     image as GdkImage ptr
 3432 end type
 3433 
 3434 type _GtkImagePixbufData
 3435     pixbuf as GdkPixbuf ptr
 3436 end type
 3437 
 3438 type _GtkImageStockData
 3439     stock_id as gchar ptr
 3440 end type
 3441 
 3442 type _GtkImageIconSetData
 3443     icon_set as GtkIconSet ptr
 3444 end type
 3445 
 3446 type _GtkImageAnimationData
 3447     anim as GdkPixbufAnimation ptr
 3448     iter as GdkPixbufAnimationIter ptr
 3449     frame_timeout as guint
 3450 end type
 3451 
 3452 type _GtkImageIconNameData
 3453     icon_name as gchar ptr
 3454     pixbuf as GdkPixbuf ptr
 3455     theme_change_id as guint
 3456 end type
 3457 
 3458 type _GtkImageGIconData
 3459     icon as GIcon ptr
 3460     pixbuf as GdkPixbuf ptr
 3461     theme_change_id as guint
 3462 end type
 3463 
 3464 type GtkImageType as long
 3465 enum
 3466     GTK_IMAGE_EMPTY
 3467     GTK_IMAGE_PIXMAP
 3468     GTK_IMAGE_IMAGE
 3469     GTK_IMAGE_PIXBUF
 3470     GTK_IMAGE_STOCK
 3471     GTK_IMAGE_ICON_SET
 3472     GTK_IMAGE_ANIMATION
 3473     GTK_IMAGE_ICON_NAME
 3474     GTK_IMAGE_GICON
 3475 end enum
 3476 
 3477 union _GtkImage_data
 3478     pixmap as GtkImagePixmapData
 3479     image as GtkImageImageData
 3480     pixbuf as GtkImagePixbufData
 3481     stock as GtkImageStockData
 3482     icon_set as GtkImageIconSetData
 3483     anim as GtkImageAnimationData
 3484     name as GtkImageIconNameData
 3485     gicon as GtkImageGIconData
 3486 end union
 3487 
 3488 type _GtkImage
 3489     misc as GtkMisc
 3490     storage_type as GtkImageType
 3491     data as _GtkImage_data
 3492     mask as GdkBitmap ptr
 3493     icon_size as GtkIconSize
 3494 end type
 3495 
 3496 type _GtkImageClass
 3497     parent_class as GtkMiscClass
 3498     _gtk_reserved1 as sub()
 3499     _gtk_reserved2 as sub()
 3500     _gtk_reserved3 as sub()
 3501     _gtk_reserved4 as sub()
 3502 end type
 3503 
 3504 declare function gtk_image_get_type() as GType
 3505 declare function gtk_image_new() as GtkWidget ptr
 3506 declare function gtk_image_new_from_pixmap(byval pixmap as GdkPixmap ptr, byval mask as GdkBitmap ptr) as GtkWidget ptr
 3507 declare function gtk_image_new_from_image(byval image as GdkImage ptr, byval mask as GdkBitmap ptr) as GtkWidget ptr
 3508 
 3509 #ifdef __FB_UNIX__
 3510     declare function gtk_image_new_from_file(byval filename as const gchar ptr) as GtkWidget ptr
 3511 #else
 3512     declare function gtk_image_new_from_file_utf8(byval filename as const gchar ptr) as GtkWidget ptr
 3513     declare function gtk_image_new_from_file alias "gtk_image_new_from_file_utf8"(byval filename as const gchar ptr) as GtkWidget ptr
 3514 #endif
 3515 
 3516 declare function gtk_image_new_from_pixbuf(byval pixbuf as GdkPixbuf ptr) as GtkWidget ptr
 3517 declare function gtk_image_new_from_stock(byval stock_id as const gchar ptr, byval size as GtkIconSize) as GtkWidget ptr
 3518 declare function gtk_image_new_from_icon_set(byval icon_set as GtkIconSet ptr, byval size as GtkIconSize) as GtkWidget ptr
 3519 declare function gtk_image_new_from_animation(byval animation as GdkPixbufAnimation ptr) as GtkWidget ptr
 3520 declare function gtk_image_new_from_icon_name(byval icon_name as const gchar ptr, byval size as GtkIconSize) as GtkWidget ptr
 3521 declare function gtk_image_new_from_gicon(byval icon as GIcon ptr, byval size as GtkIconSize) as GtkWidget ptr
 3522 declare sub gtk_image_clear(byval image as GtkImage ptr)
 3523 declare sub gtk_image_set_from_pixmap(byval image as GtkImage ptr, byval pixmap as GdkPixmap ptr, byval mask as GdkBitmap ptr)
 3524 declare sub gtk_image_set_from_image(byval image as GtkImage ptr, byval gdk_image as GdkImage ptr, byval mask as GdkBitmap ptr)
 3525 
 3526 #ifdef __FB_UNIX__
 3527     declare sub gtk_image_set_from_file(byval image as GtkImage ptr, byval filename as const gchar ptr)
 3528 #else
 3529     declare sub gtk_image_set_from_file_utf8(byval image as GtkImage ptr, byval filename as const gchar ptr)
 3530     declare sub gtk_image_set_from_file alias "gtk_image_set_from_file_utf8"(byval image as GtkImage ptr, byval filename as const gchar ptr)
 3531 #endif
 3532 
 3533 declare sub gtk_image_set_from_pixbuf(byval image as GtkImage ptr, byval pixbuf as GdkPixbuf ptr)
 3534 declare sub gtk_image_set_from_stock(byval image as GtkImage ptr, byval stock_id as const gchar ptr, byval size as GtkIconSize)
 3535 declare sub gtk_image_set_from_icon_set(byval image as GtkImage ptr, byval icon_set as GtkIconSet ptr, byval size as GtkIconSize)
 3536 declare sub gtk_image_set_from_animation(byval image as GtkImage ptr, byval animation as GdkPixbufAnimation ptr)
 3537 declare sub gtk_image_set_from_icon_name(byval image as GtkImage ptr, byval icon_name as const gchar ptr, byval size as GtkIconSize)
 3538 declare sub gtk_image_set_from_gicon(byval image as GtkImage ptr, byval icon as GIcon ptr, byval size as GtkIconSize)
 3539 declare sub gtk_image_set_pixel_size(byval image as GtkImage ptr, byval pixel_size as gint)
 3540 declare function gtk_image_get_storage_type(byval image as GtkImage ptr) as GtkImageType
 3541 declare sub gtk_image_get_pixmap(byval image as GtkImage ptr, byval pixmap as GdkPixmap ptr ptr, byval mask as GdkBitmap ptr ptr)
 3542 declare sub gtk_image_get_image(byval image as GtkImage ptr, byval gdk_image as GdkImage ptr ptr, byval mask as GdkBitmap ptr ptr)
 3543 declare function gtk_image_get_pixbuf(byval image as GtkImage ptr) as GdkPixbuf ptr
 3544 declare sub gtk_image_get_stock(byval image as GtkImage ptr, byval stock_id as gchar ptr ptr, byval size as GtkIconSize ptr)
 3545 declare sub gtk_image_get_icon_set(byval image as GtkImage ptr, byval icon_set as GtkIconSet ptr ptr, byval size as GtkIconSize ptr)
 3546 declare function gtk_image_get_animation(byval image as GtkImage ptr) as GdkPixbufAnimation ptr
 3547 declare sub gtk_image_get_icon_name(byval image as GtkImage ptr, byval icon_name as const gchar ptr ptr, byval size as GtkIconSize ptr)
 3548 declare sub gtk_image_get_gicon(byval image as GtkImage ptr, byval gicon as GIcon ptr ptr, byval size as GtkIconSize ptr)
 3549 declare function gtk_image_get_pixel_size(byval image as GtkImage ptr) as gint
 3550 declare sub gtk_image_set(byval image as GtkImage ptr, byval val as GdkImage ptr, byval mask as GdkBitmap ptr)
 3551 declare sub gtk_image_get(byval image as GtkImage ptr, byval val as GdkImage ptr ptr, byval mask as GdkBitmap ptr ptr)
 3552 
 3553 #define GTK_TYPE_BUTTON gtk_button_get_type()
 3554 #define GTK_BUTTON(obj) G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_BUTTON, GtkButton)
 3555 #define GTK_BUTTON_CLASS(klass) G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_BUTTON, GtkButtonClass)
 3556 #define GTK_IS_BUTTON(obj) G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_BUTTON)
 3557 #define GTK_IS_BUTTON_CLASS(klass) G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_BUTTON)
 3558 #define GTK_BUTTON_GET_CLASS(obj) G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_BUTTON, GtkButtonClass)
 3559 type GtkButton as _GtkButton
 3560 type GtkButtonClass as _GtkButtonClass
 3561 
 3562 type _GtkButton
 3563     bin as GtkBin
 3564     event_window as GdkWindow ptr
 3565     label_text as gchar ptr
 3566     activate_timeout as guint
 3567     constructed : 1 as guint
 3568     in_button : 1 as guint
 3569     button_down : 1 as guint
 3570     relief : 2 as guint
 3571     use_underline : 1 as guint
 3572     use_stock : 1 as guint
 3573     depressed : 1 as guint
 3574     depress_on_activate : 1 as guint
 3575     focus_on_click : 1 as guint
 3576 end type
 3577 
 3578 type _GtkButtonClass
 3579     parent_class as GtkBinClass
 3580     pressed as sub(byval button as GtkButton ptr)
 3581     released as sub(byval button as GtkButton ptr)
 3582     clicked as sub(byval button as GtkButton ptr)
 3583     enter as sub(byval button as GtkButton ptr)
 3584     leave as sub(byval button as GtkButton ptr)
 3585     activate as sub(byval button as GtkButton ptr)
 3586     _gtk_reserved1 as sub()
 3587     _gtk_reserved2 as sub()
 3588     _gtk_reserved3 as sub()
 3589     _gtk_reserved4 as sub()
 3590 end type
 3591 
 3592 declare function gtk_button_get_type() as GType
 3593 declare function gtk_button_new() as GtkWidget ptr
 3594 declare function gtk_button_new_with_label(byval label as const gchar ptr) as GtkWidget ptr
 3595 declare function gtk_button_new_from_stock(byval stock_id as const gchar ptr) as GtkWidget ptr
 3596 declare function gtk_button_new_with_mnemonic(byval label as const gchar ptr) as GtkWidget ptr
 3597 declare sub gtk_button_pressed(byval button as GtkButton ptr)
 3598 declare sub gtk_button_released(byval button as GtkButton ptr)
 3599 declare sub gtk_button_clicked(byval button as GtkButton ptr)
 3600 declare sub gtk_button_enter(byval button as GtkButton ptr)
 3601 declare sub gtk_button_leave(byval button as GtkButton ptr)
 3602 declare sub gtk_button_set_relief(byval button as GtkButton ptr, byval newstyle as GtkReliefStyle)
 3603 declare function gtk_button_get_relief(byval button as GtkButton ptr) as GtkReliefStyle
 3604 declare sub gtk_button_set_label(byval button as GtkButton ptr, byval label as const gchar ptr)
 3605 declare function gtk_button_get_label(byval button as GtkButton ptr) as const gchar ptr
 3606 declare sub gtk_button_set_use_underline(byval button as GtkButton ptr, byval use_underline as gboolean)
 3607 declare function gtk_button_get_use_underline(byval button as GtkButton ptr) as gboolean
 3608 declare sub gtk_button_set_use_stock(byval button as GtkButton ptr, byval use_stock as gboolean)
 3609 declare function gtk_button_get_use_stock(byval button as GtkButton ptr) as gboolean
 3610 declare sub gtk_button_set_focus_on_click(byval button as GtkButton ptr, byval focus_on_click as gboolean)
 3611 declare function gtk_button_get_focus_on_click(byval button as GtkButton ptr) as gboolean
 3612 declare sub gtk_button_set_alignment(byval button as GtkButton ptr, byval xalign as gfloat, byval yalign as gfloat)
 3613 declare sub gtk_button_get_alignment(byval button as GtkButton ptr, byval xalign as gfloat ptr, byval yalign as gfloat ptr)
 3614 declare sub gtk_button_set_image(byval button as GtkButton ptr, byval image as GtkWidget ptr)
 3615 declare function gtk_button_get_image(byval button as GtkButton ptr) as GtkWidget ptr
 3616 declare sub gtk_button_set_image_position(byval button as GtkButton ptr, byval position as GtkPositionType)
 3617 declare function gtk_button_get_image_position(byval button as GtkButton ptr) as GtkPositionType
 3618 declare function gtk_button_get_event_window(byval button as GtkButton ptr) as GdkWindow ptr
 3619 declare sub _gtk_button_set_depressed(byval button as GtkButton ptr, byval depressed as gboolean)
 3620 declare sub _gtk_button_paint(byval button as GtkButton ptr, byval area as const GdkRectangle ptr, byval state_type as GtkStateType, byval shadow_type as GtkShadowType, byval main_detail as const gchar ptr, byval default_detail as const gchar ptr)
 3621 
 3622 #define __GTK_CALENDAR_H__
 3623 #define __GTK_SIGNAL_H__
 3624 #define __gtk_marshal_MARSHAL_H__
 3625 
 3626 declare sub gtk_marshal_BOOLEAN__VOID(byval closure as GClosure ptr, byval return_value as GValue ptr, byval n_param_values as guint, byval param_values as const GValue ptr, byval invocation_hint as gpointer, byval marshal_data as gpointer)
 3627 declare sub gtk_marshal_BOOL__NONE alias "gtk_marshal_BOOLEAN__VOID"(byval closure as GClosure ptr, byval return_value as GValue ptr, byval n_param_values as guint, byval param_values as const GValue ptr, byval invocation_hint as gpointer, byval marshal_data as gpointer)
 3628 declare sub gtk_marshal_BOOLEAN__POINTER(byval closure as GClosure ptr, byval return_value as GValue ptr, byval n_param_values as guint, byval param_values as const GValue ptr, byval invocation_hint as gpointer, byval marshal_data as gpointer)
 3629 declare sub gtk_marshal_BOOL__POINTER alias "gtk_marshal_BOOLEAN__POINTER"(byval closure as GClosure ptr, byval return_value as GValue ptr, byval n_param_values as guint, byval param_values as const GValue ptr, byval invocation_hint as gpointer, byval marshal_data as gpointer)
 3630 declare sub gtk_marshal_BOOLEAN__POINTER_POINTER_INT_INT(byval closure as GClosure ptr, byval return_value as GValue ptr, byval n_param_values as guint, byval param_values as const GValue ptr, byval invocation_hint as gpointer, byval marshal_data as gpointer)
 3631 declare sub gtk_marshal_BOOL__POINTER_POINTER_INT_INT alias "gtk_marshal_BOOLEAN__POINTER_POINTER_INT_INT"(byval closure as GClosure ptr, byval return_value as GValue ptr, byval n_param_values as guint, byval param_values as const GValue ptr, byval invocation_hint as gpointer, byval marshal_data as gpointer)
 3632 declare sub gtk_marshal_BOOLEAN__POINTER_INT_INT(byval closure as GClosure ptr, byval return_value as GValue ptr, byval n_param_values as guint, byval param_values as const GValue ptr, byval invocation_hint as gpointer, byval marshal_data as gpointer)
 3633 declare sub gtk_marshal_BOOL__POINTER_INT_INT alias "gtk_marshal_BOOLEAN__POINTER_INT_INT"(byval closure as GClosure ptr, byval return_value as GValue ptr, byval n_param_values as guint, byval param_values as const GValue ptr, byval invocation_hint as gpointer, byval marshal_data as gpointer)
 3634 declare sub gtk_marshal_BOOLEAN__POINTER_INT_INT_UINT(byval closure as GClosure ptr, byval return_value as GValue ptr, byval n_param_values as guint, byval param_values as const GValue ptr, byval invocation_hint as gpointer, byval marshal_data as gpointer)
 3635 declare sub gtk_marshal_BOOL__POINTER_INT_INT_UINT alias "gtk_marshal_BOOLEAN__POINTER_INT_INT_UINT"(byval closure as GClosure ptr, byval return_value as GValue ptr, byval n_param_values as guint, byval param_values as const GValue ptr, byval invocation_hint as gpointer, byval marshal_data as gpointer)
 3636 declare sub gtk_marshal_BOOLEAN__POINTER_STRING_STRING_POINTER(byval closure as GClosure ptr, byval return_value as GValue ptr, byval n_param_values as guint, byval param_values as const GValue ptr, byval invocation_hint as gpointer, byval marshal_data as gpointer)
 3637 declare sub gtk_marshal_BOOL__POINTER_STRING_STRING_POINTER alias "gtk_marshal_BOOLEAN__POINTER_STRING_STRING_POINTER"(byval closure as GClosure ptr, byval return_value as GValue ptr, byval n_param_values as guint, byval param_values as const GValue ptr, byval invocation_hint as gpointer, byval marshal_data as gpointer)
 3638 declare sub gtk_marshal_ENUM__ENUM(byval closure as GClosure ptr, byval return_value as GValue ptr, byval n_param_values as guint, byval param_values as const GValue ptr, byval invocation_hint as gpointer, byval marshal_data as gpointer)
 3639 declare sub gtk_marshal_INT__POINTER(byval closure as GClosure ptr, byval return_value as GValue ptr, byval n_param_values as guint, byval param_values as const GValue ptr, byval invocation_hint as gpointer, byval marshal_data as gpointer)
 3640 declare sub gtk_marshal_INT__POINTER_CHAR_CHAR(byval closure as GClosure ptr, byval return_value as GValue ptr, byval n_param_values as guint, byval param_values as const GValue ptr, byval invocation_hint as gpointer, byval marshal_data as gpointer)
 3641 declare sub gtk_marshal_VOID__BOOLEAN alias "g_cclosure_marshal_VOID__BOOLEAN"(byval closure as GClosure ptr, byval return_value as GValue ptr, byval n_param_values as guint, byval param_values as const GValue ptr, byval invocation_hint as gpointer, byval marshal_data as gpointer)
 3642 declare sub gtk_marshal_NONE__BOOL alias "g_cclosure_marshal_VOID__BOOLEAN"(byval closure as GClosure ptr, byval return_value as GValue ptr, byval n_param_values as guint, byval param_values as const GValue ptr, byval invocation_hint as gpointer, byval marshal_data as gpointer)
 3643 declare sub gtk_marshal_VOID__BOXED alias "g_cclosure_marshal_VOID__BOXED"(byval closure as GClosure ptr, byval return_value as GValue ptr, byval n_param_values as guint, byval param_values as const GValue ptr, byval invocation_hint as gpointer, byval marshal_data as gpointer)
 3644 declare sub gtk_marshal_NONE__BOXED alias "g_cclosure_marshal_VOID__BOXED"(byval closure as GClosure ptr, byval return_value as GValue ptr, byval n_param_values as guint, byval param_values as const GValue ptr, byval invocation_hint as gpointer, byval marshal_data as gpointer)
 3645 declare sub gtk_marshal_VOID__ENUM alias "g_cclosure_marshal_VOID__ENUM"(byval closure as GClosure ptr, byval return_value as GValue ptr, byval n_param_values as guint, byval param_values as const GValue ptr, byval invocation_hint as gpointer, byval marshal_data as gpointer)
 3646 declare sub gtk_marshal_NONE__ENUM alias "g_cclosure_marshal_VOID__ENUM"(byval closure as GClosure ptr, byval return_value as GValue ptr, byval n_param_values as guint, byval param_values as const GValue ptr, byval invocation_hint as gpointer, byval marshal_data as gpointer)
 3647 declare sub gtk_marshal_VOID__ENUM_FLOAT(byval closure as GClosure ptr, byval return_value as GValue ptr, byval n_param_values as guint, byval param_values as const GValue ptr, byval invocation_hint as gpointer, byval marshal_data as gpointer)
 3648 declare sub gtk_marshal_NONE__ENUM_FLOAT alias "gtk_marshal_VOID__ENUM_FLOAT"(byval closure as GClosure ptr, byval return_value as GValue ptr, byval n_param_values as guint, byval param_values as const GValue ptr, byval invocation_hint as gpointer, byval marshal_data as gpointer)
 3649 declare sub gtk_marshal_VOID__ENUM_FLOAT_BOOLEAN(byval closure as GClosure ptr, byval return_value as GValue ptr, byval n_param_values as guint, byval param_values as const GValue ptr, byval invocation_hint as gpointer, byval marshal_data as gpointer)
 3650 declare sub gtk_marshal_NONE__ENUM_FLOAT_BOOL alias "gtk_marshal_VOID__ENUM_FLOAT_BOOLEAN"(byval closure as GClosure ptr, byval return_value as GValue ptr, byval n_param_values as guint, byval param_values as const GValue ptr, byval invocation_hint as gpointer, byval marshal_data as gpointer)
 3651 declare sub gtk_marshal_VOID__INT alias "g_cclosure_marshal_VOID__INT"(byval closure as GClosure ptr, byval return_value as GValue ptr, byval n_param_values as guint, byval param_values as const GValue ptr, byval invocation_hint as gpointer, byval marshal_data as gpointer)
 3652 declare sub gtk_marshal_NONE__INT alias "g_cclosure_marshal_VOID__INT"(byval closure as GClosure ptr, byval return_value as GValue ptr, byval n_param_values as guint, byval param_values as const GValue ptr, byval invocation_hint as gpointer, byval marshal_data as gpointer)
 3653 declare sub gtk_marshal_VOID__INT_INT(byval closure as GClosure ptr, byval return_value as GValue ptr, byval n_param_values as guint, byval param_values as const GValue ptr, byval invocation_hint as gpointer, byval marshal_data as gpointer)
 3654 declare sub gtk_marshal_NONE__INT_INT alias "gtk_marshal_VOID__INT_INT"(byval closure as GClosure ptr, byval return_value as GValue ptr, byval n_param_values as guint, byval param_values as const GValue ptr, byval invocation_hint as gpointer, byval marshal_data as gpointer)
 3655 declare sub gtk_marshal_VOID__INT_INT_POINTER(byval closure as GClosure ptr, byval return_value as GValue ptr, byval n_param_values as guint, byval param_values as const GValue ptr, byval invocation_hint as gpointer, byval marshal_data as gpointer)
 3656 declare sub gtk_marshal_NONE__INT_INT_POINTER alias "gtk_marshal_VOID__INT_INT_POINTER"(byval closure as GClosure ptr, byval return_value as GValue ptr, byval n_param_values as guint, byval param_values as const GValue ptr, byval invocation_hint as gpointer, byval marshal_data as gpointer)
 3657 declare sub gtk_marshal_VOID__VOID alias "g_cclosure_marshal_VOID__VOID"(byval closure as GClosure ptr, byval return_value as GValue ptr, byval n_param_values as guint, byval param_values as const GValue ptr, byval invocation_hint as gpointer, byval marshal_data as gpointer)
 3658 declare sub gtk_marshal_NONE__NONE alias "g_cclosure_marshal_VOID__VOID"(byval closure as GClosure ptr, byval return_value as GValue ptr, byval n_param_values as guint, byval param_values as const GValue ptr, byval invocation_hint as gpointer, byval marshal_data as gpointer)
 3659 declare sub gtk_marshal_VOID__OBJECT alias "g_cclosure_marshal_VOID__OBJECT"(byval closure as GClosure ptr, byval return_value as GValue ptr, byval n_param_values as guint, byval param_values as const GValue ptr, byval invocation_hint as gpointer, byval marshal_data as gpointer)
 3660 declare sub gtk_marshal_NONE__OBJECT alias "g_cclosure_marshal_VOID__OBJECT"(byval closure as GClosure ptr, byval return_value as GValue ptr, byval n_param_values as guint, byval param_values as const GValue ptr, byval invocation_hint as gpointer, byval marshal_data as gpointer)
 3661 declare sub gtk_marshal_VOID__POINTER alias "g_cclosure_marshal_VOID__POINTER"(byval closure as GClosure ptr, byval return_value as GValue ptr, byval n_param_values as guint, byval param_values as const GValue ptr, byval invocation_hint as gpointer, byval marshal_data as gpointer)
 3662 declare sub gtk_marshal_NONE__POINTER alias "g_cclosure_marshal_VOID__POINTER"(byval closure as GClosure ptr, byval return_value as GValue ptr, byval n_param_values as guint, byval param_values as const GValue ptr, byval invocation_hint as gpointer, byval marshal_data as gpointer)
 3663 declare sub gtk_marshal_VOID__POINTER_INT(byval closure as GClosure ptr, byval return_value as GValue ptr, byval n_param_values as guint, byval param_values as const GValue ptr, byval invocation_hint as gpointer, byval marshal_data as gpointer)
 3664 declare sub gtk_marshal_NONE__POINTER_INT alias "gtk_marshal_VOID__POINTER_INT"(byval closure as GClosure ptr, byval return_value as GValue ptr, byval n_param_values as guint, byval param_values as const GValue ptr, byval invocation_hint as gpointer, byval marshal_data as gpointer)
 3665 declare sub gtk_marshal_VOID__POINTER_POINTER(byval closure as GClosure ptr, byval return_value as GValue ptr, byval n_param_values as guint, byval param_values as const GValue ptr, byval invocation_hint as gpointer, byval marshal_data as gpointer)
 3666 declare sub gtk_marshal_NONE__POINTER_POINTER alias "gtk_marshal_VOID__POINTER_POINTER"(byval closure as GClosure ptr, byval return_value as GValue ptr, byval n_param_values as guint, byval param_values as const GValue ptr, byval invocation_hint as gpointer, byval marshal_data as gpointer)
 3667 declare sub gtk_marshal_VOID__POINTER_POINTER_POINTER(byval closure as GClosure ptr, byval return_value as GValue ptr, byval n_param_values as guint, byval param_values as const GValue ptr, byval invocation_hint as gpointer, byval marshal_data as gpointer)
 3668 declare sub gtk_marshal_NONE__POINTER_POINTER_POINTER alias "gtk_marshal_VOID__POINTER_POINTER_POINTER"(byval closure as GClosure ptr, byval return_value as GValue ptr, byval n_param_values as guint, byval param_values as const GValue ptr, byval invocation_hint as gpointer, byval marshal_data as gpointer)
 3669 declare sub gtk_marshal_VOID__POINTER_STRING_STRING(byval closure as GClosure ptr, byval return_value as GValue ptr, byval n_param_values as guint, byval param_values as const GValue ptr, byval invocation_hint as gpointer, byval marshal_data as gpointer)
 3670 declare sub gtk_marshal_NONE__POINTER_STRING_STRING alias "gtk_marshal_VOID__POINTER_STRING_STRING"(byval closure as GClosure ptr, byval return_value as GValue ptr, byval n_param_values as guint, byval param_values as const GValue ptr, byval invocation_hint as gpointer, byval marshal_data as gpointer)
 3671 declare sub gtk_marshal_VOID__POINTER_UINT(byval closure as GClosure ptr, byval return_value as GValue ptr, byval n_param_values as guint, byval param_values as const GValue ptr, byval invocation_hint as gpointer, byval marshal_data as gpointer)
 3672 declare sub gtk_marshal_NONE__POINTER_UINT alias "gtk_marshal_VOID__POINTER_UINT"(byval closure as GClosure ptr, byval return_value as GValue ptr, byval n_param_values as guint, byval param_values as const GValue ptr, byval invocation_hint as gpointer, byval marshal_data as gpointer)
 3673 declare sub gtk_marshal_VOID__POINTER_UINT_ENUM(byval closure as GClosure ptr, byval return_value as GValue ptr, byval n_param_values as guint, byval param_values as const GValue ptr, byval invocation_hint as gpointer, byval marshal_data as gpointer)
 3674 declare sub gtk_marshal_NONE__POINTER_UINT_ENUM alias "gtk_marshal_VOID__POINTER_UINT_ENUM"(byval closure as GClosure ptr, byval return_value as GValue ptr, byval n_param_values as guint, byval param_values as const GValue ptr, byval invocation_hint as gpointer, byval marshal_data as gpointer)
 3675 declare sub gtk_marshal_VOID__POINTER_POINTER_UINT_UINT(byval closure as GClosure ptr, byval return_value as GValue ptr, byval n_param_values as guint, byval param_values as const GValue ptr, byval invocation_hint as gpointer, byval marshal_data as gpointer)
 3676 declare sub gtk_marshal_NONE__POINTER_POINTER_UINT_UINT alias "gtk_marshal_VOID__POINTER_POINTER_UINT_UINT"(byval closure as GClosure ptr, byval return_value as GValue ptr, byval n_param_values as guint, byval param_values as const GValue ptr, byval invocation_hint as gpointer, byval marshal_data as gpointer)
 3677 declare sub gtk_marshal_VOID__POINTER_INT_INT_POINTER_UINT_UINT(byval closure as GClosure ptr, byval return_value as GValue ptr, byval n_param_values as guint, byval param_values as const GValue ptr, byval invocation_hint as gpointer, byval marshal_data as gpointer)
 3678 declare sub gtk_marshal_NONE__POINTER_INT_INT_POINTER_UINT_UINT alias "gtk_marshal_VOID__POINTER_INT_INT_POINTER_UINT_UINT"(byval closure as GClosure ptr, byval return_value as GValue ptr, byval n_param_values as guint, byval param_values as const GValue ptr, byval invocation_hint as gpointer, byval marshal_data as gpointer)
 3679 declare sub gtk_marshal_VOID__POINTER_UINT_UINT(byval closure as GClosure ptr, byval return_value as GValue ptr, byval n_param_values as guint, byval param_values as const GValue ptr, byval invocation_hint as gpointer, byval marshal_data as gpointer)
 3680 declare sub gtk_marshal_NONE__POINTER_UINT_UINT alias "gtk_marshal_VOID__POINTER_UINT_UINT"(byval closure as GClosure ptr, byval return_value as GValue ptr, byval n_param_values as guint, byval param_values as const GValue ptr, byval invocation_hint as gpointer, byval marshal_data as gpointer)
 3681 declare sub gtk_marshal_VOID__STRING alias "g_cclosure_marshal_VOID__STRING"(byval closure as GClosure ptr, byval return_value as GValue ptr, byval n_param_values as guint, byval param_values as const GValue ptr, byval invocation_hint as gpointer, byval marshal_data as gpointer)
 3682 declare sub gtk_marshal_NONE__STRING alias "g_cclosure_marshal_VOID__STRING"(byval closure as GClosure ptr, byval return_value as GValue ptr, byval n_param_values as guint, byval param_values as const GValue ptr, byval invocation_hint as gpointer, byval marshal_data as gpointer)
 3683 declare sub gtk_marshal_VOID__STRING_INT_POINTER(byval closure as GClosure ptr, byval return_value as GValue ptr, byval n_param_values as guint, byval param_values as const GValue ptr, byval invocation_hint as gpointer, byval marshal_data as gpointer)
 3684 declare sub gtk_marshal_NONE__STRING_INT_POINTER alias "gtk_marshal_VOID__STRING_INT_POINTER"(byval closure as GClosure ptr, byval return_value as GValue ptr, byval n_param_values as guint, byval param_values as const GValue ptr, byval invocation_hint as gpointer, byval marshal_data as gpointer)
 3685 declare sub gtk_marshal_VOID__UINT alias "g_cclosure_marshal_VOID__UINT"(byval closure as GClosure ptr, byval return_value as GValue ptr, byval n_param_values as guint, byval param_values as const GValue ptr, byval invocation_hint as gpointer, byval marshal_data as gpointer)
 3686 declare sub gtk_marshal_NONE__UINT alias "g_cclosure_marshal_VOID__UINT"(byval closure as GClosure ptr, byval return_value as GValue ptr, byval n_param_values as guint, byval param_values as const GValue ptr, byval invocation_hint as gpointer, byval marshal_data as gpointer)
 3687 declare sub gtk_marshal_VOID__UINT_POINTER_UINT_ENUM_ENUM_POINTER(byval closure as GClosure ptr, byval return_value as GValue ptr, byval n_param_values as guint, byval param_values as const GValue ptr, byval invocation_hint as gpointer, byval marshal_data as gpointer)
 3688 declare sub gtk_marshal_NONE__UINT_POINTER_UINT_ENUM_ENUM_POINTER alias "gtk_marshal_VOID__UINT_POINTER_UINT_ENUM_ENUM_POINTER"(byval closure as GClosure ptr, byval return_value as GValue ptr, byval n_param_values as guint, byval param_values as const GValue ptr, byval invocation_hint as gpointer, byval marshal_data as gpointer)
 3689 declare sub gtk_marshal_VOID__UINT_POINTER_UINT_UINT_ENUM(byval closure as GClosure ptr, byval return_value as GValue ptr, byval n_param_values as guint, byval param_values as const GValue ptr, byval invocation_hint as gpointer, byval marshal_data as gpointer)
 3690 declare sub gtk_marshal_NONE__UINT_POINTER_UINT_UINT_ENUM alias "gtk_marshal_VOID__UINT_POINTER_UINT_UINT_ENUM"(byval closure as GClosure ptr, byval return_value as GValue ptr, byval n_param_values as guint, byval param_values as const GValue ptr, byval invocation_hint as gpointer, byval marshal_data as gpointer)
 3691 declare sub gtk_marshal_VOID__UINT_STRING(byval closure as GClosure ptr, byval return_value as GValue ptr, byval n_param_values as guint, byval param_values as const GValue ptr, byval invocation_hint as gpointer, byval marshal_data as gpointer)
 3692 declare sub gtk_marshal_NONE__UINT_STRING alias "gtk_marshal_VOID__UINT_STRING"(byval closure as GClosure ptr, byval return_value as GValue ptr, byval n_param_values as guint, byval param_values as const GValue ptr, byval invocation_hint as gpointer, byval marshal_data as gpointer)
 3693 declare sub gtk_signal_default_marshaller alias "g_cclosure_marshal_VOID__VOID"(byval closure as GClosure ptr, byval return_value as GValue ptr, byval n_param_values as guint, byval param_values as const GValue ptr, byval invocation_hint as gpointer, byval marshal_data as gpointer)
 3694 
 3695 #define GTK_SIGNAL_OFFSET G_STRUCT_OFFSET
 3696 #define gtk_signal_lookup(name, object_type) g_signal_lookup((name), (object_type))
 3697 #define gtk_signal_name(signal_id) g_signal_name(signal_id)
 3698 #define gtk_signal_emit_stop(object, signal_id) g_signal_stop_emission((object), (signal_id), 0)
 3699 #define gtk_signal_connect(object, name, func, func_data) gtk_signal_connect_full((object), (name), (func), NULL, (func_data), NULL, 0, 0)
 3700 #define gtk_signal_connect_after(object, name, func, func_data) gtk_signal_connect_full((object), (name), (func), NULL, (func_data), NULL, 0, 1)
 3701 #define gtk_signal_connect_object(object, name, func, slot_object) gtk_signal_connect_full((object), (name), (func), NULL, (slot_object), NULL, 1, 0)
 3702 #define gtk_signal_connect_object_after(object, name, func, slot_object) gtk_signal_connect_full((object), (name), (func), NULL, (slot_object), NULL, 1, 1)
 3703 #define gtk_signal_disconnect(object, handler_id) g_signal_handler_disconnect((object), (handler_id))
 3704 #define gtk_signal_handler_block(object, handler_id) g_signal_handler_block((object), (handler_id))
 3705 #define gtk_signal_handler_unblock(object, handler_id) g_signal_handler_unblock((object), (handler_id))
 3706 #define gtk_signal_disconnect_by_func(object, func, data) gtk_signal_compat_matched((object), (func), (data), cast(GSignalMatchType, G_SIGNAL_MATCH_FUNC or G_SIGNAL_MATCH_DATA), 0)
 3707 #define gtk_signal_disconnect_by_data(object, data)