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+-3.16.6 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, see <http://www.gnu.org/licenses/>. 19 '' 20 '' translated to FreeBASIC by: 21 '' (C) 2011, 2012 Thomas[ dot ]Freiherr[ at ]gmx[ dot ]net 22 '' Copyright © 2015 FreeBASIC development team 23 24 #pragma once 25 26 #inclib "gtk-3" 27 28 #include once "gdk/gdk3.bi" 29 #include once "glib-object.bi" 30 #include once "atk/atk.bi" 31 #include once "gio/gio.bi" 32 #include once "glib.bi" 33 #include once "gdk-pixbuf/gdk-pixbuf.bi" 34 #include once "pango/pango.bi" 35 #include once "cairo/cairo.bi" 36 #include once "crt/time.bi" 37 #include once "crt/stdarg.bi" 38 39 '' The following symbols have been renamed: 40 '' procedure gtk_check_version => gtk_check_version_ 41 '' #ifdef __FB_WIN32__ 42 '' procedure gtk_init => gtk_init_ 43 '' procedure gtk_init_check => gtk_init_check_ 44 '' #endif 45 '' #define GTK_STOCK_ADD => GTK_STOCK_ADD_ 46 47 #ifdef __FB_WIN32__ 48 #pragma push(msbitfields) 49 #endif 50 51 extern "C" 52 53 #define __GTK_H__ 54 #define __GTK_H_INSIDE__ 55 #define __GTK_ABOUT_DIALOG_H__ 56 #define __GTK_DIALOG_H__ 57 #define __GTK_WINDOW_H__ 58 #define __GTK_APPLICATION_H__ 59 #define __GTK_WIDGET_H__ 60 #define __GTK_ACCEL_GROUP_H__ 61 #define __GTK_ENUMS_H__ 62 63 type GtkAlign as long 64 enum 65 GTK_ALIGN_FILL 66 GTK_ALIGN_START 67 GTK_ALIGN_END 68 GTK_ALIGN_CENTER 69 GTK_ALIGN_BASELINE 70 end enum 71 72 type GtkArrowType as long 73 enum 74 GTK_ARROW_UP 75 GTK_ARROW_DOWN 76 GTK_ARROW_LEFT 77 GTK_ARROW_RIGHT 78 GTK_ARROW_NONE 79 end enum 80 81 type GtkBaselinePosition as long 82 enum 83 GTK_BASELINE_POSITION_TOP 84 GTK_BASELINE_POSITION_CENTER 85 GTK_BASELINE_POSITION_BOTTOM 86 end enum 87 88 type GtkDeleteType as long 89 enum 90 GTK_DELETE_CHARS 91 GTK_DELETE_WORD_ENDS 92 GTK_DELETE_WORDS 93 GTK_DELETE_DISPLAY_LINES 94 GTK_DELETE_DISPLAY_LINE_ENDS 95 GTK_DELETE_PARAGRAPH_ENDS 96 GTK_DELETE_PARAGRAPHS 97 GTK_DELETE_WHITESPACE 98 end enum 99 100 type GtkDirectionType as long 101 enum 102 GTK_DIR_TAB_FORWARD 103 GTK_DIR_TAB_BACKWARD 104 GTK_DIR_UP 105 GTK_DIR_DOWN 106 GTK_DIR_LEFT 107 GTK_DIR_RIGHT 108 end enum 109 110 type GtkIconSize as long 111 enum 112 GTK_ICON_SIZE_INVALID 113 GTK_ICON_SIZE_MENU 114 GTK_ICON_SIZE_SMALL_TOOLBAR 115 GTK_ICON_SIZE_LARGE_TOOLBAR 116 GTK_ICON_SIZE_BUTTON 117 GTK_ICON_SIZE_DND 118 GTK_ICON_SIZE_DIALOG 119 end enum 120 121 type GtkSensitivityType as long 122 enum 123 GTK_SENSITIVITY_AUTO 124 GTK_SENSITIVITY_ON 125 GTK_SENSITIVITY_OFF 126 end enum 127 128 type GtkTextDirection as long 129 enum 130 GTK_TEXT_DIR_NONE 131 GTK_TEXT_DIR_LTR 132 GTK_TEXT_DIR_RTL 133 end enum 134 135 type GtkJustification as long 136 enum 137 GTK_JUSTIFY_LEFT 138 GTK_JUSTIFY_RIGHT 139 GTK_JUSTIFY_CENTER 140 GTK_JUSTIFY_FILL 141 end enum 142 143 type GtkMenuDirectionType as long 144 enum 145 GTK_MENU_DIR_PARENT 146 GTK_MENU_DIR_CHILD 147 GTK_MENU_DIR_NEXT 148 GTK_MENU_DIR_PREV 149 end enum 150 151 type GtkMessageType as long 152 enum 153 GTK_MESSAGE_INFO 154 GTK_MESSAGE_WARNING 155 GTK_MESSAGE_QUESTION 156 GTK_MESSAGE_ERROR 157 GTK_MESSAGE_OTHER 158 end enum 159 160 type GtkMovementStep as long 161 enum 162 GTK_MOVEMENT_LOGICAL_POSITIONS 163 GTK_MOVEMENT_VISUAL_POSITIONS 164 GTK_MOVEMENT_WORDS 165 GTK_MOVEMENT_DISPLAY_LINES 166 GTK_MOVEMENT_DISPLAY_LINE_ENDS 167 GTK_MOVEMENT_PARAGRAPHS 168 GTK_MOVEMENT_PARAGRAPH_ENDS 169 GTK_MOVEMENT_PAGES 170 GTK_MOVEMENT_BUFFER_ENDS 171 GTK_MOVEMENT_HORIZONTAL_PAGES 172 end enum 173 174 type GtkScrollStep as long 175 enum 176 GTK_SCROLL_STEPS 177 GTK_SCROLL_PAGES 178 GTK_SCROLL_ENDS 179 GTK_SCROLL_HORIZONTAL_STEPS 180 GTK_SCROLL_HORIZONTAL_PAGES 181 GTK_SCROLL_HORIZONTAL_ENDS 182 end enum 183 184 type GtkOrientation as long 185 enum 186 GTK_ORIENTATION_HORIZONTAL 187 GTK_ORIENTATION_VERTICAL 188 end enum 189 190 type GtkPackType as long 191 enum 192 GTK_PACK_START 193 GTK_PACK_END 194 end enum 195 196 type GtkPositionType as long 197 enum 198 GTK_POS_LEFT 199 GTK_POS_RIGHT 200 GTK_POS_TOP 201 GTK_POS_BOTTOM 202 end enum 203 204 type GtkReliefStyle as long 205 enum 206 GTK_RELIEF_NORMAL 207 GTK_RELIEF_HALF 208 GTK_RELIEF_NONE 209 end enum 210 211 type GtkScrollType as long 212 enum 213 GTK_SCROLL_NONE 214 GTK_SCROLL_JUMP 215 GTK_SCROLL_STEP_BACKWARD 216 GTK_SCROLL_STEP_FORWARD 217 GTK_SCROLL_PAGE_BACKWARD 218 GTK_SCROLL_PAGE_FORWARD 219 GTK_SCROLL_STEP_UP 220 GTK_SCROLL_STEP_DOWN 221 GTK_SCROLL_PAGE_UP 222 GTK_SCROLL_PAGE_DOWN 223 GTK_SCROLL_STEP_LEFT 224 GTK_SCROLL_STEP_RIGHT 225 GTK_SCROLL_PAGE_LEFT 226 GTK_SCROLL_PAGE_RIGHT 227 GTK_SCROLL_START 228 GTK_SCROLL_END 229 end enum 230 231 type GtkSelectionMode as long 232 enum 233 GTK_SELECTION_NONE 234 GTK_SELECTION_SINGLE 235 GTK_SELECTION_BROWSE 236 GTK_SELECTION_MULTIPLE 237 end enum 238 239 type GtkShadowType as long 240 enum 241 GTK_SHADOW_NONE 242 GTK_SHADOW_IN 243 GTK_SHADOW_OUT 244 GTK_SHADOW_ETCHED_IN 245 GTK_SHADOW_ETCHED_OUT 246 end enum 247 248 type GtkStateType as long 249 enum 250 GTK_STATE_NORMAL 251 GTK_STATE_ACTIVE 252 GTK_STATE_PRELIGHT 253 GTK_STATE_SELECTED 254 GTK_STATE_INSENSITIVE 255 GTK_STATE_INCONSISTENT 256 GTK_STATE_FOCUSED 257 end enum 258 259 type GtkToolbarStyle as long 260 enum 261 GTK_TOOLBAR_ICONS 262 GTK_TOOLBAR_TEXT 263 GTK_TOOLBAR_BOTH 264 GTK_TOOLBAR_BOTH_HORIZ 265 end enum 266 267 type GtkWrapMode as long 268 enum 269 GTK_WRAP_NONE 270 GTK_WRAP_CHAR 271 GTK_WRAP_WORD 272 GTK_WRAP_WORD_CHAR 273 end enum 274 275 type GtkSortType as long 276 enum 277 GTK_SORT_ASCENDING 278 GTK_SORT_DESCENDING 279 end enum 280 281 type GtkIMPreeditStyle as long 282 enum 283 GTK_IM_PREEDIT_NOTHING 284 GTK_IM_PREEDIT_CALLBACK 285 GTK_IM_PREEDIT_NONE 286 end enum 287 288 type GtkIMStatusStyle as long 289 enum 290 GTK_IM_STATUS_NOTHING 291 GTK_IM_STATUS_CALLBACK 292 GTK_IM_STATUS_NONE 293 end enum 294 295 type GtkPackDirection as long 296 enum 297 GTK_PACK_DIRECTION_LTR 298 GTK_PACK_DIRECTION_RTL 299 GTK_PACK_DIRECTION_TTB 300 GTK_PACK_DIRECTION_BTT 301 end enum 302 303 type GtkPrintPages as long 304 enum 305 GTK_PRINT_PAGES_ALL 306 GTK_PRINT_PAGES_CURRENT 307 GTK_PRINT_PAGES_RANGES 308 GTK_PRINT_PAGES_SELECTION 309 end enum 310 311 type GtkPageSet as long 312 enum 313 GTK_PAGE_SET_ALL 314 GTK_PAGE_SET_EVEN 315 GTK_PAGE_SET_ODD 316 end enum 317 318 type GtkNumberUpLayout as long 319 enum 320 GTK_NUMBER_UP_LAYOUT_LEFT_TO_RIGHT_TOP_TO_BOTTOM 321 GTK_NUMBER_UP_LAYOUT_LEFT_TO_RIGHT_BOTTOM_TO_TOP 322 GTK_NUMBER_UP_LAYOUT_RIGHT_TO_LEFT_TOP_TO_BOTTOM 323 GTK_NUMBER_UP_LAYOUT_RIGHT_TO_LEFT_BOTTOM_TO_TOP 324 GTK_NUMBER_UP_LAYOUT_TOP_TO_BOTTOM_LEFT_TO_RIGHT 325 GTK_NUMBER_UP_LAYOUT_TOP_TO_BOTTOM_RIGHT_TO_LEFT 326 GTK_NUMBER_UP_LAYOUT_BOTTOM_TO_TOP_LEFT_TO_RIGHT 327 GTK_NUMBER_UP_LAYOUT_BOTTOM_TO_TOP_RIGHT_TO_LEFT 328 end enum 329 330 type GtkPageOrientation as long 331 enum 332 GTK_PAGE_ORIENTATION_PORTRAIT 333 GTK_PAGE_ORIENTATION_LANDSCAPE 334 GTK_PAGE_ORIENTATION_REVERSE_PORTRAIT 335 GTK_PAGE_ORIENTATION_REVERSE_LANDSCAPE 336 end enum 337 338 type GtkPrintQuality as long 339 enum 340 GTK_PRINT_QUALITY_LOW 341 GTK_PRINT_QUALITY_NORMAL 342 GTK_PRINT_QUALITY_HIGH 343 GTK_PRINT_QUALITY_DRAFT 344 end enum 345 346 type GtkPrintDuplex as long 347 enum 348 GTK_PRINT_DUPLEX_SIMPLEX 349 GTK_PRINT_DUPLEX_HORIZONTAL 350 GTK_PRINT_DUPLEX_VERTICAL 351 end enum 352 353 type GtkUnit as long 354 enum 355 GTK_UNIT_NONE 356 GTK_UNIT_POINTS 357 GTK_UNIT_INCH 358 GTK_UNIT_MM 359 end enum 360 361 const GTK_UNIT_PIXEL = GTK_UNIT_NONE 362 363 type GtkTreeViewGridLines as long 364 enum 365 GTK_TREE_VIEW_GRID_LINES_NONE 366 GTK_TREE_VIEW_GRID_LINES_HORIZONTAL 367 GTK_TREE_VIEW_GRID_LINES_VERTICAL 368 GTK_TREE_VIEW_GRID_LINES_BOTH 369 end enum 370 371 type GtkDragResult as long 372 enum 373 GTK_DRAG_RESULT_SUCCESS 374 GTK_DRAG_RESULT_NO_TARGET 375 GTK_DRAG_RESULT_USER_CANCELLED 376 GTK_DRAG_RESULT_TIMEOUT_EXPIRED 377 GTK_DRAG_RESULT_GRAB_BROKEN 378 GTK_DRAG_RESULT_ERROR 379 end enum 380 381 type GtkSizeGroupMode as long 382 enum 383 GTK_SIZE_GROUP_NONE 384 GTK_SIZE_GROUP_HORIZONTAL 385 GTK_SIZE_GROUP_VERTICAL 386 GTK_SIZE_GROUP_BOTH 387 end enum 388 389 type GtkSizeRequestMode as long 390 enum 391 GTK_SIZE_REQUEST_HEIGHT_FOR_WIDTH = 0 392 GTK_SIZE_REQUEST_WIDTH_FOR_HEIGHT 393 GTK_SIZE_REQUEST_CONSTANT_SIZE 394 end enum 395 396 type GtkScrollablePolicy as long 397 enum 398 GTK_SCROLL_MINIMUM = 0 399 GTK_SCROLL_NATURAL 400 end enum 401 402 type GtkStateFlags as long 403 enum 404 GTK_STATE_FLAG_NORMAL = 0 405 GTK_STATE_FLAG_ACTIVE = 1 shl 0 406 GTK_STATE_FLAG_PRELIGHT = 1 shl 1 407 GTK_STATE_FLAG_SELECTED = 1 shl 2 408 GTK_STATE_FLAG_INSENSITIVE = 1 shl 3 409 GTK_STATE_FLAG_INCONSISTENT = 1 shl 4 410 GTK_STATE_FLAG_FOCUSED = 1 shl 5 411 GTK_STATE_FLAG_BACKDROP = 1 shl 6 412 GTK_STATE_FLAG_DIR_LTR = 1 shl 7 413 GTK_STATE_FLAG_DIR_RTL = 1 shl 8 414 GTK_STATE_FLAG_LINK = 1 shl 9 415 GTK_STATE_FLAG_VISITED = 1 shl 10 416 GTK_STATE_FLAG_CHECKED = 1 shl 11 417 end enum 418 419 type GtkRegionFlags as long 420 enum 421 GTK_REGION_EVEN = 1 shl 0 422 GTK_REGION_ODD = 1 shl 1 423 GTK_REGION_FIRST = 1 shl 2 424 GTK_REGION_LAST = 1 shl 3 425 GTK_REGION_ONLY = 1 shl 4 426 GTK_REGION_SORTED = 1 shl 5 427 end enum 428 429 type GtkJunctionSides as long 430 enum 431 GTK_JUNCTION_NONE = 0 432 GTK_JUNCTION_CORNER_TOPLEFT = 1 shl 0 433 GTK_JUNCTION_CORNER_TOPRIGHT = 1 shl 1 434 GTK_JUNCTION_CORNER_BOTTOMLEFT = 1 shl 2 435 GTK_JUNCTION_CORNER_BOTTOMRIGHT = 1 shl 3 436 GTK_JUNCTION_TOP = GTK_JUNCTION_CORNER_TOPLEFT or GTK_JUNCTION_CORNER_TOPRIGHT 437 GTK_JUNCTION_BOTTOM = GTK_JUNCTION_CORNER_BOTTOMLEFT or GTK_JUNCTION_CORNER_BOTTOMRIGHT 438 GTK_JUNCTION_LEFT = GTK_JUNCTION_CORNER_TOPLEFT or GTK_JUNCTION_CORNER_BOTTOMLEFT 439 GTK_JUNCTION_RIGHT = GTK_JUNCTION_CORNER_TOPRIGHT or GTK_JUNCTION_CORNER_BOTTOMRIGHT 440 end enum 441 442 type GtkBorderStyle as long 443 enum 444 GTK_BORDER_STYLE_NONE 445 GTK_BORDER_STYLE_SOLID 446 GTK_BORDER_STYLE_INSET 447 GTK_BORDER_STYLE_OUTSET 448 GTK_BORDER_STYLE_HIDDEN 449 GTK_BORDER_STYLE_DOTTED 450 GTK_BORDER_STYLE_DASHED 451 GTK_BORDER_STYLE_DOUBLE 452 GTK_BORDER_STYLE_GROOVE 453 GTK_BORDER_STYLE_RIDGE 454 end enum 455 456 type GtkLevelBarMode as long 457 enum 458 GTK_LEVEL_BAR_MODE_CONTINUOUS 459 GTK_LEVEL_BAR_MODE_DISCRETE 460 end enum 461 462 type GtkInputPurpose as long 463 enum 464 GTK_INPUT_PURPOSE_FREE_FORM 465 GTK_INPUT_PURPOSE_ALPHA 466 GTK_INPUT_PURPOSE_DIGITS 467 GTK_INPUT_PURPOSE_NUMBER 468 GTK_INPUT_PURPOSE_PHONE 469 GTK_INPUT_PURPOSE_URL 470 GTK_INPUT_PURPOSE_EMAIL 471 GTK_INPUT_PURPOSE_NAME 472 GTK_INPUT_PURPOSE_PASSWORD 473 GTK_INPUT_PURPOSE_PIN 474 end enum 475 476 type GtkInputHints as long 477 enum 478 GTK_INPUT_HINT_NONE = 0 479 GTK_INPUT_HINT_SPELLCHECK = 1 shl 0 480 GTK_INPUT_HINT_NO_SPELLCHECK = 1 shl 1 481 GTK_INPUT_HINT_WORD_COMPLETION = 1 shl 2 482 GTK_INPUT_HINT_LOWERCASE = 1 shl 3 483 GTK_INPUT_HINT_UPPERCASE_CHARS = 1 shl 4 484 GTK_INPUT_HINT_UPPERCASE_WORDS = 1 shl 5 485 GTK_INPUT_HINT_UPPERCASE_SENTENCES = 1 shl 6 486 GTK_INPUT_HINT_INHIBIT_OSK = 1 shl 7 487 end enum 488 489 type GtkPropagationPhase as long 490 enum 491 GTK_PHASE_NONE 492 GTK_PHASE_CAPTURE 493 GTK_PHASE_BUBBLE 494 GTK_PHASE_TARGET 495 end enum 496 497 type GtkEventSequenceState as long 498 enum 499 GTK_EVENT_SEQUENCE_NONE 500 GTK_EVENT_SEQUENCE_CLAIMED 501 GTK_EVENT_SEQUENCE_DENIED 502 end enum 503 504 type GtkPanDirection as long 505 enum 506 GTK_PAN_DIRECTION_LEFT 507 GTK_PAN_DIRECTION_RIGHT 508 GTK_PAN_DIRECTION_UP 509 GTK_PAN_DIRECTION_DOWN 510 end enum 511 512 #define GTK_TYPE_ACCEL_GROUP gtk_accel_group_get_type() 513 #define GTK_ACCEL_GROUP(object) G_TYPE_CHECK_INSTANCE_CAST((object), GTK_TYPE_ACCEL_GROUP, GtkAccelGroup) 514 #define GTK_ACCEL_GROUP_CLASS(klass) G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_ACCEL_GROUP, GtkAccelGroupClass) 515 #define GTK_IS_ACCEL_GROUP(object) G_TYPE_CHECK_INSTANCE_TYPE((object), GTK_TYPE_ACCEL_GROUP) 516 #define GTK_IS_ACCEL_GROUP_CLASS(klass) G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_ACCEL_GROUP) 517 #define GTK_ACCEL_GROUP_GET_CLASS(obj) G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_ACCEL_GROUP, GtkAccelGroupClass) 518 519 type GtkAccelFlags as long 520 enum 521 GTK_ACCEL_VISIBLE = 1 shl 0 522 GTK_ACCEL_LOCKED = 1 shl 1 523 GTK_ACCEL_MASK = &h07 524 end enum 525 526 type GtkAccelGroup as _GtkAccelGroup 527 type GtkAccelGroupClass as _GtkAccelGroupClass 528 type GtkAccelGroupPrivate as _GtkAccelGroupPrivate 529 type GtkAccelKey as _GtkAccelKey 530 type GtkAccelGroupEntry as _GtkAccelGroupEntry 531 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 532 type GtkAccelGroupFindFunc as function(byval key as GtkAccelKey ptr, byval closure as GClosure ptr, byval data as gpointer) as gboolean 533 534 type _GtkAccelGroup 535 parent as GObject 536 priv as GtkAccelGroupPrivate ptr 537 end type 538 539 type _GtkAccelGroupClass 540 parent_class as GObjectClass 541 accel_changed as sub(byval accel_group as GtkAccelGroup ptr, byval keyval as guint, byval modifier as GdkModifierType, byval accel_closure as GClosure ptr) 542 _gtk_reserved1 as sub() 543 _gtk_reserved2 as sub() 544 _gtk_reserved3 as sub() 545 _gtk_reserved4 as sub() 546 end type 547 548 type _GtkAccelKey 549 accel_key as guint 550 accel_mods as GdkModifierType 551 accel_flags : 16 as guint 552 end type 553 554 declare function gtk_accel_group_get_type() as GType 555 declare function gtk_accel_group_new() as GtkAccelGroup ptr 556 declare function gtk_accel_group_get_is_locked(byval accel_group as GtkAccelGroup ptr) as gboolean 557 declare function gtk_accel_group_get_modifier_mask(byval accel_group as GtkAccelGroup ptr) as GdkModifierType 558 declare sub gtk_accel_group_lock(byval accel_group as GtkAccelGroup ptr) 559 declare sub gtk_accel_group_unlock(byval accel_group as GtkAccelGroup ptr) 560 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) 561 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) 562 declare function gtk_accel_group_disconnect(byval accel_group as GtkAccelGroup ptr, byval closure as GClosure ptr) as gboolean 563 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 564 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 565 declare sub _gtk_accel_group_attach(byval accel_group as GtkAccelGroup ptr, byval object as GObject ptr) 566 declare sub _gtk_accel_group_detach(byval accel_group as GtkAccelGroup ptr, byval object as GObject ptr) 567 declare function gtk_accel_groups_activate(byval object as GObject ptr, byval accel_key as guint, byval accel_mods as GdkModifierType) as gboolean 568 declare function gtk_accel_groups_from_object(byval object as GObject ptr) as GSList ptr 569 declare function gtk_accel_group_find(byval accel_group as GtkAccelGroup ptr, byval find_func as GtkAccelGroupFindFunc, byval data as gpointer) as GtkAccelKey ptr 570 declare function gtk_accel_group_from_accel_closure(byval closure as GClosure ptr) as GtkAccelGroup ptr 571 declare function gtk_accelerator_valid(byval keyval as guint, byval modifiers as GdkModifierType) as gboolean 572 declare sub gtk_accelerator_parse(byval accelerator as const gchar ptr, byval accelerator_key as guint ptr, byval accelerator_mods as GdkModifierType ptr) 573 declare sub gtk_accelerator_parse_with_keycode(byval accelerator as const gchar ptr, byval accelerator_key as guint ptr, byval accelerator_codes as guint ptr ptr, byval accelerator_mods as GdkModifierType ptr) 574 declare function gtk_accelerator_name(byval accelerator_key as guint, byval accelerator_mods as GdkModifierType) as gchar ptr 575 declare function gtk_accelerator_name_with_keycode(byval display as GdkDisplay ptr, byval accelerator_key as guint, byval keycode as guint, byval accelerator_mods as GdkModifierType) as gchar ptr 576 declare function gtk_accelerator_get_label(byval accelerator_key as guint, byval accelerator_mods as GdkModifierType) as gchar ptr 577 declare function gtk_accelerator_get_label_with_keycode(byval display as GdkDisplay ptr, byval accelerator_key as guint, byval keycode as guint, byval accelerator_mods as GdkModifierType) as gchar ptr 578 declare sub gtk_accelerator_set_default_mod_mask(byval default_mod_mask as GdkModifierType) 579 declare function gtk_accelerator_get_default_mod_mask() as GdkModifierType 580 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 581 582 type _GtkAccelGroupEntry 583 key as GtkAccelKey 584 closure as GClosure ptr 585 accel_path_quark as GQuark 586 end type 587 588 #define __GTK_BORDER_H__ 589 type GtkBorder as _GtkBorder 590 #define GTK_TYPE_BORDER gtk_border_get_type() 591 592 type _GtkBorder 593 left as gint16 594 right as gint16 595 top as gint16 596 bottom as gint16 597 end type 598 599 declare function gtk_border_get_type() as GType 600 declare function gtk_border_new() as GtkBorder ptr 601 declare function gtk_border_copy(byval border_ as const GtkBorder ptr) as GtkBorder ptr 602 declare sub gtk_border_free(byval border_ as GtkBorder ptr) 603 #define __GTK_TYPES_H__ 604 605 type GtkAdjustment as _GtkAdjustment 606 type GtkBuilder as _GtkBuilder 607 type GtkClipboard as _GtkClipboard 608 type GtkIconSet as _GtkIconSet 609 type GtkIconSource as _GtkIconSource 610 type GtkRcStyle as _GtkRcStyle 611 type GtkRequisition as _GtkRequisition 612 type GtkSelectionData as _GtkSelectionData 613 type GtkSettings as _GtkSettings 614 type GtkStyle as _GtkStyle 615 type GtkStyleContext as _GtkStyleContext 616 type GtkTooltip as _GtkTooltip 617 type GtkWidget as _GtkWidget 618 type GtkWidgetPath as _GtkWidgetPath 619 type GtkWindow as _GtkWindow 620 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 621 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) 622 623 type GtkWidgetHelpType as long 624 enum 625 GTK_WIDGET_HELP_TOOLTIP 626 GTK_WIDGET_HELP_WHATS_THIS 627 end enum 628 629 #define GTK_TYPE_WIDGET gtk_widget_get_type() 630 #define GTK_WIDGET(widget) G_TYPE_CHECK_INSTANCE_CAST((widget), GTK_TYPE_WIDGET, GtkWidget) 631 #define GTK_WIDGET_CLASS(klass) G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_WIDGET, GtkWidgetClass) 632 #define GTK_IS_WIDGET(widget) G_TYPE_CHECK_INSTANCE_TYPE((widget), GTK_TYPE_WIDGET) 633 #define GTK_IS_WIDGET_CLASS(klass) G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_WIDGET) 634 #define GTK_WIDGET_GET_CLASS(obj) G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_WIDGET, GtkWidgetClass) 635 #define GTK_TYPE_REQUISITION gtk_requisition_get_type() 636 637 type GtkWidgetPrivate as _GtkWidgetPrivate 638 type GtkWidgetClass as _GtkWidgetClass 639 type GtkWidgetClassPrivate as _GtkWidgetClassPrivate 640 type GtkWidgetAuxInfo as _GtkWidgetAuxInfo 641 type GtkAllocation as GdkRectangle 642 type GtkCallback as sub(byval widget as GtkWidget ptr, byval data as gpointer) 643 type GtkTickCallback as function(byval widget as GtkWidget ptr, byval frame_clock as GdkFrameClock ptr, byval user_data as gpointer) as gboolean 644 645 type _GtkRequisition 646 width as gint 647 height as gint 648 end type 649 650 type _GtkWidget 651 parent_instance as GInitiallyUnowned 652 priv as GtkWidgetPrivate ptr 653 end type 654 655 type _GtkWidgetClass 656 parent_class as GInitiallyUnownedClass 657 activate_signal as guint 658 dispatch_child_properties_changed as sub(byval widget as GtkWidget ptr, byval n_pspecs as guint, byval pspecs as GParamSpec ptr ptr) 659 destroy as sub(byval widget as GtkWidget ptr) 660 show as sub(byval widget as GtkWidget ptr) 661 show_all as sub(byval widget as GtkWidget ptr) 662 hide as sub(byval widget as GtkWidget ptr) 663 map as sub(byval widget as GtkWidget ptr) 664 unmap as sub(byval widget as GtkWidget ptr) 665 realize as sub(byval widget as GtkWidget ptr) 666 unrealize as sub(byval widget as GtkWidget ptr) 667 size_allocate as sub(byval widget as GtkWidget ptr, byval allocation as GtkAllocation ptr) 668 state_changed as sub(byval widget as GtkWidget ptr, byval previous_state as GtkStateType) 669 state_flags_changed as sub(byval widget as GtkWidget ptr, byval previous_state_flags as GtkStateFlags) 670 parent_set as sub(byval widget as GtkWidget ptr, byval previous_parent as GtkWidget ptr) 671 hierarchy_changed as sub(byval widget as GtkWidget ptr, byval previous_toplevel as GtkWidget ptr) 672 style_set as sub(byval widget as GtkWidget ptr, byval previous_style as GtkStyle ptr) 673 direction_changed as sub(byval widget as GtkWidget ptr, byval previous_direction as GtkTextDirection) 674 grab_notify as sub(byval widget as GtkWidget ptr, byval was_grabbed as gboolean) 675 child_notify as sub(byval widget as GtkWidget ptr, byval child_property as GParamSpec ptr) 676 draw as function(byval widget as GtkWidget ptr, byval cr as cairo_t ptr) as gboolean 677 get_request_mode as function(byval widget as GtkWidget ptr) as GtkSizeRequestMode 678 get_preferred_height as sub(byval widget as GtkWidget ptr, byval minimum_height as gint ptr, byval natural_height as gint ptr) 679 get_preferred_width_for_height as sub(byval widget as GtkWidget ptr, byval height as gint, byval minimum_width as gint ptr, byval natural_width as gint ptr) 680 get_preferred_width as sub(byval widget as GtkWidget ptr, byval minimum_width as gint ptr, byval natural_width as gint ptr) 681 get_preferred_height_for_width as sub(byval widget as GtkWidget ptr, byval width as gint, byval minimum_height as gint ptr, byval natural_height as gint ptr) 682 mnemonic_activate as function(byval widget as GtkWidget ptr, byval group_cycling as gboolean) as gboolean 683 grab_focus as sub(byval widget as GtkWidget ptr) 684 focus as function(byval widget as GtkWidget ptr, byval direction as GtkDirectionType) as gboolean 685 move_focus as sub(byval widget as GtkWidget ptr, byval direction as GtkDirectionType) 686 keynav_failed as function(byval widget as GtkWidget ptr, byval direction as GtkDirectionType) as gboolean 687 event as function(byval widget as GtkWidget ptr, byval event as GdkEvent ptr) as gboolean 688 button_press_event as function(byval widget as GtkWidget ptr, byval event as GdkEventButton ptr) as gboolean 689 button_release_event as function(byval widget as GtkWidget ptr, byval event as GdkEventButton ptr) as gboolean 690 scroll_event as function(byval widget as GtkWidget ptr, byval event as GdkEventScroll ptr) as gboolean 691 motion_notify_event as function(byval widget as GtkWidget ptr, byval event as GdkEventMotion ptr) as gboolean 692 delete_event as function(byval widget as GtkWidget ptr, byval event as GdkEventAny ptr) as gboolean 693 destroy_event as function(byval widget as GtkWidget ptr, byval event as GdkEventAny ptr) as gboolean 694 key_press_event as function(byval widget as GtkWidget ptr, byval event as GdkEventKey ptr) as gboolean 695 key_release_event as function(byval widget as GtkWidget ptr, byval event as GdkEventKey ptr) as gboolean 696 enter_notify_event as function(byval widget as GtkWidget ptr, byval event as GdkEventCrossing ptr) as gboolean 697 leave_notify_event as function(byval widget as GtkWidget ptr, byval event as GdkEventCrossing ptr) as gboolean 698 configure_event as function(byval widget as GtkWidget ptr, byval event as GdkEventConfigure ptr) as gboolean 699 focus_in_event as function(byval widget as GtkWidget ptr, byval event as GdkEventFocus ptr) as gboolean 700 focus_out_event as function(byval widget as GtkWidget ptr, byval event as GdkEventFocus ptr) as gboolean 701 map_event as function(byval widget as GtkWidget ptr, byval event as GdkEventAny ptr) as gboolean 702 unmap_event as function(byval widget as GtkWidget ptr, byval event as GdkEventAny ptr) as gboolean 703 property_notify_event as function(byval widget as GtkWidget ptr, byval event as GdkEventProperty ptr) as gboolean 704 selection_clear_event as function(byval widget as GtkWidget ptr, byval event as GdkEventSelection ptr) as gboolean 705 selection_request_event as function(byval widget as GtkWidget ptr, byval event as GdkEventSelection ptr) as gboolean 706 selection_notify_event as function(byval widget as GtkWidget ptr, byval event as GdkEventSelection ptr) as gboolean 707 proximity_in_event as function(byval widget as GtkWidget ptr, byval event as GdkEventProximity ptr) as gboolean 708 proximity_out_event as function(byval widget as GtkWidget ptr, byval event as GdkEventProximity ptr) as gboolean 709 visibility_notify_event as function(byval widget as GtkWidget ptr, byval event as GdkEventVisibility ptr) as gboolean 710 window_state_event as function(byval widget as GtkWidget ptr, byval event as GdkEventWindowState ptr) as gboolean 711 damage_event as function(byval widget as GtkWidget ptr, byval event as GdkEventExpose ptr) as gboolean 712 grab_broken_event as function(byval widget as GtkWidget ptr, byval event as GdkEventGrabBroken ptr) as gboolean 713 selection_get as sub(byval widget as GtkWidget ptr, byval selection_data as GtkSelectionData ptr, byval info as guint, byval time_ as guint) 714 selection_received as sub(byval widget as GtkWidget ptr, byval selection_data as GtkSelectionData ptr, byval time_ as guint) 715 drag_begin as sub(byval widget as GtkWidget ptr, byval context as GdkDragContext ptr) 716 drag_end as sub(byval widget as GtkWidget ptr, byval context as GdkDragContext ptr) 717 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) 718 drag_data_delete as sub(byval widget as GtkWidget ptr, byval context as GdkDragContext ptr) 719 drag_leave as sub(byval widget as GtkWidget ptr, byval context as GdkDragContext ptr, byval time_ as guint) 720 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 721 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 722 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) 723 drag_failed as function(byval widget as GtkWidget ptr, byval context as GdkDragContext ptr, byval result as GtkDragResult) as gboolean 724 popup_menu as function(byval widget as GtkWidget ptr) as gboolean 725 show_help as function(byval widget as GtkWidget ptr, byval help_type as GtkWidgetHelpType) as gboolean 726 get_accessible as function(byval widget as GtkWidget ptr) as AtkObject ptr 727 screen_changed as sub(byval widget as GtkWidget ptr, byval previous_screen as GdkScreen ptr) 728 can_activate_accel as function(byval widget as GtkWidget ptr, byval signal_id as guint) as gboolean 729 composited_changed as sub(byval widget as GtkWidget ptr) 730 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 731 compute_expand as sub(byval widget as GtkWidget ptr, byval hexpand_p as gboolean ptr, byval vexpand_p as gboolean ptr) 732 adjust_size_request as sub(byval widget as GtkWidget ptr, byval orientation as GtkOrientation, byval minimum_size as gint ptr, byval natural_size as gint ptr) 733 adjust_size_allocation as sub(byval widget as GtkWidget ptr, byval orientation as GtkOrientation, byval minimum_size as gint ptr, byval natural_size as gint ptr, byval allocated_pos as gint ptr, byval allocated_size as gint ptr) 734 style_updated as sub(byval widget as GtkWidget ptr) 735 touch_event as function(byval widget as GtkWidget ptr, byval event as GdkEventTouch ptr) as gboolean 736 get_preferred_height_and_baseline_for_width as sub(byval widget as GtkWidget ptr, byval width as gint, byval minimum_height as gint ptr, byval natural_height as gint ptr, byval minimum_baseline as gint ptr, byval natural_baseline as gint ptr) 737 adjust_baseline_request as sub(byval widget as GtkWidget ptr, byval minimum_baseline as gint ptr, byval natural_baseline as gint ptr) 738 adjust_baseline_allocation as sub(byval widget as GtkWidget ptr, byval baseline as gint ptr) 739 queue_draw_region as sub(byval widget as GtkWidget ptr, byval region as const cairo_region_t ptr) 740 priv as GtkWidgetClassPrivate ptr 741 _gtk_reserved6 as sub() 742 _gtk_reserved7 as sub() 743 end type 744 745 type _GtkWidgetAuxInfo 746 width as gint 747 height as gint 748 halign : 4 as guint 749 valign : 4 as guint 750 margin as GtkBorder 751 end type 752 753 declare function gtk_widget_get_type() as GType 754 declare function gtk_widget_new(byval type as GType, byval first_property_name as const gchar ptr, ...) as GtkWidget ptr 755 declare sub gtk_widget_destroy(byval widget as GtkWidget ptr) 756 declare sub gtk_widget_destroyed(byval widget as GtkWidget ptr, byval widget_pointer as GtkWidget ptr ptr) 757 declare sub gtk_widget_unparent(byval widget as GtkWidget ptr) 758 declare sub gtk_widget_show(byval widget as GtkWidget ptr) 759 declare sub gtk_widget_hide(byval widget as GtkWidget ptr) 760 declare sub gtk_widget_show_now(byval widget as GtkWidget ptr) 761 declare sub gtk_widget_show_all(byval widget as GtkWidget ptr) 762 declare sub gtk_widget_set_no_show_all(byval widget as GtkWidget ptr, byval no_show_all as gboolean) 763 declare function gtk_widget_get_no_show_all(byval widget as GtkWidget ptr) as gboolean 764 declare sub gtk_widget_map(byval widget as GtkWidget ptr) 765 declare sub gtk_widget_unmap(byval widget as GtkWidget ptr) 766 declare sub gtk_widget_realize(byval widget as GtkWidget ptr) 767 declare sub gtk_widget_unrealize(byval widget as GtkWidget ptr) 768 declare sub gtk_widget_draw(byval widget as GtkWidget ptr, byval cr as cairo_t ptr) 769 declare sub gtk_widget_queue_draw(byval widget as GtkWidget ptr) 770 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) 771 declare sub gtk_widget_queue_draw_region(byval widget as GtkWidget ptr, byval region as const cairo_region_t ptr) 772 declare sub gtk_widget_queue_resize(byval widget as GtkWidget ptr) 773 declare sub gtk_widget_queue_resize_no_redraw(byval widget as GtkWidget ptr) 774 declare function gtk_widget_get_frame_clock(byval widget as GtkWidget ptr) as GdkFrameClock ptr 775 declare sub gtk_widget_size_request(byval widget as GtkWidget ptr, byval requisition as GtkRequisition ptr) 776 declare sub gtk_widget_size_allocate(byval widget as GtkWidget ptr, byval allocation as GtkAllocation ptr) 777 declare sub gtk_widget_size_allocate_with_baseline(byval widget as GtkWidget ptr, byval allocation as GtkAllocation ptr, byval baseline as gint) 778 declare function gtk_widget_get_request_mode(byval widget as GtkWidget ptr) as GtkSizeRequestMode 779 declare sub gtk_widget_get_preferred_width(byval widget as GtkWidget ptr, byval minimum_width as gint ptr, byval natural_width as gint ptr) 780 declare sub gtk_widget_get_preferred_height_for_width(byval widget as GtkWidget ptr, byval width as gint, byval minimum_height as gint ptr, byval natural_height as gint ptr) 781 declare sub gtk_widget_get_preferred_height(byval widget as GtkWidget ptr, byval minimum_height as gint ptr, byval natural_height as gint ptr) 782 declare sub gtk_widget_get_preferred_width_for_height(byval widget as GtkWidget ptr, byval height as gint, byval minimum_width as gint ptr, byval natural_width as gint ptr) 783 declare sub gtk_widget_get_preferred_height_and_baseline_for_width(byval widget as GtkWidget ptr, byval width as gint, byval minimum_height as gint ptr, byval natural_height as gint ptr, byval minimum_baseline as gint ptr, byval natural_baseline as gint ptr) 784 declare sub gtk_widget_get_preferred_size(byval widget as GtkWidget ptr, byval minimum_size as GtkRequisition ptr, byval natural_size as GtkRequisition ptr) 785 declare sub gtk_widget_get_child_requisition(byval widget as GtkWidget ptr, byval requisition as GtkRequisition ptr) 786 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) 787 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 788 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) 789 declare function gtk_widget_list_accel_closures(byval widget as GtkWidget ptr) as GList ptr 790 declare function gtk_widget_can_activate_accel(byval widget as GtkWidget ptr, byval signal_id as guint) as gboolean 791 declare function gtk_widget_mnemonic_activate(byval widget as GtkWidget ptr, byval group_cycling as gboolean) as gboolean 792 declare function gtk_widget_event(byval widget as GtkWidget ptr, byval event as GdkEvent ptr) as gboolean 793 declare function gtk_widget_send_expose(byval widget as GtkWidget ptr, byval event as GdkEvent ptr) as gint 794 declare function gtk_widget_send_focus_change(byval widget as GtkWidget ptr, byval event as GdkEvent ptr) as gboolean 795 declare function gtk_widget_activate(byval widget as GtkWidget ptr) as gboolean 796 declare sub gtk_widget_reparent(byval widget as GtkWidget ptr, byval new_parent as GtkWidget ptr) 797 declare function gtk_widget_intersect(byval widget as GtkWidget ptr, byval area as const GdkRectangle ptr, byval intersection as GdkRectangle ptr) as gboolean 798 declare function gtk_widget_region_intersect(byval widget as GtkWidget ptr, byval region as const cairo_region_t ptr) as cairo_region_t ptr 799 declare sub gtk_widget_freeze_child_notify(byval widget as GtkWidget ptr) 800 declare sub gtk_widget_child_notify(byval widget as GtkWidget ptr, byval child_property as const gchar ptr) 801 declare sub gtk_widget_thaw_child_notify(byval widget as GtkWidget ptr) 802 declare sub gtk_widget_set_can_focus(byval widget as GtkWidget ptr, byval can_focus as gboolean) 803 declare function gtk_widget_get_can_focus(byval widget as GtkWidget ptr) as gboolean 804 declare function gtk_widget_has_focus(byval widget as GtkWidget ptr) as gboolean 805 declare function gtk_widget_is_focus(byval widget as GtkWidget ptr) as gboolean 806 declare function gtk_widget_has_visible_focus(byval widget as GtkWidget ptr) as gboolean 807 declare sub gtk_widget_grab_focus(byval widget as GtkWidget ptr) 808 declare sub gtk_widget_set_can_default(byval widget as GtkWidget ptr, byval can_default as gboolean) 809 declare function gtk_widget_get_can_default(byval widget as GtkWidget ptr) as gboolean 810 declare function gtk_widget_has_default(byval widget as GtkWidget ptr) as gboolean 811 declare sub gtk_widget_grab_default(byval widget as GtkWidget ptr) 812 declare sub gtk_widget_set_receives_default(byval widget as GtkWidget ptr, byval receives_default as gboolean) 813 declare function gtk_widget_get_receives_default(byval widget as GtkWidget ptr) as gboolean 814 declare function gtk_widget_has_grab(byval widget as GtkWidget ptr) as gboolean 815 declare function gtk_widget_device_is_shadowed(byval widget as GtkWidget ptr, byval device as GdkDevice ptr) as gboolean 816 declare sub gtk_widget_set_name(byval widget as GtkWidget ptr, byval name as const gchar ptr) 817 declare function gtk_widget_get_name(byval widget as GtkWidget ptr) as const gchar ptr 818 declare sub gtk_widget_set_state(byval widget as GtkWidget ptr, byval state as GtkStateType) 819 declare function gtk_widget_get_state(byval widget as GtkWidget ptr) as GtkStateType 820 declare sub gtk_widget_set_state_flags(byval widget as GtkWidget ptr, byval flags as GtkStateFlags, byval clear as gboolean) 821 declare sub gtk_widget_unset_state_flags(byval widget as GtkWidget ptr, byval flags as GtkStateFlags) 822 declare function gtk_widget_get_state_flags(byval widget as GtkWidget ptr) as GtkStateFlags 823 declare sub gtk_widget_set_sensitive(byval widget as GtkWidget ptr, byval sensitive as gboolean) 824 declare function gtk_widget_get_sensitive(byval widget as GtkWidget ptr) as gboolean 825 declare function gtk_widget_is_sensitive(byval widget as GtkWidget ptr) as gboolean 826 declare sub gtk_widget_set_visible(byval widget as GtkWidget ptr, byval visible as gboolean) 827 declare function gtk_widget_get_visible(byval widget as GtkWidget ptr) as gboolean 828 declare function gtk_widget_is_visible(byval widget as GtkWidget ptr) as gboolean 829 declare sub gtk_widget_set_has_window(byval widget as GtkWidget ptr, byval has_window as gboolean) 830 declare function gtk_widget_get_has_window(byval widget as GtkWidget ptr) as gboolean 831 declare function gtk_widget_is_toplevel(byval widget as GtkWidget ptr) as gboolean 832 declare function gtk_widget_is_drawable(byval widget as GtkWidget ptr) as gboolean 833 declare sub gtk_widget_set_realized(byval widget as GtkWidget ptr, byval realized as gboolean) 834 declare function gtk_widget_get_realized(byval widget as GtkWidget ptr) as gboolean 835 declare sub gtk_widget_set_mapped(byval widget as GtkWidget ptr, byval mapped as gboolean) 836 declare function gtk_widget_get_mapped(byval widget as GtkWidget ptr) as gboolean 837 declare sub gtk_widget_set_app_paintable(byval widget as GtkWidget ptr, byval app_paintable as gboolean) 838 declare function gtk_widget_get_app_paintable(byval widget as GtkWidget ptr) as gboolean 839 declare sub gtk_widget_set_double_buffered(byval widget as GtkWidget ptr, byval double_buffered as gboolean) 840 declare function gtk_widget_get_double_buffered(byval widget as GtkWidget ptr) as gboolean 841 declare sub gtk_widget_set_redraw_on_allocate(byval widget as GtkWidget ptr, byval redraw_on_allocate as gboolean) 842 declare sub gtk_widget_set_parent(byval widget as GtkWidget ptr, byval parent as GtkWidget ptr) 843 declare function gtk_widget_get_parent(byval widget as GtkWidget ptr) as GtkWidget ptr 844 declare sub gtk_widget_set_parent_window(byval widget as GtkWidget ptr, byval parent_window as GdkWindow ptr) 845 declare function gtk_widget_get_parent_window(byval widget as GtkWidget ptr) as GdkWindow ptr 846 declare sub gtk_widget_set_child_visible(byval widget as GtkWidget ptr, byval is_visible as gboolean) 847 declare function gtk_widget_get_child_visible(byval widget as GtkWidget ptr) as gboolean 848 declare sub gtk_widget_set_window(byval widget as GtkWidget ptr, byval window as GdkWindow ptr) 849 declare function gtk_widget_get_window(byval widget as GtkWidget ptr) as GdkWindow ptr 850 declare sub gtk_widget_register_window(byval widget as GtkWidget ptr, byval window as GdkWindow ptr) 851 declare sub gtk_widget_unregister_window(byval widget as GtkWidget ptr, byval window as GdkWindow ptr) 852 declare function gtk_widget_get_allocated_width(byval widget as GtkWidget ptr) as long 853 declare function gtk_widget_get_allocated_height(byval widget as GtkWidget ptr) as long 854 declare function gtk_widget_get_allocated_baseline(byval widget as GtkWidget ptr) as long 855 declare sub gtk_widget_get_allocation(byval widget as GtkWidget ptr, byval allocation as GtkAllocation ptr) 856 declare sub gtk_widget_set_allocation(byval widget as GtkWidget ptr, byval allocation as const GtkAllocation ptr) 857 declare sub gtk_widget_set_clip(byval widget as GtkWidget ptr, byval clip as const GtkAllocation ptr) 858 declare sub gtk_widget_get_clip(byval widget as GtkWidget ptr, byval clip as GtkAllocation ptr) 859 declare sub gtk_widget_get_requisition(byval widget as GtkWidget ptr, byval requisition as GtkRequisition ptr) 860 declare function gtk_widget_child_focus(byval widget as GtkWidget ptr, byval direction as GtkDirectionType) as gboolean 861 declare function gtk_widget_keynav_failed(byval widget as GtkWidget ptr, byval direction as GtkDirectionType) as gboolean 862 declare sub gtk_widget_error_bell(byval widget as GtkWidget ptr) 863 declare sub gtk_widget_set_size_request(byval widget as GtkWidget ptr, byval width as gint, byval height as gint) 864 declare sub gtk_widget_get_size_request(byval widget as GtkWidget ptr, byval width as gint ptr, byval height as gint ptr) 865 declare sub gtk_widget_set_events(byval widget as GtkWidget ptr, byval events as gint) 866 declare sub gtk_widget_add_events(byval widget as GtkWidget ptr, byval events as gint) 867 declare sub gtk_widget_set_device_events(byval widget as GtkWidget ptr, byval device as GdkDevice ptr, byval events as GdkEventMask) 868 declare sub gtk_widget_add_device_events(byval widget as GtkWidget ptr, byval device as GdkDevice ptr, byval events as GdkEventMask) 869 declare sub gtk_widget_set_opacity(byval widget as GtkWidget ptr, byval opacity as double) 870 declare function gtk_widget_get_opacity(byval widget as GtkWidget ptr) as double 871 declare sub gtk_widget_set_device_enabled(byval widget as GtkWidget ptr, byval device as GdkDevice ptr, byval enabled as gboolean) 872 declare function gtk_widget_get_device_enabled(byval widget as GtkWidget ptr, byval device as GdkDevice ptr) as gboolean 873 declare function gtk_widget_get_toplevel(byval widget as GtkWidget ptr) as GtkWidget ptr 874 declare function gtk_widget_get_ancestor(byval widget as GtkWidget ptr, byval widget_type as GType) as GtkWidget ptr 875 declare function gtk_widget_get_visual(byval widget as GtkWidget ptr) as GdkVisual ptr 876 declare sub gtk_widget_set_visual(byval widget as GtkWidget ptr, byval visual as GdkVisual ptr) 877 declare function gtk_widget_get_screen(byval widget as GtkWidget ptr) as GdkScreen ptr 878 declare function gtk_widget_has_screen(byval widget as GtkWidget ptr) as gboolean 879 declare function gtk_widget_get_scale_factor(byval widget as GtkWidget ptr) as gint 880 declare function gtk_widget_get_display(byval widget as GtkWidget ptr) as GdkDisplay ptr 881 declare function gtk_widget_get_root_window(byval widget as GtkWidget ptr) as GdkWindow ptr 882 declare function gtk_widget_get_settings(byval widget as GtkWidget ptr) as GtkSettings ptr 883 declare function gtk_widget_get_clipboard(byval widget as GtkWidget ptr, byval selection as GdkAtom) as GtkClipboard ptr 884 declare function gtk_widget_get_hexpand(byval widget as GtkWidget ptr) as gboolean 885 declare sub gtk_widget_set_hexpand(byval widget as GtkWidget ptr, byval expand as gboolean) 886 declare function gtk_widget_get_hexpand_set(byval widget as GtkWidget ptr) as gboolean 887 declare sub gtk_widget_set_hexpand_set(byval widget as GtkWidget ptr, byval set as gboolean) 888 declare function gtk_widget_get_vexpand(byval widget as GtkWidget ptr) as gboolean 889 declare sub gtk_widget_set_vexpand(byval widget as GtkWidget ptr, byval expand as gboolean) 890 declare function gtk_widget_get_vexpand_set(byval widget as GtkWidget ptr) as gboolean 891 declare sub gtk_widget_set_vexpand_set(byval widget as GtkWidget ptr, byval set as gboolean) 892 declare sub gtk_widget_queue_compute_expand(byval widget as GtkWidget ptr) 893 declare function gtk_widget_compute_expand(byval widget as GtkWidget ptr, byval orientation as GtkOrientation) as gboolean 894 declare function gtk_widget_get_support_multidevice(byval widget as GtkWidget ptr) as gboolean 895 declare sub gtk_widget_set_support_multidevice(byval widget as GtkWidget ptr, byval support_multidevice as gboolean) 896 declare sub gtk_widget_class_set_accessible_type(byval widget_class as GtkWidgetClass ptr, byval type as GType) 897 declare sub gtk_widget_class_set_accessible_role(byval widget_class as GtkWidgetClass ptr, byval role as AtkRole) 898 declare function gtk_widget_get_accessible(byval widget as GtkWidget ptr) as AtkObject ptr 899 declare function gtk_widget_get_halign(byval widget as GtkWidget ptr) as GtkAlign 900 declare sub gtk_widget_set_halign(byval widget as GtkWidget ptr, byval align as GtkAlign) 901 declare function gtk_widget_get_valign(byval widget as GtkWidget ptr) as GtkAlign 902 declare function gtk_widget_get_valign_with_baseline(byval widget as GtkWidget ptr) as GtkAlign 903 declare sub gtk_widget_set_valign(byval widget as GtkWidget ptr, byval align as GtkAlign) 904 declare function gtk_widget_get_margin_left(byval widget as GtkWidget ptr) as gint 905 declare sub gtk_widget_set_margin_left(byval widget as GtkWidget ptr, byval margin as gint) 906 declare function gtk_widget_get_margin_right(byval widget as GtkWidget ptr) as gint 907 declare sub gtk_widget_set_margin_right(byval widget as GtkWidget ptr, byval margin as gint) 908 declare function gtk_widget_get_margin_start(byval widget as GtkWidget ptr) as gint 909 declare sub gtk_widget_set_margin_start(byval widget as GtkWidget ptr, byval margin as gint) 910 declare function gtk_widget_get_margin_end(byval widget as GtkWidget ptr) as gint 911 declare sub gtk_widget_set_margin_end(byval widget as GtkWidget ptr, byval margin as gint) 912 declare function gtk_widget_get_margin_top(byval widget as GtkWidget ptr) as gint 913 declare sub gtk_widget_set_margin_top(byval widget as GtkWidget ptr, byval margin as gint) 914 declare function gtk_widget_get_margin_bottom(byval widget as GtkWidget ptr) as gint 915 declare sub gtk_widget_set_margin_bottom(byval widget as GtkWidget ptr, byval margin as gint) 916 declare function gtk_widget_get_events(byval widget as GtkWidget ptr) as gint 917 declare function gtk_widget_get_device_events(byval widget as GtkWidget ptr, byval device as GdkDevice ptr) as GdkEventMask 918 declare sub gtk_widget_get_pointer(byval widget as GtkWidget ptr, byval x as gint ptr, byval y as gint ptr) 919 declare function gtk_widget_is_ancestor(byval widget as GtkWidget ptr, byval ancestor as GtkWidget ptr) as gboolean 920 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 921 declare function gtk_widget_hide_on_delete(byval widget as GtkWidget ptr) as gboolean 922 declare sub gtk_widget_override_color(byval widget as GtkWidget ptr, byval state as GtkStateFlags, byval color as const GdkRGBA ptr) 923 declare sub gtk_widget_override_background_color(byval widget as GtkWidget ptr, byval state as GtkStateFlags, byval color as const GdkRGBA ptr) 924 declare sub gtk_widget_override_font(byval widget as GtkWidget ptr, byval font_desc as const PangoFontDescription ptr) 925 declare sub gtk_widget_override_symbolic_color(byval widget as GtkWidget ptr, byval name as const gchar ptr, byval color as const GdkRGBA ptr) 926 declare sub gtk_widget_override_cursor(byval widget as GtkWidget ptr, byval cursor as const GdkRGBA ptr, byval secondary_cursor as const GdkRGBA ptr) 927 declare sub gtk_widget_reset_style(byval widget as GtkWidget ptr) 928 declare function gtk_widget_create_pango_context(byval widget as GtkWidget ptr) as PangoContext ptr 929 declare function gtk_widget_get_pango_context(byval widget as GtkWidget ptr) as PangoContext ptr 930 declare function gtk_widget_create_pango_layout(byval widget as GtkWidget ptr, byval text as const gchar ptr) as PangoLayout ptr 931 declare function gtk_widget_render_icon_pixbuf(byval widget as GtkWidget ptr, byval stock_id as const gchar ptr, byval size as GtkIconSize) as GdkPixbuf ptr 932 declare sub gtk_widget_set_composite_name(byval widget as GtkWidget ptr, byval name as const gchar ptr) 933 declare function gtk_widget_get_composite_name(byval widget as GtkWidget ptr) as gchar ptr 934 declare sub gtk_widget_push_composite_child() 935 declare sub gtk_widget_pop_composite_child() 936 declare sub gtk_widget_class_install_style_property(byval klass as GtkWidgetClass ptr, byval pspec as GParamSpec ptr) 937 declare sub gtk_widget_class_install_style_property_parser(byval klass as GtkWidgetClass ptr, byval pspec as GParamSpec ptr, byval parser as GtkRcPropertyParser) 938 declare function gtk_widget_class_find_style_property(byval klass as GtkWidgetClass ptr, byval property_name as const gchar ptr) as GParamSpec ptr 939 declare function gtk_widget_class_list_style_properties(byval klass as GtkWidgetClass ptr, byval n_properties as guint ptr) as GParamSpec ptr ptr 940 declare sub gtk_widget_style_get_property(byval widget as GtkWidget ptr, byval property_name as const gchar ptr, byval value as GValue ptr) 941 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) 942 declare sub gtk_widget_style_get(byval widget as GtkWidget ptr, byval first_property_name as const gchar ptr, ...) 943 declare sub gtk_widget_set_direction(byval widget as GtkWidget ptr, byval dir as GtkTextDirection) 944 declare function gtk_widget_get_direction(byval widget as GtkWidget ptr) as GtkTextDirection 945 declare sub gtk_widget_set_default_direction(byval dir as GtkTextDirection) 946 declare function gtk_widget_get_default_direction() as GtkTextDirection 947 declare function gtk_widget_is_composited(byval widget as GtkWidget ptr) as gboolean 948 declare sub gtk_widget_shape_combine_region(byval widget as GtkWidget ptr, byval region as cairo_region_t ptr) 949 declare sub gtk_widget_input_shape_combine_region(byval widget as GtkWidget ptr, byval region as cairo_region_t ptr) 950 declare function gtk_widget_list_mnemonic_labels(byval widget as GtkWidget ptr) as GList ptr 951 declare sub gtk_widget_add_mnemonic_label(byval widget as GtkWidget ptr, byval label as GtkWidget ptr) 952 declare sub gtk_widget_remove_mnemonic_label(byval widget as GtkWidget ptr, byval label as GtkWidget ptr) 953 declare sub gtk_widget_set_tooltip_window(byval widget as GtkWidget ptr, byval custom_window as GtkWindow ptr) 954 declare function gtk_widget_get_tooltip_window(byval widget as GtkWidget ptr) as GtkWindow ptr 955 declare sub gtk_widget_trigger_tooltip_query(byval widget as GtkWidget ptr) 956 declare sub gtk_widget_set_tooltip_text(byval widget as GtkWidget ptr, byval text as const gchar ptr) 957 declare function gtk_widget_get_tooltip_text(byval widget as GtkWidget ptr) as gchar ptr 958 declare sub gtk_widget_set_tooltip_markup(byval widget as GtkWidget ptr, byval markup as const gchar ptr) 959 declare function gtk_widget_get_tooltip_markup(byval widget as GtkWidget ptr) as gchar ptr 960 declare sub gtk_widget_set_has_tooltip(byval widget as GtkWidget ptr, byval has_tooltip as gboolean) 961 declare function gtk_widget_get_has_tooltip(byval widget as GtkWidget ptr) as gboolean 962 declare function gtk_cairo_should_draw_window(byval cr as cairo_t ptr, byval window as GdkWindow ptr) as gboolean 963 declare sub gtk_cairo_transform_to_window(byval cr as cairo_t ptr, byval widget as GtkWidget ptr, byval window as GdkWindow ptr) 964 declare function gtk_requisition_get_type() as GType 965 declare function gtk_requisition_new() as GtkRequisition ptr 966 declare function gtk_requisition_copy(byval requisition as const GtkRequisition ptr) as GtkRequisition ptr 967 declare sub gtk_requisition_free(byval requisition as GtkRequisition ptr) 968 declare function gtk_widget_in_destruction(byval widget as GtkWidget ptr) as gboolean 969 declare function gtk_widget_get_style_context(byval widget as GtkWidget ptr) as GtkStyleContext ptr 970 declare function gtk_widget_get_path(byval widget as GtkWidget ptr) as GtkWidgetPath ptr 971 declare function gtk_widget_get_modifier_mask(byval widget as GtkWidget ptr, byval intent as GdkModifierIntent) as GdkModifierType 972 declare sub gtk_widget_insert_action_group(byval widget as GtkWidget ptr, byval name as const gchar ptr, byval group as GActionGroup ptr) 973 declare function gtk_widget_add_tick_callback(byval widget as GtkWidget ptr, byval callback as GtkTickCallback, byval user_data as gpointer, byval notify as GDestroyNotify) as guint 974 declare sub gtk_widget_remove_tick_callback(byval widget as GtkWidget ptr, byval id as guint) 975 976 #define gtk_widget_class_bind_template_callback(widget_class, callback) gtk_widget_class_bind_template_callback_full(GTK_WIDGET_CLASS(widget_class), #callback, G_CALLBACK(callback)) 977 #define gtk_widget_class_bind_template_child(widget_class, TypeName, member_name) gtk_widget_class_bind_template_child_full(widget_class, #member_name, FALSE, G_STRUCT_OFFSET(TypeName, member_name)) 978 #define gtk_widget_class_bind_template_child_internal(widget_class, TypeName, member_name) gtk_widget_class_bind_template_child_full(widget_class, #member_name, CTRUE, G_STRUCT_OFFSET(TypeName, member_name)) 979 #define gtk_widget_class_bind_template_child_private(widget_class, TypeName, member_name) gtk_widget_class_bind_template_child_full(widget_class, #member_name, FALSE, G_PRIVATE_OFFSET(TypeName, member_name)) 980 #define gtk_widget_class_bind_template_child_internal_private(widget_class, TypeName, member_name) gtk_widget_class_bind_template_child_full(widget_class, #member_name, CTRUE, G_PRIVATE_OFFSET(TypeName, member_name)) 981 982 declare sub gtk_widget_init_template(byval widget as GtkWidget ptr) 983 declare function gtk_widget_get_template_child(byval widget as GtkWidget ptr, byval widget_type as GType, byval name as const gchar ptr) as GObject ptr 984 declare sub gtk_widget_class_set_template(byval widget_class as GtkWidgetClass ptr, byval template_bytes as GBytes ptr) 985 declare sub gtk_widget_class_set_template_from_resource(byval widget_class as GtkWidgetClass ptr, byval resource_name as const gchar ptr) 986 declare sub gtk_widget_class_bind_template_callback_full(byval widget_class as GtkWidgetClass ptr, byval callback_name as const gchar ptr, byval callback_symbol as GCallback) 987 declare sub gtk_widget_class_set_connect_func(byval widget_class as GtkWidgetClass ptr, byval connect_func as GtkBuilderConnectFunc, byval connect_data as gpointer, byval connect_data_destroy as GDestroyNotify) 988 declare sub gtk_widget_class_bind_template_child_full(byval widget_class as GtkWidgetClass ptr, byval name as const gchar ptr, byval internal_child as gboolean, byval struct_offset as gssize) 989 declare function gtk_widget_get_action_group(byval widget as GtkWidget ptr, byval prefix as const gchar ptr) as GActionGroup ptr 990 declare function gtk_widget_list_action_prefixes(byval widget as GtkWidget ptr) as const gchar ptr ptr 991 992 #define GTK_TYPE_APPLICATION gtk_application_get_type() 993 #define GTK_APPLICATION(obj) G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_APPLICATION, GtkApplication) 994 #define GTK_APPLICATION_CLASS(klass) G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_APPLICATION, GtkApplicationClass) 995 #define GTK_IS_APPLICATION(obj) G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_APPLICATION) 996 #define GTK_IS_APPLICATION_CLASS(klass) G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_APPLICATION) 997 #define GTK_APPLICATION_GET_CLASS(obj) G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_APPLICATION, GtkApplicationClass) 998 999 type GtkApplication as _GtkApplication 1000 type GtkApplicationClass as _GtkApplicationClass 1001 type GtkApplicationPrivate as _GtkApplicationPrivate 1002 1003 type _GtkApplication 1004 parent as GApplication 1005 priv as GtkApplicationPrivate ptr 1006 end type 1007 1008 type _GtkApplicationClass 1009 parent_class as GApplicationClass 1010 window_added as sub(byval application as GtkApplication ptr, byval window as GtkWindow ptr) 1011 window_removed as sub(byval application as GtkApplication ptr, byval window as GtkWindow ptr) 1012 padding(0 to 11) as gpointer 1013 end type 1014 1015 declare function gtk_application_get_type() as GType 1016 declare function gtk_application_new(byval application_id as const gchar ptr, byval flags as GApplicationFlags) as GtkApplication ptr 1017 declare sub gtk_application_add_window(byval application as GtkApplication ptr, byval window as GtkWindow ptr) 1018 declare sub gtk_application_remove_window(byval application as GtkApplication ptr, byval window as GtkWindow ptr) 1019 declare function gtk_application_get_windows(byval application as GtkApplication ptr) as GList ptr 1020 declare function gtk_application_get_app_menu(byval application as GtkApplication ptr) as GMenuModel ptr 1021 declare sub gtk_application_set_app_menu(byval application as GtkApplication ptr, byval app_menu as GMenuModel ptr) 1022 declare function gtk_application_get_menubar(byval application as GtkApplication ptr) as GMenuModel ptr 1023 declare sub gtk_application_set_menubar(byval application as GtkApplication ptr, byval menubar as GMenuModel ptr) 1024 declare sub gtk_application_add_accelerator(byval application as GtkApplication ptr, byval accelerator as const gchar ptr, byval action_name as const gchar ptr, byval parameter as GVariant ptr) 1025 declare sub gtk_application_remove_accelerator(byval application as GtkApplication ptr, byval action_name as const gchar ptr, byval parameter as GVariant ptr) 1026 1027 type GtkApplicationInhibitFlags as long 1028 enum 1029 GTK_APPLICATION_INHIBIT_LOGOUT = 1 shl 0 1030 GTK_APPLICATION_INHIBIT_SWITCH = 1 shl 1 1031 GTK_APPLICATION_INHIBIT_SUSPEND = 1 shl 2 1032 GTK_APPLICATION_INHIBIT_IDLE = 1 shl 3 1033 end enum 1034 1035 declare function gtk_application_inhibit(byval application as GtkApplication ptr, byval window as GtkWindow ptr, byval flags as GtkApplicationInhibitFlags, byval reason as const gchar ptr) as guint 1036 declare sub gtk_application_uninhibit(byval application as GtkApplication ptr, byval cookie as guint) 1037 declare function gtk_application_is_inhibited(byval application as GtkApplication ptr, byval flags as GtkApplicationInhibitFlags) as gboolean 1038 declare function gtk_application_get_window_by_id(byval application as GtkApplication ptr, byval id as guint) as GtkWindow ptr 1039 declare function gtk_application_get_active_window(byval application as GtkApplication ptr) as GtkWindow ptr 1040 declare function gtk_application_list_action_descriptions(byval application as GtkApplication ptr) as gchar ptr ptr 1041 declare function gtk_application_get_accels_for_action(byval application as GtkApplication ptr, byval detailed_action_name as const gchar ptr) as gchar ptr ptr 1042 declare function gtk_application_get_actions_for_accel(byval application as GtkApplication ptr, byval accel as const gchar ptr) as gchar ptr ptr 1043 declare sub gtk_application_set_accels_for_action(byval application as GtkApplication ptr, byval detailed_action_name as const gchar ptr, byval accels as const gchar const ptr ptr) 1044 declare function gtk_application_prefers_app_menu(byval application as GtkApplication ptr) as gboolean 1045 declare function gtk_application_get_menu_by_id(byval application as GtkApplication ptr, byval id as const gchar ptr) as GMenu ptr 1046 1047 #define __GTK_BIN_H__ 1048 #define __GTK_CONTAINER_H__ 1049 #define GTK_TYPE_CONTAINER gtk_container_get_type() 1050 #define GTK_CONTAINER(obj) G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_CONTAINER, GtkContainer) 1051 #define GTK_CONTAINER_CLASS(klass) G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_CONTAINER, GtkContainerClass) 1052 #define GTK_IS_CONTAINER(obj) G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_CONTAINER) 1053 #define GTK_IS_CONTAINER_CLASS(klass) G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_CONTAINER) 1054 #define GTK_CONTAINER_GET_CLASS(obj) G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_CONTAINER, GtkContainerClass) 1055 1056 type GtkContainer as _GtkContainer 1057 type GtkContainerPrivate as _GtkContainerPrivate 1058 type GtkContainerClass as _GtkContainerClass 1059 1060 type _GtkContainer 1061 widget as GtkWidget 1062 priv as GtkContainerPrivate ptr 1063 end type 1064 1065 type _GtkContainerClass 1066 parent_class as GtkWidgetClass 1067 add as sub(byval container as GtkContainer ptr, byval widget as GtkWidget ptr) 1068 remove as sub(byval container as GtkContainer ptr, byval widget as GtkWidget ptr) 1069 check_resize as sub(byval container as GtkContainer ptr) 1070 forall as sub(byval container as GtkContainer ptr, byval include_internals as gboolean, byval callback as GtkCallback, byval callback_data as gpointer) 1071 set_focus_child as sub(byval container as GtkContainer ptr, byval child as GtkWidget ptr) 1072 child_type as function(byval container as GtkContainer ptr) as GType 1073 composite_name as function(byval container as GtkContainer ptr, byval child as GtkWidget ptr) as gchar ptr 1074 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) 1075 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) 1076 get_path_for_child as function(byval container as GtkContainer ptr, byval child as GtkWidget ptr) as GtkWidgetPath ptr 1077 _handle_border_width : 1 as ulong 1078 _gtk_reserved1 as sub() 1079 _gtk_reserved2 as sub() 1080 _gtk_reserved3 as sub() 1081 _gtk_reserved4 as sub() 1082 _gtk_reserved5 as sub() 1083 _gtk_reserved6 as sub() 1084 _gtk_reserved7 as sub() 1085 _gtk_reserved8 as sub() 1086 end type 1087 1088 type GtkResizeMode as long 1089 enum 1090 GTK_RESIZE_PARENT 1091 GTK_RESIZE_QUEUE 1092 GTK_RESIZE_IMMEDIATE 1093 end enum 1094 1095 declare function gtk_container_get_type() as GType 1096 declare sub gtk_container_set_border_width(byval container as GtkContainer ptr, byval border_width as guint) 1097 declare function gtk_container_get_border_width(byval container as GtkContainer ptr) as guint 1098 declare sub gtk_container_add(byval container as GtkContainer ptr, byval widget as GtkWidget ptr) 1099 declare sub gtk_container_remove(byval container as GtkContainer ptr, byval widget as GtkWidget ptr) 1100 declare sub gtk_container_set_resize_mode(byval container as GtkContainer ptr, byval resize_mode as GtkResizeMode) 1101 declare function gtk_container_get_resize_mode(byval container as GtkContainer ptr) as GtkResizeMode 1102 declare sub gtk_container_check_resize(byval container as GtkContainer ptr) 1103 declare sub gtk_container_foreach(byval container as GtkContainer ptr, byval callback as GtkCallback, byval callback_data as gpointer) 1104 declare function gtk_container_get_children(byval container as GtkContainer ptr) as GList ptr 1105 declare sub gtk_container_propagate_draw(byval container as GtkContainer ptr, byval child as GtkWidget ptr, byval cr as cairo_t ptr) 1106 declare sub gtk_container_set_focus_chain(byval container as GtkContainer ptr, byval focusable_widgets as GList ptr) 1107 declare function gtk_container_get_focus_chain(byval container as GtkContainer ptr, byval focusable_widgets as GList ptr ptr) as gboolean 1108 declare sub gtk_container_unset_focus_chain(byval container as GtkContainer ptr) 1109 #define GTK_IS_RESIZE_CONTAINER(widget) (GTK_IS_CONTAINER(widget) andalso (gtk_container_get_resize_mode(GTK_CONTAINER(widget)) <> GTK_RESIZE_PARENT)) 1110 declare sub gtk_container_set_reallocate_redraws(byval container as GtkContainer ptr, byval needs_redraws as gboolean) 1111 declare sub gtk_container_set_focus_child(byval container as GtkContainer ptr, byval child as GtkWidget ptr) 1112 declare function gtk_container_get_focus_child(byval container as GtkContainer ptr) as GtkWidget ptr 1113 declare sub gtk_container_set_focus_vadjustment(byval container as GtkContainer ptr, byval adjustment as GtkAdjustment ptr) 1114 declare function gtk_container_get_focus_vadjustment(byval container as GtkContainer ptr) as GtkAdjustment ptr 1115 declare sub gtk_container_set_focus_hadjustment(byval container as GtkContainer ptr, byval adjustment as GtkAdjustment ptr) 1116 declare function gtk_container_get_focus_hadjustment(byval container as GtkContainer ptr) as GtkAdjustment ptr 1117 declare sub gtk_container_resize_children(byval container as GtkContainer ptr) 1118 declare function gtk_container_child_type(byval container as GtkContainer ptr) as GType 1119 declare sub gtk_container_class_install_child_property(byval cclass as GtkContainerClass ptr, byval property_id as guint, byval pspec as GParamSpec ptr) 1120 declare function gtk_container_class_find_child_property(byval cclass as GObjectClass ptr, byval property_name as const gchar ptr) as GParamSpec ptr 1121 declare function gtk_container_class_list_child_properties(byval cclass as GObjectClass ptr, byval n_properties as guint ptr) as GParamSpec ptr ptr 1122 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, ...) 1123 declare sub gtk_container_child_set(byval container as GtkContainer ptr, byval child as GtkWidget ptr, byval first_prop_name as const gchar ptr, ...) 1124 declare sub gtk_container_child_get(byval container as GtkContainer ptr, byval child as GtkWidget ptr, byval first_prop_name as const gchar ptr, ...) 1125 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) 1126 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) 1127 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) 1128 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) 1129 declare sub gtk_container_child_notify(byval container as GtkContainer ptr, byval child as GtkWidget ptr, byval child_property as const gchar ptr) 1130 #define GTK_CONTAINER_WARN_INVALID_CHILD_PROPERTY_ID(object, property_id, pspec) G_OBJECT_WARN_INVALID_PSPEC((object), "child property", (property_id), (pspec)) 1131 declare sub gtk_container_forall(byval container as GtkContainer ptr, byval callback as GtkCallback, byval callback_data as gpointer) 1132 declare sub gtk_container_class_handle_border_width(byval klass as GtkContainerClass ptr) 1133 declare function gtk_container_get_path_for_child(byval container as GtkContainer ptr, byval child as GtkWidget ptr) as GtkWidgetPath ptr 1134 1135 #define GTK_TYPE_BIN gtk_bin_get_type() 1136 #define GTK_BIN(obj) G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_BIN, GtkBin) 1137 #define GTK_BIN_CLASS(klass) G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_BIN, GtkBinClass) 1138 #define GTK_IS_BIN(obj) G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_BIN) 1139 #define GTK_IS_BIN_CLASS(klass) G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_BIN) 1140 #define GTK_BIN_GET_CLASS(obj) G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_BIN, GtkBinClass) 1141 1142 type GtkBin as _GtkBin 1143 type GtkBinPrivate as _GtkBinPrivate 1144 type GtkBinClass as _GtkBinClass 1145 1146 type _GtkBin 1147 container as GtkContainer 1148 priv as GtkBinPrivate ptr 1149 end type 1150 1151 type _GtkBinClass 1152 parent_class as GtkContainerClass 1153 _gtk_reserved1 as sub() 1154 _gtk_reserved2 as sub() 1155 _gtk_reserved3 as sub() 1156 _gtk_reserved4 as sub() 1157 end type 1158 1159 declare function gtk_bin_get_type() as GType 1160 declare function gtk_bin_get_child(byval bin as GtkBin ptr) as GtkWidget ptr 1161 declare sub _gtk_bin_set_child(byval bin as GtkBin ptr, byval widget as GtkWidget ptr) 1162 1163 #define GTK_TYPE_WINDOW gtk_window_get_type() 1164 #define GTK_WINDOW(obj) G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_WINDOW, GtkWindow) 1165 #define GTK_WINDOW_CLASS(klass) G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_WINDOW, GtkWindowClass) 1166 #define GTK_IS_WINDOW(obj) G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_WINDOW) 1167 #define GTK_IS_WINDOW_CLASS(klass) G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_WINDOW) 1168 #define GTK_WINDOW_GET_CLASS(obj) G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_WINDOW, GtkWindowClass) 1169 1170 type GtkWindowPrivate as _GtkWindowPrivate 1171 type GtkWindowClass as _GtkWindowClass 1172 type GtkWindowGeometryInfo as _GtkWindowGeometryInfo 1173 type GtkWindowGroup as _GtkWindowGroup 1174 type GtkWindowGroupClass as _GtkWindowGroupClass 1175 type GtkWindowGroupPrivate as _GtkWindowGroupPrivate 1176 1177 type _GtkWindow 1178 bin as GtkBin 1179 priv as GtkWindowPrivate ptr 1180 end type 1181 1182 type _GtkWindowClass 1183 parent_class as GtkBinClass 1184 set_focus as sub(byval window as GtkWindow ptr, byval focus as GtkWidget ptr) 1185 activate_focus as sub(byval window as GtkWindow ptr) 1186 activate_default as sub(byval window as GtkWindow ptr) 1187 keys_changed as sub(byval window as GtkWindow ptr) 1188 enable_debugging as function(byval window as GtkWindow ptr, byval toggle as gboolean) as gboolean 1189 _gtk_reserved1 as sub() 1190 _gtk_reserved2 as sub() 1191 _gtk_reserved3 as sub() 1192 end type 1193 1194 type GtkWindowType as long 1195 enum 1196 GTK_WINDOW_TOPLEVEL 1197 GTK_WINDOW_POPUP 1198 end enum 1199 1200 type GtkWindowPosition as long 1201 enum 1202 GTK_WIN_POS_NONE 1203 GTK_WIN_POS_CENTER 1204 GTK_WIN_POS_MOUSE 1205 GTK_WIN_POS_CENTER_ALWAYS 1206 GTK_WIN_POS_CENTER_ON_PARENT 1207 end enum 1208 1209 declare function gtk_window_get_type() as GType 1210 declare function gtk_window_new(byval type as GtkWindowType) as GtkWidget ptr 1211 declare sub gtk_window_set_title(byval window as GtkWindow ptr, byval title as const gchar ptr) 1212 declare function gtk_window_get_title(byval window as GtkWindow ptr) as const gchar ptr 1213 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) 1214 declare sub gtk_window_set_role(byval window as GtkWindow ptr, byval role as const gchar ptr) 1215 declare sub gtk_window_set_startup_id(byval window as GtkWindow ptr, byval startup_id as const gchar ptr) 1216 declare function gtk_window_get_role(byval window as GtkWindow ptr) as const gchar ptr 1217 declare sub gtk_window_add_accel_group(byval window as GtkWindow ptr, byval accel_group as GtkAccelGroup ptr) 1218 declare sub gtk_window_remove_accel_group(byval window as GtkWindow ptr, byval accel_group as GtkAccelGroup ptr) 1219 declare sub gtk_window_set_position(byval window as GtkWindow ptr, byval position as GtkWindowPosition) 1220 declare function gtk_window_activate_focus(byval window as GtkWindow ptr) as gboolean 1221 declare sub gtk_window_set_focus(byval window as GtkWindow ptr, byval focus as GtkWidget ptr) 1222 declare function gtk_window_get_focus(byval window as GtkWindow ptr) as GtkWidget ptr 1223 declare sub gtk_window_set_default(byval window as GtkWindow ptr, byval default_widget as GtkWidget ptr) 1224 declare function gtk_window_get_default_widget(byval window as GtkWindow ptr) as GtkWidget ptr 1225 declare function gtk_window_activate_default(byval window as GtkWindow ptr) as gboolean 1226 declare sub gtk_window_set_transient_for(byval window as GtkWindow ptr, byval parent as GtkWindow ptr) 1227 declare function gtk_window_get_transient_for(byval window as GtkWindow ptr) as GtkWindow ptr 1228 declare sub gtk_window_set_attached_to(byval window as GtkWindow ptr, byval attach_widget as GtkWidget ptr) 1229 declare function gtk_window_get_attached_to(byval window as GtkWindow ptr) as GtkWidget ptr 1230 declare sub gtk_window_set_opacity(byval window as GtkWindow ptr, byval opacity as gdouble) 1231 declare function gtk_window_get_opacity(byval window as GtkWindow ptr) as gdouble 1232 declare sub gtk_window_set_type_hint(byval window as GtkWindow ptr, byval hint as GdkWindowTypeHint) 1233 declare function gtk_window_get_type_hint(byval window as GtkWindow ptr) as GdkWindowTypeHint 1234 declare sub gtk_window_set_skip_taskbar_hint(byval window as GtkWindow ptr, byval setting as gboolean) 1235 declare function gtk_window_get_skip_taskbar_hint(byval window as GtkWindow ptr) as gboolean 1236 declare sub gtk_window_set_skip_pager_hint(byval window as GtkWindow ptr, byval setting as gboolean) 1237 declare function gtk_window_get_skip_pager_hint(byval window as GtkWindow ptr) as gboolean 1238 declare sub gtk_window_set_urgency_hint(byval window as GtkWindow ptr, byval setting as gboolean) 1239 declare function gtk_window_get_urgency_hint(byval window as GtkWindow ptr) as gboolean 1240 declare sub gtk_window_set_accept_focus(byval window as GtkWindow ptr, byval setting as gboolean) 1241 declare function gtk_window_get_accept_focus(byval window as GtkWindow ptr) as gboolean 1242 declare sub gtk_window_set_focus_on_map(byval window as GtkWindow ptr, byval setting as gboolean) 1243 declare function gtk_window_get_focus_on_map(byval window as GtkWindow ptr) as gboolean 1244 declare sub gtk_window_set_destroy_with_parent(byval window as GtkWindow ptr, byval setting as gboolean) 1245 declare function gtk_window_get_destroy_with_parent(byval window as GtkWindow ptr) as gboolean 1246 declare sub gtk_window_set_hide_titlebar_when_maximized(byval window as GtkWindow ptr, byval setting as gboolean) 1247 declare function gtk_window_get_hide_titlebar_when_maximized(byval window as GtkWindow ptr) as gboolean 1248 declare sub gtk_window_set_mnemonics_visible(byval window as GtkWindow ptr, byval setting as gboolean) 1249 declare function gtk_window_get_mnemonics_visible(byval window as GtkWindow ptr) as gboolean 1250 declare sub gtk_window_set_focus_visible(byval window as GtkWindow ptr, byval setting as gboolean) 1251 declare function gtk_window_get_focus_visible(byval window as GtkWindow ptr) as gboolean 1252 declare sub gtk_window_set_resizable(byval window as GtkWindow ptr, byval resizable as gboolean) 1253 declare function gtk_window_get_resizable(byval window as GtkWindow ptr) as gboolean 1254 declare sub gtk_window_set_gravity(byval window as GtkWindow ptr, byval gravity as GdkGravity) 1255 declare function gtk_window_get_gravity(byval window as GtkWindow ptr) as GdkGravity 1256 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) 1257 declare sub gtk_window_set_screen(byval window as GtkWindow ptr, byval screen as GdkScreen ptr) 1258 declare function gtk_window_get_screen(byval window as GtkWindow ptr) as GdkScreen ptr 1259 declare function gtk_window_is_active(byval window as GtkWindow ptr) as gboolean 1260 declare function gtk_window_has_toplevel_focus(byval window as GtkWindow ptr) as gboolean 1261 declare sub gtk_window_set_decorated(byval window as GtkWindow ptr, byval setting as gboolean) 1262 declare function gtk_window_get_decorated(byval window as GtkWindow ptr) as gboolean 1263 declare sub gtk_window_set_deletable(byval window as GtkWindow ptr, byval setting as gboolean) 1264 declare function gtk_window_get_deletable(byval window as GtkWindow ptr) as gboolean 1265 declare sub gtk_window_set_icon_list(byval window as GtkWindow ptr, byval list as GList ptr) 1266 declare function gtk_window_get_icon_list(byval window as GtkWindow ptr) as GList ptr 1267 declare sub gtk_window_set_icon(byval window as GtkWindow ptr, byval icon as GdkPixbuf ptr) 1268 declare sub gtk_window_set_icon_name(byval window as GtkWindow ptr, byval name as const gchar ptr) 1269 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 1270 declare function gtk_window_get_icon(byval window as GtkWindow ptr) as GdkPixbuf ptr 1271 declare function gtk_window_get_icon_name(byval window as GtkWindow ptr) as const gchar ptr 1272 declare sub gtk_window_set_default_icon_list(byval list as GList ptr) 1273 declare function gtk_window_get_default_icon_list() as GList ptr 1274 declare sub gtk_window_set_default_icon(byval icon as GdkPixbuf ptr) 1275 declare sub gtk_window_set_default_icon_name(byval name as const gchar ptr) 1276 declare function gtk_window_get_default_icon_name() as const gchar ptr 1277 declare function gtk_window_set_default_icon_from_file(byval filename as const gchar ptr, byval err as GError ptr ptr) as gboolean 1278 declare sub gtk_window_set_auto_startup_notification(byval setting as gboolean) 1279 declare sub gtk_window_set_modal(byval window as GtkWindow ptr, byval modal as gboolean) 1280 declare function gtk_window_get_modal(byval window as GtkWindow ptr) as gboolean 1281 declare function gtk_window_list_toplevels() as GList ptr 1282 declare sub gtk_window_set_has_user_ref_count(byval window as GtkWindow ptr, byval setting as gboolean) 1283 declare sub gtk_window_add_mnemonic(byval window as GtkWindow ptr, byval keyval as guint, byval target as GtkWidget ptr) 1284 declare sub gtk_window_remove_mnemonic(byval window as GtkWindow ptr, byval keyval as guint, byval target as GtkWidget ptr) 1285 declare function gtk_window_mnemonic_activate(byval window as GtkWindow ptr, byval keyval as guint, byval modifier as GdkModifierType) as gboolean 1286 declare sub gtk_window_set_mnemonic_modifier(byval window as GtkWindow ptr, byval modifier as GdkModifierType) 1287 declare function gtk_window_get_mnemonic_modifier(byval window as GtkWindow ptr) as GdkModifierType 1288 declare function gtk_window_activate_key(byval window as GtkWindow ptr, byval event as GdkEventKey ptr) as gboolean 1289 declare function gtk_window_propagate_key_event(byval window as GtkWindow ptr, byval event as GdkEventKey ptr) as gboolean 1290 declare sub gtk_window_present(byval window as GtkWindow ptr) 1291 declare sub gtk_window_present_with_time(byval window as GtkWindow ptr, byval timestamp as guint32) 1292 declare sub gtk_window_iconify(byval window as GtkWindow ptr) 1293 declare sub gtk_window_deiconify(byval window as GtkWindow ptr) 1294 declare sub gtk_window_stick(byval window as GtkWindow ptr) 1295 declare sub gtk_window_unstick(byval window as GtkWindow ptr) 1296 declare sub gtk_window_maximize(byval window as GtkWindow ptr) 1297 declare sub gtk_window_unmaximize(byval window as GtkWindow ptr) 1298 declare sub gtk_window_fullscreen(byval window as GtkWindow ptr) 1299 declare sub gtk_window_unfullscreen(byval window as GtkWindow ptr) 1300 declare sub gtk_window_close(byval window as GtkWindow ptr) 1301 declare sub gtk_window_set_keep_above(byval window as GtkWindow ptr, byval setting as gboolean) 1302 declare sub gtk_window_set_keep_below(byval window as GtkWindow ptr, byval setting as gboolean) 1303 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) 1304 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) 1305 declare sub gtk_window_set_default_size(byval window as GtkWindow ptr, byval width as gint, byval height as gint) 1306 declare sub gtk_window_get_default_size(byval window as GtkWindow ptr, byval width as gint ptr, byval height as gint ptr) 1307 declare sub gtk_window_resize(byval window as GtkWindow ptr, byval width as gint, byval height as gint) 1308 declare sub gtk_window_get_size(byval window as GtkWindow ptr, byval width as gint ptr, byval height as gint ptr) 1309 declare sub gtk_window_move(byval window as GtkWindow ptr, byval x as gint, byval y as gint) 1310 declare sub gtk_window_get_position(byval window as GtkWindow ptr, byval root_x as gint ptr, byval root_y as gint ptr) 1311 declare function gtk_window_parse_geometry(byval window as GtkWindow ptr, byval geometry as const gchar ptr) as gboolean 1312 declare sub gtk_window_set_default_geometry(byval window as GtkWindow ptr, byval width as gint, byval height as gint) 1313 declare sub gtk_window_resize_to_geometry(byval window as GtkWindow ptr, byval width as gint, byval height as gint) 1314 declare function gtk_window_get_group(byval window as GtkWindow ptr) as GtkWindowGroup ptr 1315 declare function gtk_window_has_group(byval window as GtkWindow ptr) as gboolean 1316 declare sub gtk_window_reshow_with_initial_size(byval window as GtkWindow ptr) 1317 declare function gtk_window_get_window_type(byval window as GtkWindow ptr) as GtkWindowType 1318 declare function gtk_window_get_application(byval window as GtkWindow ptr) as GtkApplication ptr 1319 declare sub gtk_window_set_application(byval window as GtkWindow ptr, byval application as GtkApplication ptr) 1320 declare sub gtk_window_set_has_resize_grip(byval window as GtkWindow ptr, byval value as gboolean) 1321 declare function gtk_window_get_has_resize_grip(byval window as GtkWindow ptr) as gboolean 1322 declare function gtk_window_resize_grip_is_visible(byval window as GtkWindow ptr) as gboolean 1323 declare function gtk_window_get_resize_grip_area(byval window as GtkWindow ptr, byval rect as GdkRectangle ptr) as gboolean 1324 declare sub gtk_window_set_titlebar(byval window as GtkWindow ptr, byval titlebar as GtkWidget ptr) 1325 declare function gtk_window_get_titlebar(byval window as GtkWindow ptr) as GtkWidget ptr 1326 declare function gtk_window_is_maximized(byval window as GtkWindow ptr) as gboolean 1327 declare sub gtk_window_set_interactive_debugging(byval enable as gboolean) 1328 1329 type GtkDialogFlags as long 1330 enum 1331 GTK_DIALOG_MODAL = 1 shl 0 1332 GTK_DIALOG_DESTROY_WITH_PARENT = 1 shl 1 1333 GTK_DIALOG_USE_HEADER_BAR = 1 shl 2 1334 end enum 1335 1336 type GtkResponseType as long 1337 enum 1338 GTK_RESPONSE_NONE = -1 1339 GTK_RESPONSE_REJECT = -2 1340 GTK_RESPONSE_ACCEPT = -3 1341 GTK_RESPONSE_DELETE_EVENT = -4 1342 GTK_RESPONSE_OK = -5 1343 GTK_RESPONSE_CANCEL = -6 1344 GTK_RESPONSE_CLOSE = -7 1345 GTK_RESPONSE_YES = -8 1346 GTK_RESPONSE_NO = -9 1347 GTK_RESPONSE_APPLY = -10 1348 GTK_RESPONSE_HELP = -11 1349 end enum 1350 1351 #define GTK_TYPE_DIALOG gtk_dialog_get_type() 1352 #define GTK_DIALOG(obj) G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_DIALOG, GtkDialog) 1353 #define GTK_DIALOG_CLASS(klass) G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_DIALOG, GtkDialogClass) 1354 #define GTK_IS_DIALOG(obj) G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_DIALOG) 1355 #define GTK_IS_DIALOG_CLASS(klass) G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_DIALOG) 1356 #define GTK_DIALOG_GET_CLASS(obj) G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_DIALOG, GtkDialogClass) 1357 1358 type GtkDialog as _GtkDialog 1359 type GtkDialogPrivate as _GtkDialogPrivate 1360 type GtkDialogClass as _GtkDialogClass 1361 1362 type _GtkDialog 1363 window as GtkWindow 1364 priv as GtkDialogPrivate ptr 1365 end type 1366 1367 type _GtkDialogClass 1368 parent_class as GtkWindowClass 1369 response as sub(byval dialog as GtkDialog ptr, byval response_id as gint) 1370 close as sub(byval dialog as GtkDialog ptr) 1371 _gtk_reserved1 as sub() 1372 _gtk_reserved2 as sub() 1373 _gtk_reserved3 as sub() 1374 _gtk_reserved4 as sub() 1375 end type 1376 1377 declare function gtk_dialog_get_type() as GType 1378 declare function gtk_dialog_new() as GtkWidget ptr 1379 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 1380 declare sub gtk_dialog_add_action_widget(byval dialog as GtkDialog ptr, byval child as GtkWidget ptr, byval response_id as gint) 1381 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 1382 declare sub gtk_dialog_add_buttons(byval dialog as GtkDialog ptr, byval first_button_text as const gchar ptr, ...) 1383 declare sub gtk_dialog_set_response_sensitive(byval dialog as GtkDialog ptr, byval response_id as gint, byval setting as gboolean) 1384 declare sub gtk_dialog_set_default_response(byval dialog as GtkDialog ptr, byval response_id as gint) 1385 declare function gtk_dialog_get_widget_for_response(byval dialog as GtkDialog ptr, byval response_id as gint) as GtkWidget ptr 1386 declare function gtk_dialog_get_response_for_widget(byval dialog as GtkDialog ptr, byval widget as GtkWidget ptr) as gint 1387 declare function gtk_alternative_dialog_button_order(byval screen as GdkScreen ptr) as gboolean 1388 declare sub gtk_dialog_set_alternative_button_order(byval dialog as GtkDialog ptr, byval first_response_id as gint, ...) 1389 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) 1390 declare sub gtk_dialog_response(byval dialog as GtkDialog ptr, byval response_id as gint) 1391 declare function gtk_dialog_run(byval dialog as GtkDialog ptr) as gint 1392 declare function gtk_dialog_get_action_area(byval dialog as GtkDialog ptr) as GtkWidget ptr 1393 declare function gtk_dialog_get_content_area(byval dialog as GtkDialog ptr) as GtkWidget ptr 1394 declare function gtk_dialog_get_header_bar(byval dialog as GtkDialog ptr) as GtkWidget ptr 1395 1396 #define GTK_TYPE_ABOUT_DIALOG gtk_about_dialog_get_type() 1397 #define GTK_ABOUT_DIALOG(object) G_TYPE_CHECK_INSTANCE_CAST((object), GTK_TYPE_ABOUT_DIALOG, GtkAboutDialog) 1398 #define GTK_ABOUT_DIALOG_CLASS(klass) G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_ABOUT_DIALOG, GtkAboutDialogClass) 1399 #define GTK_IS_ABOUT_DIALOG(object) G_TYPE_CHECK_INSTANCE_TYPE((object), GTK_TYPE_ABOUT_DIALOG) 1400 #define GTK_IS_ABOUT_DIALOG_CLASS(klass) G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_ABOUT_DIALOG) 1401 #define GTK_ABOUT_DIALOG_GET_CLASS(obj) G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_ABOUT_DIALOG, GtkAboutDialogClass) 1402 1403 type GtkAboutDialog as _GtkAboutDialog 1404 type GtkAboutDialogClass as _GtkAboutDialogClass 1405 type GtkAboutDialogPrivate as _GtkAboutDialogPrivate 1406 1407 type GtkLicense as long 1408 enum 1409 GTK_LICENSE_UNKNOWN 1410 GTK_LICENSE_CUSTOM 1411 GTK_LICENSE_GPL_2_0 1412 GTK_LICENSE_GPL_3_0 1413 GTK_LICENSE_LGPL_2_1 1414 GTK_LICENSE_LGPL_3_0 1415 GTK_LICENSE_BSD 1416 GTK_LICENSE_MIT_X11 1417 GTK_LICENSE_ARTISTIC 1418 GTK_LICENSE_GPL_2_0_ONLY 1419 GTK_LICENSE_GPL_3_0_ONLY 1420 GTK_LICENSE_LGPL_2_1_ONLY 1421 GTK_LICENSE_LGPL_3_0_ONLY 1422 end enum 1423 1424 type _GtkAboutDialog 1425 parent_instance as GtkDialog 1426 priv as GtkAboutDialogPrivate ptr 1427 end type 1428 1429 type _GtkAboutDialogClass 1430 parent_class as GtkDialogClass 1431 activate_link as function(byval dialog as GtkAboutDialog ptr, byval uri as const gchar ptr) as gboolean 1432 _gtk_reserved1 as sub() 1433 _gtk_reserved2 as sub() 1434 _gtk_reserved3 as sub() 1435 _gtk_reserved4 as sub() 1436 end type 1437 1438 declare function gtk_about_dialog_get_type() as GType 1439 declare function gtk_about_dialog_new() as GtkWidget ptr 1440 declare sub gtk_show_about_dialog(byval parent as GtkWindow ptr, byval first_property_name as const gchar ptr, ...) 1441 declare function gtk_about_dialog_get_program_name(byval about as GtkAboutDialog ptr) as const gchar ptr 1442 declare sub gtk_about_dialog_set_program_name(byval about as GtkAboutDialog ptr, byval name as const gchar ptr) 1443 declare function gtk_about_dialog_get_version(byval about as GtkAboutDialog ptr) as const gchar ptr 1444 declare sub gtk_about_dialog_set_version(byval about as GtkAboutDialog ptr, byval version as const gchar ptr) 1445 declare function gtk_about_dialog_get_copyright(byval about as GtkAboutDialog ptr) as const gchar ptr 1446 declare sub gtk_about_dialog_set_copyright(byval about as GtkAboutDialog ptr, byval copyright as const gchar ptr) 1447 declare function gtk_about_dialog_get_comments(byval about as GtkAboutDialog ptr) as const gchar ptr 1448 declare sub gtk_about_dialog_set_comments(byval about as GtkAboutDialog ptr, byval comments as const gchar ptr) 1449 declare function gtk_about_dialog_get_license(byval about as GtkAboutDialog ptr) as const gchar ptr 1450 declare sub gtk_about_dialog_set_license(byval about as GtkAboutDialog ptr, byval license as const gchar ptr) 1451 declare sub gtk_about_dialog_set_license_type(byval about as GtkAboutDialog ptr, byval license_type as GtkLicense) 1452 declare function gtk_about_dialog_get_license_type(byval about as GtkAboutDialog ptr) as GtkLicense 1453 declare function gtk_about_dialog_get_wrap_license(byval about as GtkAboutDialog ptr) as gboolean 1454 declare sub gtk_about_dialog_set_wrap_license(byval about as GtkAboutDialog ptr, byval wrap_license as gboolean) 1455 declare function gtk_about_dialog_get_website(byval about as GtkAboutDialog ptr) as const gchar ptr 1456 declare sub gtk_about_dialog_set_website(byval about as GtkAboutDialog ptr, byval website as const gchar ptr) 1457 declare function gtk_about_dialog_get_website_label(byval about as GtkAboutDialog ptr) as const gchar ptr 1458 declare sub gtk_about_dialog_set_website_label(byval about as GtkAboutDialog ptr, byval website_label as const gchar ptr) 1459 declare function gtk_about_dialog_get_authors(byval about as GtkAboutDialog ptr) as const gchar const ptr ptr 1460 declare sub gtk_about_dialog_set_authors(byval about as GtkAboutDialog ptr, byval authors as const gchar ptr ptr) 1461 declare function gtk_about_dialog_get_documenters(byval about as GtkAboutDialog ptr) as const gchar const ptr ptr 1462 declare sub gtk_about_dialog_set_documenters(byval about as GtkAboutDialog ptr, byval documenters as const gchar ptr ptr) 1463 declare function gtk_about_dialog_get_artists(byval about as GtkAboutDialog ptr) as const gchar const ptr ptr 1464 declare sub gtk_about_dialog_set_artists(byval about as GtkAboutDialog ptr, byval artists as const gchar ptr ptr) 1465 declare function gtk_about_dialog_get_translator_credits(byval about as GtkAboutDialog ptr) as const gchar ptr 1466 declare sub gtk_about_dialog_set_translator_credits(byval about as GtkAboutDialog ptr, byval translator_credits as const gchar ptr) 1467 declare function gtk_about_dialog_get_logo(byval about as GtkAboutDialog ptr) as GdkPixbuf ptr 1468 declare sub gtk_about_dialog_set_logo(byval about as GtkAboutDialog ptr, byval logo as GdkPixbuf ptr) 1469 declare function gtk_about_dialog_get_logo_icon_name(byval about as GtkAboutDialog ptr) as const gchar ptr 1470 declare sub gtk_about_dialog_set_logo_icon_name(byval about as GtkAboutDialog ptr, byval icon_name as const gchar ptr) 1471 declare sub gtk_about_dialog_add_credit_section(byval about as GtkAboutDialog ptr, byval section_name as const gchar ptr, byval people as const gchar ptr ptr) 1472 1473 #define __GTK_ACCEL_LABEL_H__ 1474 #define __GTK_LABEL_H__ 1475 #define __GTK_MISC_H__ 1476 #define GTK_TYPE_MISC gtk_misc_get_type() 1477 #define GTK_MISC(obj) G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_MISC, GtkMisc) 1478 #define GTK_MISC_CLASS(klass) G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_MISC, GtkMiscClass) 1479 #define GTK_IS_MISC(obj) G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_MISC) 1480 #define GTK_IS_MISC_CLASS(klass) G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_MISC) 1481 #define GTK_MISC_GET_CLASS(obj) G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_MISC, GtkMiscClass) 1482 1483 type GtkMisc as _GtkMisc 1484 type GtkMiscPrivate as _GtkMiscPrivate 1485 type GtkMiscClass as _GtkMiscClass 1486 1487 type _GtkMisc 1488 widget as GtkWidget 1489 priv as GtkMiscPrivate ptr 1490 end type 1491 1492 type _GtkMiscClass 1493 parent_class as GtkWidgetClass 1494 _gtk_reserved1 as sub() 1495 _gtk_reserved2 as sub() 1496 _gtk_reserved3 as sub() 1497 _gtk_reserved4 as sub() 1498 end type 1499 1500 declare function gtk_misc_get_type() as GType 1501 declare sub gtk_misc_set_alignment(byval misc as GtkMisc ptr, byval xalign as gfloat, byval yalign as gfloat) 1502 declare sub gtk_misc_get_alignment(byval misc as GtkMisc ptr, byval xalign as gfloat ptr, byval yalign as gfloat ptr) 1503 declare sub gtk_misc_set_padding(byval misc as GtkMisc ptr, byval xpad as gint, byval ypad as gint) 1504 declare sub gtk_misc_get_padding(byval misc as GtkMisc ptr, byval xpad as gint ptr, byval ypad as gint ptr) 1505 declare sub _gtk_misc_get_padding_and_border(byval misc as GtkMisc ptr, byval border as GtkBorder ptr) 1506 1507 #define __GTK_MENU_H__ 1508 #define __GTK_MENU_SHELL_H__ 1509 #define GTK_TYPE_MENU_SHELL gtk_menu_shell_get_type() 1510 #define GTK_MENU_SHELL(obj) G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_MENU_SHELL, GtkMenuShell) 1511 #define GTK_MENU_SHELL_CLASS(klass) G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_MENU_SHELL, GtkMenuShellClass) 1512 #define GTK_IS_MENU_SHELL(obj) G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_MENU_SHELL) 1513 #define GTK_IS_MENU_SHELL_CLASS(klass) G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_MENU_SHELL) 1514 #define GTK_MENU_SHELL_GET_CLASS(obj) G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_MENU_SHELL, GtkMenuShellClass) 1515 1516 type GtkMenuShell as _GtkMenuShell 1517 type GtkMenuShellClass as _GtkMenuShellClass 1518 type GtkMenuShellPrivate as _GtkMenuShellPrivate 1519 1520 type _GtkMenuShell 1521 container as GtkContainer 1522 priv as GtkMenuShellPrivate ptr 1523 end type 1524 1525 type _GtkMenuShellClass 1526 parent_class as GtkContainerClass 1527 submenu_placement : 1 as guint 1528 deactivate as sub(byval menu_shell as GtkMenuShell ptr) 1529 selection_done as sub(byval menu_shell as GtkMenuShell ptr) 1530 move_current as sub(byval menu_shell as GtkMenuShell ptr, byval direction as GtkMenuDirectionType) 1531 activate_current as sub(byval menu_shell as GtkMenuShell ptr, byval force_hide as gboolean) 1532 cancel as sub(byval menu_shell as GtkMenuShell ptr) 1533 select_item as sub(byval menu_shell as GtkMenuShell ptr, byval menu_item as GtkWidget ptr) 1534 insert as sub(byval menu_shell as GtkMenuShell ptr, byval child as GtkWidget ptr, byval position as gint) 1535 get_popup_delay as function(byval menu_shell as GtkMenuShell ptr) as gint 1536 move_selected as function(byval menu_shell as GtkMenuShell ptr, byval distance as gint) as gboolean 1537 _gtk_reserved1 as sub() 1538 _gtk_reserved2 as sub() 1539 _gtk_reserved3 as sub() 1540 _gtk_reserved4 as sub() 1541 end type 1542 1543 declare function gtk_menu_shell_get_type() as GType 1544 declare sub gtk_menu_shell_append(byval menu_shell as GtkMenuShell ptr, byval child as GtkWidget ptr) 1545 declare sub gtk_menu_shell_prepend(byval menu_shell as GtkMenuShell ptr, byval child as GtkWidget ptr) 1546 declare sub gtk_menu_shell_insert(byval menu_shell as GtkMenuShell ptr, byval child as GtkWidget ptr, byval position as gint) 1547 declare sub gtk_menu_shell_deactivate(byval menu_shell as GtkMenuShell ptr) 1548 declare sub gtk_menu_shell_select_item(byval menu_shell as GtkMenuShell ptr, byval menu_item as GtkWidget ptr) 1549 declare sub gtk_menu_shell_deselect(byval menu_shell as GtkMenuShell ptr) 1550 declare sub gtk_menu_shell_activate_item(byval menu_shell as GtkMenuShell ptr, byval menu_item as GtkWidget ptr, byval force_deactivate as gboolean) 1551 declare sub gtk_menu_shell_select_first(byval menu_shell as GtkMenuShell ptr, byval search_sensitive as gboolean) 1552 declare sub gtk_menu_shell_cancel(byval menu_shell as GtkMenuShell ptr) 1553 declare function gtk_menu_shell_get_take_focus(byval menu_shell as GtkMenuShell ptr) as gboolean 1554 declare sub gtk_menu_shell_set_take_focus(byval menu_shell as GtkMenuShell ptr, byval take_focus as gboolean) 1555 declare function gtk_menu_shell_get_selected_item(byval menu_shell as GtkMenuShell ptr) as GtkWidget ptr 1556 declare function gtk_menu_shell_get_parent_shell(byval menu_shell as GtkMenuShell ptr) as GtkWidget ptr 1557 declare sub gtk_menu_shell_bind_model(byval menu_shell as GtkMenuShell ptr, byval model as GMenuModel ptr, byval action_namespace as const gchar ptr, byval with_separators as gboolean) 1558 1559 #define GTK_TYPE_MENU gtk_menu_get_type() 1560 #define GTK_MENU(obj) G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_MENU, GtkMenu) 1561 #define GTK_MENU_CLASS(klass) G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_MENU, GtkMenuClass) 1562 #define GTK_IS_MENU(obj) G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_MENU) 1563 #define GTK_IS_MENU_CLASS(klass) G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_MENU) 1564 #define GTK_MENU_GET_CLASS(obj) G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_MENU, GtkMenuClass) 1565 1566 type GtkMenu as _GtkMenu 1567 type GtkMenuClass as _GtkMenuClass 1568 type GtkMenuPrivate as _GtkMenuPrivate 1569 1570 type GtkArrowPlacement as long 1571 enum 1572 GTK_ARROWS_BOTH 1573 GTK_ARROWS_START 1574 GTK_ARROWS_END 1575 end enum 1576 1577 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) 1578 type GtkMenuDetachFunc as sub(byval attach_widget as GtkWidget ptr, byval menu as GtkMenu ptr) 1579 1580 type _GtkMenu 1581 menu_shell as GtkMenuShell 1582 priv as GtkMenuPrivate ptr 1583 end type 1584 1585 type _GtkMenuClass 1586 parent_class as GtkMenuShellClass 1587 _gtk_reserved1 as sub() 1588 _gtk_reserved2 as sub() 1589 _gtk_reserved3 as sub() 1590 _gtk_reserved4 as sub() 1591 end type 1592 1593 declare function gtk_menu_get_type() as GType 1594 declare function gtk_menu_new() as GtkWidget ptr 1595 declare function gtk_menu_new_from_model(byval model as GMenuModel ptr) as GtkWidget ptr 1596 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) 1597 declare sub gtk_menu_popup_for_device(byval menu as GtkMenu ptr, byval device as GdkDevice ptr, byval parent_menu_shell as GtkWidget ptr, byval parent_menu_item as GtkWidget ptr, byval func as GtkMenuPositionFunc, byval data as gpointer, byval destroy as GDestroyNotify, byval button as guint, byval activate_time as guint32) 1598 declare sub gtk_menu_reposition(byval menu as GtkMenu ptr) 1599 declare sub gtk_menu_popdown(byval menu as GtkMenu ptr) 1600 declare function gtk_menu_get_active(byval menu as GtkMenu ptr) as GtkWidget ptr 1601 declare sub gtk_menu_set_active(byval menu as GtkMenu ptr, byval index as guint) 1602 declare sub gtk_menu_set_accel_group(byval menu as GtkMenu ptr, byval accel_group as GtkAccelGroup ptr) 1603 declare function gtk_menu_get_accel_group(byval menu as GtkMenu ptr) as GtkAccelGroup ptr 1604 declare sub gtk_menu_set_accel_path(byval menu as GtkMenu ptr, byval accel_path as const gchar ptr) 1605 declare function gtk_menu_get_accel_path(byval menu as GtkMenu ptr) as const gchar ptr 1606 declare sub gtk_menu_attach_to_widget(byval menu as GtkMenu ptr, byval attach_widget as GtkWidget ptr, byval detacher as GtkMenuDetachFunc) 1607 declare sub gtk_menu_detach(byval menu as GtkMenu ptr) 1608 declare function gtk_menu_get_attach_widget(byval menu as GtkMenu ptr) as GtkWidget ptr 1609 declare sub gtk_menu_set_tearoff_state(byval menu as GtkMenu ptr, byval torn_off as gboolean) 1610 declare function gtk_menu_get_tearoff_state(byval menu as GtkMenu ptr) as gboolean 1611 declare sub gtk_menu_set_title(byval menu as GtkMenu ptr, byval title as const gchar ptr) 1612 declare function gtk_menu_get_title(byval menu as GtkMenu ptr) as const gchar ptr 1613 declare sub gtk_menu_reorder_child(byval menu as GtkMenu ptr, byval child as GtkWidget ptr, byval position as gint) 1614 declare sub gtk_menu_set_screen(byval menu as GtkMenu ptr, byval screen as GdkScreen ptr) 1615 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) 1616 declare sub gtk_menu_set_monitor(byval menu as GtkMenu ptr, byval monitor_num as gint) 1617 declare function gtk_menu_get_monitor(byval menu as GtkMenu ptr) as gint 1618 declare function gtk_menu_get_for_attach_widget(byval widget as GtkWidget ptr) as GList ptr 1619 declare sub gtk_menu_set_reserve_toggle_size(byval menu as GtkMenu ptr, byval reserve_toggle_size as gboolean) 1620 declare function gtk_menu_get_reserve_toggle_size(byval menu as GtkMenu ptr) as gboolean 1621 1622 #define GTK_TYPE_LABEL gtk_label_get_type() 1623 #define GTK_LABEL(obj) G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_LABEL, GtkLabel) 1624 #define GTK_LABEL_CLASS(klass) G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_LABEL, GtkLabelClass) 1625 #define GTK_IS_LABEL(obj) G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_LABEL) 1626 #define GTK_IS_LABEL_CLASS(klass) G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_LABEL) 1627 #define GTK_LABEL_GET_CLASS(obj) G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_LABEL, GtkLabelClass) 1628 1629 type GtkLabel as _GtkLabel 1630 type GtkLabelPrivate as _GtkLabelPrivate 1631 type GtkLabelClass as _GtkLabelClass 1632 type GtkLabelSelectionInfo as _GtkLabelSelectionInfo 1633 1634 type _GtkLabel 1635 misc as GtkMisc 1636 priv as GtkLabelPrivate ptr 1637 end type 1638 1639 type _GtkLabelClass 1640 parent_class as GtkMiscClass 1641 move_cursor as sub(byval label as GtkLabel ptr, byval step as GtkMovementStep, byval count as gint, byval extend_selection as gboolean) 1642 copy_clipboard as sub(byval label as GtkLabel ptr) 1643 populate_popup as sub(byval label as GtkLabel ptr, byval menu as GtkMenu ptr) 1644 activate_link as function(byval label as GtkLabel ptr, byval uri as const gchar ptr) as gboolean 1645 _gtk_reserved1 as sub() 1646 _gtk_reserved2 as sub() 1647 _gtk_reserved3 as sub() 1648 _gtk_reserved4 as sub() 1649 _gtk_reserved5 as sub() 1650 _gtk_reserved6 as sub() 1651 _gtk_reserved7 as sub() 1652 _gtk_reserved8 as sub() 1653 end type 1654 1655 declare function gtk_label_get_type() as GType 1656 declare function gtk_label_new(byval str as const gchar ptr) as GtkWidget ptr 1657 declare function gtk_label_new_with_mnemonic(byval str as const gchar ptr) as GtkWidget ptr 1658 declare sub gtk_label_set_text(byval label as GtkLabel ptr, byval str as const gchar ptr) 1659 declare function gtk_label_get_text(byval label as GtkLabel ptr) as const gchar ptr 1660 declare sub gtk_label_set_attributes(byval label as GtkLabel ptr, byval attrs as PangoAttrList ptr) 1661 declare function gtk_label_get_attributes(byval label as GtkLabel ptr) as PangoAttrList ptr 1662 declare sub gtk_label_set_label(byval label as GtkLabel ptr, byval str as const gchar ptr) 1663 declare function gtk_label_get_label(byval label as GtkLabel ptr) as const gchar ptr 1664 declare sub gtk_label_set_markup(byval label as GtkLabel ptr, byval str as const gchar ptr) 1665 declare sub gtk_label_set_use_markup(byval label as GtkLabel ptr, byval setting as gboolean) 1666 declare function gtk_label_get_use_markup(byval label as GtkLabel ptr) as gboolean 1667 declare sub gtk_label_set_use_underline(byval label as GtkLabel ptr, byval setting as gboolean) 1668 declare function gtk_label_get_use_underline(byval label as GtkLabel ptr) as gboolean 1669 declare sub gtk_label_set_markup_with_mnemonic(byval label as GtkLabel ptr, byval str as const gchar ptr) 1670 declare function gtk_label_get_mnemonic_keyval(byval label as GtkLabel ptr) as guint 1671 declare sub gtk_label_set_mnemonic_widget(byval label as GtkLabel ptr, byval widget as GtkWidget ptr) 1672 declare function gtk_label_get_mnemonic_widget(byval label as GtkLabel ptr) as GtkWidget ptr 1673 declare sub gtk_label_set_text_with_mnemonic(byval label as GtkLabel ptr, byval str as const gchar ptr) 1674 declare sub gtk_label_set_justify(byval label as GtkLabel ptr, byval jtype as GtkJustification) 1675 declare function gtk_label_get_justify(byval label as GtkLabel ptr) as GtkJustification 1676 declare sub gtk_label_set_ellipsize(byval label as GtkLabel ptr, byval mode as PangoEllipsizeMode) 1677 declare function gtk_label_get_ellipsize(byval label as GtkLabel ptr) as PangoEllipsizeMode 1678 declare sub gtk_label_set_width_chars(byval label as GtkLabel ptr, byval n_chars as gint) 1679 declare function gtk_label_get_width_chars(byval label as GtkLabel ptr) as gint 1680 declare sub gtk_label_set_max_width_chars(byval label as GtkLabel ptr, byval n_chars as gint) 1681 declare function gtk_label_get_max_width_chars(byval label as GtkLabel ptr) as gint 1682 declare sub gtk_label_set_lines(byval label as GtkLabel ptr, byval lines as gint) 1683 declare function gtk_label_get_lines(byval label as GtkLabel ptr) as gint 1684 declare sub gtk_label_set_pattern(byval label as GtkLabel ptr, byval pattern as const gchar ptr) 1685 declare sub gtk_label_set_line_wrap(byval label as GtkLabel ptr, byval wrap as gboolean) 1686 declare function gtk_label_get_line_wrap(byval label as GtkLabel ptr) as gboolean 1687 declare sub gtk_label_set_line_wrap_mode(byval label as GtkLabel ptr, byval wrap_mode as PangoWrapMode) 1688 declare function gtk_label_get_line_wrap_mode(byval label as GtkLabel ptr) as PangoWrapMode 1689 declare sub gtk_label_set_selectable(byval label as GtkLabel ptr, byval setting as gboolean) 1690 declare function gtk_label_get_selectable(byval label as GtkLabel ptr) as gboolean 1691 declare sub gtk_label_set_angle(byval label as GtkLabel ptr, byval angle as gdouble) 1692 declare function gtk_label_get_angle(byval label as GtkLabel ptr) as gdouble 1693 declare sub gtk_label_select_region(byval label as GtkLabel ptr, byval start_offset as gint, byval end_offset as gint) 1694 declare function gtk_label_get_selection_bounds(byval label as GtkLabel ptr, byval start as gint ptr, byval end as gint ptr) as gboolean 1695 declare function gtk_label_get_layout(byval label as GtkLabel ptr) as PangoLayout ptr 1696 declare sub gtk_label_get_layout_offsets(byval label as GtkLabel ptr, byval x as gint ptr, byval y as gint ptr) 1697 declare sub gtk_label_set_single_line_mode(byval label as GtkLabel ptr, byval single_line_mode as gboolean) 1698 declare function gtk_label_get_single_line_mode(byval label as GtkLabel ptr) as gboolean 1699 declare function gtk_label_get_current_uri(byval label as GtkLabel ptr) as const gchar ptr 1700 declare sub gtk_label_set_track_visited_links(byval label as GtkLabel ptr, byval track_links as gboolean) 1701 declare function gtk_label_get_track_visited_links(byval label as GtkLabel ptr) as gboolean 1702 declare sub gtk_label_set_xalign(byval label as GtkLabel ptr, byval xalign as gfloat) 1703 declare function gtk_label_get_xalign(byval label as GtkLabel ptr) as gfloat 1704 declare sub gtk_label_set_yalign(byval label as GtkLabel ptr, byval yalign as gfloat) 1705 declare function gtk_label_get_yalign(byval label as GtkLabel ptr) as gfloat 1706 1707 #define GTK_TYPE_ACCEL_LABEL gtk_accel_label_get_type() 1708 #define GTK_ACCEL_LABEL(obj) G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_ACCEL_LABEL, GtkAccelLabel) 1709 #define GTK_ACCEL_LABEL_CLASS(klass) G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_ACCEL_LABEL, GtkAccelLabelClass) 1710 #define GTK_IS_ACCEL_LABEL(obj) G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_ACCEL_LABEL) 1711 #define GTK_IS_ACCEL_LABEL_CLASS(klass) G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_ACCEL_LABEL) 1712 #define GTK_ACCEL_LABEL_GET_CLASS(obj) G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_ACCEL_LABEL, GtkAccelLabelClass) 1713 1714 type GtkAccelLabel as _GtkAccelLabel 1715 type GtkAccelLabelClass as _GtkAccelLabelClass 1716 type GtkAccelLabelPrivate as _GtkAccelLabelPrivate 1717 1718 type _GtkAccelLabel 1719 label as GtkLabel 1720 priv as GtkAccelLabelPrivate ptr 1721 end type 1722 1723 type _GtkAccelLabelClass 1724 parent_class as GtkLabelClass 1725 signal_quote1 as gchar ptr 1726 signal_quote2 as gchar ptr 1727 mod_name_shift as gchar ptr 1728 mod_name_control as gchar ptr 1729 mod_name_alt as gchar ptr 1730 mod_separator as gchar ptr 1731 _gtk_reserved1 as sub() 1732 _gtk_reserved2 as sub() 1733 _gtk_reserved3 as sub() 1734 _gtk_reserved4 as sub() 1735 end type 1736 1737 declare function gtk_accel_label_get_type() as GType 1738 declare function gtk_accel_label_new(byval string as const gchar ptr) as GtkWidget ptr 1739 declare function gtk_accel_label_get_accel_widget(byval accel_label as GtkAccelLabel ptr) as GtkWidget ptr 1740 declare function gtk_accel_label_get_accel_width(byval accel_label as GtkAccelLabel ptr) as guint 1741 declare sub gtk_accel_label_set_accel_widget(byval accel_label as GtkAccelLabel ptr, byval accel_widget as GtkWidget ptr) 1742 declare sub gtk_accel_label_set_accel_closure(byval accel_label as GtkAccelLabel ptr, byval accel_closure as GClosure ptr) 1743 declare function gtk_accel_label_refetch(byval accel_label as GtkAccelLabel ptr) as gboolean 1744 declare sub gtk_accel_label_set_accel(byval accel_label as GtkAccelLabel ptr, byval accelerator_key as guint, byval accelerator_mods as GdkModifierType) 1745 declare sub gtk_accel_label_get_accel(byval accel_label as GtkAccelLabel ptr, byval accelerator_key as guint ptr, byval accelerator_mods as GdkModifierType ptr) 1746 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 1747 1748 #define __GTK_ACCEL_MAP_H__ 1749 #define GTK_TYPE_ACCEL_MAP gtk_accel_map_get_type() 1750 #define GTK_ACCEL_MAP(accel_map) G_TYPE_CHECK_INSTANCE_CAST((accel_map), GTK_TYPE_ACCEL_MAP, GtkAccelMap) 1751 #define GTK_ACCEL_MAP_CLASS(klass) G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_ACCEL_MAP, GtkAccelMapClass) 1752 #define GTK_IS_ACCEL_MAP(accel_map) G_TYPE_CHECK_INSTANCE_TYPE((accel_map), GTK_TYPE_ACCEL_MAP) 1753 #define GTK_IS_ACCEL_MAP_CLASS(klass) G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_ACCEL_MAP) 1754 #define GTK_ACCEL_MAP_GET_CLASS(obj) G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_ACCEL_MAP, GtkAccelMapClass) 1755 1756 type GtkAccelMap as _GtkAccelMap 1757 type GtkAccelMapClass as _GtkAccelMapClass 1758 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) 1759 1760 declare sub gtk_accel_map_add_entry(byval accel_path as const gchar ptr, byval accel_key as guint, byval accel_mods as GdkModifierType) 1761 declare function gtk_accel_map_lookup_entry(byval accel_path as const gchar ptr, byval key as GtkAccelKey ptr) as gboolean 1762 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 1763 declare sub gtk_accel_map_load(byval file_name as const gchar ptr) 1764 declare sub gtk_accel_map_save(byval file_name as const gchar ptr) 1765 declare sub gtk_accel_map_foreach(byval data as gpointer, byval foreach_func as GtkAccelMapForeach) 1766 declare sub gtk_accel_map_load_fd(byval fd as gint) 1767 declare sub gtk_accel_map_load_scanner(byval scanner as GScanner ptr) 1768 declare sub gtk_accel_map_save_fd(byval fd as gint) 1769 declare sub gtk_accel_map_lock_path(byval accel_path as const gchar ptr) 1770 declare sub gtk_accel_map_unlock_path(byval accel_path as const gchar ptr) 1771 declare sub gtk_accel_map_add_filter(byval filter_pattern as const gchar ptr) 1772 declare sub gtk_accel_map_foreach_unfiltered(byval data as gpointer, byval foreach_func as GtkAccelMapForeach) 1773 declare function gtk_accel_map_get_type() as GType 1774 declare function gtk_accel_map_get() as GtkAccelMap ptr 1775 1776 #define __GTK_ACCESSIBLE_H__ 1777 #define GTK_TYPE_ACCESSIBLE gtk_accessible_get_type() 1778 #define GTK_ACCESSIBLE(obj) G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_ACCESSIBLE, GtkAccessible) 1779 #define GTK_ACCESSIBLE_CLASS(klass) G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_ACCESSIBLE, GtkAccessibleClass) 1780 #define GTK_IS_ACCESSIBLE(obj) G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_ACCESSIBLE) 1781 #define GTK_IS_ACCESSIBLE_CLASS(klass) G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_ACCESSIBLE) 1782 #define GTK_ACCESSIBLE_GET_CLASS(obj) G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_ACCESSIBLE, GtkAccessibleClass) 1783 1784 type GtkAccessible as _GtkAccessible 1785 type GtkAccessiblePrivate as _GtkAccessiblePrivate 1786 type GtkAccessibleClass as _GtkAccessibleClass 1787 1788 type _GtkAccessible 1789 parent as AtkObject 1790 priv as GtkAccessiblePrivate ptr 1791 end type 1792 1793 type _GtkAccessibleClass 1794 parent_class as AtkObjectClass 1795 connect_widget_destroyed as sub(byval accessible as GtkAccessible ptr) 1796 widget_set as sub(byval accessible as GtkAccessible ptr) 1797 widget_unset as sub(byval accessible as GtkAccessible ptr) 1798 _gtk_reserved3 as sub() 1799 _gtk_reserved4 as sub() 1800 end type 1801 1802 declare function gtk_accessible_get_type() as GType 1803 declare sub gtk_accessible_set_widget(byval accessible as GtkAccessible ptr, byval widget as GtkWidget ptr) 1804 declare function gtk_accessible_get_widget(byval accessible as GtkAccessible ptr) as GtkWidget ptr 1805 declare sub gtk_accessible_connect_widget_destroyed(byval accessible as GtkAccessible ptr) 1806 1807 #define __GTK_ACTIONABLE_H__ 1808 #define GTK_TYPE_ACTIONABLE gtk_actionable_get_type() 1809 #define GTK_ACTIONABLE(inst) G_TYPE_CHECK_INSTANCE_CAST((inst), GTK_TYPE_ACTIONABLE, GtkActionable) 1810 #define GTK_IS_ACTIONABLE(inst) G_TYPE_CHECK_INSTANCE_TYPE((inst), GTK_TYPE_ACTIONABLE) 1811 #define GTK_ACTIONABLE_GET_IFACE(inst) G_TYPE_INSTANCE_GET_INTERFACE((inst), GTK_TYPE_ACTIONABLE, GtkActionableInterface) 1812 type GtkActionableInterface as _GtkActionableInterface 1813 type GtkActionable as _GtkActionable 1814 1815 type _GtkActionableInterface 1816 g_iface as GTypeInterface 1817 get_action_name as function(byval actionable as GtkActionable ptr) as const gchar ptr 1818 set_action_name as sub(byval actionable as GtkActionable ptr, byval action_name as const gchar ptr) 1819 get_action_target_value as function(byval actionable as GtkActionable ptr) as GVariant ptr 1820 set_action_target_value as sub(byval actionable as GtkActionable ptr, byval target_value as GVariant ptr) 1821 end type 1822 1823 declare function gtk_actionable_get_type() as GType 1824 declare function gtk_actionable_get_action_name(byval actionable as GtkActionable ptr) as const gchar ptr 1825 declare sub gtk_actionable_set_action_name(byval actionable as GtkActionable ptr, byval action_name as const gchar ptr) 1826 declare function gtk_actionable_get_action_target_value(byval actionable as GtkActionable ptr) as GVariant ptr 1827 declare sub gtk_actionable_set_action_target_value(byval actionable as GtkActionable ptr, byval target_value as GVariant ptr) 1828 declare sub gtk_actionable_set_action_target(byval actionable as GtkActionable ptr, byval format_string as const gchar ptr, ...) 1829 declare sub gtk_actionable_set_detailed_action_name(byval actionable as GtkActionable ptr, byval detailed_action_name as const gchar ptr) 1830 1831 #define __GTK_ACTION_BAR_H__ 1832 #define GTK_TYPE_ACTION_BAR gtk_action_bar_get_type() 1833 #define GTK_ACTION_BAR(obj) G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_ACTION_BAR, GtkActionBar) 1834 #define GTK_ACTION_BAR_CLASS(klass) G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_ACTION_BAR, GtkActionBarClass) 1835 #define GTK_IS_ACTION_BAR(obj) G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_ACTION_BAR) 1836 #define GTK_IS_ACTION_BAR_CLASS(klass) G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_ACTION_BAR) 1837 #define GTK_ACTION_BAR_GET_CLASS(obj) G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_ACTION_BAR, GtkActionBarClass) 1838 1839 type GtkActionBar as _GtkActionBar 1840 type GtkActionBarPrivate as _GtkActionBarPrivate 1841 type GtkActionBarClass as _GtkActionBarClass 1842 1843 type _GtkActionBar 1844 bin as GtkBin 1845 end type 1846 1847 type _GtkActionBarClass 1848 parent_class as GtkBinClass 1849 _gtk_reserved1 as sub() 1850 _gtk_reserved2 as sub() 1851 _gtk_reserved3 as sub() 1852 _gtk_reserved4 as sub() 1853 end type 1854 1855 declare function gtk_action_bar_get_type() as GType 1856 declare function gtk_action_bar_new() as GtkWidget ptr 1857 declare function gtk_action_bar_get_center_widget(byval action_bar as GtkActionBar ptr) as GtkWidget ptr 1858 declare sub gtk_action_bar_set_center_widget(byval action_bar as GtkActionBar ptr, byval center_widget as GtkWidget ptr) 1859 declare sub gtk_action_bar_pack_start(byval action_bar as GtkActionBar ptr, byval child as GtkWidget ptr) 1860 declare sub gtk_action_bar_pack_end(byval action_bar as GtkActionBar ptr, byval child as GtkWidget ptr) 1861 1862 #define __GTK_ADJUSTMENT_H__ 1863 #define GTK_TYPE_ADJUSTMENT gtk_adjustment_get_type() 1864 #define GTK_ADJUSTMENT(obj) G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_ADJUSTMENT, GtkAdjustment) 1865 #define GTK_ADJUSTMENT_CLASS(klass) G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_ADJUSTMENT, GtkAdjustmentClass) 1866 #define GTK_IS_ADJUSTMENT(obj) G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_ADJUSTMENT) 1867 #define GTK_IS_ADJUSTMENT_CLASS(klass) G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_ADJUSTMENT) 1868 #define GTK_ADJUSTMENT_GET_CLASS(obj) G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_ADJUSTMENT, GtkAdjustmentClass) 1869 type GtkAdjustmentPrivate as _GtkAdjustmentPrivate 1870 type GtkAdjustmentClass as _GtkAdjustmentClass 1871 1872 type _GtkAdjustment 1873 parent_instance as GInitiallyUnowned 1874 priv as GtkAdjustmentPrivate ptr 1875 end type 1876 1877 type _GtkAdjustmentClass 1878 parent_class as GInitiallyUnownedClass 1879 changed as sub(byval adjustment as GtkAdjustment ptr) 1880 value_changed as sub(byval adjustment as GtkAdjustment ptr) 1881 _gtk_reserved1 as sub() 1882 _gtk_reserved2 as sub() 1883 _gtk_reserved3 as sub() 1884 _gtk_reserved4 as sub() 1885 end type 1886 1887 declare function gtk_adjustment_get_type() as GType 1888 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 GtkAdjustment ptr 1889 declare sub gtk_adjustment_changed(byval adjustment as GtkAdjustment ptr) 1890 declare sub gtk_adjustment_value_changed(byval adjustment as GtkAdjustment ptr) 1891 declare sub gtk_adjustment_clamp_page(byval adjustment as GtkAdjustment ptr, byval lower as gdouble, byval upper as gdouble) 1892 declare function gtk_adjustment_get_value(byval adjustment as GtkAdjustment ptr) as gdouble 1893 declare sub gtk_adjustment_set_value(byval adjustment as GtkAdjustment ptr, byval value as gdouble) 1894 declare function gtk_adjustment_get_lower(byval adjustment as GtkAdjustment ptr) as gdouble 1895 declare sub gtk_adjustment_set_lower(byval adjustment as GtkAdjustment ptr, byval lower as gdouble) 1896 declare function gtk_adjustment_get_upper(byval adjustment as GtkAdjustment ptr) as gdouble 1897 declare sub gtk_adjustment_set_upper(byval adjustment as GtkAdjustment ptr, byval upper as gdouble) 1898 declare function gtk_adjustment_get_step_increment(byval adjustment as GtkAdjustment ptr) as gdouble 1899 declare sub gtk_adjustment_set_step_increment(byval adjustment as GtkAdjustment ptr, byval step_increment as gdouble) 1900 declare function gtk_adjustment_get_page_increment(byval adjustment as GtkAdjustment ptr) as gdouble 1901 declare sub gtk_adjustment_set_page_increment(byval adjustment as GtkAdjustment ptr, byval page_increment as gdouble) 1902 declare function gtk_adjustment_get_page_size(byval adjustment as GtkAdjustment ptr) as gdouble 1903 declare sub gtk_adjustment_set_page_size(byval adjustment as GtkAdjustment ptr, byval page_size as gdouble) 1904 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) 1905 declare function gtk_adjustment_get_minimum_increment(byval adjustment as GtkAdjustment ptr) as gdouble 1906 1907 #define __GTK_APP_CHOOSER_H__ 1908 #define GTK_TYPE_APP_CHOOSER gtk_app_chooser_get_type() 1909 #define GTK_APP_CHOOSER(obj) G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_APP_CHOOSER, GtkAppChooser) 1910 #define GTK_IS_APP_CHOOSER(obj) G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_APP_CHOOSER) 1911 type GtkAppChooser as _GtkAppChooser 1912 1913 declare function gtk_app_chooser_get_type() as GType 1914 declare function gtk_app_chooser_get_app_info(byval self as GtkAppChooser ptr) as GAppInfo ptr 1915 declare function gtk_app_chooser_get_content_type(byval self as GtkAppChooser ptr) as gchar ptr 1916 declare sub gtk_app_chooser_refresh(byval self as GtkAppChooser ptr) 1917 1918 #define __GTK_APP_CHOOSER_DIALOG_H__ 1919 #define GTK_TYPE_APP_CHOOSER_DIALOG gtk_app_chooser_dialog_get_type() 1920 #define GTK_APP_CHOOSER_DIALOG(obj) G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_APP_CHOOSER_DIALOG, GtkAppChooserDialog) 1921 #define GTK_APP_CHOOSER_DIALOG_CLASS(klass) G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_APP_CHOOSER_DIALOG, GtkAppChooserDialogClass) 1922 #define GTK_IS_APP_CHOOSER_DIALOG(obj) G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_APP_CHOOSER_DIALOG) 1923 #define GTK_IS_APP_CHOOSER_DIALOG_CLASS(klass) G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_APP_CHOOSER_DIALOG) 1924 #define GTK_APP_CHOOSER_DIALOG_GET_CLASS(obj) G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_APP_CHOOSER_DIALOG, GtkAppChooserDialogClass) 1925 1926 type GtkAppChooserDialog as _GtkAppChooserDialog 1927 type GtkAppChooserDialogClass as _GtkAppChooserDialogClass 1928 type GtkAppChooserDialogPrivate as _GtkAppChooserDialogPrivate 1929 1930 type _GtkAppChooserDialog 1931 parent as GtkDialog 1932 priv as GtkAppChooserDialogPrivate ptr 1933 end type 1934 1935 type _GtkAppChooserDialogClass 1936 parent_class as GtkDialogClass 1937 padding(0 to 15) as gpointer 1938 end type 1939 1940 declare function gtk_app_chooser_dialog_get_type() as GType 1941 declare function gtk_app_chooser_dialog_new(byval parent as GtkWindow ptr, byval flags as GtkDialogFlags, byval file as GFile ptr) as GtkWidget ptr 1942 declare function gtk_app_chooser_dialog_new_for_content_type(byval parent as GtkWindow ptr, byval flags as GtkDialogFlags, byval content_type as const gchar ptr) as GtkWidget ptr 1943 declare function gtk_app_chooser_dialog_get_widget(byval self as GtkAppChooserDialog ptr) as GtkWidget ptr 1944 declare sub gtk_app_chooser_dialog_set_heading(byval self as GtkAppChooserDialog ptr, byval heading as const gchar ptr) 1945 declare function gtk_app_chooser_dialog_get_heading(byval self as GtkAppChooserDialog ptr) as const gchar ptr 1946 1947 #define __GTK_APP_CHOOSER_WIDGET_H__ 1948 #define __GTK_BOX_H__ 1949 #define GTK_TYPE_BOX gtk_box_get_type() 1950 #define GTK_BOX(obj) G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_BOX, GtkBox) 1951 #define GTK_BOX_CLASS(klass) G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_BOX, GtkBoxClass) 1952 #define GTK_IS_BOX(obj) G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_BOX) 1953 #define GTK_IS_BOX_CLASS(klass) G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_BOX) 1954 #define GTK_BOX_GET_CLASS(obj) G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_BOX, GtkBoxClass) 1955 1956 type GtkBox as _GtkBox 1957 type GtkBoxPrivate as _GtkBoxPrivate 1958 type GtkBoxClass as _GtkBoxClass 1959 1960 type _GtkBox 1961 container as GtkContainer 1962 priv as GtkBoxPrivate ptr 1963 end type 1964 1965 type _GtkBoxClass 1966 parent_class as GtkContainerClass 1967 _gtk_reserved1 as sub() 1968 _gtk_reserved2 as sub() 1969 _gtk_reserved3 as sub() 1970 _gtk_reserved4 as sub() 1971 end type 1972 1973 declare function gtk_box_get_type() as GType 1974 declare function gtk_box_new(byval orientation as GtkOrientation, byval spacing as gint) as GtkWidget ptr 1975 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) 1976 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) 1977 declare sub gtk_box_set_homogeneous(byval box as GtkBox ptr, byval homogeneous as gboolean) 1978 declare function gtk_box_get_homogeneous(byval box as GtkBox ptr) as gboolean 1979 declare sub gtk_box_set_spacing(byval box as GtkBox ptr, byval spacing as gint) 1980 declare function gtk_box_get_spacing(byval box as GtkBox ptr) as gint 1981 declare sub gtk_box_set_baseline_position(byval box as GtkBox ptr, byval position as GtkBaselinePosition) 1982 declare function gtk_box_get_baseline_position(byval box as GtkBox ptr) as GtkBaselinePosition 1983 declare sub gtk_box_reorder_child(byval box as GtkBox ptr, byval child as GtkWidget ptr, byval position as gint) 1984 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) 1985 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) 1986 declare sub gtk_box_set_center_widget(byval box as GtkBox ptr, byval widget as GtkWidget ptr) 1987 declare function gtk_box_get_center_widget(byval box as GtkBox ptr) as GtkWidget ptr 1988 1989 #define GTK_TYPE_APP_CHOOSER_WIDGET gtk_app_chooser_widget_get_type() 1990 #define GTK_APP_CHOOSER_WIDGET(obj) G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_APP_CHOOSER_WIDGET, GtkAppChooserWidget) 1991 #define GTK_APP_CHOOSER_WIDGET_CLASS(klass) G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_APP_CHOOSER_WIDGET, GtkAppChooserWidgetClass) 1992 #define GTK_IS_APP_CHOOSER_WIDGET(obj) G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_APP_CHOOSER_WIDGET) 1993 #define GTK_IS_APP_CHOOSER_WIDGET_CLASS(klass) G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_APP_CHOOSER_WIDGET) 1994 #define GTK_APP_CHOOSER_WIDGET_GET_CLASS(obj) G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_APP_CHOOSER_WIDGET, GtkAppChooserWidgetClass) 1995 1996 type GtkAppChooserWidget as _GtkAppChooserWidget 1997 type GtkAppChooserWidgetClass as _GtkAppChooserWidgetClass 1998 type GtkAppChooserWidgetPrivate as _GtkAppChooserWidgetPrivate 1999 2000 type _GtkAppChooserWidget 2001 parent as GtkBox 2002 priv as GtkAppChooserWidgetPrivate ptr 2003 end type 2004 2005 type _GtkAppChooserWidgetClass 2006 parent_class as GtkBoxClass 2007 application_selected as sub(byval self as GtkAppChooserWidget ptr, byval app_info as GAppInfo ptr) 2008 application_activated as sub(byval self as GtkAppChooserWidget ptr, byval app_info as GAppInfo ptr) 2009 populate_popup as sub(byval self as GtkAppChooserWidget ptr, byval menu as GtkMenu ptr, byval app_info as GAppInfo ptr) 2010 padding(0 to 15) as gpointer 2011 end type 2012 2013 declare function gtk_app_chooser_widget_get_type() as GType 2014 declare function gtk_app_chooser_widget_new(byval content_type as const gchar ptr) as GtkWidget ptr 2015 declare sub gtk_app_chooser_widget_set_show_default(byval self as GtkAppChooserWidget ptr, byval setting as gboolean) 2016 declare function gtk_app_chooser_widget_get_show_default(byval self as GtkAppChooserWidget ptr) as gboolean 2017 declare sub gtk_app_chooser_widget_set_show_recommended(byval self as GtkAppChooserWidget ptr, byval setting as gboolean) 2018 declare function gtk_app_chooser_widget_get_show_recommended(byval self as GtkAppChooserWidget ptr) as gboolean 2019 declare sub gtk_app_chooser_widget_set_show_fallback(byval self as GtkAppChooserWidget ptr, byval setting as gboolean) 2020 declare function gtk_app_chooser_widget_get_show_fallback(byval self as GtkAppChooserWidget ptr) as gboolean 2021 declare sub gtk_app_chooser_widget_set_show_other(byval self as GtkAppChooserWidget ptr, byval setting as gboolean) 2022 declare function gtk_app_chooser_widget_get_show_other(byval self as GtkAppChooserWidget ptr) as gboolean 2023 declare sub gtk_app_chooser_widget_set_show_all(byval self as GtkAppChooserWidget ptr, byval setting as gboolean) 2024 declare function gtk_app_chooser_widget_get_show_all(byval self as GtkAppChooserWidget ptr) as gboolean 2025 declare sub gtk_app_chooser_widget_set_default_text(byval self as GtkAppChooserWidget ptr, byval text as const gchar ptr) 2026 declare function gtk_app_chooser_widget_get_default_text(byval self as GtkAppChooserWidget ptr) as const gchar ptr 2027 2028 #define __GTK_APP_CHOOSER_BUTTON_H__ 2029 #define __GTK_COMBO_BOX_H__ 2030 #define __GTK_TREE_MODEL_H__ 2031 #define GTK_TYPE_TREE_MODEL gtk_tree_model_get_type() 2032 #define GTK_TREE_MODEL(obj) G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_TREE_MODEL, GtkTreeModel) 2033 #define GTK_IS_TREE_MODEL(obj) G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_TREE_MODEL) 2034 #define GTK_TREE_MODEL_GET_IFACE(obj) G_TYPE_INSTANCE_GET_INTERFACE((obj), GTK_TYPE_TREE_MODEL, GtkTreeModelIface) 2035 #define GTK_TYPE_TREE_ITER gtk_tree_iter_get_type() 2036 #define GTK_TYPE_TREE_PATH gtk_tree_path_get_type() 2037 #define GTK_TYPE_TREE_ROW_REFERENCE gtk_tree_row_reference_get_type() 2038 2039 type GtkTreeIter as _GtkTreeIter 2040 type GtkTreePath as _GtkTreePath 2041 type GtkTreeRowReference as _GtkTreeRowReference 2042 type GtkTreeModel as _GtkTreeModel 2043 type GtkTreeModelIface as _GtkTreeModelIface 2044 type GtkTreeModelForeachFunc as function(byval model as GtkTreeModel ptr, byval path as GtkTreePath ptr, byval iter as GtkTreeIter ptr, byval data as gpointer) as gboolean 2045 2046 type GtkTreeModelFlags as long 2047 enum 2048 GTK_TREE_MODEL_ITERS_PERSIST = 1 shl 0 2049 GTK_TREE_MODEL_LIST_ONLY = 1 shl 1 2050 end enum 2051 2052 type _GtkTreeIter 2053 stamp as gint 2054 user_data as gpointer 2055 user_data2 as gpointer 2056 user_data3 as gpointer 2057 end type 2058 2059 type _GtkTreeModelIface 2060 g_iface as GTypeInterface 2061 row_changed as sub(byval tree_model as GtkTreeModel ptr, byval path as GtkTreePath ptr, byval iter as GtkTreeIter ptr) 2062 row_inserted as sub(byval tree_model as GtkTreeModel ptr, byval path as GtkTreePath ptr, byval iter as GtkTreeIter ptr) 2063 row_has_child_toggled as sub(byval tree_model as GtkTreeModel ptr, byval path as GtkTreePath ptr, byval iter as GtkTreeIter ptr) 2064 row_deleted as sub(byval tree_model as GtkTreeModel ptr, byval path as GtkTreePath ptr) 2065 rows_reordered as sub(byval tree_model as GtkTreeModel ptr, byval path as GtkTreePath ptr, byval iter as GtkTreeIter ptr, byval new_order as gint ptr) 2066 get_flags as function(byval tree_model as GtkTreeModel ptr) as GtkTreeModelFlags 2067 get_n_columns as function(byval tree_model as GtkTreeModel ptr) as gint 2068 get_column_type as function(byval tree_model as GtkTreeModel ptr, byval index_ as gint) as GType 2069 get_iter as function(byval tree_model as GtkTreeModel ptr, byval iter as GtkTreeIter ptr, byval path as GtkTreePath ptr) as gboolean 2070 get_path as function(byval tree_model as GtkTreeModel ptr, byval iter as GtkTreeIter ptr) as GtkTreePath ptr 2071 get_value as sub(byval tree_model as GtkTreeModel ptr, byval iter as GtkTreeIter ptr, byval column as gint, byval value as GValue ptr) 2072 iter_next as function(byval tree_model as GtkTreeModel ptr, byval iter as GtkTreeIter ptr) as gboolean 2073 iter_previous as function(byval tree_model as GtkTreeModel ptr, byval iter as GtkTreeIter ptr) as gboolean 2074 iter_children as function(byval tree_model as GtkTreeModel ptr, byval iter as GtkTreeIter ptr, byval parent as GtkTreeIter ptr) as gboolean 2075 iter_has_child as function(byval tree_model as GtkTreeModel ptr, byval iter as GtkTreeIter ptr) as gboolean 2076 iter_n_children as function(byval tree_model as GtkTreeModel ptr, byval iter as GtkTreeIter ptr) as gint 2077 iter_nth_child as function(byval tree_model as GtkTreeModel ptr, byval iter as GtkTreeIter ptr, byval parent as GtkTreeIter ptr, byval n as gint) as gboolean 2078 iter_parent as function(byval tree_model as GtkTreeModel ptr, byval iter as GtkTreeIter ptr, byval child as GtkTreeIter ptr) as gboolean 2079 ref_node as sub(byval tree_model as GtkTreeModel ptr, byval iter as GtkTreeIter ptr) 2080 unref_node as sub(byval tree_model as GtkTreeModel ptr, byval iter as GtkTreeIter ptr) 2081 end type 2082 2083 declare function gtk_tree_path_new() as GtkTreePath ptr 2084 declare function gtk_tree_path_new_from_string(byval path as const gchar ptr) as GtkTreePath ptr 2085 declare function gtk_tree_path_new_from_indices(byval first_index as gint, ...) as GtkTreePath ptr 2086 declare function gtk_tree_path_new_from_indicesv(byval indices as gint ptr, byval length as gsize) as GtkTreePath ptr 2087 declare function gtk_tree_path_to_string(byval path as GtkTreePath ptr) as gchar ptr 2088 declare function gtk_tree_path_new_first() as GtkTreePath ptr 2089 declare sub gtk_tree_path_append_index(byval path as GtkTreePath ptr, byval index_ as gint) 2090 declare sub gtk_tree_path_prepend_index(byval path as GtkTreePath ptr, byval index_ as gint) 2091 declare function gtk_tree_path_get_depth(byval path as GtkTreePath ptr) as gint 2092 declare function gtk_tree_path_get_indices(byval path as GtkTreePath ptr) as gint ptr 2093 declare function gtk_tree_path_get_indices_with_depth(byval path as GtkTreePath ptr, byval depth as gint ptr) as gint ptr 2094 declare sub gtk_tree_path_free(byval path as GtkTreePath ptr) 2095 declare function gtk_tree_path_copy(byval path as const GtkTreePath ptr) as GtkTreePath ptr 2096 declare function gtk_tree_path_get_type() as GType 2097 declare function gtk_tree_path_compare(byval a as const GtkTreePath ptr, byval b as const GtkTreePath ptr) as gint 2098 declare sub gtk_tree_path_next(byval path as GtkTreePath ptr) 2099 declare function gtk_tree_path_prev(byval path as GtkTreePath ptr) as gboolean 2100 declare function gtk_tree_path_up(byval path as GtkTreePath ptr) as gboolean 2101 declare sub gtk_tree_path_down(byval path as GtkTreePath ptr) 2102 declare function gtk_tree_path_is_ancestor(byval path as GtkTreePath ptr, byval descendant as GtkTreePath ptr) as gboolean 2103 declare function gtk_tree_path_is_descendant(byval path as GtkTreePath ptr, byval ancestor as GtkTreePath ptr) as gboolean 2104 declare function gtk_tree_row_reference_get_type() as GType 2105 declare function gtk_tree_row_reference_new(byval model as GtkTreeModel ptr, byval path as GtkTreePath ptr) as GtkTreeRowReference ptr 2106 declare function gtk_tree_row_reference_new_proxy(byval proxy as GObject ptr, byval model as GtkTreeModel ptr, byval path as GtkTreePath ptr) as GtkTreeRowReference ptr 2107 declare function gtk_tree_row_reference_get_path(byval reference as GtkTreeRowReference ptr) as GtkTreePath ptr 2108 declare function gtk_tree_row_reference_get_model(byval reference as GtkTreeRowReference ptr) as GtkTreeModel ptr 2109 declare function gtk_tree_row_reference_valid(byval reference as GtkTreeRowReference ptr) as gboolean 2110 declare function gtk_tree_row_reference_copy(byval reference as GtkTreeRowReference ptr) as GtkTreeRowReference ptr 2111 declare sub gtk_tree_row_reference_free(byval reference as GtkTreeRowReference ptr) 2112 declare sub gtk_tree_row_reference_inserted(byval proxy as GObject ptr, byval path as GtkTreePath ptr) 2113 declare sub gtk_tree_row_reference_deleted(byval proxy as GObject ptr, byval path as GtkTreePath ptr) 2114 declare sub gtk_tree_row_reference_reordered(byval proxy as GObject ptr, byval path as GtkTreePath ptr, byval iter as GtkTreeIter ptr, byval new_order as gint ptr) 2115 declare function gtk_tree_iter_copy(byval iter as GtkTreeIter ptr) as GtkTreeIter ptr 2116 declare sub gtk_tree_iter_free(byval iter as GtkTreeIter ptr) 2117 declare function gtk_tree_iter_get_type() as GType 2118 declare function gtk_tree_model_get_type() as GType 2119 declare function gtk_tree_model_get_flags(byval tree_model as GtkTreeModel ptr) as GtkTreeModelFlags 2120 declare function gtk_tree_model_get_n_columns(byval tree_model as GtkTreeModel ptr) as gint 2121 declare function gtk_tree_model_get_column_type(byval tree_model as GtkTreeModel ptr, byval index_ as gint) as GType 2122 declare function gtk_tree_model_get_iter(byval tree_model as GtkTreeModel ptr, byval iter as GtkTreeIter ptr, byval path as GtkTreePath ptr) as gboolean 2123 declare function gtk_tree_model_get_iter_from_string(byval tree_model as GtkTreeModel ptr, byval iter as GtkTreeIter ptr, byval path_string as const gchar ptr) as gboolean 2124 declare function gtk_tree_model_get_string_from_iter(byval tree_model as GtkTreeModel ptr, byval iter as GtkTreeIter ptr) as gchar ptr 2125 declare function gtk_tree_model_get_iter_first(byval tree_model as GtkTreeModel ptr, byval iter as GtkTreeIter ptr) as gboolean 2126 declare function gtk_tree_model_get_path(byval tree_model as GtkTreeModel ptr, byval iter as GtkTreeIter ptr) as GtkTreePath ptr 2127 declare sub gtk_tree_model_get_value(byval tree_model as GtkTreeModel ptr, byval iter as GtkTreeIter ptr, byval column as gint, byval value as GValue ptr) 2128 declare function gtk_tree_model_iter_previous(byval tree_model as GtkTreeModel ptr, byval iter as GtkTreeIter ptr) as gboolean 2129 declare function gtk_tree_model_iter_next(byval tree_model as GtkTreeModel ptr, byval iter as GtkTreeIter ptr) as gboolean 2130 declare function gtk_tree_model_iter_children(byval tree_model as GtkTreeModel ptr, byval iter as GtkTreeIter ptr, byval parent as GtkTreeIter ptr) as gboolean 2131 declare function gtk_tree_model_iter_has_child(byval tree_model as GtkTreeModel ptr, byval iter as GtkTreeIter ptr) as gboolean 2132 declare function gtk_tree_model_iter_n_children(byval tree_model as GtkTreeModel ptr, byval iter as GtkTreeIter ptr) as gint 2133 declare function gtk_tree_model_iter_nth_child(byval tree_model as GtkTreeModel ptr, byval iter as GtkTreeIter ptr, byval parent as GtkTreeIter ptr, byval n as gint) as gboolean 2134 declare function gtk_tree_model_iter_parent(byval tree_model as GtkTreeModel ptr, byval iter as GtkTreeIter ptr, byval child as GtkTreeIter ptr) as gboolean 2135 declare sub gtk_tree_model_ref_node(byval tree_model as GtkTreeModel ptr, byval iter as GtkTreeIter ptr) 2136 declare sub gtk_tree_model_unref_node(byval tree_model as GtkTreeModel ptr, byval iter as GtkTreeIter ptr) 2137 declare sub gtk_tree_model_get(byval tree_model as GtkTreeModel ptr, byval iter as GtkTreeIter ptr, ...) 2138 declare sub gtk_tree_model_get_valist(byval tree_model as GtkTreeModel ptr, byval iter as GtkTreeIter ptr, byval var_args as va_list) 2139 declare sub gtk_tree_model_foreach(byval model as GtkTreeModel ptr, byval func as GtkTreeModelForeachFunc, byval user_data as gpointer) 2140 declare sub gtk_tree_model_row_changed(byval tree_model as GtkTreeModel ptr, byval path as GtkTreePath ptr, byval iter as GtkTreeIter ptr) 2141 declare sub gtk_tree_model_row_inserted(byval tree_model as GtkTreeModel ptr, byval path as GtkTreePath ptr, byval iter as GtkTreeIter ptr) 2142 declare sub gtk_tree_model_row_has_child_toggled(byval tree_model as GtkTreeModel ptr, byval path as GtkTreePath ptr, byval iter as GtkTreeIter ptr) 2143 declare sub gtk_tree_model_row_deleted(byval tree_model as GtkTreeModel ptr, byval path as GtkTreePath ptr) 2144 declare sub gtk_tree_model_rows_reordered(byval tree_model as GtkTreeModel ptr, byval path as GtkTreePath ptr, byval iter as GtkTreeIter ptr, byval new_order as gint ptr) 2145 declare sub gtk_tree_model_rows_reordered_with_length(byval tree_model as GtkTreeModel ptr, byval path as GtkTreePath ptr, byval iter as GtkTreeIter ptr, byval new_order as gint ptr, byval length as gint) 2146 2147 #define __GTK_TREE_VIEW_H__ 2148 #define __GTK_TREE_VIEW_COLUMN_H__ 2149 #define __GTK_CELL_RENDERER_H__ 2150 #define __GTK_CELL_EDITABLE_H__ 2151 #define GTK_TYPE_CELL_EDITABLE gtk_cell_editable_get_type() 2152 #define GTK_CELL_EDITABLE(obj) G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_CELL_EDITABLE, GtkCellEditable) 2153 #define GTK_CELL_EDITABLE_CLASS(obj) G_TYPE_CHECK_CLASS_CAST((obj), GTK_TYPE_CELL_EDITABLE, GtkCellEditableIface) 2154 #define GTK_IS_CELL_EDITABLE(obj) G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_CELL_EDITABLE) 2155 #define GTK_CELL_EDITABLE_GET_IFACE(obj) G_TYPE_INSTANCE_GET_INTERFACE((obj), GTK_TYPE_CELL_EDITABLE, GtkCellEditableIface) 2156 type GtkCellEditable as _GtkCellEditable 2157 type GtkCellEditableIface as _GtkCellEditableIface 2158 2159 type _GtkCellEditableIface 2160 g_iface as GTypeInterface 2161 editing_done as sub(byval cell_editable as GtkCellEditable ptr) 2162 remove_widget as sub(byval cell_editable as GtkCellEditable ptr) 2163 start_editing as sub(byval cell_editable as GtkCellEditable ptr, byval event as GdkEvent ptr) 2164 end type 2165 2166 declare function gtk_cell_editable_get_type() as GType 2167 declare sub gtk_cell_editable_start_editing(byval cell_editable as GtkCellEditable ptr, byval event as GdkEvent ptr) 2168 declare sub gtk_cell_editable_editing_done(byval cell_editable as GtkCellEditable ptr) 2169 declare sub gtk_cell_editable_remove_widget(byval cell_editable as GtkCellEditable ptr) 2170 2171 type GtkCellRendererState as long 2172 enum 2173 GTK_CELL_RENDERER_SELECTED = 1 shl 0 2174 GTK_CELL_RENDERER_PRELIT = 1 shl 1 2175 GTK_CELL_RENDERER_INSENSITIVE = 1 shl 2 2176 GTK_CELL_RENDERER_SORTED = 1 shl 3 2177 GTK_CELL_RENDERER_FOCUSED = 1 shl 4 2178 GTK_CELL_RENDERER_EXPANDABLE = 1 shl 5 2179 GTK_CELL_RENDERER_EXPANDED = 1 shl 6 2180 end enum 2181 2182 type GtkCellRendererMode as long 2183 enum 2184 GTK_CELL_RENDERER_MODE_INERT 2185 GTK_CELL_RENDERER_MODE_ACTIVATABLE 2186 GTK_CELL_RENDERER_MODE_EDITABLE 2187 end enum 2188 2189 #define GTK_TYPE_CELL_RENDERER gtk_cell_renderer_get_type() 2190 #define GTK_CELL_RENDERER(obj) G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_CELL_RENDERER, GtkCellRenderer) 2191 #define GTK_CELL_RENDERER_CLASS(klass) G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_CELL_RENDERER, GtkCellRendererClass) 2192 #define GTK_IS_CELL_RENDERER(obj) G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_CELL_RENDERER) 2193 #define GTK_IS_CELL_RENDERER_CLASS(klass) G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_CELL_RENDERER) 2194 #define GTK_CELL_RENDERER_GET_CLASS(obj) G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_CELL_RENDERER, GtkCellRendererClass) 2195 2196 type GtkCellRenderer as _GtkCellRenderer 2197 type GtkCellRendererPrivate as _GtkCellRendererPrivate 2198 type GtkCellRendererClass as _GtkCellRendererClass 2199 type GtkCellRendererClassPrivate as _GtkCellRendererClassPrivate 2200 2201 type _GtkCellRenderer 2202 parent_instance as GInitiallyUnowned 2203 priv as GtkCellRendererPrivate ptr 2204 end type 2205 2206 type _GtkCellRendererClass 2207 parent_class as GInitiallyUnownedClass 2208 get_request_mode as function(byval cell as GtkCellRenderer ptr) as GtkSizeRequestMode 2209 get_preferred_width as sub(byval cell as GtkCellRenderer ptr, byval widget as GtkWidget ptr, byval minimum_size as gint ptr, byval natural_size as gint ptr) 2210 get_preferred_height_for_width as sub(byval cell as GtkCellRenderer ptr, byval widget as GtkWidget ptr, byval width as gint, byval minimum_height as gint ptr, byval natural_height as gint ptr) 2211 get_preferred_height as sub(byval cell as GtkCellRenderer ptr, byval widget as GtkWidget ptr, byval minimum_size as gint ptr, byval natural_size as gint ptr) 2212 get_preferred_width_for_height as sub(byval cell as GtkCellRenderer ptr, byval widget as GtkWidget ptr, byval height as gint, byval minimum_width as gint ptr, byval natural_width as gint ptr) 2213 get_aligned_area as sub(byval cell as GtkCellRenderer ptr, byval widget as GtkWidget ptr, byval flags as GtkCellRendererState, byval cell_area as const GdkRectangle ptr, byval aligned_area as GdkRectangle ptr) 2214 get_size as sub(byval cell as GtkCellRenderer ptr, byval widget as GtkWidget ptr, byval cell_area as const GdkRectangle ptr, byval x_offset as gint ptr, byval y_offset as gint ptr, byval width as gint ptr, byval height as gint ptr) 2215 render as sub(byval cell as GtkCellRenderer ptr, byval cr as cairo_t ptr, byval widget as GtkWidget ptr, byval background_area as const GdkRectangle ptr, byval cell_area as const GdkRectangle ptr, byval flags as GtkCellRendererState) 2216 activate as function(byval cell as GtkCellRenderer ptr, byval event as GdkEvent ptr, byval widget as GtkWidget ptr, byval path as const gchar ptr, byval background_area as const GdkRectangle ptr, byval cell_area as const GdkRectangle ptr, byval flags as GtkCellRendererState) as gboolean 2217 start_editing as function(byval cell as GtkCellRenderer ptr, byval event as GdkEvent ptr, byval widget as GtkWidget ptr, byval path as const gchar ptr, byval background_area as const GdkRectangle ptr, byval cell_area as const GdkRectangle ptr, byval flags as GtkCellRendererState) as GtkCellEditable ptr 2218 editing_canceled as sub(byval cell as GtkCellRenderer ptr) 2219 editing_started as sub(byval cell as GtkCellRenderer ptr, byval editable as GtkCellEditable ptr, byval path as const gchar ptr) 2220 priv as GtkCellRendererClassPrivate ptr 2221 _gtk_reserved2 as sub() 2222 _gtk_reserved3 as sub() 2223 _gtk_reserved4 as sub() 2224 end type 2225 2226 declare function gtk_cell_renderer_get_type() as GType 2227 declare function gtk_cell_renderer_get_request_mode(byval cell as GtkCellRenderer ptr) as GtkSizeRequestMode 2228 declare sub gtk_cell_renderer_get_preferred_width(byval cell as GtkCellRenderer ptr, byval widget as GtkWidget ptr, byval minimum_size as gint ptr, byval natural_size as gint ptr) 2229 declare sub gtk_cell_renderer_get_preferred_height_for_width(byval cell as GtkCellRenderer ptr, byval widget as GtkWidget ptr, byval width as gint, byval minimum_height as gint ptr, byval natural_height as gint ptr) 2230 declare sub gtk_cell_renderer_get_preferred_height(byval cell as GtkCellRenderer ptr, byval widget as GtkWidget ptr, byval minimum_size as gint ptr, byval natural_size as gint ptr) 2231 declare sub gtk_cell_renderer_get_preferred_width_for_height(byval cell as GtkCellRenderer ptr, byval widget as GtkWidget ptr, byval height as gint, byval minimum_width as gint ptr, byval natural_width as gint ptr) 2232 declare sub gtk_cell_renderer_get_preferred_size(byval cell as GtkCellRenderer ptr, byval widget as GtkWidget ptr, byval minimum_size as GtkRequisition ptr, byval natural_size as GtkRequisition ptr) 2233 declare sub gtk_cell_renderer_get_aligned_area(byval cell as GtkCellRenderer ptr, byval widget as GtkWidget ptr, byval flags as GtkCellRendererState, byval cell_area as const GdkRectangle ptr, byval aligned_area as GdkRectangle ptr) 2234 declare sub gtk_cell_renderer_get_size(byval cell as GtkCellRenderer ptr, byval widget as GtkWidget ptr, byval cell_area as const GdkRectangle ptr, byval x_offset as gint ptr, byval y_offset as gint ptr, byval width as gint ptr, byval height as gint ptr) 2235 declare sub gtk_cell_renderer_render(byval cell as GtkCellRenderer ptr, byval cr as cairo_t ptr, byval widget as GtkWidget ptr, byval background_area as const GdkRectangle ptr, byval cell_area as const GdkRectangle ptr, byval flags as GtkCellRendererState) 2236 declare function gtk_cell_renderer_activate(byval cell as GtkCellRenderer ptr, byval event as GdkEvent ptr, byval widget as GtkWidget ptr, byval path as const gchar ptr, byval background_area as const GdkRectangle ptr, byval cell_area as const GdkRectangle ptr, byval flags as GtkCellRendererState) as gboolean 2237 declare function gtk_cell_renderer_start_editing(byval cell as GtkCellRenderer ptr, byval event as GdkEvent ptr, byval widget as GtkWidget ptr, byval path as const gchar ptr, byval background_area as const GdkRectangle ptr, byval cell_area as const GdkRectangle ptr, byval flags as GtkCellRendererState) as GtkCellEditable ptr 2238 declare sub gtk_cell_renderer_set_fixed_size(byval cell as GtkCellRenderer ptr, byval width as gint, byval height as gint) 2239 declare sub gtk_cell_renderer_get_fixed_size(byval cell as GtkCellRenderer ptr, byval width as gint ptr, byval height as gint ptr) 2240 declare sub gtk_cell_renderer_set_alignment(byval cell as GtkCellRenderer ptr, byval xalign as gfloat, byval yalign as gfloat) 2241 declare sub gtk_cell_renderer_get_alignment(byval cell as GtkCellRenderer ptr, byval xalign as gfloat ptr, byval yalign as gfloat ptr) 2242 declare sub gtk_cell_renderer_set_padding(byval cell as GtkCellRenderer ptr, byval xpad as gint, byval ypad as gint) 2243 declare sub gtk_cell_renderer_get_padding(byval cell as GtkCellRenderer ptr, byval xpad as gint ptr, byval ypad as gint ptr) 2244 declare sub gtk_cell_renderer_set_visible(byval cell as GtkCellRenderer ptr, byval visible as gboolean) 2245 declare function gtk_cell_renderer_get_visible(byval cell as GtkCellRenderer ptr) as gboolean 2246 declare sub gtk_cell_renderer_set_sensitive(byval cell as GtkCellRenderer ptr, byval sensitive as gboolean) 2247 declare function gtk_cell_renderer_get_sensitive(byval cell as GtkCellRenderer ptr) as gboolean 2248 declare function gtk_cell_renderer_is_activatable(byval cell as GtkCellRenderer ptr) as gboolean 2249 declare sub gtk_cell_renderer_stop_editing(byval cell as GtkCellRenderer ptr, byval canceled as gboolean) 2250 declare sub _gtk_cell_renderer_calc_offset(byval cell as GtkCellRenderer ptr, byval cell_area as const GdkRectangle ptr, byval direction as GtkTextDirection, byval width as gint, byval height as gint, byval x_offset as gint ptr, byval y_offset as gint ptr) 2251 declare function gtk_cell_renderer_get_state(byval cell as GtkCellRenderer ptr, byval widget as GtkWidget ptr, byval cell_state as GtkCellRendererState) as GtkStateFlags 2252 declare sub gtk_cell_renderer_class_set_accessible_type(byval renderer_class as GtkCellRendererClass ptr, byval type as GType) 2253 declare function _gtk_cell_renderer_get_accessible_type(byval renderer as GtkCellRenderer ptr) as GType 2254 2255 #define __GTK_TREE_SORTABLE_H__ 2256 #define GTK_TYPE_TREE_SORTABLE gtk_tree_sortable_get_type() 2257 #define GTK_TREE_SORTABLE(obj) G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_TREE_SORTABLE, GtkTreeSortable) 2258 #define GTK_TREE_SORTABLE_CLASS(obj) G_TYPE_CHECK_CLASS_CAST((obj), GTK_TYPE_TREE_SORTABLE, GtkTreeSortableIface) 2259 #define GTK_IS_TREE_SORTABLE(obj) G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_TREE_SORTABLE) 2260 #define GTK_TREE_SORTABLE_GET_IFACE(obj) G_TYPE_INSTANCE_GET_INTERFACE((obj), GTK_TYPE_TREE_SORTABLE, GtkTreeSortableIface) 2261 const GTK_TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID = -1 2262 const GTK_TREE_SORTABLE_UNSORTED_SORT_COLUMN_ID = -2 2263 2264 type GtkTreeSortable as _GtkTreeSortable 2265 type GtkTreeSortableIface as _GtkTreeSortableIface 2266 type GtkTreeIterCompareFunc as function(byval model as GtkTreeModel ptr, byval a as GtkTreeIter ptr, byval b as GtkTreeIter ptr, byval user_data as gpointer) as gint 2267 2268 type _GtkTreeSortableIface 2269 g_iface as GTypeInterface 2270 sort_column_changed as sub(byval sortable as GtkTreeSortable ptr) 2271 get_sort_column_id as function(byval sortable as GtkTreeSortable ptr, byval sort_column_id as gint ptr, byval order as GtkSortType ptr) as gboolean 2272 set_sort_column_id as sub(byval sortable as GtkTreeSortable ptr, byval sort_column_id as gint, byval order as GtkSortType) 2273 set_sort_func as sub(byval sortable as GtkTreeSortable ptr, byval sort_column_id as gint, byval sort_func as GtkTreeIterCompareFunc, byval user_data as gpointer, byval destroy as GDestroyNotify) 2274 set_default_sort_func as sub(byval sortable as GtkTreeSortable ptr, byval sort_func as GtkTreeIterCompareFunc, byval user_data as gpointer, byval destroy as GDestroyNotify) 2275 has_default_sort_func as function(byval sortable as GtkTreeSortable ptr) as gboolean 2276 end type 2277 2278 declare function gtk_tree_sortable_get_type() as GType 2279 declare sub gtk_tree_sortable_sort_column_changed(byval sortable as GtkTreeSortable ptr) 2280 declare function gtk_tree_sortable_get_sort_column_id(byval sortable as GtkTreeSortable ptr, byval sort_column_id as gint ptr, byval order as GtkSortType ptr) as gboolean 2281 declare sub gtk_tree_sortable_set_sort_column_id(byval sortable as GtkTreeSortable ptr, byval sort_column_id as gint, byval order as GtkSortType) 2282 declare sub gtk_tree_sortable_set_sort_func(byval sortable as GtkTreeSortable ptr, byval sort_column_id as gint, byval sort_func as GtkTreeIterCompareFunc, byval user_data as gpointer, byval destroy as GDestroyNotify) 2283 declare sub gtk_tree_sortable_set_default_sort_func(byval sortable as GtkTreeSortable ptr, byval sort_func as GtkTreeIterCompareFunc, byval user_data as gpointer, byval destroy as GDestroyNotify) 2284 declare function gtk_tree_sortable_has_default_sort_func(byval sortable as GtkTreeSortable ptr) as gboolean 2285 2286 #define __GTK_CELL_AREA_H__ 2287 #define GTK_TYPE_CELL_AREA gtk_cell_area_get_type() 2288 #define GTK_CELL_AREA(obj) G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_CELL_AREA, GtkCellArea) 2289 #define GTK_CELL_AREA_CLASS(klass) G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_CELL_AREA, GtkCellAreaClass) 2290 #define GTK_IS_CELL_AREA(obj) G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_CELL_AREA) 2291 #define GTK_IS_CELL_AREA_CLASS(klass) G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_CELL_AREA) 2292 #define GTK_CELL_AREA_GET_CLASS(obj) G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_CELL_AREA, GtkCellAreaClass) 2293 2294 type GtkCellArea as _GtkCellArea 2295 type GtkCellAreaClass as _GtkCellAreaClass 2296 type GtkCellAreaPrivate as _GtkCellAreaPrivate 2297 type GtkCellAreaContext as _GtkCellAreaContext 2298 #define GTK_CELL_AREA_WARN_INVALID_CELL_PROPERTY_ID(object, property_id, pspec) G_OBJECT_WARN_INVALID_PSPEC((object), "cell property id", (property_id), (pspec)) 2299 type GtkCellCallback as function(byval renderer as GtkCellRenderer ptr, byval data as gpointer) as gboolean 2300 type GtkCellAllocCallback as function(byval renderer as GtkCellRenderer ptr, byval cell_area as const GdkRectangle ptr, byval cell_background as const GdkRectangle ptr, byval data as gpointer) as gboolean 2301 2302 type _GtkCellArea 2303 parent_instance as GInitiallyUnowned 2304 priv as GtkCellAreaPrivate ptr 2305 end type 2306 2307 type _GtkCellAreaClass 2308 parent_class as GInitiallyUnownedClass 2309 add as sub(byval area as GtkCellArea ptr, byval renderer as GtkCellRenderer ptr) 2310 remove as sub(byval area as GtkCellArea ptr, byval renderer as GtkCellRenderer ptr) 2311 foreach as sub(byval area as GtkCellArea ptr, byval callback as GtkCellCallback, byval callback_data as gpointer) 2312 foreach_alloc as sub(byval area as GtkCellArea ptr, byval context as GtkCellAreaContext ptr, byval widget as GtkWidget ptr, byval cell_area as const GdkRectangle ptr, byval background_area as const GdkRectangle ptr, byval callback as GtkCellAllocCallback, byval callback_data as gpointer) 2313 event as function(byval area as GtkCellArea ptr, byval context as GtkCellAreaContext ptr, byval widget as GtkWidget ptr, byval event as GdkEvent ptr, byval cell_area as const GdkRectangle ptr, byval flags as GtkCellRendererState) as gint 2314 render as sub(byval area as GtkCellArea ptr, byval context as GtkCellAreaContext ptr, byval widget as GtkWidget ptr, byval cr as cairo_t ptr, byval background_area as const GdkRectangle ptr, byval cell_area as const GdkRectangle ptr, byval flags as GtkCellRendererState, byval paint_focus as gboolean) 2315 apply_attributes as sub(byval area as GtkCellArea ptr, byval tree_model as GtkTreeModel ptr, byval iter as GtkTreeIter ptr, byval is_expander as gboolean, byval is_expanded as gboolean) 2316 create_context as function(byval area as GtkCellArea ptr) as GtkCellAreaContext ptr 2317 copy_context as function(byval area as GtkCellArea ptr, byval context as GtkCellAreaContext ptr) as GtkCellAreaContext ptr 2318 get_request_mode as function(byval area as GtkCellArea ptr) as GtkSizeRequestMode 2319 get_preferred_width as sub(byval area as GtkCellArea ptr, byval context as GtkCellAreaContext ptr, byval widget as GtkWidget ptr, byval minimum_width as gint ptr, byval natural_width as gint ptr) 2320 get_preferred_height_for_width as sub(byval area as GtkCellArea ptr, byval context as GtkCellAreaContext ptr, byval widget as GtkWidget ptr, byval width as gint, byval minimum_height as gint ptr, byval natural_height as gint ptr) 2321 get_preferred_height as sub(byval area as GtkCellArea ptr, byval context as GtkCellAreaContext ptr, byval widget as GtkWidget ptr, byval minimum_height as gint ptr, byval natural_height as gint ptr) 2322 get_preferred_width_for_height as sub(byval area as GtkCellArea ptr, byval context as GtkCellAreaContext ptr, byval widget as GtkWidget ptr, byval height as gint, byval minimum_width as gint ptr, byval natural_width as gint ptr) 2323 set_cell_property as sub(byval area as GtkCellArea ptr, byval renderer as GtkCellRenderer ptr, byval property_id as guint, byval value as const GValue ptr, byval pspec as GParamSpec ptr) 2324 get_cell_property as sub(byval area as GtkCellArea ptr, byval renderer as GtkCellRenderer ptr, byval property_id as guint, byval value as GValue ptr, byval pspec as GParamSpec ptr) 2325 focus as function(byval area as GtkCellArea ptr, byval direction as GtkDirectionType) as gboolean 2326 is_activatable as function(byval area as GtkCellArea ptr) as gboolean 2327 activate as function(byval area as GtkCellArea ptr, byval context as GtkCellAreaContext ptr, byval widget as GtkWidget ptr, byval cell_area as const GdkRectangle ptr, byval flags as GtkCellRendererState, byval edit_only as gboolean) as gboolean 2328 _gtk_reserved1 as sub() 2329 _gtk_reserved2 as sub() 2330 _gtk_reserved3 as sub() 2331 _gtk_reserved4 as sub() 2332 _gtk_reserved5 as sub() 2333 _gtk_reserved6 as sub() 2334 _gtk_reserved7 as sub() 2335 _gtk_reserved8 as sub() 2336 end type 2337 2338 declare function gtk_cell_area_get_type() as GType 2339 declare sub gtk_cell_area_add(byval area as GtkCellArea ptr, byval renderer as GtkCellRenderer ptr) 2340 declare sub gtk_cell_area_remove(byval area as GtkCellArea ptr, byval renderer as GtkCellRenderer ptr) 2341 declare function gtk_cell_area_has_renderer(byval area as GtkCellArea ptr, byval renderer as GtkCellRenderer ptr) as gboolean 2342 declare sub gtk_cell_area_foreach(byval area as GtkCellArea ptr, byval callback as GtkCellCallback, byval callback_data as gpointer) 2343 declare sub gtk_cell_area_foreach_alloc(byval area as GtkCellArea ptr, byval context as GtkCellAreaContext ptr, byval widget as GtkWidget ptr, byval cell_area as const GdkRectangle ptr, byval background_area as const GdkRectangle ptr, byval callback as GtkCellAllocCallback, byval callback_data as gpointer) 2344 declare function gtk_cell_area_event(byval area as GtkCellArea ptr, byval context as GtkCellAreaContext ptr, byval widget as GtkWidget ptr, byval event as GdkEvent ptr, byval cell_area as const GdkRectangle ptr, byval flags as GtkCellRendererState) as gint 2345 declare sub gtk_cell_area_render(byval area as GtkCellArea ptr, byval context as GtkCellAreaContext ptr, byval widget as GtkWidget ptr, byval cr as cairo_t ptr, byval background_area as const GdkRectangle ptr, byval cell_area as const GdkRectangle ptr, byval flags as GtkCellRendererState, byval paint_focus as gboolean) 2346 declare sub gtk_cell_area_get_cell_allocation(byval area as GtkCellArea ptr, byval context as GtkCellAreaContext ptr, byval widget as GtkWidget ptr, byval renderer as GtkCellRenderer ptr, byval cell_area as const GdkRectangle ptr, byval allocation as GdkRectangle ptr) 2347 declare function gtk_cell_area_get_cell_at_position(byval area as GtkCellArea ptr, byval context as GtkCellAreaContext ptr, byval widget as GtkWidget ptr, byval cell_area as const GdkRectangle ptr, byval x as gint, byval y as gint, byval alloc_area as GdkRectangle ptr) as GtkCellRenderer ptr 2348 declare function gtk_cell_area_create_context(byval area as GtkCellArea ptr) as GtkCellAreaContext ptr 2349 declare function gtk_cell_area_copy_context(byval area as GtkCellArea ptr, byval context as GtkCellAreaContext ptr) as GtkCellAreaContext ptr 2350 declare function gtk_cell_area_get_request_mode(byval area as GtkCellArea ptr) as GtkSizeRequestMode 2351 declare sub gtk_cell_area_get_preferred_width(byval area as GtkCellArea ptr, byval context as GtkCellAreaContext ptr, byval widget as GtkWidget ptr, byval minimum_width as gint ptr, byval natural_width as gint ptr) 2352 declare sub gtk_cell_area_get_preferred_height_for_width(byval area as GtkCellArea ptr, byval context as GtkCellAreaContext ptr, byval widget as GtkWidget ptr, byval width as gint, byval minimum_height as gint ptr, byval natural_height as gint ptr) 2353 declare sub gtk_cell_area_get_preferred_height(byval area as GtkCellArea ptr, byval context as GtkCellAreaContext ptr, byval widget as GtkWidget ptr, byval minimum_height as gint ptr, byval natural_height as gint ptr) 2354 declare sub gtk_cell_area_get_preferred_width_for_height(byval area as GtkCellArea ptr, byval context as GtkCellAreaContext ptr, byval widget as GtkWidget ptr, byval height as gint, byval minimum_width as gint ptr, byval natural_width as gint ptr) 2355 declare function gtk_cell_area_get_current_path_string(byval area as GtkCellArea ptr) as const gchar ptr 2356 declare sub gtk_cell_area_apply_attributes(byval area as GtkCellArea ptr, byval tree_model as GtkTreeModel ptr, byval iter as GtkTreeIter ptr, byval is_expander as gboolean, byval is_expanded as gboolean) 2357 declare sub gtk_cell_area_attribute_connect(byval area as GtkCellArea ptr, byval renderer as GtkCellRenderer ptr, byval attribute as const gchar ptr, byval column as gint) 2358 declare sub gtk_cell_area_attribute_disconnect(byval area as GtkCellArea ptr, byval renderer as GtkCellRenderer ptr, byval attribute as const gchar ptr) 2359 declare function gtk_cell_area_attribute_get_column(byval area as GtkCellArea ptr, byval renderer as GtkCellRenderer ptr, byval attribute as const gchar ptr) as gint 2360 declare sub gtk_cell_area_class_install_cell_property(byval aclass as GtkCellAreaClass ptr, byval property_id as guint, byval pspec as GParamSpec ptr) 2361 declare function gtk_cell_area_class_find_cell_property(byval aclass as GtkCellAreaClass ptr, byval property_name as const gchar ptr) as GParamSpec ptr 2362 declare function gtk_cell_area_class_list_cell_properties(byval aclass as GtkCellAreaClass ptr, byval n_properties as guint ptr) as GParamSpec ptr ptr 2363 declare sub gtk_cell_area_add_with_properties(byval area as GtkCellArea ptr, byval renderer as GtkCellRenderer ptr, byval first_prop_name as const gchar ptr, ...) 2364 declare sub gtk_cell_area_cell_set(byval area as GtkCellArea ptr, byval renderer as GtkCellRenderer ptr, byval first_prop_name as const gchar ptr, ...) 2365 declare sub gtk_cell_area_cell_get(byval area as GtkCellArea ptr, byval renderer as GtkCellRenderer ptr, byval first_prop_name as const gchar ptr, ...) 2366 declare sub gtk_cell_area_cell_set_valist(byval area as GtkCellArea ptr, byval renderer as GtkCellRenderer ptr, byval first_property_name as const gchar ptr, byval var_args as va_list) 2367 declare sub gtk_cell_area_cell_get_valist(byval area as GtkCellArea ptr, byval renderer as GtkCellRenderer ptr, byval first_property_name as const gchar ptr, byval var_args as va_list) 2368 declare sub gtk_cell_area_cell_set_property(byval area as GtkCellArea ptr, byval renderer as GtkCellRenderer ptr, byval property_name as const gchar ptr, byval value as const GValue ptr) 2369 declare sub gtk_cell_area_cell_get_property(byval area as GtkCellArea ptr, byval renderer as GtkCellRenderer ptr, byval property_name as const gchar ptr, byval value as GValue ptr) 2370 declare function gtk_cell_area_is_activatable(byval area as GtkCellArea ptr) as gboolean 2371 declare function gtk_cell_area_activate(byval area as GtkCellArea ptr, byval context as GtkCellAreaContext ptr, byval widget as GtkWidget ptr, byval cell_area as const GdkRectangle ptr, byval flags as GtkCellRendererState, byval edit_only as gboolean) as gboolean 2372 declare function gtk_cell_area_focus(byval area as GtkCellArea ptr, byval direction as GtkDirectionType) as gboolean 2373 declare sub gtk_cell_area_set_focus_cell(byval area as GtkCellArea ptr, byval renderer as GtkCellRenderer ptr) 2374 declare function gtk_cell_area_get_focus_cell(byval area as GtkCellArea ptr) as GtkCellRenderer ptr 2375 declare sub gtk_cell_area_add_focus_sibling(byval area as GtkCellArea ptr, byval renderer as GtkCellRenderer ptr, byval sibling as GtkCellRenderer ptr) 2376 declare sub gtk_cell_area_remove_focus_sibling(byval area as GtkCellArea ptr, byval renderer as GtkCellRenderer ptr, byval sibling as GtkCellRenderer ptr) 2377 declare function gtk_cell_area_is_focus_sibling(byval area as GtkCellArea ptr, byval renderer as GtkCellRenderer ptr, byval sibling as GtkCellRenderer ptr) as gboolean 2378 declare function gtk_cell_area_get_focus_siblings(byval area as GtkCellArea ptr, byval renderer as GtkCellRenderer ptr) as const GList ptr 2379 declare function gtk_cell_area_get_focus_from_sibling(byval area as GtkCellArea ptr, byval renderer as GtkCellRenderer ptr) as GtkCellRenderer ptr 2380 declare function gtk_cell_area_get_edited_cell(byval area as GtkCellArea ptr) as GtkCellRenderer ptr 2381 declare function gtk_cell_area_get_edit_widget(byval area as GtkCellArea ptr) as GtkCellEditable ptr 2382 declare function gtk_cell_area_activate_cell(byval area as GtkCellArea ptr, byval widget as GtkWidget ptr, byval renderer as GtkCellRenderer ptr, byval event as GdkEvent ptr, byval cell_area as const GdkRectangle ptr, byval flags as GtkCellRendererState) as gboolean 2383 declare sub gtk_cell_area_stop_editing(byval area as GtkCellArea ptr, byval canceled as gboolean) 2384 declare sub gtk_cell_area_inner_cell_area(byval area as GtkCellArea ptr, byval widget as GtkWidget ptr, byval cell_area as const GdkRectangle ptr, byval inner_area as GdkRectangle ptr) 2385 declare sub gtk_cell_area_request_renderer(byval area as GtkCellArea ptr, byval renderer as GtkCellRenderer ptr, byval orientation as GtkOrientation, byval widget as GtkWidget ptr, byval for_size as gint, byval minimum_size as gint ptr, byval natural_size as gint ptr) 2386 declare sub _gtk_cell_area_set_cell_data_func_with_proxy(byval area as GtkCellArea ptr, byval cell as GtkCellRenderer ptr, byval func as GFunc, byval func_data as gpointer, byval destroy as GDestroyNotify, byval proxy as gpointer) 2387 2388 #define GTK_TYPE_TREE_VIEW_COLUMN gtk_tree_view_column_get_type() 2389 #define GTK_TREE_VIEW_COLUMN(obj) G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_TREE_VIEW_COLUMN, GtkTreeViewColumn) 2390 #define GTK_TREE_VIEW_COLUMN_CLASS(klass) G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_TREE_VIEW_COLUMN, GtkTreeViewColumnClass) 2391 #define GTK_IS_TREE_VIEW_COLUMN(obj) G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_TREE_VIEW_COLUMN) 2392 #define GTK_IS_TREE_VIEW_COLUMN_CLASS(klass) G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_TREE_VIEW_COLUMN) 2393 #define GTK_TREE_VIEW_COLUMN_GET_CLASS(obj) G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_TREE_VIEW_COLUMN, GtkTreeViewColumnClass) 2394 2395 type GtkTreeViewColumn as _GtkTreeViewColumn 2396 type GtkTreeViewColumnClass as _GtkTreeViewColumnClass 2397 type GtkTreeViewColumnPrivate as _GtkTreeViewColumnPrivate 2398 2399 type GtkTreeViewColumnSizing as long 2400 enum 2401 GTK_TREE_VIEW_COLUMN_GROW_ONLY 2402 GTK_TREE_VIEW_COLUMN_AUTOSIZE 2403 GTK_TREE_VIEW_COLUMN_FIXED 2404 end enum 2405 2406 type GtkTreeCellDataFunc as sub(byval tree_column as GtkTreeViewColumn ptr, byval cell as GtkCellRenderer ptr, byval tree_model as GtkTreeModel ptr, byval iter as GtkTreeIter ptr, byval data as gpointer) 2407 2408 type _GtkTreeViewColumn 2409 parent_instance as GInitiallyUnowned 2410 priv as GtkTreeViewColumnPrivate ptr 2411 end type 2412 2413 type _GtkTreeViewColumnClass 2414 parent_class as GInitiallyUnownedClass 2415 clicked as sub(byval tree_column as GtkTreeViewColumn ptr) 2416 _gtk_reserved1 as sub() 2417 _gtk_reserved2 as sub() 2418 _gtk_reserved3 as sub() 2419 _gtk_reserved4 as sub() 2420 end type 2421 2422 declare function gtk_tree_view_column_get_type() as GType 2423 declare function gtk_tree_view_column_new() as GtkTreeViewColumn ptr 2424 declare function gtk_tree_view_column_new_with_area(byval area as GtkCellArea ptr) as GtkTreeViewColumn ptr 2425 declare function gtk_tree_view_column_new_with_attributes(byval title as const gchar ptr, byval cell as GtkCellRenderer ptr, ...) as GtkTreeViewColumn ptr 2426 declare sub gtk_tree_view_column_pack_start(byval tree_column as GtkTreeViewColumn ptr, byval cell as GtkCellRenderer ptr, byval expand as gboolean) 2427 declare sub gtk_tree_view_column_pack_end(byval tree_column as GtkTreeViewColumn ptr, byval cell as GtkCellRenderer ptr, byval expand as gboolean) 2428 declare sub gtk_tree_view_column_clear(byval tree_column as GtkTreeViewColumn ptr) 2429 declare sub gtk_tree_view_column_add_attribute(byval tree_column as GtkTreeViewColumn ptr, byval cell_renderer as GtkCellRenderer ptr, byval attribute as const gchar ptr, byval column as gint) 2430 declare sub gtk_tree_view_column_set_attributes(byval tree_column as GtkTreeViewColumn ptr, byval cell_renderer as GtkCellRenderer ptr, ...) 2431 declare sub gtk_tree_view_column_set_cell_data_func(byval tree_column as GtkTreeViewColumn ptr, byval cell_renderer as GtkCellRenderer ptr, byval func as GtkTreeCellDataFunc, byval func_data as gpointer, byval destroy as GDestroyNotify) 2432 declare sub gtk_tree_view_column_clear_attributes(byval tree_column as GtkTreeViewColumn ptr, byval cell_renderer as GtkCellRenderer ptr) 2433 declare sub gtk_tree_view_column_set_spacing(byval tree_column as GtkTreeViewColumn ptr, byval spacing as gint) 2434 declare function gtk_tree_view_column_get_spacing(byval tree_column as GtkTreeViewColumn ptr) as gint 2435 declare sub gtk_tree_view_column_set_visible(byval tree_column as GtkTreeViewColumn ptr, byval visible as gboolean) 2436 declare function gtk_tree_view_column_get_visible(byval tree_column as GtkTreeViewColumn ptr) as gboolean 2437 declare sub gtk_tree_view_column_set_resizable(byval tree_column as GtkTreeViewColumn ptr, byval resizable as gboolean) 2438 declare function gtk_tree_view_column_get_resizable(byval tree_column as GtkTreeViewColumn ptr) as gboolean 2439 declare sub gtk_tree_view_column_set_sizing(byval tree_column as GtkTreeViewColumn ptr, byval type as GtkTreeViewColumnSizing) 2440 declare function gtk_tree_view_column_get_sizing(byval tree_column as GtkTreeViewColumn ptr) as GtkTreeViewColumnSizing 2441 declare function gtk_tree_view_column_get_x_offset(byval tree_column as GtkTreeViewColumn ptr) as gint 2442 declare function gtk_tree_view_column_get_width(byval tree_column as GtkTreeViewColumn ptr) as gint 2443 declare function gtk_tree_view_column_get_fixed_width(byval tree_column as GtkTreeViewColumn ptr) as gint 2444 declare sub gtk_tree_view_column_set_fixed_width(byval tree_column as GtkTreeViewColumn ptr, byval fixed_width as gint) 2445 declare sub gtk_tree_view_column_set_min_width(byval tree_column as GtkTreeViewColumn ptr, byval min_width as gint) 2446 declare function gtk_tree_view_column_get_min_width(byval tree_column as GtkTreeViewColumn ptr) as gint 2447 declare sub gtk_tree_view_column_set_max_width(byval tree_column as GtkTreeViewColumn ptr, byval max_width as gint) 2448 declare function gtk_tree_view_column_get_max_width(byval tree_column as GtkTreeViewColumn ptr) as gint 2449 declare sub gtk_tree_view_column_clicked(byval tree_column as GtkTreeViewColumn ptr) 2450 declare sub gtk_tree_view_column_set_title(byval tree_column as GtkTreeViewColumn ptr, byval title as const gchar ptr) 2451 declare function gtk_tree_view_column_get_title(byval tree_column as GtkTreeViewColumn ptr) as const gchar ptr 2452 declare sub gtk_tree_view_column_set_expand(byval tree_column as GtkTreeViewColumn ptr, byval expand as gboolean) 2453 declare function gtk_tree_view_column_get_expand(byval tree_column as GtkTreeViewColumn ptr) as gboolean 2454 declare sub gtk_tree_view_column_set_clickable(byval tree_column as GtkTreeViewColumn ptr, byval clickable as gboolean) 2455 declare function gtk_tree_view_column_get_clickable(byval tree_column as GtkTreeViewColumn ptr) as gboolean 2456 declare sub gtk_tree_view_column_set_widget(byval tree_column as GtkTreeViewColumn ptr, byval widget as GtkWidget ptr) 2457 declare function gtk_tree_view_column_get_widget(byval tree_column as GtkTreeViewColumn ptr) as GtkWidget ptr 2458 declare sub gtk_tree_view_column_set_alignment(byval tree_column as GtkTreeViewColumn ptr, byval xalign as gfloat) 2459 declare function gtk_tree_view_column_get_alignment(byval tree_column as GtkTreeViewColumn ptr) as gfloat 2460 declare sub gtk_tree_view_column_set_reorderable(byval tree_column as GtkTreeViewColumn ptr, byval reorderable as gboolean) 2461 declare function gtk_tree_view_column_get_reorderable(byval tree_column as GtkTreeViewColumn ptr) as gboolean 2462 declare sub gtk_tree_view_column_set_sort_column_id(byval tree_column as GtkTreeViewColumn ptr, byval sort_column_id as gint) 2463 declare function gtk_tree_view_column_get_sort_column_id(byval tree_column as GtkTreeViewColumn ptr) as gint 2464 declare sub gtk_tree_view_column_set_sort_indicator(byval tree_column as GtkTreeViewColumn ptr, byval setting as gboolean) 2465 declare function gtk_tree_view_column_get_sort_indicator(byval tree_column as GtkTreeViewColumn ptr) as gboolean 2466 declare sub gtk_tree_view_column_set_sort_order(byval tree_column as GtkTreeViewColumn ptr, byval order as GtkSortType) 2467 declare function gtk_tree_view_column_get_sort_order(byval tree_column as GtkTreeViewColumn ptr) as GtkSortType 2468 declare sub gtk_tree_view_column_cell_set_cell_data(byval tree_column as GtkTreeViewColumn ptr, byval tree_model as GtkTreeModel ptr, byval iter as GtkTreeIter ptr, byval is_expander as gboolean, byval is_expanded as gboolean) 2469 declare sub gtk_tree_view_column_cell_get_size(byval tree_column as GtkTreeViewColumn ptr, byval cell_area as const GdkRectangle ptr, byval x_offset as gint ptr, byval y_offset as gint ptr, byval width as gint ptr, byval height as gint ptr) 2470 declare function gtk_tree_view_column_cell_is_visible(byval tree_column as GtkTreeViewColumn ptr) as gboolean 2471 declare sub gtk_tree_view_column_focus_cell(byval tree_column as GtkTreeViewColumn ptr, byval cell as GtkCellRenderer ptr) 2472 declare function gtk_tree_view_column_cell_get_position(byval tree_column as GtkTreeViewColumn ptr, byval cell_renderer as GtkCellRenderer ptr, byval x_offset as gint ptr, byval width as gint ptr) as gboolean 2473 declare sub gtk_tree_view_column_queue_resize(byval tree_column as GtkTreeViewColumn ptr) 2474 declare function gtk_tree_view_column_get_tree_view(byval tree_column as GtkTreeViewColumn ptr) as GtkWidget ptr 2475 declare function gtk_tree_view_column_get_button(byval tree_column as GtkTreeViewColumn ptr) as GtkWidget ptr 2476 2477 #define __GTK_DND_H__ 2478 #define __GTK_SELECTION_H__ 2479 #define __GTK_TEXT_ITER_H__ 2480 #define __GTK_TEXT_ATTRIBUTES_H__ 2481 type GtkTextAttributes as _GtkTextAttributes 2482 #define GTK_TYPE_TEXT_ATTRIBUTES gtk_text_attributes_get_type() 2483 type GtkTextAppearance as _GtkTextAppearance 2484 2485 type _GtkTextAppearance 2486 bg_color as GdkColor 2487 fg_color as GdkColor 2488 rise as gint 2489 underline : 4 as guint 2490 strikethrough : 1 as guint 2491 draw_bg : 1 as guint 2492 inside_selection : 1 as guint 2493 is_text : 1 as guint 2494 rgba_(0 to 1) as GdkRGBA ptr 2495 2496 #ifndef __FB_64BIT__ 2497 padding(0 to 1) as guint 2498 #endif 2499 end type 2500 2501 type _GtkTextAttributes 2502 refcount as guint 2503 appearance as GtkTextAppearance 2504 justification as GtkJustification 2505 direction as GtkTextDirection 2506 font as PangoFontDescription ptr 2507 font_scale as gdouble 2508 left_margin as gint 2509 right_margin as gint 2510 indent as gint 2511 pixels_above_lines as gint 2512 pixels_below_lines as gint 2513 pixels_inside_wrap as gint 2514 tabs as PangoTabArray ptr 2515 wrap_mode as GtkWrapMode 2516 language as PangoLanguage ptr 2517 pg_bg_color as GdkColor ptr 2518 invisible : 1 as guint 2519 bg_full_height : 1 as guint 2520 editable : 1 as guint 2521 no_fallback : 1 as guint 2522 pg_bg_rgba as GdkRGBA ptr 2523 letter_spacing as gint 2524 padding(0 to 1) as guint 2525 end type 2526 2527 declare function gtk_text_attributes_new() as GtkTextAttributes ptr 2528 declare function gtk_text_attributes_copy(byval src as GtkTextAttributes ptr) as GtkTextAttributes ptr 2529 declare sub gtk_text_attributes_copy_values(byval src as GtkTextAttributes ptr, byval dest as GtkTextAttributes ptr) 2530 declare sub gtk_text_attributes_unref(byval values as GtkTextAttributes ptr) 2531 declare function gtk_text_attributes_ref(byval values as GtkTextAttributes ptr) as GtkTextAttributes ptr 2532 declare function gtk_text_attributes_get_type() as GType 2533 #define __GTK_TEXT_CHILD_H__ 2534 type GtkTextChildAnchor as _GtkTextChildAnchor 2535 type GtkTextChildAnchorClass as _GtkTextChildAnchorClass 2536 2537 #define GTK_TYPE_TEXT_CHILD_ANCHOR gtk_text_child_anchor_get_type() 2538 #define GTK_TEXT_CHILD_ANCHOR(object) G_TYPE_CHECK_INSTANCE_CAST((object), GTK_TYPE_TEXT_CHILD_ANCHOR, GtkTextChildAnchor) 2539 #define GTK_TEXT_CHILD_ANCHOR_CLASS(klass) G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_TEXT_CHILD_ANCHOR, GtkTextChildAnchorClass) 2540 #define GTK_IS_TEXT_CHILD_ANCHOR(object) G_TYPE_CHECK_INSTANCE_TYPE((object), GTK_TYPE_TEXT_CHILD_ANCHOR) 2541 #define GTK_IS_TEXT_CHILD_ANCHOR_CLASS(klass) G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_TEXT_CHILD_ANCHOR) 2542 #define GTK_TEXT_CHILD_ANCHOR_GET_CLASS(obj) G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_TEXT_CHILD_ANCHOR, GtkTextChildAnchorClass) 2543 2544 type _GtkTextChildAnchor 2545 parent_instance as GObject 2546 segment as gpointer 2547 end type 2548 2549 type _GtkTextChildAnchorClass 2550 parent_class as GObjectClass 2551 _gtk_reserved1 as sub() 2552 _gtk_reserved2 as sub() 2553 _gtk_reserved3 as sub() 2554 _gtk_reserved4 as sub() 2555 end type 2556 2557 declare function gtk_text_child_anchor_get_type() as GType 2558 declare function gtk_text_child_anchor_new() as GtkTextChildAnchor ptr 2559 declare function gtk_text_child_anchor_get_widgets(byval anchor as GtkTextChildAnchor ptr) as GList ptr 2560 declare function gtk_text_child_anchor_get_deleted(byval anchor as GtkTextChildAnchor ptr) as gboolean 2561 #define __GTK_TEXT_TAG_H__ 2562 type GtkTextIter as _GtkTextIter 2563 type GtkTextTagTable as _GtkTextTagTable 2564 2565 #define GTK_TYPE_TEXT_TAG gtk_text_tag_get_type() 2566 #define GTK_TEXT_TAG(obj) G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_TEXT_TAG, GtkTextTag) 2567 #define GTK_TEXT_TAG_CLASS(klass) G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_TEXT_TAG, GtkTextTagClass) 2568 #define GTK_IS_TEXT_TAG(obj) G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_TEXT_TAG) 2569 #define GTK_IS_TEXT_TAG_CLASS(klass) G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_TEXT_TAG) 2570 #define GTK_TEXT_TAG_GET_CLASS(obj) G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_TEXT_TAG, GtkTextTagClass) 2571 2572 type GtkTextTag as _GtkTextTag 2573 type GtkTextTagPrivate as _GtkTextTagPrivate 2574 type GtkTextTagClass as _GtkTextTagClass 2575 2576 type _GtkTextTag 2577 parent_instance as GObject 2578 priv as GtkTextTagPrivate ptr 2579 end type 2580 2581 type _GtkTextTagClass 2582 parent_class as GObjectClass 2583 event as function(byval tag as GtkTextTag ptr, byval event_object as GObject ptr, byval event as GdkEvent ptr, byval iter as const GtkTextIter ptr) as gboolean 2584 _gtk_reserved1 as sub() 2585 _gtk_reserved2 as sub() 2586 _gtk_reserved3 as sub() 2587 _gtk_reserved4 as sub() 2588 end type 2589 2590 declare function gtk_text_tag_get_type() as GType 2591 declare function gtk_text_tag_new(byval name as const gchar ptr) as GtkTextTag ptr 2592 declare function gtk_text_tag_get_priority(byval tag as GtkTextTag ptr) as gint 2593 declare sub gtk_text_tag_set_priority(byval tag as GtkTextTag ptr, byval priority as gint) 2594 declare function gtk_text_tag_event(byval tag as GtkTextTag ptr, byval event_object as GObject ptr, byval event as GdkEvent ptr, byval iter as const GtkTextIter ptr) as gboolean 2595 2596 type GtkTextSearchFlags as long 2597 enum 2598 GTK_TEXT_SEARCH_VISIBLE_ONLY = 1 shl 0 2599 GTK_TEXT_SEARCH_TEXT_ONLY = 1 shl 1 2600 GTK_TEXT_SEARCH_CASE_INSENSITIVE = 1 shl 2 2601 end enum 2602 2603 type GtkTextBuffer as _GtkTextBuffer 2604 #define GTK_TYPE_TEXT_ITER gtk_text_iter_get_type() 2605 2606 type _GtkTextIter 2607 dummy1 as gpointer 2608 dummy2 as gpointer 2609 dummy3 as gint 2610 dummy4 as gint 2611 dummy5 as gint 2612 dummy6 as gint 2613 dummy7 as gint 2614 dummy8 as gint 2615 dummy9 as gpointer 2616 dummy10 as gpointer 2617 dummy11 as gint 2618 dummy12 as gint 2619 dummy13 as gint 2620 dummy14 as gpointer 2621 end type 2622 2623 declare function gtk_text_iter_get_buffer(byval iter as const GtkTextIter ptr) as GtkTextBuffer ptr 2624 declare function gtk_text_iter_copy(byval iter as const GtkTextIter ptr) as GtkTextIter ptr 2625 declare sub gtk_text_iter_free(byval iter as GtkTextIter ptr) 2626 declare sub gtk_text_iter_assign(byval iter as GtkTextIter ptr, byval other as const GtkTextIter ptr) 2627 declare function gtk_text_iter_get_type() as GType 2628 declare function gtk_text_iter_get_offset(byval iter as const GtkTextIter ptr) as gint 2629 declare function gtk_text_iter_get_line(byval iter as const GtkTextIter ptr) as gint 2630 declare function gtk_text_iter_get_line_offset(byval iter as const GtkTextIter ptr) as gint 2631 declare function gtk_text_iter_get_line_index(byval iter as const GtkTextIter ptr) as gint 2632 declare function gtk_text_iter_get_visible_line_offset(byval iter as const GtkTextIter ptr) as gint 2633 declare function gtk_text_iter_get_visible_line_index(byval iter as const GtkTextIter ptr) as gint 2634 declare function gtk_text_iter_get_char(byval iter as const GtkTextIter ptr) as gunichar 2635 declare function gtk_text_iter_get_slice(byval start as const GtkTextIter ptr, byval end as const GtkTextIter ptr) as gchar ptr 2636 declare function gtk_text_iter_get_text(byval start as const GtkTextIter ptr, byval end as const GtkTextIter ptr) as gchar ptr 2637 declare function gtk_text_iter_get_visible_slice(byval start as const GtkTextIter ptr, byval end as const GtkTextIter ptr) as gchar ptr 2638 declare function gtk_text_iter_get_visible_text(byval start as const GtkTextIter ptr, byval end as const GtkTextIter ptr) as gchar ptr 2639 declare function gtk_text_iter_get_pixbuf(byval iter as const GtkTextIter ptr) as GdkPixbuf ptr 2640 declare function gtk_text_iter_get_marks(byval iter as const GtkTextIter ptr) as GSList ptr 2641 declare function gtk_text_iter_get_child_anchor(byval iter as const GtkTextIter ptr) as GtkTextChildAnchor ptr 2642 declare function gtk_text_iter_get_toggled_tags(byval iter as const GtkTextIter ptr, byval toggled_on as gboolean) as GSList ptr 2643 declare function gtk_text_iter_begins_tag(byval iter as const GtkTextIter ptr, byval tag as GtkTextTag ptr) as gboolean 2644 declare function gtk_text_iter_ends_tag(byval iter as const GtkTextIter ptr, byval tag as GtkTextTag ptr) as gboolean 2645 declare function gtk_text_iter_toggles_tag(byval iter as const GtkTextIter ptr, byval tag as GtkTextTag ptr) as gboolean 2646 declare function gtk_text_iter_has_tag(byval iter as const GtkTextIter ptr, byval tag as GtkTextTag ptr) as gboolean 2647 declare function gtk_text_iter_get_tags(byval iter as const GtkTextIter ptr) as GSList ptr 2648 declare function gtk_text_iter_editable(byval iter as const GtkTextIter ptr, byval default_setting as gboolean) as gboolean 2649 declare function gtk_text_iter_can_insert(byval iter as const GtkTextIter ptr, byval default_editability as gboolean) as gboolean 2650 declare function gtk_text_iter_starts_word(byval iter as const GtkTextIter ptr) as gboolean 2651 declare function gtk_text_iter_ends_word(byval iter as const GtkTextIter ptr) as gboolean 2652 declare function gtk_text_iter_inside_word(byval iter as const GtkTextIter ptr) as gboolean 2653 declare function gtk_text_iter_starts_sentence(byval iter as const GtkTextIter ptr) as gboolean 2654 declare function gtk_text_iter_ends_sentence(byval iter as const GtkTextIter ptr) as gboolean 2655 declare function gtk_text_iter_inside_sentence(byval iter as const GtkTextIter ptr) as gboolean 2656 declare function gtk_text_iter_starts_line(byval iter as const GtkTextIter ptr) as gboolean 2657 declare function gtk_text_iter_ends_line(byval iter as const GtkTextIter ptr) as gboolean 2658 declare function gtk_text_iter_is_cursor_position(byval iter as const GtkTextIter ptr) as gboolean 2659 declare function gtk_text_iter_get_chars_in_line(byval iter as const GtkTextIter ptr) as gint 2660 declare function gtk_text_iter_get_bytes_in_line(byval iter as const GtkTextIter ptr) as gint 2661 declare function gtk_text_iter_get_attributes(byval iter as const GtkTextIter ptr, byval values as GtkTextAttributes ptr) as gboolean 2662 declare function gtk_text_iter_get_language(byval iter as const GtkTextIter ptr) as PangoLanguage ptr 2663 declare function gtk_text_iter_is_end(byval iter as const GtkTextIter ptr) as gboolean 2664 declare function gtk_text_iter_is_start(byval iter as const GtkTextIter ptr) as gboolean 2665 declare function gtk_text_iter_forward_char(byval iter as GtkTextIter ptr) as gboolean 2666 declare function gtk_text_iter_backward_char(byval iter as GtkTextIter ptr) as gboolean 2667 declare function gtk_text_iter_forward_chars(byval iter as GtkTextIter ptr, byval count as gint) as gboolean 2668 declare function gtk_text_iter_backward_chars(byval iter as GtkTextIter ptr, byval count as gint) as gboolean 2669 declare function gtk_text_iter_forward_line(byval iter as GtkTextIter ptr) as gboolean 2670 declare function gtk_text_iter_backward_line(byval iter as GtkTextIter ptr) as gboolean 2671 declare function gtk_text_iter_forward_lines(byval iter as GtkTextIter ptr, byval count as gint) as gboolean 2672 declare function gtk_text_iter_backward_lines(byval iter as GtkTextIter ptr, byval count as gint) as gboolean 2673 declare function gtk_text_iter_forward_word_end(byval iter as GtkTextIter ptr) as gboolean 2674 declare function gtk_text_iter_backward_word_start(byval iter as GtkTextIter ptr) as gboolean 2675 declare function gtk_text_iter_forward_word_ends(byval iter as GtkTextIter ptr, byval count as gint) as gboolean 2676 declare function gtk_text_iter_backward_word_starts(byval iter as GtkTextIter ptr, byval count as gint) as gboolean 2677 declare function gtk_text_iter_forward_visible_line(byval iter as GtkTextIter ptr) as gboolean 2678 declare function gtk_text_iter_backward_visible_line(byval iter as GtkTextIter ptr) as gboolean 2679 declare function gtk_text_iter_forward_visible_lines(byval iter as GtkTextIter ptr, byval count as gint) as gboolean 2680 declare function gtk_text_iter_backward_visible_lines(byval iter as GtkTextIter ptr, byval count as gint) as gboolean 2681 declare function gtk_text_iter_forward_visible_word_end(byval iter as GtkTextIter ptr) as gboolean 2682 declare function gtk_text_iter_backward_visible_word_start(byval iter as GtkTextIter ptr) as gboolean 2683 declare function gtk_text_iter_forward_visible_word_ends(byval iter as GtkTextIter ptr, byval count as gint) as gboolean 2684 declare function gtk_text_iter_backward_visible_word_starts(byval iter as GtkTextIter ptr, byval count as gint) as gboolean 2685 declare function gtk_text_iter_forward_sentence_end(byval iter as GtkTextIter ptr) as gboolean 2686 declare function gtk_text_iter_backward_sentence_start(byval iter as GtkTextIter ptr) as gboolean 2687 declare function gtk_text_iter_forward_sentence_ends(byval iter as GtkTextIter ptr, byval count as gint) as gboolean 2688 declare function gtk_text_iter_backward_sentence_starts(byval iter as GtkTextIter ptr, byval count as gint) as gboolean 2689 declare function gtk_text_iter_forward_cursor_position(byval iter as GtkTextIter ptr) as gboolean 2690 declare function gtk_text_iter_backward_cursor_position(byval iter as GtkTextIter ptr) as gboolean 2691 declare function gtk_text_iter_forward_cursor_positions(byval iter as GtkTextIter ptr, byval count as gint) as gboolean 2692 declare function gtk_text_iter_backward_cursor_positions(byval iter as GtkTextIter ptr, byval count as gint) as gboolean 2693 declare function gtk_text_iter_forward_visible_cursor_position(byval iter as GtkTextIter ptr) as gboolean 2694 declare function gtk_text_iter_backward_visible_cursor_position(byval iter as GtkTextIter ptr) as gboolean 2695 declare function gtk_text_iter_forward_visible_cursor_positions(byval iter as GtkTextIter ptr, byval count as gint) as gboolean 2696 declare function gtk_text_iter_backward_visible_cursor_positions(byval iter as GtkTextIter ptr, byval count as gint) as gboolean 2697 declare sub gtk_text_iter_set_offset(byval iter as GtkTextIter ptr, byval char_offset as gint) 2698 declare sub gtk_text_iter_set_line(byval iter as GtkTextIter ptr, byval line_number as gint) 2699 declare sub gtk_text_iter_set_line_offset(byval iter as GtkTextIter ptr, byval char_on_line as gint) 2700 declare sub gtk_text_iter_set_line_index(byval iter as GtkTextIter ptr, byval byte_on_line as gint) 2701 declare sub gtk_text_iter_forward_to_end(byval iter as GtkTextIter ptr) 2702 declare function gtk_text_iter_forward_to_line_end(byval iter as GtkTextIter ptr) as gboolean 2703 declare sub gtk_text_iter_set_visible_line_offset(byval iter as GtkTextIter ptr, byval char_on_line as gint) 2704 declare sub gtk_text_iter_set_visible_line_index(byval iter as GtkTextIter ptr, byval byte_on_line as gint) 2705 declare function gtk_text_iter_forward_to_tag_toggle(byval iter as GtkTextIter ptr, byval tag as GtkTextTag ptr) as gboolean 2706 declare function gtk_text_iter_backward_to_tag_toggle(byval iter as GtkTextIter ptr, byval tag as GtkTextTag ptr) as gboolean 2707 type GtkTextCharPredicate as function(byval ch as gunichar, byval user_data as gpointer) as gboolean 2708 declare function gtk_text_iter_forward_find_char(byval iter as GtkTextIter ptr, byval pred as GtkTextCharPredicate, byval user_data as gpointer, byval limit as const GtkTextIter ptr) as gboolean 2709 declare function gtk_text_iter_backward_find_char(byval iter as GtkTextIter ptr, byval pred as GtkTextCharPredicate, byval user_data as gpointer, byval limit as const GtkTextIter ptr) as gboolean 2710 declare function gtk_text_iter_forward_search(byval iter as const GtkTextIter ptr, byval str as const gchar ptr, byval flags as GtkTextSearchFlags, byval match_start as GtkTextIter ptr, byval match_end as GtkTextIter ptr, byval limit as const GtkTextIter ptr) as gboolean 2711 declare function gtk_text_iter_backward_search(byval iter as const GtkTextIter ptr, byval str as const gchar ptr, byval flags as GtkTextSearchFlags, byval match_start as GtkTextIter ptr, byval match_end as GtkTextIter ptr, byval limit as const GtkTextIter ptr) as gboolean 2712 declare function gtk_text_iter_equal(byval lhs as const GtkTextIter ptr, byval rhs as const GtkTextIter ptr) as gboolean 2713 declare function gtk_text_iter_compare(byval lhs as const GtkTextIter ptr, byval rhs as const GtkTextIter ptr) as gint 2714 declare function gtk_text_iter_in_range(byval iter as const GtkTextIter ptr, byval start as const GtkTextIter ptr, byval end as const GtkTextIter ptr) as gboolean 2715 declare sub gtk_text_iter_order(byval first as GtkTextIter ptr, byval second as GtkTextIter ptr) 2716 type GtkTargetPair as _GtkTargetPair 2717 2718 type _GtkTargetPair 2719 target as GdkAtom 2720 flags as guint 2721 info as guint 2722 end type 2723 2724 type GtkTargetList as _GtkTargetList 2725 type GtkTargetEntry as _GtkTargetEntry 2726 #define GTK_TYPE_SELECTION_DATA gtk_selection_data_get_type() 2727 #define GTK_TYPE_TARGET_LIST gtk_target_list_get_type() 2728 2729 type _GtkTargetEntry 2730 target as gchar ptr 2731 flags as guint 2732 info as guint 2733 end type 2734 2735 declare function gtk_target_list_get_type() as GType 2736 declare function gtk_target_list_new(byval targets as const GtkTargetEntry ptr, byval ntargets as guint) as GtkTargetList ptr 2737 declare function gtk_target_list_ref(byval list as GtkTargetList ptr) as GtkTargetList ptr 2738 declare sub gtk_target_list_unref(byval list as GtkTargetList ptr) 2739 declare sub gtk_target_list_add(byval list as GtkTargetList ptr, byval target as GdkAtom, byval flags as guint, byval info as guint) 2740 declare sub gtk_target_list_add_text_targets(byval list as GtkTargetList ptr, byval info as guint) 2741 declare sub gtk_target_list_add_rich_text_targets(byval list as GtkTargetList ptr, byval info as guint, byval deserializable as gboolean, byval buffer as GtkTextBuffer ptr) 2742 declare sub gtk_target_list_add_image_targets(byval list as GtkTargetList ptr, byval info as guint, byval writable as gboolean) 2743 declare sub gtk_target_list_add_uri_targets(byval list as GtkTargetList ptr, byval info as guint) 2744 declare sub gtk_target_list_add_table(byval list as GtkTargetList ptr, byval targets as const GtkTargetEntry ptr, byval ntargets as guint) 2745 declare sub gtk_target_list_remove(byval list as GtkTargetList ptr, byval target as GdkAtom) 2746 declare function gtk_target_list_find(byval list as GtkTargetList ptr, byval target as GdkAtom, byval info as guint ptr) as gboolean 2747 declare function gtk_target_table_new_from_list(byval list as GtkTargetList ptr, byval n_targets as gint ptr) as GtkTargetEntry ptr 2748 declare sub gtk_target_table_free(byval targets as GtkTargetEntry ptr, byval n_targets as gint) 2749 declare function gtk_selection_owner_set(byval widget as GtkWidget ptr, byval selection as GdkAtom, byval time_ as guint32) as gboolean 2750 declare function gtk_selection_owner_set_for_display(byval display as GdkDisplay ptr, byval widget as GtkWidget ptr, byval selection as GdkAtom, byval time_ as guint32) as gboolean 2751 declare sub gtk_selection_add_target(byval widget as GtkWidget ptr, byval selection as GdkAtom, byval target as GdkAtom, byval info as guint) 2752 declare sub gtk_selection_add_targets(byval widget as GtkWidget ptr, byval selection as GdkAtom, byval targets as const GtkTargetEntry ptr, byval ntargets as guint) 2753 declare sub gtk_selection_clear_targets(byval widget as GtkWidget ptr, byval selection as GdkAtom) 2754 declare function gtk_selection_convert(byval widget as GtkWidget ptr, byval selection as GdkAtom, byval target as GdkAtom, byval time_ as guint32) as gboolean 2755 declare sub gtk_selection_remove_all(byval widget as GtkWidget ptr) 2756 declare function gtk_selection_data_get_selection(byval selection_data as const GtkSelectionData ptr) as GdkAtom 2757 declare function gtk_selection_data_get_target(byval selection_data as const GtkSelectionData ptr) as GdkAtom 2758 declare function gtk_selection_data_get_data_type(byval selection_data as const GtkSelectionData ptr) as GdkAtom 2759 declare function gtk_selection_data_get_format(byval selection_data as const GtkSelectionData ptr) as gint 2760 declare function gtk_selection_data_get_data(byval selection_data as const GtkSelectionData ptr) as const guchar ptr 2761 declare function gtk_selection_data_get_length(byval selection_data as const GtkSelectionData ptr) as gint 2762 declare function gtk_selection_data_get_data_with_length(byval selection_data as const GtkSelectionData ptr, byval length as gint ptr) as const guchar ptr 2763 declare function gtk_selection_data_get_display(byval selection_data as const GtkSelectionData ptr) as GdkDisplay ptr 2764 declare sub gtk_selection_data_set(byval selection_data as GtkSelectionData ptr, byval type as GdkAtom, byval format as gint, byval data as const guchar ptr, byval length as gint) 2765 declare function gtk_selection_data_set_text(byval selection_data as GtkSelectionData ptr, byval str as const gchar ptr, byval len as gint) as gboolean 2766 declare function gtk_selection_data_get_text(byval selection_data as const GtkSelectionData ptr) as guchar ptr 2767 declare function gtk_selection_data_set_pixbuf(byval selection_data as GtkSelectionData ptr, byval pixbuf as GdkPixbuf ptr) as gboolean 2768 declare function gtk_selection_data_get_pixbuf(byval selection_data as const GtkSelectionData ptr) as GdkPixbuf ptr 2769 declare function gtk_selection_data_set_uris(byval selection_data as GtkSelectionData ptr, byval uris as gchar ptr ptr) as gboolean 2770 declare function gtk_selection_data_get_uris(byval selection_data as const GtkSelectionData ptr) as gchar ptr ptr 2771 declare function gtk_selection_data_get_targets(byval selection_data as const GtkSelectionData ptr, byval targets as GdkAtom ptr ptr, byval n_atoms as gint ptr) as gboolean 2772 declare function gtk_selection_data_targets_include_text(byval selection_data as const GtkSelectionData ptr) as gboolean 2773 declare function gtk_selection_data_targets_include_rich_text(byval selection_data as const GtkSelectionData ptr, byval buffer as GtkTextBuffer ptr) as gboolean 2774 declare function gtk_selection_data_targets_include_image(byval selection_data as const GtkSelectionData ptr, byval writable as gboolean) as gboolean 2775 declare function gtk_selection_data_targets_include_uri(byval selection_data as const GtkSelectionData ptr) as gboolean 2776 declare function gtk_targets_include_text(byval targets as GdkAtom ptr, byval n_targets as gint) as gboolean 2777 declare function gtk_targets_include_rich_text(byval targets as GdkAtom ptr, byval n_targets as gint, byval buffer as GtkTextBuffer ptr) as gboolean 2778 declare function gtk_targets_include_image(byval targets as GdkAtom ptr, byval n_targets as gint, byval writable as gboolean) as gboolean 2779 declare function gtk_targets_include_uri(byval targets as GdkAtom ptr, byval n_targets as gint) as gboolean 2780 declare function gtk_selection_data_get_type() as GType 2781 declare function gtk_selection_data_copy(byval data as const GtkSelectionData ptr) as GtkSelectionData ptr 2782 declare sub gtk_selection_data_free(byval data as GtkSelectionData ptr) 2783 declare function gtk_target_entry_get_type() as GType 2784 declare function gtk_target_entry_new(byval target as const gchar ptr, byval flags as guint, byval info as guint) as GtkTargetEntry ptr 2785 declare function gtk_target_entry_copy(byval data as GtkTargetEntry ptr) as GtkTargetEntry ptr 2786 declare sub gtk_target_entry_free(byval data as GtkTargetEntry ptr) 2787 2788 type GtkDestDefaults as long 2789 enum 2790 GTK_DEST_DEFAULT_MOTION = 1 shl 0 2791 GTK_DEST_DEFAULT_HIGHLIGHT = 1 shl 1 2792 GTK_DEST_DEFAULT_DROP = 1 shl 2 2793 GTK_DEST_DEFAULT_ALL = &h07 2794 end enum 2795 2796 type GtkTargetFlags as long 2797 enum 2798 GTK_TARGET_SAME_APP = 1 shl 0 2799 GTK_TARGET_SAME_WIDGET = 1 shl 1 2800 GTK_TARGET_OTHER_APP = 1 shl 2 2801 GTK_TARGET_OTHER_WIDGET = 1 shl 3 2802 end enum 2803 2804 declare sub gtk_drag_get_data(byval widget as GtkWidget ptr, byval context as GdkDragContext ptr, byval target as GdkAtom, byval time_ as guint32) 2805 declare sub gtk_drag_finish(byval context as GdkDragContext ptr, byval success as gboolean, byval del as gboolean, byval time_ as guint32) 2806 declare function gtk_drag_get_source_widget(byval context as GdkDragContext ptr) as GtkWidget ptr 2807 declare sub gtk_drag_highlight(byval widget as GtkWidget ptr) 2808 declare sub gtk_drag_unhighlight(byval widget as GtkWidget ptr) 2809 declare sub gtk_drag_dest_set(byval widget as GtkWidget ptr, byval flags as GtkDestDefaults, byval targets as const GtkTargetEntry ptr, byval n_targets as gint, byval actions as GdkDragAction) 2810 declare sub gtk_drag_dest_set_proxy(byval widget as GtkWidget ptr, byval proxy_window as GdkWindow ptr, byval protocol as GdkDragProtocol, byval use_coordinates as gboolean) 2811 declare sub gtk_drag_dest_unset(byval widget as GtkWidget ptr) 2812 declare function gtk_drag_dest_find_target(byval widget as GtkWidget ptr, byval context as GdkDragContext ptr, byval target_list as GtkTargetList ptr) as GdkAtom 2813 declare function gtk_drag_dest_get_target_list(byval widget as GtkWidget ptr) as GtkTargetList ptr 2814 declare sub gtk_drag_dest_set_target_list(byval widget as GtkWidget ptr, byval target_list as GtkTargetList ptr) 2815 declare sub gtk_drag_dest_add_text_targets(byval widget as GtkWidget ptr) 2816 declare sub gtk_drag_dest_add_image_targets(byval widget as GtkWidget ptr) 2817 declare sub gtk_drag_dest_add_uri_targets(byval widget as GtkWidget ptr) 2818 declare sub gtk_drag_dest_set_track_motion(byval widget as GtkWidget ptr, byval track_motion as gboolean) 2819 declare function gtk_drag_dest_get_track_motion(byval widget as GtkWidget ptr) as gboolean 2820 declare sub gtk_drag_source_set(byval widget as GtkWidget ptr, byval start_button_mask as GdkModifierType, byval targets as const GtkTargetEntry ptr, byval n_targets as gint, byval actions as GdkDragAction) 2821 declare sub gtk_drag_source_unset(byval widget as GtkWidget ptr) 2822 declare function gtk_drag_source_get_target_list(byval widget as GtkWidget ptr) as GtkTargetList ptr 2823 declare sub gtk_drag_source_set_target_list(byval widget as GtkWidget ptr, byval target_list as GtkTargetList ptr) 2824 declare sub gtk_drag_source_add_text_targets(byval widget as GtkWidget ptr) 2825 declare sub gtk_drag_source_add_image_targets(byval widget as GtkWidget ptr) 2826 declare sub gtk_drag_source_add_uri_targets(byval widget as GtkWidget ptr) 2827 declare sub gtk_drag_source_set_icon_pixbuf(byval widget as GtkWidget ptr, byval pixbuf as GdkPixbuf ptr) 2828 declare sub gtk_drag_source_set_icon_stock(byval widget as GtkWidget ptr, byval stock_id as const gchar ptr) 2829 declare sub gtk_drag_source_set_icon_name(byval widget as GtkWidget ptr, byval icon_name as const gchar ptr) 2830 declare sub gtk_drag_source_set_icon_gicon(byval widget as GtkWidget ptr, byval icon as GIcon ptr) 2831 declare function gtk_drag_begin_with_coordinates(byval widget as GtkWidget ptr, byval targets as GtkTargetList ptr, byval actions as GdkDragAction, byval button as gint, byval event as GdkEvent ptr, byval x as gint, byval y as gint) as GdkDragContext ptr 2832 declare function gtk_drag_begin(byval widget as GtkWidget ptr, byval targets as GtkTargetList ptr, byval actions as GdkDragAction, byval button as gint, byval event as GdkEvent ptr) as GdkDragContext ptr 2833 declare sub gtk_drag_cancel(byval context as GdkDragContext ptr) 2834 declare sub gtk_drag_set_icon_widget(byval context as GdkDragContext ptr, byval widget as GtkWidget ptr, byval hot_x as gint, byval hot_y as gint) 2835 declare sub gtk_drag_set_icon_pixbuf(byval context as GdkDragContext ptr, byval pixbuf as GdkPixbuf ptr, byval hot_x as gint, byval hot_y as gint) 2836 declare sub gtk_drag_set_icon_stock(byval context as GdkDragContext ptr, byval stock_id as const gchar ptr, byval hot_x as gint, byval hot_y as gint) 2837 declare sub gtk_drag_set_icon_surface(byval context as GdkDragContext ptr, byval surface as cairo_surface_t ptr) 2838 declare sub gtk_drag_set_icon_name(byval context as GdkDragContext ptr, byval icon_name as const gchar ptr, byval hot_x as gint, byval hot_y as gint) 2839 declare sub gtk_drag_set_icon_gicon(byval context as GdkDragContext ptr, byval icon as GIcon ptr, byval hot_x as gint, byval hot_y as gint) 2840 declare sub gtk_drag_set_icon_default(byval context as GdkDragContext ptr) 2841 declare function gtk_drag_check_threshold(byval widget as GtkWidget ptr, byval start_x as gint, byval start_y as gint, byval current_x as gint, byval current_y as gint) as gboolean 2842 declare sub _gtk_drag_source_handle_event(byval widget as GtkWidget ptr, byval event as GdkEvent ptr) 2843 declare sub _gtk_drag_dest_handle_event(byval toplevel as GtkWidget ptr, byval event as GdkEvent ptr) 2844 2845 #define __GTK_ENTRY_H__ 2846 #define __GTK_EDITABLE_H__ 2847 #define GTK_TYPE_EDITABLE gtk_editable_get_type() 2848 #define GTK_EDITABLE(obj) G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_EDITABLE, GtkEditable) 2849 #define GTK_IS_EDITABLE(obj) G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_EDITABLE) 2850 #define GTK_EDITABLE_GET_IFACE(inst) G_TYPE_INSTANCE_GET_INTERFACE((inst), GTK_TYPE_EDITABLE, GtkEditableInterface) 2851 type GtkEditable as _GtkEditable 2852 type GtkEditableInterface as _GtkEditableInterface 2853 2854 type _GtkEditableInterface 2855 base_iface as GTypeInterface 2856 insert_text as sub(byval editable as GtkEditable ptr, byval new_text as const gchar ptr, byval new_text_length as gint, byval position as gint ptr) 2857 delete_text as sub(byval editable as GtkEditable ptr, byval start_pos as gint, byval end_pos as gint) 2858 changed as sub(byval editable as GtkEditable ptr) 2859 do_insert_text as sub(byval editable as GtkEditable ptr, byval new_text as const gchar ptr, byval new_text_length as gint, byval position as gint ptr) 2860 do_delete_text as sub(byval editable as GtkEditable ptr, byval start_pos as gint, byval end_pos as gint) 2861 get_chars as function(byval editable as GtkEditable ptr, byval start_pos as gint, byval end_pos as gint) as gchar ptr 2862 set_selection_bounds as sub(byval editable as GtkEditable ptr, byval start_pos as gint, byval end_pos as gint) 2863 get_selection_bounds as function(byval editable as GtkEditable ptr, byval start_pos as gint ptr, byval end_pos as gint ptr) as gboolean 2864 set_position as sub(byval editable as GtkEditable ptr, byval position as gint) 2865 get_position as function(byval editable as GtkEditable ptr) as gint 2866 end type 2867 2868 declare function gtk_editable_get_type() as GType 2869 declare sub gtk_editable_select_region(byval editable as GtkEditable ptr, byval start_pos as gint, byval end_pos as gint) 2870 declare function gtk_editable_get_selection_bounds(byval editable as GtkEditable ptr, byval start_pos as gint ptr, byval end_pos as gint ptr) as gboolean 2871 declare sub gtk_editable_insert_text(byval editable as GtkEditable ptr, byval new_text as const gchar ptr, byval new_text_length as gint, byval position as gint ptr) 2872 declare sub gtk_editable_delete_text(byval editable as GtkEditable ptr, byval start_pos as gint, byval end_pos as gint) 2873 declare function gtk_editable_get_chars(byval editable as GtkEditable ptr, byval start_pos as gint, byval end_pos as gint) as gchar ptr 2874 declare sub gtk_editable_cut_clipboard(byval editable as GtkEditable ptr) 2875 declare sub gtk_editable_copy_clipboard(byval editable as GtkEditable ptr) 2876 declare sub gtk_editable_paste_clipboard(byval editable as GtkEditable ptr) 2877 declare sub gtk_editable_delete_selection(byval editable as GtkEditable ptr) 2878 declare sub gtk_editable_set_position(byval editable as GtkEditable ptr, byval position as gint) 2879 declare function gtk_editable_get_position(byval editable as GtkEditable ptr) as gint 2880 declare sub gtk_editable_set_editable(byval editable as GtkEditable ptr, byval is_editable as gboolean) 2881 declare function gtk_editable_get_editable(byval editable as GtkEditable ptr) as gboolean 2882 2883 #define __GTK_IM_CONTEXT_H__ 2884 #define GTK_TYPE_IM_CONTEXT gtk_im_context_get_type() 2885 #define GTK_IM_CONTEXT(obj) G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_IM_CONTEXT, GtkIMContext) 2886 #define GTK_IM_CONTEXT_CLASS(klass) G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_IM_CONTEXT, GtkIMContextClass) 2887 #define GTK_IS_IM_CONTEXT(obj) G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_IM_CONTEXT) 2888 #define GTK_IS_IM_CONTEXT_CLASS(klass) G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_IM_CONTEXT) 2889 #define GTK_IM_CONTEXT_GET_CLASS(obj) G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_IM_CONTEXT, GtkIMContextClass) 2890 type GtkIMContext as _GtkIMContext 2891 type GtkIMContextClass as _GtkIMContextClass 2892 2893 type _GtkIMContext 2894 parent_instance as GObject 2895 end type 2896 2897 type _GtkIMContextClass 2898 parent_class as GObjectClass 2899 preedit_start as sub(byval context as GtkIMContext ptr) 2900 preedit_end as sub(byval context as GtkIMContext ptr) 2901 preedit_changed as sub(byval context as GtkIMContext ptr) 2902 commit as sub(byval context as GtkIMContext ptr, byval str as const gchar ptr) 2903 retrieve_surrounding as function(byval context as GtkIMContext ptr) as gboolean 2904 delete_surrounding as function(byval context as GtkIMContext ptr, byval offset as gint, byval n_chars as gint) as gboolean 2905 set_client_window as sub(byval context as GtkIMContext ptr, byval window as GdkWindow ptr) 2906 get_preedit_string as sub(byval context as GtkIMContext ptr, byval str as gchar ptr ptr, byval attrs as PangoAttrList ptr ptr, byval cursor_pos as gint ptr) 2907 filter_keypress as function(byval context as GtkIMContext ptr, byval event as GdkEventKey ptr) as gboolean 2908 focus_in as sub(byval context as GtkIMContext ptr) 2909 focus_out as sub(byval context as GtkIMContext ptr) 2910 reset as sub(byval context as GtkIMContext ptr) 2911 set_cursor_location as sub(byval context as GtkIMContext ptr, byval area as GdkRectangle ptr) 2912 set_use_preedit as sub(byval context as GtkIMContext ptr, byval use_preedit as gboolean) 2913 set_surrounding as sub(byval context as GtkIMContext ptr, byval text as const gchar ptr, byval len as gint, byval cursor_index as gint) 2914 get_surrounding as function(byval context as GtkIMContext ptr, byval text as gchar ptr ptr, byval cursor_index as gint ptr) as gboolean 2915 _gtk_reserved1 as sub() 2916 _gtk_reserved2 as sub() 2917 _gtk_reserved3 as sub() 2918 _gtk_reserved4 as sub() 2919 _gtk_reserved5 as sub() 2920 _gtk_reserved6 as sub() 2921 end type 2922 2923 declare function gtk_im_context_get_type() as GType 2924 declare sub gtk_im_context_set_client_window(byval context as GtkIMContext ptr, byval window as GdkWindow ptr) 2925 declare sub gtk_im_context_get_preedit_string(byval context as GtkIMContext ptr, byval str as gchar ptr ptr, byval attrs as PangoAttrList ptr ptr, byval cursor_pos as gint ptr) 2926 declare function gtk_im_context_filter_keypress(byval context as GtkIMContext ptr, byval event as GdkEventKey ptr) as gboolean 2927 declare sub gtk_im_context_focus_in(byval context as GtkIMContext ptr) 2928 declare sub gtk_im_context_focus_out(byval context as GtkIMContext ptr) 2929 declare sub gtk_im_context_reset(byval context as GtkIMContext ptr) 2930 declare sub gtk_im_context_set_cursor_location(byval context as GtkIMContext ptr, byval area as const GdkRectangle ptr) 2931 declare sub gtk_im_context_set_use_preedit(byval context as GtkIMContext ptr, byval use_preedit as gboolean) 2932 declare sub gtk_im_context_set_surrounding(byval context as GtkIMContext ptr, byval text as const gchar ptr, byval len as gint, byval cursor_index as gint) 2933 declare function gtk_im_context_get_surrounding(byval context as GtkIMContext ptr, byval text as gchar ptr ptr, byval cursor_index as gint ptr) as gboolean 2934 declare function gtk_im_context_delete_surrounding(byval context as GtkIMContext ptr, byval offset as gint, byval n_chars as gint) as gboolean 2935 2936 #define __GTK_ENTRY_BUFFER_H__ 2937 #define GTK_ENTRY_BUFFER_MAX_SIZE G_MAXUSHORT 2938 #define GTK_TYPE_ENTRY_BUFFER gtk_entry_buffer_get_type() 2939 #define GTK_ENTRY_BUFFER(obj) G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_ENTRY_BUFFER, GtkEntryBuffer) 2940 #define GTK_ENTRY_BUFFER_CLASS(klass) G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_ENTRY_BUFFER, GtkEntryBufferClass) 2941 #define GTK_IS_ENTRY_BUFFER(obj) G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_ENTRY_BUFFER) 2942 #define GTK_IS_ENTRY_BUFFER_CLASS(klass) G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_ENTRY_BUFFER) 2943 #define GTK_ENTRY_BUFFER_GET_CLASS(obj) G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_ENTRY_BUFFER, GtkEntryBufferClass) 2944 2945 type GtkEntryBuffer as _GtkEntryBuffer 2946 type GtkEntryBufferClass as _GtkEntryBufferClass 2947 type GtkEntryBufferPrivate as _GtkEntryBufferPrivate 2948 2949 type _GtkEntryBuffer 2950 parent_instance as GObject 2951 priv as GtkEntryBufferPrivate ptr 2952 end type 2953 2954 type _GtkEntryBufferClass 2955 parent_class as GObjectClass 2956 inserted_text as sub(byval buffer as GtkEntryBuffer ptr, byval position as guint, byval chars as const gchar ptr, byval n_chars as guint) 2957 deleted_text as sub(byval buffer as GtkEntryBuffer ptr, byval position as guint, byval n_chars as guint) 2958 get_text as function(byval buffer as GtkEntryBuffer ptr, byval n_bytes as gsize ptr) as const gchar ptr 2959 get_length as function(byval buffer as GtkEntryBuffer ptr) as guint 2960 insert_text as function(byval buffer as GtkEntryBuffer ptr, byval position as guint, byval chars as const gchar ptr, byval n_chars as guint) as guint 2961 delete_text as function(byval buffer as GtkEntryBuffer ptr, byval position as guint, byval n_chars as guint) as guint 2962 _gtk_reserved1 as sub() 2963 _gtk_reserved2 as sub() 2964 _gtk_reserved3 as sub() 2965 _gtk_reserved4 as sub() 2966 _gtk_reserved5 as sub() 2967 _gtk_reserved6 as sub() 2968 _gtk_reserved7 as sub() 2969 _gtk_reserved8 as sub() 2970 end type 2971 2972 declare function gtk_entry_buffer_get_type() as GType 2973 declare function gtk_entry_buffer_new(byval initial_chars as const gchar ptr, byval n_initial_chars as gint) as GtkEntryBuffer ptr 2974 declare function gtk_entry_buffer_get_bytes(byval buffer as GtkEntryBuffer ptr) as gsize 2975 declare function gtk_entry_buffer_get_length(byval buffer as GtkEntryBuffer ptr) as guint 2976 declare function gtk_entry_buffer_get_text(byval buffer as GtkEntryBuffer ptr) as const gchar ptr 2977 declare sub gtk_entry_buffer_set_text(byval buffer as GtkEntryBuffer ptr, byval chars as const gchar ptr, byval n_chars as gint) 2978 declare sub gtk_entry_buffer_set_max_length(byval buffer as GtkEntryBuffer ptr, byval max_length as gint) 2979 declare function gtk_entry_buffer_get_max_length(byval buffer as GtkEntryBuffer ptr) as gint 2980 declare function gtk_entry_buffer_insert_text(byval buffer as GtkEntryBuffer ptr, byval position as guint, byval chars as const gchar ptr, byval n_chars as gint) as guint 2981 declare function gtk_entry_buffer_delete_text(byval buffer as GtkEntryBuffer ptr, byval position as guint, byval n_chars as gint) as guint 2982 declare sub gtk_entry_buffer_emit_inserted_text(byval buffer as GtkEntryBuffer ptr, byval position as guint, byval chars as const gchar ptr, byval n_chars as guint) 2983 declare sub gtk_entry_buffer_emit_deleted_text(byval buffer as GtkEntryBuffer ptr, byval position as guint, byval n_chars as guint) 2984 2985 #define __GTK_ENTRY_COMPLETION_H__ 2986 #define __GTK_LIST_STORE_H__ 2987 #define GTK_TYPE_LIST_STORE gtk_list_store_get_type() 2988 #define GTK_LIST_STORE(obj) G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_LIST_STORE, GtkListStore) 2989 #define GTK_LIST_STORE_CLASS(klass) G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_LIST_STORE, GtkListStoreClass) 2990 #define GTK_IS_LIST_STORE(obj) G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_LIST_STORE) 2991 #define GTK_IS_LIST_STORE_CLASS(klass) G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_LIST_STORE) 2992 #define GTK_LIST_STORE_GET_CLASS(obj) G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_LIST_STORE, GtkListStoreClass) 2993 2994 type GtkListStore as _GtkListStore 2995 type GtkListStorePrivate as _GtkListStorePrivate 2996 type GtkListStoreClass as _GtkListStoreClass 2997 2998 type _GtkListStore 2999 parent as GObject 3000 priv as GtkListStorePrivate ptr 3001 end type 3002 3003 type _GtkListStoreClass 3004 parent_class as GObjectClass 3005 _gtk_reserved1 as sub() 3006 _gtk_reserved2 as sub() 3007 _gtk_reserved3 as sub() 3008 _gtk_reserved4 as sub() 3009 end type 3010 3011 declare function gtk_list_store_get_type() as GType 3012 declare function gtk_list_store_new(byval n_columns as gint, ...) as GtkListStore ptr 3013 declare function gtk_list_store_newv(byval n_columns as gint, byval types as GType ptr) as GtkListStore ptr 3014 declare sub gtk_list_store_set_column_types(byval list_store as GtkListStore ptr, byval n_columns as gint, byval types as GType ptr) 3015 declare sub gtk_list_store_set_value(byval list_store as GtkListStore ptr, byval iter as GtkTreeIter ptr, byval column as gint, byval value as GValue ptr) 3016 declare sub gtk_list_store_set(byval list_store as GtkListStore ptr, byval iter as GtkTreeIter ptr, ...) 3017 declare sub gtk_list_store_set_valuesv(byval list_store as GtkListStore ptr, byval iter as GtkTreeIter ptr, byval columns as gint ptr, byval values as GValue ptr, byval n_values as gint) 3018 declare sub gtk_list_store_set_valist(byval list_store as GtkListStore ptr, byval iter as GtkTreeIter ptr, byval var_args as va_list) 3019 declare function gtk_list_store_remove(byval list_store as GtkListStore ptr, byval iter as GtkTreeIter ptr) as gboolean 3020 declare sub gtk_list_store_insert(byval list_store as GtkListStore ptr, byval iter as GtkTreeIter ptr, byval position as gint) 3021 declare sub gtk_list_store_insert_before(byval list_store as GtkListStore ptr, byval iter as GtkTreeIter ptr, byval sibling as GtkTreeIter ptr) 3022 declare sub gtk_list_store_insert_after(byval list_store as GtkListStore ptr, byval iter as GtkTreeIter ptr, byval sibling as GtkTreeIter ptr) 3023 declare sub gtk_list_store_insert_with_values(byval list_store as GtkListStore ptr, byval iter as GtkTreeIter ptr, byval position as gint, ...) 3024 declare sub gtk_list_store_insert_with_valuesv(byval list_store as GtkListStore ptr, byval iter as GtkTreeIter ptr, byval position as gint, byval columns as gint ptr, byval values as GValue ptr, byval n_values as gint) 3025 declare sub gtk_list_store_prepend(byval list_store as GtkListStore ptr, byval iter as GtkTreeIter ptr) 3026 declare sub gtk_list_store_append(byval list_store as GtkListStore ptr, byval iter as GtkTreeIter ptr) 3027 declare sub gtk_list_store_clear(byval list_store as GtkListStore ptr) 3028 declare function gtk_list_store_iter_is_valid(byval list_store as GtkListStore ptr, byval iter as GtkTreeIter ptr) as gboolean 3029 declare sub gtk_list_store_reorder(byval store as GtkListStore ptr, byval new_order as gint ptr) 3030 declare sub gtk_list_store_swap(byval store as GtkListStore ptr, byval a as GtkTreeIter ptr, byval b as GtkTreeIter ptr) 3031 declare sub gtk_list_store_move_after(byval store as GtkListStore ptr, byval iter as GtkTreeIter ptr, byval position as GtkTreeIter ptr) 3032 declare sub gtk_list_store_move_before(byval store as GtkListStore ptr, byval iter as GtkTreeIter ptr, byval position as GtkTreeIter ptr) 3033 3034 #define __GTK_TREE_MODEL_FILTER_H__ 3035 #define GTK_TYPE_TREE_MODEL_FILTER gtk_tree_model_filter_get_type() 3036 #define GTK_TREE_MODEL_FILTER(obj) G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_TREE_MODEL_FILTER, GtkTreeModelFilter) 3037 #define GTK_TREE_MODEL_FILTER_CLASS(vtable) G_TYPE_CHECK_CLASS_CAST((vtable), GTK_TYPE_TREE_MODEL_FILTER, GtkTreeModelFilterClass) 3038 #define GTK_IS_TREE_MODEL_FILTER(obj) G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_TREE_MODEL_FILTER) 3039 #define GTK_IS_TREE_MODEL_FILTER_CLASS(vtable) G_TYPE_CHECK_CLASS_TYPE((vtable), GTK_TYPE_TREE_MODEL_FILTER) 3040 #define GTK_TREE_MODEL_FILTER_GET_CLASS(obj) G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_TREE_MODEL_FILTER, GtkTreeModelFilterClass) 3041 3042 type GtkTreeModelFilterVisibleFunc as function(byval model as GtkTreeModel ptr, byval iter as GtkTreeIter ptr, byval data as gpointer) as gboolean 3043 type GtkTreeModelFilterModifyFunc as sub(byval model as GtkTreeModel ptr, byval iter as GtkTreeIter ptr, byval value as GValue ptr, byval column as gint, byval data as gpointer) 3044 type GtkTreeModelFilter as _GtkTreeModelFilter 3045 type GtkTreeModelFilterClass as _GtkTreeModelFilterClass 3046 type GtkTreeModelFilterPrivate as _GtkTreeModelFilterPrivate 3047 3048 type _GtkTreeModelFilter 3049 parent as GObject 3050 priv as GtkTreeModelFilterPrivate ptr 3051 end type 3052 3053 type _GtkTreeModelFilterClass 3054 parent_class as GObjectClass 3055 visible as function(byval self as GtkTreeModelFilter ptr, byval child_model as GtkTreeModel ptr, byval iter as GtkTreeIter ptr) as gboolean 3056 modify as sub(byval self as GtkTreeModelFilter ptr, byval child_model as GtkTreeModel ptr, byval iter as GtkTreeIter ptr, byval value as GValue ptr, byval column as gint) 3057 _gtk_reserved1 as sub() 3058 _gtk_reserved2 as sub() 3059 _gtk_reserved3 as sub() 3060 _gtk_reserved4 as sub() 3061 end type 3062 3063 declare function gtk_tree_model_filter_get_type() as GType 3064 declare function gtk_tree_model_filter_new(byval child_model as GtkTreeModel ptr, byval root as GtkTreePath ptr) as GtkTreeModel ptr 3065 declare sub gtk_tree_model_filter_set_visible_func(byval filter as GtkTreeModelFilter ptr, byval func as GtkTreeModelFilterVisibleFunc, byval data as gpointer, byval destroy as GDestroyNotify) 3066 declare sub gtk_tree_model_filter_set_modify_func(byval filter as GtkTreeModelFilter ptr, byval n_columns as gint, byval types as GType ptr, byval func as GtkTreeModelFilterModifyFunc, byval data as gpointer, byval destroy as GDestroyNotify) 3067 declare sub gtk_tree_model_filter_set_visible_column(byval filter as GtkTreeModelFilter ptr, byval column as gint) 3068 declare function gtk_tree_model_filter_get_model(byval filter as GtkTreeModelFilter ptr) as GtkTreeModel ptr 3069 declare function gtk_tree_model_filter_convert_child_iter_to_iter(byval filter as GtkTreeModelFilter ptr, byval filter_iter as GtkTreeIter ptr, byval child_iter as GtkTreeIter ptr) as gboolean 3070 declare sub gtk_tree_model_filter_convert_iter_to_child_iter(byval filter as GtkTreeModelFilter ptr, byval child_iter as GtkTreeIter ptr, byval filter_iter as GtkTreeIter ptr) 3071 declare function gtk_tree_model_filter_convert_child_path_to_path(byval filter as GtkTreeModelFilter ptr, byval child_path as GtkTreePath ptr) as GtkTreePath ptr 3072 declare function gtk_tree_model_filter_convert_path_to_child_path(byval filter as GtkTreeModelFilter ptr, byval filter_path as GtkTreePath ptr) as GtkTreePath ptr 3073 declare sub gtk_tree_model_filter_refilter(byval filter as GtkTreeModelFilter ptr) 3074 declare sub gtk_tree_model_filter_clear_cache(byval filter as GtkTreeModelFilter ptr) 3075 3076 #define GTK_TYPE_ENTRY_COMPLETION gtk_entry_completion_get_type() 3077 #define GTK_ENTRY_COMPLETION(obj) G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_ENTRY_COMPLETION, GtkEntryCompletion) 3078 #define GTK_ENTRY_COMPLETION_CLASS(klass) G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_ENTRY_COMPLETION, GtkEntryCompletionClass) 3079 #define GTK_IS_ENTRY_COMPLETION(obj) G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_ENTRY_COMPLETION) 3080 #define GTK_IS_ENTRY_COMPLETION_CLASS(klass) G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_ENTRY_COMPLETION) 3081 #define GTK_ENTRY_COMPLETION_GET_CLASS(obj) G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_ENTRY_COMPLETION, GtkEntryCompletionClass) 3082 3083 type GtkEntryCompletion as _GtkEntryCompletion 3084 type GtkEntryCompletionClass as _GtkEntryCompletionClass 3085 type GtkEntryCompletionPrivate as _GtkEntryCompletionPrivate 3086 type GtkEntryCompletionMatchFunc as function(byval completion as GtkEntryCompletion ptr, byval key as const gchar ptr, byval iter as GtkTreeIter ptr, byval user_data as gpointer) as gboolean 3087 3088 type _GtkEntryCompletion 3089 parent_instance as GObject 3090 priv as GtkEntryCompletionPrivate ptr 3091 end type 3092 3093 type _GtkEntryCompletionClass 3094 parent_class as GObjectClass 3095 match_selected as function(byval completion as GtkEntryCompletion ptr, byval model as GtkTreeModel ptr, byval iter as GtkTreeIter ptr) as gboolean 3096 action_activated as sub(byval completion as GtkEntryCompletion ptr, byval index_ as gint) 3097 insert_prefix as function(byval completion as GtkEntryCompletion ptr, byval prefix as const gchar ptr) as gboolean 3098 cursor_on_match as function(byval completion as GtkEntryCompletion ptr, byval model as GtkTreeModel ptr, byval iter as GtkTreeIter ptr) as gboolean 3099 no_matches as sub(byval completion as GtkEntryCompletion ptr) 3100 _gtk_reserved0 as sub() 3101 _gtk_reserved1 as sub() 3102 _gtk_reserved2 as sub() 3103 end type 3104 3105 declare function gtk_entry_completion_get_type() as GType 3106 declare function gtk_entry_completion_new() as GtkEntryCompletion ptr 3107 declare function gtk_entry_completion_new_with_area(byval area as GtkCellArea ptr) as GtkEntryCompletion ptr 3108 declare function gtk_entry_completion_get_entry(byval completion as GtkEntryCompletion ptr) as GtkWidget ptr 3109 declare sub gtk_entry_completion_set_model(byval completion as GtkEntryCompletion ptr, byval model as GtkTreeModel ptr) 3110 declare function gtk_entry_completion_get_model(byval completion as GtkEntryCompletion ptr) as GtkTreeModel ptr 3111 declare sub gtk_entry_completion_set_match_func(byval completion as GtkEntryCompletion ptr, byval func as GtkEntryCompletionMatchFunc, byval func_data as gpointer, byval func_notify as GDestroyNotify) 3112 declare sub gtk_entry_completion_set_minimum_key_length(byval completion as GtkEntryCompletion ptr, byval length as gint) 3113 declare function gtk_entry_completion_get_minimum_key_length(byval completion as GtkEntryCompletion ptr) as gint 3114 declare function gtk_entry_completion_compute_prefix(byval completion as GtkEntryCompletion ptr, byval key as const zstring ptr) as gchar ptr 3115 declare sub gtk_entry_completion_complete(byval completion as GtkEntryCompletion ptr) 3116 declare sub gtk_entry_completion_insert_prefix(byval completion as GtkEntryCompletion ptr) 3117 declare sub gtk_entry_completion_insert_action_text(byval completion as GtkEntryCompletion ptr, byval index_ as gint, byval text as const gchar ptr) 3118 declare sub gtk_entry_completion_insert_action_markup(byval completion as GtkEntryCompletion ptr, byval index_ as gint, byval markup as const gchar ptr) 3119 declare sub gtk_entry_completion_delete_action(byval completion as GtkEntryCompletion ptr, byval index_ as gint) 3120 declare sub gtk_entry_completion_set_inline_completion(byval completion as GtkEntryCompletion ptr, byval inline_completion as gboolean) 3121 declare function gtk_entry_completion_get_inline_completion(byval completion as GtkEntryCompletion ptr) as gboolean 3122 declare sub gtk_entry_completion_set_inline_selection(byval completion as GtkEntryCompletion ptr, byval inline_selection as gboolean) 3123 declare function gtk_entry_completion_get_inline_selection(byval completion as GtkEntryCompletion ptr) as gboolean 3124 declare sub gtk_entry_completion_set_popup_completion(byval completion as GtkEntryCompletion ptr, byval popup_completion as gboolean) 3125 declare function gtk_entry_completion_get_popup_completion(byval completion as GtkEntryCompletion ptr) as gboolean 3126 declare sub gtk_entry_completion_set_popup_set_width(byval completion as GtkEntryCompletion ptr, byval popup_set_width as gboolean) 3127 declare function gtk_entry_completion_get_popup_set_width(byval completion as GtkEntryCompletion ptr) as gboolean 3128 declare sub gtk_entry_completion_set_popup_single_match(byval completion as GtkEntryCompletion ptr, byval popup_single_match as gboolean) 3129 declare function gtk_entry_completion_get_popup_single_match(byval completion as GtkEntryCompletion ptr) as gboolean 3130 declare function gtk_entry_completion_get_completion_prefix(byval completion as GtkEntryCompletion ptr) as const gchar ptr 3131 declare sub gtk_entry_completion_set_text_column(byval completion as GtkEntryCompletion ptr, byval column as gint) 3132 declare function gtk_entry_completion_get_text_column(byval completion as GtkEntryCompletion ptr) as gint 3133 3134 #define __GTK_IMAGE_H__ 3135 #define GTK_TYPE_IMAGE gtk_image_get_type() 3136 #define GTK_IMAGE(obj) G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_IMAGE, GtkImage) 3137 #define GTK_IMAGE_CLASS(klass) G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_IMAGE, GtkImageClass) 3138 #define GTK_IS_IMAGE(obj) G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_IMAGE) 3139 #define GTK_IS_IMAGE_CLASS(klass) G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_IMAGE) 3140 #define GTK_IMAGE_GET_CLASS(obj) G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_IMAGE, GtkImageClass) 3141 3142 type GtkImage as _GtkImage 3143 type GtkImagePrivate as _GtkImagePrivate 3144 type GtkImageClass as _GtkImageClass 3145 3146 type GtkImageType as long 3147 enum 3148 GTK_IMAGE_EMPTY 3149 GTK_IMAGE_PIXBUF 3150 GTK_IMAGE_STOCK 3151 GTK_IMAGE_ICON_SET 3152 GTK_IMAGE_ANIMATION 3153 GTK_IMAGE_ICON_NAME 3154 GTK_IMAGE_GICON 3155 GTK_IMAGE_SURFACE 3156 end enum 3157 3158 type _GtkImage 3159 misc as GtkMisc 3160 priv as GtkImagePrivate ptr 3161 end type 3162 3163 type _GtkImageClass 3164 parent_class as GtkMiscClass 3165 _gtk_reserved1 as sub() 3166 _gtk_reserved2 as sub() 3167 _gtk_reserved3 as sub() 3168 _gtk_reserved4 as sub() 3169 end type 3170 3171 declare function gtk_image_get_type() as GType 3172 declare function gtk_image_new() as GtkWidget ptr 3173 declare function gtk_image_new_from_file(byval filename as const gchar ptr) as GtkWidget ptr 3174 declare function gtk_image_new_from_resource(byval resource_path as const gchar ptr) as GtkWidget ptr 3175 declare function gtk_image_new_from_pixbuf(byval pixbuf as GdkPixbuf ptr) as GtkWidget ptr 3176 declare function gtk_image_new_from_stock(byval stock_id as const gchar ptr, byval size as GtkIconSize) as GtkWidget ptr 3177 declare function gtk_image_new_from_icon_set(byval icon_set as GtkIconSet ptr, byval size as GtkIconSize) as GtkWidget ptr 3178 declare function gtk_image_new_from_animation(byval animation as GdkPixbufAnimation ptr) as GtkWidget ptr 3179 declare function gtk_image_new_from_icon_name(byval icon_name as const gchar ptr, byval size as GtkIconSize) as GtkWidget ptr 3180 declare function gtk_image_new_from_gicon(byval icon as GIcon ptr, byval size as GtkIconSize) as GtkWidget ptr 3181 declare function gtk_image_new_from_surface(byval surface as cairo_surface_t ptr) as GtkWidget ptr 3182 declare sub gtk_image_clear(byval image as GtkImage ptr) 3183 declare sub gtk_image_set_from_file(byval image as GtkImage ptr, byval filename as const gchar ptr) 3184 declare sub gtk_image_set_from_resource(byval image as GtkImage ptr, byval resource_path as const gchar ptr) 3185 declare sub gtk_image_set_from_pixbuf(byval image as GtkImage ptr, byval pixbuf as GdkPixbuf ptr) 3186 declare sub gtk_image_set_from_stock(byval image as GtkImage ptr, byval stock_id as const gchar ptr, byval size as GtkIconSize) 3187 declare sub gtk_image_set_from_icon_set(byval image as GtkImage ptr, byval icon_set as GtkIconSet ptr, byval size as GtkIconSize) 3188 declare sub gtk_image_set_from_animation(byval image as GtkImage ptr, byval animation as GdkPixbufAnimation ptr) 3189 declare sub gtk_image_set_from_icon_name(byval image as GtkImage ptr, byval icon_name as const gchar ptr, byval size as GtkIconSize) 3190 declare sub gtk_image_set_from_gicon(byval image as GtkImage ptr, byval icon as GIcon ptr, byval size as GtkIconSize) 3191 declare sub gtk_image_set_from_surface(byval image as GtkImage ptr, byval surface as cairo_surface_t ptr) 3192 declare sub gtk_image_set_pixel_size(byval image as GtkImage ptr, byval pixel_size as gint) 3193 declare function gtk_image_get_storage_type(byval image as GtkImage ptr) as GtkImageType 3194 declare function gtk_image_get_pixbuf(byval image as GtkImage ptr) as GdkPixbuf ptr 3195 declare sub gtk_image_get_stock(byval image as GtkImage ptr, byval stock_id as gchar ptr ptr, byval size as GtkIconSize ptr) 3196 declare sub gtk_image_get_icon_set(byval image as GtkImage ptr, byval icon_set as GtkIconSet ptr ptr, byval size as GtkIconSize ptr) 3197 declare function gtk_image_get_animation(byval image as GtkImage ptr) as GdkPixbufAnimation ptr 3198 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) 3199 declare sub gtk_image_get_gicon(byval image as GtkImage ptr, byval gicon as GIcon ptr ptr, byval size as GtkIconSize ptr) 3200 declare function gtk_image_get_pixel_size(byval image as GtkImage ptr) as gint 3201 3202 #define GTK_TYPE_ENTRY gtk_entry_get_type() 3203 #define GTK_ENTRY(obj) G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_ENTRY, GtkEntry) 3204 #define GTK_ENTRY_CLASS(klass) G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_ENTRY, GtkEntryClass) 3205 #define GTK_IS_ENTRY(obj) G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_ENTRY) 3206 #define GTK_IS_ENTRY_CLASS(klass) G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_ENTRY) 3207 #define GTK_ENTRY_GET_CLASS(obj) G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_ENTRY, GtkEntryClass) 3208 3209 type GtkEntryIconPosition as long 3210 enum 3211 GTK_ENTRY_ICON_PRIMARY 3212 GTK_ENTRY_ICON_SECONDARY 3213 end enum 3214 3215 type GtkEntry as _GtkEntry 3216 type GtkEntryPrivate as _GtkEntryPrivate 3217 type GtkEntryClass as _GtkEntryClass 3218 3219 type _GtkEntry 3220 parent_instance as GtkWidget 3221 priv as GtkEntryPrivate ptr 3222 end type 3223 3224 type _GtkEntryClass 3225 parent_class as GtkWidgetClass 3226 populate_popup as sub(byval entry as GtkEntry ptr, byval popup as GtkWidget ptr) 3227 activate as sub(byval entry as GtkEntry ptr) 3228 move_cursor as sub(byval entry as GtkEntry ptr, byval step as GtkMovementStep, byval count as gint, byval extend_selection as gboolean) 3229 insert_at_cursor as sub(byval entry as GtkEntry ptr, byval str as const gchar ptr) 3230 delete_from_cursor as sub(byval entry as GtkEntry ptr, byval type as GtkDeleteType, byval count as gint) 3231 backspace as sub(byval entry as GtkEntry ptr) 3232 cut_clipboard as sub(byval entry as GtkEntry ptr) 3233 copy_clipboard as sub(byval entry as GtkEntry ptr) 3234 paste_clipboard as sub(byval entry as GtkEntry ptr) 3235 toggle_overwrite as sub(byval entry as GtkEntry ptr) 3236 get_text_area_size as sub(byval entry as GtkEntry ptr, byval x as gint ptr, byval y as gint ptr, byval width as gint ptr, byval height as gint ptr) 3237 get_frame_size as sub(byval entry as GtkEntry ptr, byval x as gint ptr, byval y as gint ptr, byval width as gint ptr, byval height as gint ptr) 3238 _gtk_reserved1 as sub() 3239 _gtk_reserved2 as sub() 3240 _gtk_reserved3 as sub() 3241 _gtk_reserved4 as sub() 3242 _gtk_reserved5 as sub() 3243 _gtk_reserved6 as sub() 3244 _gtk_reserved7 as sub() 3245 end type 3246 3247 declare function gtk_entry_get_type() as GType 3248 declare function gtk_entry_new() as GtkWidget ptr 3249 declare function gtk_entry_new_with_buffer(byval buffer as GtkEntryBuffer ptr) as GtkWidget ptr 3250 declare function gtk_entry_get_buffer(byval entry as GtkEntry ptr) as GtkEntryBuffer ptr 3251 declare sub gtk_entry_set_buffer(byval entry as GtkEntry ptr, byval buffer as GtkEntryBuffer ptr) 3252 declare sub gtk_entry_get_text_area(byval entry as GtkEntry ptr, byval text_area as GdkRectangle ptr) 3253 declare sub gtk_entry_set_visibility(byval entry as GtkEntry ptr, byval visible as gboolean) 3254 declare function gtk_entry_get_visibility(byval entry as GtkEntry ptr) as gboolean 3255 declare sub gtk_entry_set_invisible_char(byval entry as GtkEntry ptr, byval ch as gunichar) 3256 declare function gtk_entry_get_invisible_char(byval entry as GtkEntry ptr) as gunichar 3257 declare sub gtk_entry_unset_invisible_char(byval entry as GtkEntry ptr) 3258 declare sub gtk_entry_set_has_frame(byval entry as GtkEntry ptr, byval setting as gboolean) 3259 declare function gtk_entry_get_has_frame(byval entry as GtkEntry ptr) as gboolean 3260 declare sub gtk_entry_set_inner_border(byval entry as GtkEntry ptr, byval border as const GtkBorder ptr) 3261 declare function gtk_entry_get_inner_border(byval entry as GtkEntry ptr) as const GtkBorder ptr 3262 declare sub gtk_entry_set_overwrite_mode(byval entry as GtkEntry ptr, byval overwrite as gboolean) 3263 declare function gtk_entry_get_overwrite_mode(byval entry as GtkEntry ptr) as gboolean 3264 declare sub gtk_entry_set_max_length(byval entry as GtkEntry ptr, byval max as gint) 3265 declare function gtk_entry_get_max_length(byval entry as GtkEntry ptr) as gint 3266 declare function gtk_entry_get_text_length(byval entry as GtkEntry ptr) as guint16 3267 declare sub gtk_entry_set_activates_default(byval entry as GtkEntry ptr, byval setting as gboolean) 3268 declare function gtk_entry_get_activates_default(byval entry as GtkEntry ptr) as gboolean 3269 declare sub gtk_entry_set_width_chars(byval entry as GtkEntry ptr, byval n_chars as gint) 3270 declare function gtk_entry_get_width_chars(byval entry as GtkEntry ptr) as gint 3271 declare sub gtk_entry_set_max_width_chars(byval entry as GtkEntry ptr, byval n_chars as gint) 3272 declare function gtk_entry_get_max_width_chars(byval entry as GtkEntry ptr) as gint 3273 declare sub gtk_entry_set_text(byval entry as GtkEntry ptr, byval text as const gchar ptr) 3274 declare function gtk_entry_get_text(byval entry as GtkEntry ptr) as const gchar ptr 3275 declare function gtk_entry_get_layout(byval entry as GtkEntry ptr) as PangoLayout ptr 3276 declare sub gtk_entry_get_layout_offsets(byval entry as GtkEntry ptr, byval x as gint ptr, byval y as gint ptr) 3277 declare sub gtk_entry_set_alignment(byval entry as GtkEntry ptr, byval xalign as gfloat) 3278 declare function gtk_entry_get_alignment(byval entry as GtkEntry ptr) as gfloat 3279 declare sub gtk_entry_set_completion(byval entry as GtkEntry ptr, byval completion as GtkEntryCompletion ptr) 3280 declare function gtk_entry_get_completion(byval entry as GtkEntry ptr) as GtkEntryCompletion ptr 3281 declare function gtk_entry_layout_index_to_text_index(byval entry as GtkEntry ptr, byval layout_index as gint) as gint 3282 declare function gtk_entry_text_index_to_layout_index(byval entry as GtkEntry ptr, byval text_index as gint) as gint 3283 declare sub gtk_entry_set_cursor_hadjustment(byval entry as GtkEntry ptr, byval adjustment as GtkAdjustment ptr) 3284 declare function gtk_entry_get_cursor_hadjustment(byval entry as GtkEntry ptr) as GtkAdjustment ptr 3285 declare sub gtk_entry_set_progress_fraction(byval entry as GtkEntry ptr, byval fraction as gdouble) 3286 declare function gtk_entry_get_progress_fraction(byval entry as GtkEntry ptr) as gdouble 3287 declare sub gtk_entry_set_progress_pulse_step(byval entry as GtkEntry ptr, byval fraction as gdouble) 3288 declare function gtk_entry_get_progress_pulse_step(byval entry as GtkEntry ptr) as gdouble 3289 declare sub gtk_entry_progress_pulse(byval entry as GtkEntry ptr) 3290 declare function gtk_entry_get_placeholder_text(byval entry as GtkEntry ptr) as const gchar ptr 3291 declare sub gtk_entry_set_placeholder_text(byval entry as GtkEntry ptr, byval text as const gchar ptr) 3292 declare sub gtk_entry_set_icon_from_pixbuf(byval entry as GtkEntry ptr, byval icon_pos as GtkEntryIconPosition, byval pixbuf as GdkPixbuf ptr) 3293 declare sub gtk_entry_set_icon_from_stock(byval entry as GtkEntry ptr, byval icon_pos as GtkEntryIconPosition, byval stock_id as const gchar ptr) 3294 declare sub gtk_entry_set_icon_from_icon_name(byval entry as GtkEntry ptr, byval icon_pos as GtkEntryIconPosition, byval icon_name as const gchar ptr) 3295 declare sub gtk_entry_set_icon_from_gicon(byval entry as GtkEntry ptr, byval icon_pos as GtkEntryIconPosition, byval icon as GIcon ptr) 3296 declare function gtk_entry_get_icon_storage_type(byval entry as GtkEntry ptr, byval icon_pos as GtkEntryIconPosition) as GtkImageType 3297 declare function gtk_entry_get_icon_pixbuf(byval entry as GtkEntry ptr, byval icon_pos as GtkEntryIconPosition) as GdkPixbuf ptr 3298 declare function gtk_entry_get_icon_stock(byval entry as GtkEntry ptr, byval icon_pos as GtkEntryIconPosition) as const gchar ptr 3299 declare function gtk_entry_get_icon_name(byval entry as GtkEntry ptr, byval icon_pos as GtkEntryIconPosition) as const gchar ptr 3300 declare function gtk_entry_get_icon_gicon(byval entry as GtkEntry ptr, byval icon_pos as GtkEntryIconPosition) as GIcon ptr 3301 declare sub gtk_entry_set_icon_activatable(byval entry as GtkEntry ptr, byval icon_pos as GtkEntryIconPosition, byval activatable as gboolean) 3302 declare function gtk_entry_get_icon_activatable(byval entry as GtkEntry ptr, byval icon_pos as GtkEntryIconPosition) as gboolean 3303 declare sub gtk_entry_set_icon_sensitive(byval entry as GtkEntry ptr, byval icon_pos as GtkEntryIconPosition, byval sensitive as gboolean) 3304 declare function gtk_entry_get_icon_sensitive(byval entry as GtkEntry ptr, byval icon_pos as GtkEntryIconPosition) as gboolean 3305 declare function gtk_entry_get_icon_at_pos(byval entry as GtkEntry ptr, byval x as gint, byval y as gint) as gint 3306 declare sub gtk_entry_set_icon_tooltip_text(byval entry as GtkEntry ptr, byval icon_pos as GtkEntryIconPosition, byval tooltip as const gchar ptr) 3307 declare function gtk_entry_get_icon_tooltip_text(byval entry as GtkEntry ptr, byval icon_pos as GtkEntryIconPosition) as gchar ptr 3308 declare sub gtk_entry_set_icon_tooltip_markup(byval entry as GtkEntry ptr, byval icon_pos as GtkEntryIconPosition, byval tooltip as const gchar ptr) 3309 declare function gtk_entry_get_icon_tooltip_markup(byval entry as GtkEntry ptr, byval icon_pos as GtkEntryIconPosition) as gchar ptr 3310 declare sub gtk_entry_set_icon_drag_source(byval entry as GtkEntry ptr, byval icon_pos as GtkEntryIconPosition, byval target_list as GtkTargetList ptr, byval actions as GdkDragAction) 3311 declare function gtk_entry_get_current_icon_drag_source(byval entry as GtkEntry ptr) as gint 3312 declare sub gtk_entry_get_icon_area(byval entry as GtkEntry ptr, byval icon_pos as GtkEntryIconPosition, byval icon_area as GdkRectangle ptr) 3313 declare function gtk_entry_im_context_filter_keypress(byval entry as GtkEntry ptr, byval event as GdkEventKey ptr) as gboolean 3314 declare sub gtk_entry_reset_im_context(byval entry as GtkEntry ptr) 3315 declare sub gtk_entry_set_input_purpose(byval entry as GtkEntry ptr, byval purpose as GtkInputPurpose) 3316 declare function gtk_entry_get_input_purpose(byval entry as GtkEntry ptr) as GtkInputPurpose 3317 declare sub gtk_entry_set_input_hints(byval entry as GtkEntry ptr, byval hints as GtkInputHints) 3318 declare function gtk_entry_get_input_hints(byval entry as GtkEntry ptr) as GtkInputHints 3319 declare sub gtk_entry_set_attributes(byval entry as GtkEntry ptr, byval attrs as PangoAttrList ptr) 3320 declare function gtk_entry_get_attributes(byval entry as GtkEntry ptr) as PangoAttrList ptr 3321 declare sub gtk_entry_set_tabs(byval entry as GtkEntry ptr, byval tabs as PangoTabArray ptr) 3322 declare function gtk_entry_get_tabs(byval entry as GtkEntry ptr) as PangoTabArray ptr 3323 declare sub gtk_entry_grab_focus_without_selecting(byval entry as GtkEntry ptr) 3324 3325 type GtkTreeViewDropPosition as long 3326 enum 3327 GTK_TREE_VIEW_DROP_BEFORE 3328 GTK_TREE_VIEW_DROP_AFTER 3329 GTK_TREE_VIEW_DROP_INTO_OR_BEFORE 3330 GTK_TREE_VIEW_DROP_INTO_OR_AFTER 3331 end enum 3332 3333 #define GTK_TYPE_TREE_VIEW gtk_tree_view_get_type() 3334 #define GTK_TREE_VIEW(obj) G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_TREE_VIEW, GtkTreeView) 3335 #define GTK_TREE_VIEW_CLASS(klass) G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_TREE_VIEW, GtkTreeViewClass) 3336 #define GTK_IS_TREE_VIEW(obj) G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_TREE_VIEW) 3337 #define GTK_IS_TREE_VIEW_CLASS(klass) G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_TREE_VIEW) 3338 #define GTK_TREE_VIEW_GET_CLASS(obj) G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_TREE_VIEW, GtkTreeViewClass) 3339 3340 type GtkTreeView as _GtkTreeView 3341 type GtkTreeViewClass as _GtkTreeViewClass 3342 type GtkTreeViewPrivate as _GtkTreeViewPrivate 3343 type GtkTreeSelection as _GtkTreeSelection 3344 type GtkTreeSelectionClass as _GtkTreeSelectionClass 3345 3346 type _GtkTreeView 3347 parent as GtkContainer 3348 priv as GtkTreeViewPrivate ptr 3349 end type 3350 3351 type _GtkTreeViewClass 3352 parent_class as GtkContainerClass 3353 row_activated as sub(byval tree_view as GtkTreeView ptr, byval path as GtkTreePath ptr, byval column as GtkTreeViewColumn ptr) 3354 test_expand_row as function(byval tree_view as GtkTreeView ptr, byval iter as GtkTreeIter ptr, byval path as GtkTreePath ptr) as gboolean 3355 test_collapse_row as function(byval tree_view as GtkTreeView ptr, byval iter as GtkTreeIter ptr, byval path as GtkTreePath ptr) as gboolean 3356 row_expanded as sub(byval tree_view as GtkTreeView ptr, byval iter as GtkTreeIter ptr, byval path as GtkTreePath ptr) 3357 row_collapsed as sub(byval tree_view as GtkTreeView ptr, byval iter as GtkTreeIter ptr, byval path as GtkTreePath ptr) 3358 columns_changed as sub(byval tree_view as GtkTreeView ptr) 3359 cursor_changed as sub(byval tree_view as GtkTreeView ptr) 3360 move_cursor as function(byval tree_view as GtkTreeView ptr, byval step as GtkMovementStep, byval count as gint) as gboolean 3361 select_all as function(byval tree_view as GtkTreeView ptr) as gboolean 3362 unselect_all as function(byval tree_view as GtkTreeView ptr) as gboolean 3363 select_cursor_row as function(byval tree_view as GtkTreeView ptr, byval start_editing as gboolean) as gboolean 3364 toggle_cursor_row as function(byval tree_view as GtkTreeView ptr) as gboolean 3365 expand_collapse_cursor_row as function(byval tree_view as GtkTreeView ptr, byval logical as gboolean, byval expand as gboolean, byval open_all as gboolean) as gboolean 3366 select_cursor_parent as function(byval tree_view as GtkTreeView ptr) as gboolean 3367 start_interactive_search as function(byval tree_view as GtkTreeView ptr) as gboolean 3368 _gtk_reserved1 as sub() 3369 _gtk_reserved2 as sub() 3370 _gtk_reserved3 as sub() 3371 _gtk_reserved4 as sub() 3372 _gtk_reserved5 as sub() 3373 _gtk_reserved6 as sub() 3374 _gtk_reserved7 as sub() 3375 _gtk_reserved8 as sub() 3376 end type 3377 3378 type GtkTreeViewColumnDropFunc as function(byval tree_view as GtkTreeView ptr, byval column as GtkTreeViewColumn ptr, byval prev_column as GtkTreeViewColumn ptr, byval next_column as GtkTreeViewColumn ptr, byval data as gpointer) as gboolean 3379 type GtkTreeViewMappingFunc as sub(byval tree_view as GtkTreeView ptr, byval path as GtkTreePath ptr, byval user_data as gpointer) 3380 type GtkTreeViewSearchEqualFunc as function(byval model as GtkTreeModel ptr, byval column as gint, byval key as const gchar ptr, byval iter as GtkTreeIter ptr, byval search_data as gpointer) as gboolean 3381 type GtkTreeViewRowSeparatorFunc as function(byval model as GtkTreeModel ptr, byval iter as GtkTreeIter ptr, byval data as gpointer) as gboolean 3382 type GtkTreeViewSearchPositionFunc as sub(byval tree_view as GtkTreeView ptr, byval search_dialog as GtkWidget ptr, byval user_data as gpointer) 3383 3384 declare function gtk_tree_view_get_type() as GType 3385 declare function gtk_tree_view_new() as GtkWidget ptr 3386 declare function gtk_tree_view_new_with_model(byval model as GtkTreeModel ptr) as GtkWidget ptr 3387 declare function gtk_tree_view_get_model(byval tree_view as GtkTreeView ptr) as GtkTreeModel ptr 3388 declare sub gtk_tree_view_set_model(byval tree_view as GtkTreeView ptr, byval model as GtkTreeModel ptr) 3389 declare function gtk_tree_view_get_selection(byval tree_view as GtkTreeView ptr) as GtkTreeSelection ptr 3390 declare function gtk_tree_view_get_hadjustment(byval tree_view as GtkTreeView ptr) as GtkAdjustment ptr 3391 declare sub gtk_tree_view_set_hadjustment(byval tree_view as GtkTreeView ptr, byval adjustment as GtkAdjustment ptr) 3392 declare function gtk_tree_view_get_vadjustment(byval tree_view as GtkTreeView ptr) as GtkAdjustment ptr 3393 declare sub gtk_tree_view_set_vadjustment(byval tree_view as GtkTreeView ptr, byval adjustment as GtkAdjustment ptr) 3394 declare function gtk_tree_view_get_headers_visible(byval tree_view as GtkTreeView ptr) as gboolean 3395 declare sub gtk_tree_view_set_headers_visible(byval tree_view as GtkTreeView ptr, byval headers_visible as gboolean) 3396 declare sub gtk_tree_view_columns_autosize(byval tree_view as GtkTreeView ptr) 3397 declare function gtk_tree_view_get_headers_clickable(byval tree_view as GtkTreeView ptr) as gboolean 3398 declare sub gtk_tree_view_set_headers_clickable(byval tree_view as GtkTreeView ptr, byval setting as gboolean) 3399 declare sub gtk_tree_view_set_rules_hint(byval tree_view as GtkTreeView ptr, byval setting as gboolean) 3400 declare function gtk_tree_view_get_rules_hint(byval tree_view as GtkTreeView ptr) as gboolean 3401 declare function gtk_tree_view_get_activate_on_single_click(byval tree_view as GtkTreeView ptr) as gboolean 3402 declare sub gtk_tree_view_set_activate_on_single_click(byval tree_view as GtkTreeView ptr, byval single as gboolean) 3403 declare function gtk_tree_view_append_column(byval tree_view as GtkTreeView ptr, byval column as GtkTreeViewColumn ptr) as gint 3404 declare function gtk_tree_view_remove_column(byval tree_view as GtkTreeView ptr, byval column as GtkTreeViewColumn ptr) as gint 3405 declare function gtk_tree_view_insert_column(byval tree_view as GtkTreeView ptr, byval column as GtkTreeViewColumn ptr, byval position as gint) as gint 3406 declare function gtk_tree_view_insert_column_with_attributes(byval tree_view as GtkTreeView ptr, byval position as gint, byval title as const gchar ptr, byval cell as GtkCellRenderer ptr, ...) as gint 3407 declare function gtk_tree_view_insert_column_with_data_func(byval tree_view as GtkTreeView ptr, byval position as gint, byval title as const gchar ptr, byval cell as GtkCellRenderer ptr, byval func as GtkTreeCellDataFunc, byval data as gpointer, byval dnotify as GDestroyNotify) as gint 3408 declare function gtk_tree_view_get_n_columns(byval tree_view as GtkTreeView ptr) as guint 3409 declare function gtk_tree_view_get_column(byval tree_view as GtkTreeView ptr, byval n as gint) as GtkTreeViewColumn ptr 3410 declare function gtk_tree_view_get_columns(byval tree_view as GtkTreeView ptr) as GList ptr 3411 declare sub gtk_tree_view_move_column_after(byval tree_view as GtkTreeView ptr, byval column as GtkTreeViewColumn ptr, byval base_column as GtkTreeViewColumn ptr) 3412 declare sub gtk_tree_view_set_expander_column(byval tree_view as GtkTreeView ptr, byval column as GtkTreeViewColumn ptr) 3413 declare function gtk_tree_view_get_expander_column(byval tree_view as GtkTreeView ptr) as GtkTreeViewColumn ptr 3414 declare sub gtk_tree_view_set_column_drag_function(byval tree_view as GtkTreeView ptr, byval func as GtkTreeViewColumnDropFunc, byval user_data as gpointer, byval destroy as GDestroyNotify) 3415 declare sub gtk_tree_view_scroll_to_point(byval tree_view as GtkTreeView ptr, byval tree_x as gint, byval tree_y as gint) 3416 declare sub gtk_tree_view_scroll_to_cell(byval tree_view as GtkTreeView ptr, byval path as GtkTreePath ptr, byval column as GtkTreeViewColumn ptr, byval use_align as gboolean, byval row_align as gfloat, byval col_align as gfloat) 3417 declare sub gtk_tree_view_row_activated(byval tree_view as GtkTreeView ptr, byval path as GtkTreePath ptr, byval column as GtkTreeViewColumn ptr) 3418 declare sub gtk_tree_view_expand_all(byval tree_view as GtkTreeView ptr) 3419 declare sub gtk_tree_view_collapse_all(byval tree_view as GtkTreeView ptr) 3420 declare sub gtk_tree_view_expand_to_path(byval tree_view as GtkTreeView ptr, byval path as GtkTreePath ptr) 3421 declare function gtk_tree_view_expand_row(byval tree_view as GtkTreeView ptr, byval path as GtkTreePath ptr, byval open_all as gboolean) as gboolean 3422 declare function gtk_tree_view_collapse_row(byval tree_view as GtkTreeView ptr, byval path as GtkTreePath ptr) as gboolean 3423 declare sub gtk_tree_view_map_expanded_rows(byval tree_view as GtkTreeView ptr, byval func as GtkTreeViewMappingFunc, byval data as gpointer) 3424 declare function gtk_tree_view_row_expanded(byval tree_view as GtkTreeView ptr, byval path as GtkTreePath ptr) as gboolean 3425 declare sub gtk_tree_view_set_reorderable(byval tree_view as GtkTreeView ptr, byval reorderable as gboolean) 3426 declare function gtk_tree_view_get_reorderable(byval tree_view as GtkTreeView ptr) as gboolean 3427 declare sub gtk_tree_view_set_cursor(byval tree_view as GtkTreeView ptr, byval path as GtkTreePath ptr, byval focus_column as GtkTreeViewColumn ptr, byval start_editing as gboolean) 3428 declare sub gtk_tree_view_set_cursor_on_cell(byval tree_view as GtkTreeView ptr, byval path as GtkTreePath ptr, byval focus_column as GtkTreeViewColumn ptr, byval focus_cell as GtkCellRenderer ptr, byval start_editing as gboolean) 3429 declare sub gtk_tree_view_get_cursor(byval tree_view as GtkTreeView ptr, byval path as GtkTreePath ptr ptr, byval focus_column as GtkTreeViewColumn ptr ptr) 3430 declare function gtk_tree_view_get_bin_window(byval tree_view as GtkTreeView ptr) as GdkWindow ptr 3431 declare function gtk_tree_view_get_path_at_pos(byval tree_view as GtkTreeView ptr, byval x as gint, byval y as gint, byval path as GtkTreePath ptr ptr, byval column as GtkTreeViewColumn ptr ptr, byval cell_x as gint ptr, byval cell_y as gint ptr) as gboolean 3432 declare sub gtk_tree_view_get_cell_area(byval tree_view as GtkTreeView ptr, byval path as GtkTreePath ptr, byval column as GtkTreeViewColumn ptr, byval rect as GdkRectangle ptr) 3433 declare sub gtk_tree_view_get_background_area(byval tree_view as GtkTreeView ptr, byval path as GtkTreePath ptr, byval column as GtkTreeViewColumn ptr, byval rect as GdkRectangle ptr) 3434 declare sub gtk_tree_view_get_visible_rect(byval tree_view as GtkTreeView ptr, byval visible_rect as GdkRectangle ptr) 3435 declare function gtk_tree_view_get_visible_range(byval tree_view as GtkTreeView ptr, byval start_path as GtkTreePath ptr ptr, byval end_path as GtkTreePath ptr ptr) as gboolean 3436 declare function gtk_tree_view_is_blank_at_pos(byval tree_view as GtkTreeView ptr, byval x as gint, byval y as gint, byval path as GtkTreePath ptr ptr, byval column as GtkTreeViewColumn ptr ptr, byval cell_x as gint ptr, byval cell_y as gint ptr) as gboolean 3437 declare sub gtk_tree_view_enable_model_drag_source(byval tree_view as GtkTreeView ptr, byval start_button_mask as GdkModifierType, byval targets as const GtkTargetEntry ptr, byval n_targets as gint, byval actions as GdkDragAction) 3438 declare sub gtk_tree_view_enable_model_drag_dest(byval tree_view as GtkTreeView ptr, byval targets as const GtkTargetEntry ptr, byval n_targets as gint, byval actions as GdkDragAction) 3439 declare sub gtk_tree_view_unset_rows_drag_source(byval tree_view as GtkTreeView ptr) 3440 declare sub gtk_tree_view_unset_rows_drag_dest(byval tree_view as GtkTreeView ptr) 3441 declare sub gtk_tree_view_set_drag_dest_row(byval tree_view as GtkTreeView ptr, byval path as GtkTreePath ptr, byval pos as GtkTreeViewDropPosition) 3442 declare sub gtk_tree_view_get_drag_dest_row(byval tree_view as GtkTreeView ptr, byval path as GtkTreePath ptr ptr, byval pos as GtkTreeViewDropPosition ptr) 3443 declare function gtk_tree_view_get_dest_row_at_pos(byval tree_view as GtkTreeView ptr, byval drag_x as gint, byval drag_y as gint, byval path as GtkTreePath ptr ptr, byval pos as GtkTreeViewDropPosition ptr) as gboolean 3444 declare function gtk_tree_view_create_row_drag_icon(byval tree_view as GtkTreeView ptr, byval path as GtkTreePath ptr) as cairo_surface_t ptr 3445 declare sub gtk_tree_view_set_enable_search(byval tree_view as GtkTreeView ptr, byval enable_search as gboolean) 3446 declare function gtk_tree_view_get_enable_search(byval tree_view as GtkTreeView ptr) as gboolean 3447 declare function gtk_tree_view_get_search_column(byval tree_view as GtkTreeView ptr) as gint 3448 declare sub gtk_tree_view_set_search_column(byval tree_view as GtkTreeView ptr, byval column as gint) 3449 declare function gtk_tree_view_get_search_equal_func(byval tree_view as GtkTreeView ptr) as GtkTreeViewSearchEqualFunc 3450 declare sub gtk_tree_view_set_search_equal_func(byval tree_view as GtkTreeView ptr, byval search_equal_func as GtkTreeViewSearchEqualFunc, byval search_user_data as gpointer, byval search_destroy as GDestroyNotify) 3451 declare function gtk_tree_view_get_search_entry(byval tree_view as GtkTreeView ptr) as GtkEntry ptr 3452 declare sub gtk_tree_view_set_search_entry(byval tree_view as GtkTreeView ptr, byval entry as GtkEntry ptr) 3453 declare function gtk_tree_view_get_search_position_func(byval tree_view as GtkTreeView ptr) as GtkTreeViewSearchPositionFunc 3454 declare sub gtk_tree_view_set_search_position_func(byval tree_view as GtkTreeView ptr, byval func as GtkTreeViewSearchPositionFunc, byval data as gpointer, byval destroy as GDestroyNotify) 3455 declare sub gtk_tree_view_convert_widget_to_tree_coords(byval tree_view as GtkTreeView ptr, byval wx as gint, byval wy as gint, byval tx as gint ptr, byval ty as gint ptr) 3456 declare sub gtk_tree_view_convert_tree_to_widget_coords(byval tree_view as GtkTreeView ptr, byval tx as gint, byval ty as gint, byval wx as gint ptr, byval wy as gint ptr) 3457 declare sub gtk_tree_view_convert_widget_to_bin_window_coords(byval tree_view as GtkTreeView ptr, byval wx as gint, byval wy as gint, byval bx as gint ptr, byval by as gint ptr) 3458 declare sub gtk_tree_view_convert_bin_window_to_widget_coords(byval tree_view as GtkTreeView ptr, byval bx as gint, byval by as gint, byval wx as gint ptr, byval wy as gint ptr) 3459 declare sub gtk_tree_view_convert_tree_to_bin_window_coords(byval tree_view as GtkTreeView ptr, byval tx as gint, byval ty as gint, byval bx as gint ptr, byval by as gint ptr) 3460 declare sub gtk_tree_view_convert_bin_window_to_tree_coords(byval tree_view as GtkTreeView ptr, byval bx as gint, byval by as gint, byval tx as gint ptr, byval ty as gint ptr) 3461 type GtkTreeDestroyCountFunc as sub(byval tree_view as GtkTreeView ptr, byval path as GtkTreePath ptr, byval children as gint, byval user_data as gpointer) 3462 declare sub gtk_tree_view_set_destroy_count_func(byval tree_view as GtkTreeView ptr, byval func as GtkTreeDestroyCountFunc, byval data as gpointer, byval destroy as GDestroyNotify) 3463 declare sub gtk_tree_view_set_fixed_height_mode(byval tree_view as GtkTreeView ptr, byval enable as gboolean) 3464 declare function gtk_tree_view_get_fixed_height_mode(byval tree_view as GtkTreeView ptr) as gboolean 3465 declare sub gtk_tree_view_set_hover_selection(byval tree_view as GtkTreeView ptr, byval hover as gboolean) 3466 declare function gtk_tree_view_get_hover_selection(byval tree_view as GtkTreeView ptr) as gboolean 3467 declare sub gtk_tree_view_set_hover_expand(byval tree_view as GtkTreeView ptr, byval expand as gboolean) 3468 declare function gtk_tree_view_get_hover_expand(byval tree_view as GtkTreeView ptr) as gboolean 3469 declare sub gtk_tree_view_set_rubber_banding(byval tree_view as GtkTreeView ptr, byval enable as gboolean) 3470 declare function gtk_tree_view_get_rubber_banding(byval tree_view as GtkTreeView ptr) as gboolean 3471 declare function gtk_tree_view_is_rubber_banding_active(byval tree_view as GtkTreeView ptr) as gboolean 3472 declare function gtk_tree_view_get_row_separator_func(byval tree_view as GtkTreeView ptr) as GtkTreeViewRowSeparatorFunc 3473 declare sub gtk_tree_view_set_row_separator_func(byval tree_view as GtkTreeView ptr, byval func as GtkTreeViewRowSeparatorFunc, byval data as gpointer, byval destroy as GDestroyNotify) 3474 declare function gtk_tree_view_get_grid_lines(byval tree_view as GtkTreeView ptr) as GtkTreeViewGridLines 3475 declare sub gtk_tree_view_set_grid_lines(byval tree_view as GtkTreeView ptr, byval grid_lines as GtkTreeViewGridLines) 3476 declare function gtk_tree_view_get_enable_tree_lines(byval tree_view as GtkTreeView ptr) as gboolean 3477 declare sub gtk_tree_view_set_enable_tree_lines(byval tree_view as GtkTreeView ptr, byval enabled as gboolean) 3478 declare sub gtk_tree_view_set_show_expanders(byval tree_view as GtkTreeView ptr, byval enabled as gboolean) 3479 declare function gtk_tree_view_get_show_expanders(byval tree_view as GtkTreeView ptr) as gboolean 3480 declare sub gtk_tree_view_set_level_indentation(byval tree_view as GtkTreeView ptr, byval indentation as gint) 3481 declare function gtk_tree_view_get_level_indentation(byval tree_view as GtkTreeView ptr) as gint 3482 declare sub gtk_tree_view_set_tooltip_row(byval tree_view as GtkTreeView ptr, byval tooltip as GtkTooltip ptr, byval path as GtkTreePath ptr) 3483 declare sub gtk_tree_view_set_tooltip_cell(byval tree_view as GtkTreeView ptr, byval tooltip as GtkTooltip ptr, byval path as GtkTreePath ptr, byval column as GtkTreeViewColumn ptr, byval cell as GtkCellRenderer ptr) 3484 declare function gtk_tree_view_get_tooltip_context(byval tree_view as GtkTreeView ptr, byval x as gint ptr, byval y as gint ptr, byval keyboard_tip as gboolean, byval model as GtkTreeModel ptr ptr, byval path as GtkTreePath ptr ptr, byval iter as GtkTreeIter ptr) as gboolean 3485 declare sub gtk_tree_view_set_tooltip_column(byval tree_view as GtkTreeView ptr, byval column as gint) 3486 declare function gtk_tree_view_get_tooltip_column(byval tree_view as GtkTreeView ptr) as gint 3487 3488 #define GTK_TYPE_COMBO_BOX gtk_combo_box_get_type() 3489 #define GTK_COMBO_BOX(obj) G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_COMBO_BOX, GtkComboBox) 3490 #define GTK_COMBO_BOX_CLASS(vtable) G_TYPE_CHECK_CLASS_CAST((vtable), GTK_TYPE_COMBO_BOX, GtkComboBoxClass) 3491 #define GTK_IS_COMBO_BOX(obj) G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_COMBO_BOX) 3492 #define GTK_IS_COMBO_BOX_CLASS(vtable) G_TYPE_CHECK_CLASS_TYPE((vtable), GTK_TYPE_COMBO_BOX) 3493 #define GTK_COMBO_BOX_GET_CLASS(inst) G_TYPE_INSTANCE_GET_CLASS((inst), GTK_TYPE_COMBO_BOX, GtkComboBoxClass) 3494 3495 type