gtk+-2.0.vapi 322 KB
Newer Older
1
/* gtk+-2.0.vapi generated by lt-vapigen, do not modify. */
2

3
[CCode (cprefix = "Gtk", lower_case_cprefix = "gtk_")]
4
namespace Gtk {
5
	[CCode (cprefix = "GTK_ANCHOR_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
	public enum AnchorType {
		CENTER,
		NORTH,
		NORTH_WEST,
		NORTH_EAST,
		SOUTH,
		SOUTH_WEST,
		SOUTH_EAST,
		WEST,
		EAST,
		N,
		NW,
		NE,
		S,
		SW,
		SE,
		W,
		E,
24
	}
25
	[CCode (cprefix = "GTK_ARROW_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
26 27 28 29 30 31
	public enum ArrowType {
		UP,
		DOWN,
		LEFT,
		RIGHT,
		NONE,
32
	}
33
	[CCode (cprefix = "GTK_ASSISTANT_PAGE_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
34 35 36 37 38 39
	public enum AssistantPageType {
		CONTENT,
		INTRO,
		CONFIRM,
		SUMMARY,
		PROGRESS,
40
	}
41
	[CCode (cprefix = "GTK_BUILDER_ERROR_", cheader_filename = "gtk/gtk.h")]
42 43 44 45 46 47
	public enum BuilderError {
		INVALID_TYPE_FUNCTION,
		UNHANDLED_TAG,
		MISSING_ATTRIBUTE,
		INVALID_ATTRIBUTE,
		INVALID_TAG,
48 49
		MISSING_PROPERTY_VALUE,
		INVALID_VALUE,
50
	}
51
	[CCode (cprefix = "GTK_BUTTONBOX_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
52 53 54 55 56 57
	public enum ButtonBoxStyle {
		DEFAULT_STYLE,
		SPREAD,
		EDGE,
		START,
		END,
58
		CENTER,
59
	}
60
	[CCode (cprefix = "GTK_BUTTONS_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
61 62 63 64 65 66 67
	public enum ButtonsType {
		NONE,
		OK,
		CLOSE,
		CANCEL,
		YES_NO,
		OK_CANCEL,
68
	}
69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103
	[CCode (cprefix = "GTK_CLIST_DRAG_", cheader_filename = "gtk/gtk.h")]
	public enum CListDragPos {
		NONE,
		BEFORE,
		INTO,
		AFTER,
	}
	[CCode (cprefix = "GTK_CTREE_EXPANDER_", cheader_filename = "gtk/gtk.h")]
	public enum CTreeExpanderStyle {
		NONE,
		SQUARE,
		TRIANGLE,
		CIRCULAR,
	}
	[CCode (cprefix = "GTK_CTREE_EXPANSION_", cheader_filename = "gtk/gtk.h")]
	public enum CTreeExpansionType {
		EXPAND,
		EXPAND_RECURSIVE,
		COLLAPSE,
		COLLAPSE_RECURSIVE,
		TOGGLE,
		TOGGLE_RECURSIVE,
	}
	[CCode (cprefix = "GTK_CTREE_LINES_", cheader_filename = "gtk/gtk.h")]
	public enum CTreeLineStyle {
		NONE,
		SOLID,
		DOTTED,
		TABBED,
	}
	[CCode (cprefix = "GTK_CTREE_POS_", cheader_filename = "gtk/gtk.h")]
	public enum CTreePos {
		BEFORE,
		AS_CHILD,
		AFTER,
104
	}
105
	[CCode (cprefix = "GTK_CELL_RENDERER_ACCEL_MODE_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
106 107 108
	public enum CellRendererAccelMode {
		GTK,
		OTHER,
109
	}
110
	[CCode (cprefix = "GTK_CELL_RENDERER_MODE_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
111 112 113 114
	public enum CellRendererMode {
		INERT,
		ACTIVATABLE,
		EDITABLE,
115
	}
116 117 118 119 120 121 122
	[CCode (cprefix = "GTK_CELL_", cheader_filename = "gtk/gtk.h")]
	public enum CellType {
		EMPTY,
		TEXT,
		PIXMAP,
		PIXTEXT,
		WIDGET,
123
	}
124
	[CCode (cprefix = "GTK_CORNER_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
125 126 127 128 129
	public enum CornerType {
		TOP_LEFT,
		BOTTOM_LEFT,
		TOP_RIGHT,
		BOTTOM_RIGHT,
130
	}
131
	[CCode (cprefix = "GTK_CURVE_TYPE_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
132 133 134 135
	public enum CurveType {
		LINEAR,
		SPLINE,
		FREE,
136
	}
137
	[CCode (cprefix = "GTK_DELETE_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
138 139 140 141 142 143 144 145 146
	public enum DeleteType {
		CHARS,
		WORD_ENDS,
		WORDS,
		DISPLAY_LINES,
		DISPLAY_LINE_ENDS,
		PARAGRAPH_ENDS,
		PARAGRAPHS,
		WHITESPACE,
147
	}
148
	[CCode (cprefix = "GTK_DIR_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
149 150 151 152 153 154 155
	public enum DirectionType {
		TAB_FORWARD,
		TAB_BACKWARD,
		UP,
		DOWN,
		LEFT,
		RIGHT,
156
	}
157
	[CCode (cprefix = "GTK_DRAG_RESULT_", cheader_filename = "gtk/gtk.h")]
158 159 160 161 162 163 164 165
	public enum DragResult {
		SUCCESS,
		NO_TARGET,
		USER_CANCELLED,
		TIMEOUT_EXPIRED,
		GRAB_BROKEN,
		ERROR,
	}
166
	[CCode (cprefix = "GTK_EXPANDER_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
167 168 169 170 171
	public enum ExpanderStyle {
		COLLAPSED,
		SEMI_COLLAPSED,
		SEMI_EXPANDED,
		EXPANDED,
172
	}
173
	[CCode (cprefix = "GTK_FILE_CHOOSER_ACTION_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
174 175 176 177 178
	public enum FileChooserAction {
		OPEN,
		SAVE,
		SELECT_FOLDER,
		CREATE_FOLDER,
179
	}
180
	[CCode (cprefix = "GTK_FILE_CHOOSER_CONFIRMATION_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
181 182 183 184
	public enum FileChooserConfirmation {
		CONFIRM,
		ACCEPT_FILENAME,
		SELECT_AGAIN,
185
	}
186
	[CCode (cprefix = "GTK_FILE_CHOOSER_ERROR_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
187 188 189 190
	public enum FileChooserError {
		NONEXISTENT,
		BAD_FILENAME,
		ALREADY_EXISTS,
191
	}
192
	[CCode (cprefix = "GTK_IM_PREEDIT_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
193 194 195 196
	public enum IMPreeditStyle {
		NOTHING,
		CALLBACK,
		NONE,
197
	}
198
	[CCode (cprefix = "GTK_IM_STATUS_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
199 200 201 202
	public enum IMStatusStyle {
		NOTHING,
		CALLBACK,
		NONE,
203
	}
204
	[CCode (cprefix = "GTK_ICON_SIZE_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
205 206 207 208 209 210 211 212
	public enum IconSize {
		INVALID,
		MENU,
		SMALL_TOOLBAR,
		LARGE_TOOLBAR,
		BUTTON,
		DND,
		DIALOG,
213
	}
214
	[CCode (cprefix = "GTK_ICON_THEME_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
215 216 217
	public enum IconThemeError {
		NOT_FOUND,
		FAILED,
218
	}
219
	[CCode (cprefix = "GTK_ICON_VIEW_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
220 221 222 223 224 225 226
	public enum IconViewDropPosition {
		NO_DROP,
		DROP_INTO,
		DROP_LEFT,
		DROP_RIGHT,
		DROP_ABOVE,
		DROP_BELOW,
227
	}
228
	[CCode (cprefix = "GTK_IMAGE_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
229 230 231 232 233 234 235 236 237
	public enum ImageType {
		EMPTY,
		PIXMAP,
		IMAGE,
		PIXBUF,
		STOCK,
		ICON_SET,
		ANIMATION,
		ICON_NAME,
238
	}
239
	[CCode (cprefix = "GTK_JUSTIFY_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
240 241 242 243 244
	public enum Justification {
		LEFT,
		RIGHT,
		CENTER,
		FILL,
245
	}
246
	[CCode (cprefix = "GTK_MATCH_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
247 248 249 250 251 252 253 254
	public enum MatchType {
		ALL,
		ALL_TAIL,
		HEAD,
		TAIL,
		EXACT,
		LAST,
	}
255
	[CCode (cprefix = "GTK_MENU_DIR_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
256 257 258 259 260 261
	public enum MenuDirectionType {
		PARENT,
		CHILD,
		NEXT,
		PREV,
	}
262
	[CCode (cprefix = "GTK_MESSAGE_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
263 264 265 266 267 268 269
	public enum MessageType {
		INFO,
		WARNING,
		QUESTION,
		ERROR,
		OTHER,
	}
270
	[CCode (cprefix = "GTK_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
271 272 273 274 275
	public enum MetricType {
		PIXELS,
		INCHES,
		CENTIMETERS,
	}
276
	[CCode (cprefix = "GTK_MOVEMENT_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
277 278 279 280 281 282 283 284 285 286 287 288
	public enum MovementStep {
		LOGICAL_POSITIONS,
		VISUAL_POSITIONS,
		WORDS,
		DISPLAY_LINES,
		DISPLAY_LINE_ENDS,
		PARAGRAPHS,
		PARAGRAPH_ENDS,
		PAGES,
		BUFFER_ENDS,
		HORIZONTAL_PAGES,
	}
289
	[CCode (cprefix = "GTK_NOTEBOOK_TAB_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
290 291 292 293
	public enum NotebookTab {
		FIRST,
		LAST,
	}
294
	[CCode (cprefix = "GTK_ORIENTATION_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
295 296 297 298
	public enum Orientation {
		HORIZONTAL,
		VERTICAL,
	}
299
	[CCode (cprefix = "GTK_PACK_DIRECTION_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
300 301 302 303 304 305
	public enum PackDirection {
		LTR,
		RTL,
		TTB,
		BTT,
	}
306
	[CCode (cprefix = "GTK_PACK_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
307 308 309 310
	public enum PackType {
		START,
		END,
	}
311
	[CCode (cprefix = "GTK_PAGE_ORIENTATION_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
312 313 314 315 316 317
	public enum PageOrientation {
		PORTRAIT,
		LANDSCAPE,
		REVERSE_PORTRAIT,
		REVERSE_LANDSCAPE,
	}
318
	[CCode (cprefix = "GTK_PAGE_SET_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
319 320 321 322 323
	public enum PageSet {
		ALL,
		EVEN,
		ODD,
	}
324
	[CCode (cprefix = "GTK_PATH_PRIO_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
325 326 327 328 329 330 331 332
	public enum PathPriorityType {
		LOWEST,
		GTK,
		APPLICATION,
		THEME,
		RC,
		HIGHEST,
	}
333
	[CCode (cprefix = "GTK_PATH_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
334 335 336 337 338
	public enum PathType {
		WIDGET,
		WIDGET_CLASS,
		CLASS,
	}
339
	[CCode (cprefix = "GTK_POLICY_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
340 341 342 343 344
	public enum PolicyType {
		ALWAYS,
		AUTOMATIC,
		NEVER,
	}
345
	[CCode (cprefix = "GTK_POS_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
346 347 348 349 350 351
	public enum PositionType {
		LEFT,
		RIGHT,
		TOP,
		BOTTOM,
	}
352
	[CCode (cprefix = "GTK_PREVIEW_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
353 354 355 356
	public enum PreviewType {
		COLOR,
		GRAYSCALE,
	}
357
	[CCode (cprefix = "GTK_PRINT_DUPLEX_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
358 359 360 361 362
	public enum PrintDuplex {
		SIMPLEX,
		HORIZONTAL,
		VERTICAL,
	}
363
	[CCode (cprefix = "GTK_PRINT_ERROR_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
364 365 366 367
	public enum PrintError {
		GENERAL,
		INTERNAL_ERROR,
		NOMEM,
368
		INVALID_FILE,
Jürg Billeter's avatar
Jürg Billeter committed
369
	}
370
	[CCode (cprefix = "GTK_PRINT_OPERATION_ACTION_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
371 372 373 374 375 376
	public enum PrintOperationAction {
		PRINT_DIALOG,
		PRINT,
		PREVIEW,
		EXPORT,
	}
377
	[CCode (cprefix = "GTK_PRINT_OPERATION_RESULT_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
378 379 380 381 382 383
	public enum PrintOperationResult {
		ERROR,
		APPLY,
		CANCEL,
		IN_PROGRESS,
	}
384
	[CCode (cprefix = "GTK_PRINT_PAGES_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
385 386 387 388 389
	public enum PrintPages {
		ALL,
		CURRENT,
		RANGES,
	}
390
	[CCode (cprefix = "GTK_PRINT_QUALITY_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
391 392 393 394 395 396
	public enum PrintQuality {
		LOW,
		NORMAL,
		HIGH,
		DRAFT,
	}
397
	[CCode (cprefix = "GTK_PRINT_STATUS_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
398 399 400 401 402 403 404 405 406 407 408
	public enum PrintStatus {
		INITIAL,
		PREPARING,
		GENERATING_DATA,
		SENDING_DATA,
		PENDING,
		PENDING_ISSUE,
		PRINTING,
		FINISHED,
		FINISHED_ABORTED,
	}
409
	[CCode (cprefix = "GTK_PROGRESS_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
410 411 412 413 414 415
	public enum ProgressBarOrientation {
		LEFT_TO_RIGHT,
		RIGHT_TO_LEFT,
		BOTTOM_TO_TOP,
		TOP_TO_BOTTOM,
	}
416
	[CCode (cprefix = "GTK_PROGRESS_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
417 418 419 420
	public enum ProgressBarStyle {
		CONTINUOUS,
		DISCRETE,
	}
421
	[CCode (cprefix = "GTK_RC_TOKEN_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460
	public enum RcTokenType {
		INVALID,
		INCLUDE,
		NORMAL,
		ACTIVE,
		PRELIGHT,
		SELECTED,
		INSENSITIVE,
		FG,
		BG,
		TEXT,
		BASE,
		XTHICKNESS,
		YTHICKNESS,
		FONT,
		FONTSET,
		FONT_NAME,
		BG_PIXMAP,
		PIXMAP_PATH,
		STYLE,
		BINDING,
		BIND,
		WIDGET,
		WIDGET_CLASS,
		CLASS,
		LOWEST,
		GTK,
		APPLICATION,
		THEME,
		RC,
		HIGHEST,
		ENGINE,
		MODULE_PATH,
		IM_MODULE_PATH,
		IM_MODULE_FILE,
		STOCK,
		LTR,
		RTL,
		COLOR,
461
		UNBIND,
Jürg Billeter's avatar
Jürg Billeter committed
462 463
		LAST,
	}
464
	[CCode (cprefix = "GTK_RECENT_CHOOSER_ERROR_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
465 466 467 468
	public enum RecentChooserError {
		NOT_FOUND,
		INVALID_URI,
	}
469
	[CCode (cprefix = "GTK_RECENT_MANAGER_ERROR_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
470 471 472 473 474 475 476 477 478
	public enum RecentManagerError {
		NOT_FOUND,
		INVALID_URI,
		INVALID_ENCODING,
		NOT_REGISTERED,
		READ,
		WRITE,
		UNKNOWN,
	}
479
	[CCode (cprefix = "GTK_RECENT_SORT_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
480 481 482 483 484 485
	public enum RecentSortType {
		NONE,
		MRU,
		LRU,
		CUSTOM,
	}
486
	[CCode (cprefix = "GTK_RELIEF_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
487 488 489 490 491
	public enum ReliefStyle {
		NORMAL,
		HALF,
		NONE,
	}
492
	[CCode (cprefix = "GTK_RESIZE_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
493 494 495 496 497
	public enum ResizeMode {
		PARENT,
		QUEUE,
		IMMEDIATE,
	}
498
	[CCode (cprefix = "GTK_RESPONSE_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
499 500 501 502 503 504 505 506 507 508 509 510 511
	public enum ResponseType {
		NONE,
		REJECT,
		ACCEPT,
		DELETE_EVENT,
		OK,
		CANCEL,
		CLOSE,
		YES,
		NO,
		APPLY,
		HELP,
	}
512
	[CCode (cprefix = "GTK_SCROLL_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
513 514 515 516 517 518 519 520
	public enum ScrollStep {
		STEPS,
		PAGES,
		ENDS,
		HORIZONTAL_STEPS,
		HORIZONTAL_PAGES,
		HORIZONTAL_ENDS,
	}
521
	[CCode (cprefix = "GTK_SCROLL_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539
	public enum ScrollType {
		NONE,
		JUMP,
		STEP_BACKWARD,
		STEP_FORWARD,
		PAGE_BACKWARD,
		PAGE_FORWARD,
		STEP_UP,
		STEP_DOWN,
		PAGE_UP,
		PAGE_DOWN,
		STEP_LEFT,
		STEP_RIGHT,
		PAGE_LEFT,
		PAGE_RIGHT,
		START,
		END,
	}
540
	[CCode (cprefix = "GTK_SELECTION_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
541 542 543 544 545 546 547
	public enum SelectionMode {
		NONE,
		SINGLE,
		BROWSE,
		MULTIPLE,
		EXTENDED,
	}
548
	[CCode (cprefix = "GTK_SENSITIVITY_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
549 550 551 552 553
	public enum SensitivityType {
		AUTO,
		ON,
		OFF,
	}
554
	[CCode (cprefix = "GTK_SHADOW_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
555 556 557 558 559 560 561
	public enum ShadowType {
		NONE,
		IN,
		OUT,
		ETCHED_IN,
		ETCHED_OUT,
	}
562
	[CCode (cprefix = "GTK_SIDE_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
563 564 565 566 567 568
	public enum SideType {
		TOP,
		BOTTOM,
		LEFT,
		RIGHT,
	}
569
	[CCode (cprefix = "GTK_SIZE_GROUP_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
570 571 572 573 574 575
	public enum SizeGroupMode {
		NONE,
		HORIZONTAL,
		VERTICAL,
		BOTH,
	}
576
	[CCode (cprefix = "GTK_SORT_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
577 578 579 580
	public enum SortType {
		ASCENDING,
		DESCENDING,
	}
581
	[CCode (cprefix = "GTK_UPDATE_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
582 583 584 585
	public enum SpinButtonUpdatePolicy {
		ALWAYS,
		IF_VALID,
	}
586
	[CCode (cprefix = "GTK_SPIN_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
587 588 589 590 591 592 593 594 595
	public enum SpinType {
		STEP_FORWARD,
		STEP_BACKWARD,
		PAGE_FORWARD,
		PAGE_BACKWARD,
		HOME,
		END,
		USER_DEFINED,
	}
596
	[CCode (cprefix = "GTK_STATE_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
597 598 599 600 601 602 603
	public enum StateType {
		NORMAL,
		ACTIVE,
		PRELIGHT,
		SELECTED,
		INSENSITIVE,
	}
604
	[CCode (cprefix = "GTK_DIRECTION_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
605 606 607 608
	public enum SubmenuDirection {
		LEFT,
		RIGHT,
	}
609
	[CCode (cprefix = "GTK_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
610 611 612 613
	public enum SubmenuPlacement {
		TOP_BOTTOM,
		LEFT_RIGHT,
	}
614
	[CCode (cprefix = "GTK_TEXT_BUFFER_TARGET_INFO_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
615 616 617 618 619
	public enum TextBufferTargetInfo {
		BUFFER_CONTENTS,
		RICH_TEXT,
		TEXT,
	}
620
	[CCode (cprefix = "GTK_TEXT_DIR_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
621 622 623 624 625
	public enum TextDirection {
		NONE,
		LTR,
		RTL,
	}
626
	[CCode (cprefix = "GTK_TEXT_WINDOW_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
627 628 629 630 631 632 633 634 635
	public enum TextWindowType {
		PRIVATE,
		WIDGET,
		TEXT,
		LEFT,
		RIGHT,
		TOP,
		BOTTOM,
	}
636
	[CCode (cprefix = "GTK_TOOLBAR_CHILD_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
637 638 639 640 641 642
	public enum ToolbarChildType {
		SPACE,
		BUTTON,
		TOGGLEBUTTON,
		RADIOBUTTON,
		WIDGET,
643
	}
644
	[CCode (cprefix = "GTK_TOOLBAR_SPACE_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
645 646 647
	public enum ToolbarSpaceStyle {
		EMPTY,
		LINE,
648
	}
649
	[CCode (cprefix = "GTK_TOOLBAR_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
650 651 652 653 654
	public enum ToolbarStyle {
		ICONS,
		TEXT,
		BOTH,
		BOTH_HORIZ,
655
	}
656
	[CCode (cprefix = "GTK_TREE_VIEW_COLUMN_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
657 658 659 660 661
	public enum TreeViewColumnSizing {
		GROW_ONLY,
		AUTOSIZE,
		FIXED,
	}
662
	[CCode (cprefix = "GTK_TREE_VIEW_DROP_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
663 664 665 666 667 668
	public enum TreeViewDropPosition {
		BEFORE,
		AFTER,
		INTO_OR_BEFORE,
		INTO_OR_AFTER,
	}
669
	[CCode (cprefix = "GTK_TREE_VIEW_GRID_LINES_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
670 671 672 673 674 675
	public enum TreeViewGridLines {
		NONE,
		HORIZONTAL,
		VERTICAL,
		BOTH,
	}
676 677 678 679
	[CCode (cprefix = "GTK_TREE_VIEW_", cheader_filename = "gtk/gtk.h")]
	public enum TreeViewMode {
		LINE,
		ITEM,
Jürg Billeter's avatar
Jürg Billeter committed
680
	}
681
	[CCode (cprefix = "GTK_UNIT_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
682 683 684 685 686 687
	public enum Unit {
		PIXEL,
		POINTS,
		INCH,
		MM,
	}
688
	[CCode (cprefix = "GTK_UPDATE_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
689 690 691 692 693
	public enum UpdateType {
		CONTINUOUS,
		DISCONTINUOUS,
		DELAYED,
	}
694
	[CCode (cprefix = "GTK_VISIBILITY_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
695 696 697 698 699
	public enum Visibility {
		NONE,
		PARTIAL,
		FULL,
	}
700
	[CCode (cprefix = "GTK_WIDGET_HELP_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
701 702 703 704
	public enum WidgetHelpType {
		TOOLTIP,
		WHATS_THIS,
	}
705
	[CCode (cprefix = "GTK_WIN_POS_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
706 707 708 709 710 711
	public enum WindowPosition {
		NONE,
		CENTER,
		MOUSE,
		CENTER_ALWAYS,
		CENTER_ON_PARENT,
712
	}
713
	[CCode (cprefix = "GTK_WINDOW_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
714 715 716
	public enum WindowType {
		TOPLEVEL,
		POPUP,
717
	}
718
	[CCode (cprefix = "GTK_WRAP_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
719 720 721 722 723
	public enum WrapMode {
		NONE,
		CHAR,
		WORD,
		WORD_CHAR,
724
	}
725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005
	[CCode (cprefix = "GTK_ACCEL_", cheader_filename = "gtk/gtk.h")]
	[Flags]
	public enum AccelFlags {
		VISIBLE,
		LOCKED,
		MASK,
	}
	[CCode (cprefix = "GTK_ARG_", cheader_filename = "gtk/gtk.h")]
	[Flags]
	public enum ArgFlags {
		READABLE,
		WRITABLE,
		CONSTRUCT,
		CONSTRUCT_ONLY,
		CHILD_ARG,
	}
	[CCode (cprefix = "GTK_", cheader_filename = "gtk/gtk.h")]
	[Flags]
	public enum AttachOptions {
		EXPAND,
		SHRINK,
		FILL,
	}
	[CCode (cprefix = "GTK_BUTTON_", cheader_filename = "gtk/gtk.h")]
	[Flags]
	public enum ButtonAction {
		IGNORED,
		SELECTS,
		DRAGS,
		EXPANDS,
	}
	[CCode (cprefix = "GTK_CALENDAR_", cheader_filename = "gtk/gtk.h")]
	[Flags]
	public enum CalendarDisplayOptions {
		SHOW_HEADING,
		SHOW_DAY_NAMES,
		NO_MONTH_CHANGE,
		SHOW_WEEK_NUMBERS,
		WEEK_START_MONDAY,
	}
	[CCode (cprefix = "GTK_CELL_RENDERER_", cheader_filename = "gtk/gtk.h")]
	[Flags]
	public enum CellRendererState {
		SELECTED,
		PRELIT,
		INSENSITIVE,
		SORTED,
		FOCUSED,
	}
	[CCode (cprefix = "GTK_DEBUG_", cheader_filename = "gtk/gtk.h")]
	[Flags]
	public enum DebugFlag {
		MISC,
		PLUGSOCKET,
		TEXT,
		TREE,
		UPDATES,
		KEYBINDINGS,
		MULTIHEAD,
		MODULES,
		GEOMETRY,
		ICONTHEME,
		PRINTING,
		BUILDER,
	}
	[CCode (cprefix = "GTK_DEST_DEFAULT_", cheader_filename = "gtk/gtk.h")]
	[Flags]
	public enum DestDefaults {
		MOTION,
		HIGHLIGHT,
		DROP,
		ALL,
	}
	[CCode (cprefix = "GTK_DIALOG_", cheader_filename = "gtk/gtk.h")]
	[Flags]
	public enum DialogFlags {
		MODAL,
		DESTROY_WITH_PARENT,
		NO_SEPARATOR,
	}
	[CCode (cprefix = "GTK_FILE_FILTER_", cheader_filename = "gtk/gtk.h")]
	[Flags]
	public enum FileFilterFlags {
		FILENAME,
		URI,
		DISPLAY_NAME,
		MIME_TYPE,
	}
	[CCode (cprefix = "GTK_ICON_LOOKUP_", cheader_filename = "gtk/gtk.h")]
	[Flags]
	public enum IconLookupFlags {
		NO_SVG,
		FORCE_SVG,
		USE_BUILTIN,
		GENERIC_FALLBACK,
	}
	[CCode (cprefix = "GTK_", cheader_filename = "gtk/gtk.h")]
	[Flags]
	public enum ObjectFlags {
		IN_DESTRUCTION,
		FLOATING,
		RESERVED_1,
		RESERVED_2,
	}
	[CCode (cprefix = "PRIVATE_GTK_", cheader_filename = "gtk/gtk.h")]
	[Flags]
	public enum PrivateFlags {
		USER_STYLE,
		RESIZE_PENDING,
		LEAVE_PENDING,
		HAS_SHAPE_MASK,
		IN_REPARENT,
		DIRECTION_SET,
		DIRECTION_LTR,
		ANCHORED,
		CHILD_VISIBLE,
		REDRAW_ON_ALLOC,
		ALLOC_NEEDED,
		REQUEST_NEEDED,
	}
	[CCode (cprefix = "GTK_RC_", cheader_filename = "gtk/gtk.h")]
	[Flags]
	public enum RcFlags {
		FG,
		BG,
		TEXT,
		BASE,
	}
	[CCode (cprefix = "GTK_RECENT_FILTER_", cheader_filename = "gtk/gtk.h")]
	[Flags]
	public enum RecentFilterFlags {
		URI,
		DISPLAY_NAME,
		MIME_TYPE,
		APPLICATION,
		GROUP,
		AGE,
	}
	[CCode (cprefix = "GTK_RUN_", cheader_filename = "gtk/gtk.h")]
	[Flags]
	public enum SignalRunType {
		FIRST,
		LAST,
		BOTH,
		NO_RECURSE,
		ACTION,
		NO_HOOKS,
	}
	[CCode (cprefix = "GTK_TARGET_", cheader_filename = "gtk/gtk.h")]
	[Flags]
	public enum TargetFlags {
		SAME_APP,
		SAME_WIDGET,
		OTHER_APP,
		OTHER_WIDGET,
	}
	[CCode (cprefix = "GTK_TEXT_SEARCH_", cheader_filename = "gtk/gtk.h")]
	[Flags]
	public enum TextSearchFlags {
		VISIBLE_ONLY,
		TEXT_ONLY,
	}
	[CCode (cprefix = "GTK_TREE_MODEL_", cheader_filename = "gtk/gtk.h")]
	[Flags]
	public enum TreeModelFlags {
		ITERS_PERSIST,
		LIST_ONLY,
	}
	[CCode (cprefix = "GTK_UI_MANAGER_", cheader_filename = "gtk/gtk.h")]
	[Flags]
	public enum UIManagerItemType {
		AUTO,
		MENUBAR,
		MENU,
		TOOLBAR,
		PLACEHOLDER,
		POPUP,
		MENUITEM,
		TOOLITEM,
		SEPARATOR,
		ACCELERATOR,
	}
	[CCode (cprefix = "GTK_", cheader_filename = "gtk/gtk.h")]
	[Flags]
	public enum WidgetFlags {
		TOPLEVEL,
		NO_WINDOW,
		REALIZED,
		MAPPED,
		VISIBLE,
		SENSITIVE,
		PARENT_SENSITIVE,
		CAN_FOCUS,
		HAS_FOCUS,
		CAN_DEFAULT,
		HAS_DEFAULT,
		HAS_GRAB,
		RC_STYLE,
		COMPOSITE_CHILD,
		NO_REPARENT,
		APP_PAINTABLE,
		RECEIVES_DEFAULT,
		DOUBLE_BUFFERED,
		NO_SHOW_ALL,
	}
	[CCode (cheader_filename = "gtk/gtk.h")]
	public class Widget : Gtk.Object, Atk.Implementor, Gtk.Buildable {
		public uchar state;
		public uchar saved_state;
		public Gtk.Requisition requisition;
		public Gtk.Allocation allocation;
		public weak Gdk.Window window;
		[CCode (cname = "GTK_WIDGET_FLAGS")]
		public Gtk.WidgetFlags get_flags ();
		[CCode (cname = "GTK_WIDGET_SET_FLAGS")]
		public void set_flags (Gtk.WidgetFlags flags);
		[CCode (cname = "GTK_WIDGET_UNSET_FLAGS")]
		public void unset_flags (Gtk.WidgetFlags flags);
		public Widget ();
		public bool activate ();
		public void add_accelerator (string accel_signal, Gtk.AccelGroup accel_group, uint accel_key, Gdk.ModifierType accel_mods, Gtk.AccelFlags accel_flags);
		public void add_events (int events);
		public void add_mnemonic_label (Gtk.Widget label);
		public bool child_focus (Gtk.DirectionType direction);
		public static weak GLib.ParamSpec class_find_style_property (pointer klass, string property_name);
		public static void class_install_style_property (pointer klass, GLib.ParamSpec pspec);
		public static void class_install_style_property_parser (pointer klass, GLib.ParamSpec pspec, Gtk.RcPropertyParser parser);
		public static weak GLib.ParamSpec class_list_style_properties (pointer klass, uint n_properties);
		public void class_path (uint path_length, string path, string path_reversed);
		public weak Pango.Context create_pango_context ();
		public weak Pango.Layout create_pango_layout (string text);
		public void destroyed (Gtk.Widget widget_pointer);
		public void draw (out Gdk.Rectangle area);
		public void ensure_style ();
		public void error_bell ();
		public void freeze_child_notify ();
		public virtual weak Atk.Object get_accessible ();
		public weak Gtk.Action get_action ();
		public weak Gtk.Widget get_ancestor (GLib.Type widget_type);
		public void get_child_requisition (out Gtk.Requisition requisition);
		public bool get_child_visible ();
		public weak Gtk.Clipboard get_clipboard (Gdk.Atom selection);
		public weak Gdk.Colormap get_colormap ();
		public weak string get_composite_name ();
		public static weak Gdk.Colormap get_default_colormap ();
		public static Gtk.TextDirection get_default_direction ();
		public static weak Gtk.Style get_default_style ();
		public static weak Gdk.Visual get_default_visual ();
		public Gtk.TextDirection get_direction ();
		public weak Gdk.Display get_display ();
		public int get_events ();
		public Gdk.ExtensionMode get_extension_events ();
		public bool get_has_tooltip ();
		public weak Gtk.RcStyle get_modifier_style ();
		public weak string get_name ();
		public bool get_no_show_all ();
		public weak Pango.Context get_pango_context ();
		public weak Gtk.Widget get_parent ();
		public weak Gdk.Window get_parent_window ();
		public void get_pointer (int x, int y);
		public weak Gdk.Window get_root_window ();
		public weak Gdk.Screen get_screen ();
		public weak Gtk.Settings get_settings ();
		public void get_size_request (int width, int height);
		public weak Gtk.Style get_style ();
		public weak string get_tooltip_markup ();
		public weak string get_tooltip_text ();
		public weak Gtk.Window get_tooltip_window ();
		public weak Gtk.Widget get_toplevel ();
		public weak Gdk.Visual get_visual ();
		public void grab_default ();
		public bool has_screen ();
		public virtual void hide_all ();
		public bool hide_on_delete ();
		public void input_shape_combine_mask (Gdk.Bitmap shape_mask, int offset_x, int offset_y);
		public bool intersect (out Gdk.Rectangle area, out Gdk.Rectangle intersection);
		public bool is_ancestor (Gtk.Widget ancestor);
		public bool is_composited ();
		public weak GLib.List list_accel_closures ();
		public weak GLib.List list_mnemonic_labels ();
		public void modify_base (Gtk.StateType state, out Gdk.Color color);
1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017
		public void modify_bg (Gtk.StateType state, out Gdk.Color color);
		public void modify_cursor (out Gdk.Color primary, out Gdk.Color secondary);
		public void modify_fg (Gtk.StateType state, out Gdk.Color color);
		public void modify_font (Pango.FontDescription font_desc);
		public void modify_style (Gtk.RcStyle style);
		public void modify_text (Gtk.StateType state, out Gdk.Color color);
		public Widget (GLib.Type type, ...);
		public void path (uint path_length, string path, string path_reversed);
		public static void pop_colormap ();
		public static void pop_composite_child ();
		public static void push_colormap (Gdk.Colormap cmap);
		public static void push_composite_child ();
1018 1019
		public void queue_clear ();
		public void queue_clear_area (int x, int y, int width, int height);
1020 1021 1022 1023
		public void queue_draw ();
		public void queue_draw_area (int x, int y, int width, int height);
		public void queue_resize ();
		public void queue_resize_no_redraw ();
1024
		public weak Gtk.Widget @ref ();
1025 1026 1027 1028 1029 1030 1031 1032
		public weak Gdk.Region region_intersect (Gdk.Region region);
		public bool remove_accelerator (Gtk.AccelGroup accel_group, uint accel_key, Gdk.ModifierType accel_mods);
		public void remove_mnemonic_label (Gtk.Widget label);
		public weak Gdk.Pixbuf render_icon (string stock_id, Gtk.IconSize size, string detail);
		public void reparent (Gtk.Widget new_parent);
		public void reset_rc_styles ();
		public void reset_shapes ();
		public int send_expose (Gdk.Event event);
1033
		public void set (...);
1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058
		public void set_accel_path (string accel_path, Gtk.AccelGroup accel_group);
		public void set_app_paintable (bool app_paintable);
		public void set_child_visible (bool is_visible);
		public void set_colormap (Gdk.Colormap colormap);
		public void set_composite_name (string name);
		public static void set_default_colormap (Gdk.Colormap colormap);
		public static void set_default_direction (Gtk.TextDirection dir);
		public void set_direction (Gtk.TextDirection dir);
		public void set_double_buffered (bool double_buffered);
		public void set_events (int events);
		public void set_extension_events (Gdk.ExtensionMode mode);
		public void set_has_tooltip (bool has_tooltip);
		public void set_name (string name);
		public void set_no_show_all (bool no_show_all);
		public void set_parent (Gtk.Widget parent);
		public void set_parent_window (Gdk.Window parent_window);
		public void set_redraw_on_allocate (bool redraw_on_allocate);
		public bool set_scroll_adjustments (Gtk.Adjustment hadjustment, Gtk.Adjustment vadjustment);
		public void set_sensitive (bool sensitive);
		public void set_size_request (int width, int height);
		public void set_state (Gtk.StateType state);
		public void set_style (Gtk.Style style);
		public void set_tooltip_markup (string markup);
		public void set_tooltip_text (string text);
		public void set_tooltip_window (Gtk.Window custom_window);
1059 1060
		public void set_uposition (int x, int y);
		public void set_usize (int width, int height);
1061 1062 1063 1064 1065 1066 1067 1068 1069 1070
		public void shape_combine_mask (Gdk.Bitmap shape_mask, int offset_x, int offset_y);
		public virtual void show_all ();
		public void show_now ();
		public void style_get (...);
		public void style_get_property (string property_name, GLib.Value value);
		public void style_get_valist (string first_property_name, pointer var_args);
		public void thaw_child_notify ();
		public bool translate_coordinates (Gtk.Widget dest_widget, int src_x, int src_y, int dest_x, int dest_y);
		public void trigger_tooltip_query ();
		public void unparent ();
1071
		public void unref ();
1072
		[NoAccessorMethod]
1073
		public weak bool app_paintable { get; set; }
1074
		[NoAccessorMethod]
1075
		public weak bool can_default { get; set; }
1076
		[NoAccessorMethod]
1077
		public weak bool can_focus { get; set; }
1078
		[NoAccessorMethod]
1079
		public weak bool composite_child { get; }
1080 1081
		public weak Gdk.EventMask events { get; set; }
		public weak Gdk.ExtensionMode extension_events { get; set; }
1082
		[NoAccessorMethod]
1083
		public weak bool has_default { get; set; }
1084 1085
		[NoAccessorMethod]
		public weak bool has_focus { get; set; }
1086
		public weak bool has_tooltip { get; set; }
1087
		[NoAccessorMethod]
1088
		public weak int height_request { get; set; }
1089
		[NoAccessorMethod]
1090 1091 1092 1093
		public weak bool is_focus { get; set; }
		public weak string name { get; set; }
		public weak bool no_show_all { get; set; }
		public weak Gtk.Container parent { get; set; }
1094 1095 1096
		[NoAccessorMethod]
		public weak bool receives_default { get; set; }
		[NoAccessorMethod]
1097
		public weak bool sensitive { get; set; }
1098 1099
		public weak Gtk.Style style { get; set; }
		public weak string tooltip_markup { get; set; }
1100 1101 1102 1103 1104 1105 1106 1107
		public weak string tooltip_text { get; set; }
		[NoAccessorMethod]
		public weak bool visible { get; set; }
		[NoAccessorMethod]
		public weak int width_request { get; set; }
		public signal void accel_closures_changed ();
		public signal bool button_press_event (Gdk.Event event);
		public signal bool button_release_event (Gdk.Event event);
1108
		[HasEmitter]
1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138
		public signal bool can_activate_accel (uint signal_id);
		[HasEmitter]
		public signal void child_notify (GLib.ParamSpec pspec);
		public signal bool client_event (Gdk.Event event);
		public signal void composited_changed ();
		public signal bool configure_event (Gdk.Event event);
		public signal bool delete_event (Gdk.Event event);
		public signal bool destroy_event (Gdk.Event event);
		public signal void direction_changed (Gtk.TextDirection previous_direction);
		public signal void drag_begin (Gdk.DragContext context);
		public signal void drag_data_delete (Gdk.DragContext context);
		public signal void drag_data_get (Gdk.DragContext context, Gtk.SelectionData selection_data, uint info, uint time_);
		public signal void drag_data_received (Gdk.DragContext context, int x, int y, Gtk.SelectionData selection_data, uint info, uint time_);
		public signal bool drag_drop (Gdk.DragContext context, int x, int y, uint time_);
		public signal void drag_end (Gdk.DragContext context);
		public signal bool drag_failed (Gdk.DragContext p0, Gtk.DragResult p1);
		public signal void drag_leave (Gdk.DragContext context, uint time_);
		public signal bool drag_motion (Gdk.DragContext context, int x, int y, uint time_);
		public signal bool enter_notify_event (Gdk.Event event);
		[HasEmitter]
		public signal bool event (Gdk.Event event);
		public signal void event_after (Gdk.Event p0);
		public signal bool expose_event (Gdk.Event event);
		public signal bool focus (Gtk.DirectionType direction);
		public signal bool focus_in_event (Gdk.Event event);
		public signal bool focus_out_event (Gdk.Event event);
		public signal bool grab_broken_event (Gdk.Event event);
		[HasEmitter]
		public signal void grab_focus ();
		public signal void grab_notify (bool was_grabbed);
1139 1140
		[HasEmitter]
		public signal void hide ();
1141 1142 1143 1144 1145 1146
		public signal void hierarchy_changed (Gtk.Widget previous_toplevel);
		public signal bool key_press_event (Gdk.Event event);
		public signal bool key_release_event (Gdk.Event event);
		[HasEmitter]
		public signal bool keynav_failed (Gtk.DirectionType p0);
		public signal bool leave_notify_event (Gdk.Event event);
1147 1148
		[HasEmitter]
		public signal void map ();
1149
		public signal bool map_event (Gdk.Event event);
1150
		[HasEmitter]
1151 1152 1153 1154 1155 1156 1157 1158 1159 1160
		public signal bool mnemonic_activate (bool group_cycling);
		public signal bool motion_notify_event (Gdk.Event event);
		public signal void move_focus (Gtk.DirectionType p0);
		public signal bool no_expose_event (Gdk.Event event);
		public signal void parent_set (Gtk.Widget previous_parent);
		public signal bool popup_menu ();
		public signal bool property_notify_event (Gdk.Event event);
		public signal bool proximity_in_event (Gdk.Event event);
		public signal bool proximity_out_event (Gdk.Event event);
		public signal bool query_tooltip (int x, int y, bool keyboard_tooltip, Gtk.Tooltip tooltip);
1161 1162
		[HasEmitter]
		public signal void realize ();
1163 1164 1165 1166 1167 1168 1169
		public signal void screen_changed (Gdk.Screen previous_screen);
		public signal bool scroll_event (Gdk.Event event);
		public signal bool selection_clear_event (Gdk.Event event);
		public signal void selection_get (Gtk.SelectionData selection_data, uint info, uint time_);
		public signal bool selection_notify_event (Gdk.Event event);
		public signal void selection_received (Gtk.SelectionData selection_data, uint time_);
		public signal bool selection_request_event (Gdk.Event event);
1170
		[HasEmitter]
1171 1172
		public signal void show ();
		public signal bool show_help (Gtk.WidgetHelpType help_type);
1173
		[HasEmitter]
1174
		public signal void size_allocate (out Gdk.Rectangle allocation);
1175
		[HasEmitter]
1176
		public signal void size_request (out Gtk.Requisition requisition);
1177 1178 1179
		public signal void state_changed (Gtk.StateType previous_state);
		public signal void style_set (Gtk.Style previous_style);
		[HasEmitter]
1180 1181
		public signal void unmap ();
		public signal bool unmap_event (Gdk.Event event);
1182
		[HasEmitter]
1183 1184 1185
		public signal void unrealize ();
		public signal bool visibility_notify_event (Gdk.Event event);
		public signal bool window_state_event (Gdk.Event event);
1186 1187
	}
	[CCode (cheader_filename = "gtk/gtk.h")]
1188 1189 1190 1191
	public class AccelGroupEntry {
		public weak Gtk.AccelKey key;
		public weak GLib.Closure closure;
		public GLib.Quark accel_path_quark;
1192
	}
Jürg Billeter's avatar
Jürg Billeter committed
1193
	[CCode (cheader_filename = "gtk/gtk.h")]
1194 1195 1196 1197
	public class AccelKey {
		public uint accel_key;
		public Gdk.ModifierType accel_mods;
		public uint accel_flags;
1198
	}
Jürg Billeter's avatar
Jürg Billeter committed
1199
	[CCode (cheader_filename = "gtk/gtk.h")]
1200
	public class AccelMapClass {
Jürg Billeter's avatar
Jürg Billeter committed
1201
	}
Jürg Billeter's avatar
Jürg Billeter committed
1202
	[CCode (cheader_filename = "gtk/gtk.h")]
1203 1204 1205
	public class Arg {
		public weak Gtk.Type type;
		public weak string name;
Jürg Billeter's avatar
Jürg Billeter committed
1206
	}
Jürg Billeter's avatar
Jürg Billeter committed
1207
	[CCode (cheader_filename = "gtk/gtk.h")]
1208 1209
	public class BindingArg {
		public GLib.Type arg_type;
1210
	}
Jürg Billeter's avatar
Jürg Billeter committed
1211
	[CCode (cheader_filename = "gtk/gtk.h")]
1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226
	public class BindingEntry {
		public uint keyval;
		public Gdk.ModifierType modifiers;
		public weak Gtk.BindingSet binding_set;
		public uint destroyed;
		public uint in_emission;
		public uint marks_unbound;
		public weak Gtk.BindingEntry set_next;
		public weak Gtk.BindingEntry hash_next;
		public weak Gtk.BindingSignal signals;
		public static void add_signal (Gtk.BindingSet binding_set, uint keyval, Gdk.ModifierType modifiers, string signal_name, uint n_args);
		public static void add_signall (Gtk.BindingSet binding_set, uint keyval, Gdk.ModifierType modifiers, string signal_name, GLib.SList binding_args);
		public static void clear (Gtk.BindingSet binding_set, uint keyval, Gdk.ModifierType modifiers);
		public static void remove (Gtk.BindingSet binding_set, uint keyval, Gdk.ModifierType modifiers);
		public static void skip (Gtk.BindingSet binding_set, uint keyval, Gdk.ModifierType modifiers);
1227
	}
Jürg Billeter's avatar
Jürg Billeter committed
1228
	[CCode (cheader_filename = "gtk/gtk.h")]
1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242
	public class BindingSet {
		public weak string set_name;
		public int priority;
		public weak GLib.SList widget_path_pspecs;
		public weak GLib.SList widget_class_pspecs;
		public weak GLib.SList class_branch_pspecs;
		public weak Gtk.BindingEntry entries;
		public weak Gtk.BindingEntry current;
		public uint parsed;
		public bool activate (uint keyval, Gdk.ModifierType modifiers, Gtk.Object object);
		public void add_path (Gtk.PathType path_type, string path_pattern, Gtk.PathPriorityType priority);
		public static weak Gtk.BindingSet by_class (pointer object_class);
		public static weak Gtk.BindingSet find (string set_name);
		public BindingSet (string set_name);
Jürg Billeter's avatar
Jürg Billeter committed
1243
	}
Jürg Billeter's avatar
Jürg Billeter committed
1244
	[CCode (cheader_filename = "gtk/gtk.h")]
1245 1246 1247 1248 1249
	public class BindingSignal {
		public weak Gtk.BindingSignal next;
		public weak string signal_name;
		public uint n_args;
		public weak Gtk.BindingArg args;
1250
	}
Jürg Billeter's avatar
Jürg Billeter committed
1251
	[CCode (cheader_filename = "gtk/gtk.h")]
1252 1253 1254 1255 1256 1257 1258
	public class BoxChild {
		public weak Gtk.Widget widget;
		public ushort padding;
		public uint expand;
		public uint fill;
		public uint pack;
		public uint is_secondary;
1259
	}
Jürg Billeter's avatar
Jürg Billeter committed
1260
	[CCode (cheader_filename = "gtk/gtk.h")]
1261 1262 1263
	public class CListCellInfo {
		public int row;
		public int column;
1264
	}
Jürg Billeter's avatar
Jürg Billeter committed
1265
	[CCode (cheader_filename = "gtk/gtk.h")]
1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363
	public class CListColumn {
		public weak string title;
		public Gdk.Rectangle area;
		public weak Gtk.Widget button;
		public weak Gdk.Window window;
		public int width;
		public int min_width;
		public int max_width;
		public Gtk.Justification justification;
		public uint visible;
		public uint width_set;
		public uint resizeable;
		public uint auto_resize;
		public uint button_passive;
		public static void title_active (Gtk.CList clist, int column);
		public static void title_passive (Gtk.CList clist, int column);
		public static void titles_active (Gtk.CList clist);
		public static void titles_hide (Gtk.CList clist);
		public static void titles_passive (Gtk.CList clist);
		public static void titles_show (Gtk.CList clist);
	}
	[CCode (cheader_filename = "gtk/gtk.h")]
	public class CListDestInfo {
		public weak Gtk.CListCellInfo cell;
		public Gtk.CListDragPos insert_pos;
	}
	[CCode (cheader_filename = "gtk/gtk.h")]
	public class CListRow {
		public weak Gtk.Cell cell;
		public Gtk.StateType state;
		public Gdk.Color foreground;
		public Gdk.Color background;
		public weak Gtk.Style style;
		public pointer data;
		public Gtk.DestroyNotify destroy;
		public uint fg_set;
		public uint bg_set;
		public uint selectable;
		public static Gtk.Visibility is_visible (Gtk.CList clist, int row);
		public static void move (Gtk.CList clist, int source_row, int dest_row);
	}
	[CCode (cheader_filename = "gtk/gtk.h")]
	public class CTreeNode {
		public weak GLib.List list;
		public static weak Gtk.Style get_cell_style (Gtk.CTree ctree, Gtk.CTreeNode node, int column);
		public static Gtk.CellType get_cell_type (Gtk.CTree ctree, Gtk.CTreeNode node, int column);
		public static bool get_pixmap (Gtk.CTree ctree, Gtk.CTreeNode node, int column, Gdk.Pixmap pixmap, Gdk.Bitmap mask);
		public static bool get_pixtext (Gtk.CTree ctree, Gtk.CTreeNode node, int column, string text, uchar spacing, Gdk.Pixmap pixmap, Gdk.Bitmap mask);
		public static pointer get_row_data (Gtk.CTree ctree, Gtk.CTreeNode node);
		public static weak Gtk.Style get_row_style (Gtk.CTree ctree, Gtk.CTreeNode node);
		public static bool get_selectable (Gtk.CTree ctree, Gtk.CTreeNode node);
		public static bool get_text (Gtk.CTree ctree, Gtk.CTreeNode node, int column, string text);
		public static Gtk.Visibility is_visible (Gtk.CTree ctree, Gtk.CTreeNode node);
		public static void moveto (Gtk.CTree ctree, Gtk.CTreeNode node, int column, float row_align, float col_align);
		public static weak Gtk.CTreeNode nth (Gtk.CTree ctree, uint row);
		public static void set_background (Gtk.CTree ctree, Gtk.CTreeNode node, out Gdk.Color color);
		public static void set_cell_style (Gtk.CTree ctree, Gtk.CTreeNode node, int column, Gtk.Style style);
		public static void set_foreground (Gtk.CTree ctree, Gtk.CTreeNode node, out Gdk.Color color);
		public static void set_pixmap (Gtk.CTree ctree, Gtk.CTreeNode node, int column, Gdk.Pixmap pixmap, Gdk.Bitmap mask);
		public static void set_pixtext (Gtk.CTree ctree, Gtk.CTreeNode node, int column, string text, uchar spacing, Gdk.Pixmap pixmap, Gdk.Bitmap mask);
		public static void set_row_data (Gtk.CTree ctree, Gtk.CTreeNode node, pointer data);
		public static void set_row_data_full (Gtk.CTree ctree, Gtk.CTreeNode node, pointer data, Gtk.DestroyNotify destroy);
		public static void set_row_style (Gtk.CTree ctree, Gtk.CTreeNode node, Gtk.Style style);
		public static void set_selectable (Gtk.CTree ctree, Gtk.CTreeNode node, bool selectable);
		public static void set_shift (Gtk.CTree ctree, Gtk.CTreeNode node, int column, int vertical, int horizontal);
		public static void set_text (Gtk.CTree ctree, Gtk.CTreeNode node, int column, string text);
	}
	[CCode (cheader_filename = "gtk/gtk.h")]
	public class CTreeRow {
		public weak Gtk.CListRow row;
		public weak Gtk.CTreeNode parent;
		public weak Gtk.CTreeNode sibling;
		public weak Gtk.CTreeNode children;
		public weak Gdk.Pixmap pixmap_closed;
		public weak Gdk.Bitmap mask_closed;
		public weak Gdk.Pixmap pixmap_opened;
		public weak Gdk.Bitmap mask_opened;
		public ushort level;
		public uint is_leaf;
		public uint expanded;
	}
	[CCode (cheader_filename = "gtk/gtk.h")]
	public class Cell {
		public Gtk.CellType type;
		public short vertical;
		public short horizontal;
		public weak Gtk.Style style;
	}
	[CCode (cheader_filename = "gtk/gtk.h")]
	public class CellPixText {
		public Gtk.CellType type;
		public short vertical;
		public short horizontal;
		public weak Gtk.Style style;
		public weak string text;
		public uchar spacing;
		public weak Gdk.Pixmap pixmap;
		public weak Gdk.Bitmap mask;
1364
	}
Jürg Billeter's avatar
Jürg Billeter committed
1365
	[CCode (cheader_filename = "gtk/gtk.h")]
1366 1367 1368 1369 1370 1371 1372
	public class CellPixmap {
		public Gtk.CellType type;
		public short vertical;
		public short horizontal;
		public weak Gtk.Style style;
		public weak Gdk.Pixmap pixmap;
		public weak Gdk.Bitmap mask;
Jürg Billeter's avatar
Jürg Billeter committed
1373
	}
Jürg Billeter's avatar
Jürg Billeter committed
1374
	[CCode (cheader_filename = "gtk/gtk.h")]
1375 1376 1377 1378 1379 1380
	public class CellText {
		public Gtk.CellType type;
		public short vertical;
		public short horizontal;
		public weak Gtk.Style style;
		public weak string text;
1381
	}
Jürg Billeter's avatar
Jürg Billeter committed
1382
	[CCode (cheader_filename = "gtk/gtk.h")]
1383 1384 1385 1386 1387 1388
	public class CellWidget {
		public Gtk.CellType type;
		public short vertical;
		public short horizontal;
		public weak Gtk.Style style;
		public weak Gtk.Widget widget;
Jürg Billeter's avatar
Jürg Billeter committed
1389
	}
Jürg Billeter's avatar
Jürg Billeter committed
1390
	[CCode (cheader_filename = "gtk/gtk.h")]
1391
	public class ClassInitFunc {
1392 1393
	}
	[CCode (cheader_filename = "gtk/gtk.h")]
1394
	public class EnumValue {
Jürg Billeter's avatar
Jürg Billeter committed
1395
	}
Jürg Billeter's avatar
Jürg Billeter committed
1396
	[CCode (cheader_filename = "gtk/gtk.h")]
1397 1398 1399 1400 1401 1402
	public class FileFilterInfo {
		public Gtk.FileFilterFlags contains;
		public weak string filename;
		public weak string uri;
		public weak string display_name;
		public weak string mime_type;
Jürg Billeter's avatar
Jürg Billeter committed
1403
	}
Jürg Billeter's avatar
Jürg Billeter committed
1404
	[CCode (cheader_filename = "gtk/gtk.h")]
1405 1406 1407 1408
	public class FixedChild {
		public weak Gtk.Widget widget;
		public int x;
		public int y;
1409
	}
Jürg Billeter's avatar
Jürg Billeter committed
1410
	[CCode (cheader_filename = "gtk/gtk.h")]
1411
	public class FlagValue {
Jürg Billeter's avatar
Jürg Billeter committed
1412
	}
Jürg Billeter's avatar
Jürg Billeter committed
1413
	[CCode (cheader_filename = "gtk/gtk.h")]
1414
	public class FundamentalType {
Jürg Billeter's avatar
Jürg Billeter committed
1415
	}
Jürg Billeter's avatar
Jürg Billeter committed
1416
	[CCode (cheader_filename = "gtk/gtk.h")]
1417 1418 1419 1420 1421 1422
	public class IMContextInfo {
		public weak string context_id;
		public weak string context_name;
		public weak string domain;
		public weak string domain_dirname;
		public weak string default_locales;
Jürg Billeter's avatar
Jürg Billeter committed
1423
	}
Jürg Billeter's avatar
Jürg Billeter committed
1424
	[CCode (cheader_filename = "gtk/gtk.h")]
1425 1426 1427 1428
	public class ImageAnimationData {
		public weak Gdk.PixbufAnimation anim;
		public weak Gdk.PixbufAnimationIter iter;
		public uint frame_timeout;
Jürg Billeter's avatar
Jürg Billeter committed
1429
	}
Jürg Billeter's avatar
Jürg Billeter committed
1430
	[CCode (cheader_filename = "gtk/gtk.h")]
1431 1432 1433 1434
	public class ImageIconNameData {
		public weak string icon_name;
		public weak Gdk.Pixbuf pixbuf;
		public uint theme_change_id;
Jürg Billeter's avatar
Jürg Billeter committed
1435
	}
Jürg Billeter's avatar
Jürg Billeter committed
1436
	[CCode (cheader_filename = "gtk/gtk.h")]
1437 1438
	public class ImageIconSetData {
		public weak Gtk.IconSet icon_set;
Jürg Billeter's avatar
Jürg Billeter committed
1439
	}
Jürg Billeter's avatar
Jürg Billeter committed
1440
	[CCode (cheader_filename = "gtk/gtk.h")]
1441 1442
	public class ImageImageData {
		public weak Gdk.Image image;
1443
	}
Jürg Billeter's avatar
Jürg Billeter committed
1444
	[CCode (cheader_filename = "gtk/gtk.h")]
1445 1446
	public class ImagePixbufData {
		public weak Gdk.Pixbuf pixbuf;
1447
	}
Jürg Billeter's avatar
Jürg Billeter committed
1448
	[CCode (cheader_filename = "gtk/gtk.h")]
1449 1450
	public class ImagePixmapData {
		public weak Gdk.Pixmap pixmap;
1451
	}
Jürg Billeter's avatar
Jürg Billeter committed
1452
	[CCode (cheader_filename = "gtk/gtk.h")]
1453 1454
	public class ImageStockData {
		public weak string stock_id;
1455
	}
Jürg Billeter's avatar
Jürg Billeter committed
1456
	[CCode (cheader_filename = "gtk/gtk.h")]
1457 1458 1459 1460 1461 1462 1463
	public class ItemFactoryEntry {
		public weak string path;
		public weak string accelerator;
		public Gtk.ItemFactoryCallback callback;
		public uint callback_action;
		public weak string item_type;
		public pointer extra_data;
Jürg Billeter's avatar
Jürg Billeter committed
1464
	}
Jürg Billeter's avatar
Jürg Billeter committed
1465
	[CCode (cheader_filename = "gtk/gtk.h")]
1466 1467 1468
	public class ItemFactoryItem {
		public weak string path;
		public weak GLib.SList widgets;
1469
	}
Jürg Billeter's avatar
Jürg Billeter committed
1470
	[CCode (cheader_filename = "gtk/gtk.h")]
1471
	public class LabelSelectionInfo {
1472
	}
Jürg Billeter's avatar
Jürg Billeter committed
1473
	[CCode (cheader_filename = "gtk/gtk.h")]
1474 1475 1476