gtk+-2.0.vala 263 KB
Newer Older
1
[CCode (cprefix = "Gtk", lower_case_cprefix = "gtk_")]
2
namespace Gtk {
3
	[CCode (cprefix = "GTK_ACCEL_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
4
5
6
7
	public enum AccelFlags {
		VISIBLE,
		LOCKED,
		MASK,
8
	}
9
	[CCode (cprefix = "GTK_ANCHOR_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
	public enum AnchorType {
		CENTER,
		NORTH,
		NORTH_WEST,
		NORTH_EAST,
		SOUTH,
		SOUTH_WEST,
		SOUTH_EAST,
		WEST,
		EAST,
		N,
		NW,
		NE,
		S,
		SW,
		SE,
		W,
		E,
28
	}
29
	[CCode (cprefix = "GTK_ARG_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
30
31
32
33
34
35
	public enum ArgFlags {
		READABLE,
		WRITABLE,
		CONSTRUCT,
		CONSTRUCT_ONLY,
		CHILD_ARG,
36
	}
37
	[CCode (cprefix = "GTK_ARROW_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
38
39
40
41
42
43
	public enum ArrowType {
		UP,
		DOWN,
		LEFT,
		RIGHT,
		NONE,
44
	}
45
	[CCode (cprefix = "GTK_ASSISTANT_PAGE_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
46
47
48
49
50
51
	public enum AssistantPageType {
		CONTENT,
		INTRO,
		CONFIRM,
		SUMMARY,
		PROGRESS,
52
	}
53
	[CCode (cprefix = "GTK_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
54
55
56
57
	public enum AttachOptions {
		EXPAND,
		SHRINK,
		FILL,
58
	}
59
	[CCode (cprefix = "GTK_BUILDER_ERROR_", cheader_filename = "gtk/gtk.h")]
60
61
62
63
64
65
66
	public enum BuilderError {
		INVALID_TYPE_FUNCTION,
		UNHANDLED_TAG,
		MISSING_ATTRIBUTE,
		INVALID_ATTRIBUTE,
		INVALID_TAG,
	}
67
	[CCode (cprefix = "GTK_BUTTONBOX_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
68
69
70
71
72
73
	public enum ButtonBoxStyle {
		DEFAULT_STYLE,
		SPREAD,
		EDGE,
		START,
		END,
74
		CENTER,
75
	}
76
	[CCode (cprefix = "GTK_BUTTONS_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
77
78
79
80
81
82
83
	public enum ButtonsType {
		NONE,
		OK,
		CLOSE,
		CANCEL,
		YES_NO,
		OK_CANCEL,
84
	}
85
	[CCode (cprefix = "GTK_CALENDAR_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
86
87
88
89
90
91
	public enum CalendarDisplayOptions {
		SHOW_HEADING,
		SHOW_DAY_NAMES,
		NO_MONTH_CHANGE,
		SHOW_WEEK_NUMBERS,
		WEEK_START_MONDAY,
92
	}
93
	[CCode (cprefix = "GTK_CELL_RENDERER_ACCEL_MODE_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
94
95
96
	public enum CellRendererAccelMode {
		GTK,
		OTHER,
97
	}
98
	[CCode (cprefix = "GTK_CELL_RENDERER_MODE_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
99
100
101
102
	public enum CellRendererMode {
		INERT,
		ACTIVATABLE,
		EDITABLE,
103
	}
104
	[CCode (cprefix = "GTK_CELL_RENDERER_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
105
106
107
108
109
110
	public enum CellRendererState {
		SELECTED,
		PRELIT,
		INSENSITIVE,
		SORTED,
		FOCUSED,
111
	}
112
	[CCode (cprefix = "GTK_CORNER_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
113
114
115
116
117
	public enum CornerType {
		TOP_LEFT,
		BOTTOM_LEFT,
		TOP_RIGHT,
		BOTTOM_RIGHT,
118
	}
119
	[CCode (cprefix = "GTK_CURVE_TYPE_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
120
121
122
123
	public enum CurveType {
		LINEAR,
		SPLINE,
		FREE,
124
	}
125
	[CCode (cprefix = "GTK_DEBUG_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
126
127
128
129
130
131
132
133
134
135
136
137
	public enum DebugFlag {
		MISC,
		PLUGSOCKET,
		TEXT,
		TREE,
		UPDATES,
		KEYBINDINGS,
		MULTIHEAD,
		MODULES,
		GEOMETRY,
		ICONTHEME,
		PRINTING,
138
		BUILDER,
139
	}
140
	[CCode (cprefix = "GTK_DELETE_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
141
142
143
144
145
146
147
148
149
	public enum DeleteType {
		CHARS,
		WORD_ENDS,
		WORDS,
		DISPLAY_LINES,
		DISPLAY_LINE_ENDS,
		PARAGRAPH_ENDS,
		PARAGRAPHS,
		WHITESPACE,
150
	}
151
	[CCode (cprefix = "GTK_DEST_DEFAULT_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
152
153
154
155
156
	public enum DestDefaults {
		MOTION,
		HIGHLIGHT,
		DROP,
		ALL,
157
	}
158
	[CCode (cprefix = "GTK_DIALOG_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
159
160
161
162
	public enum DialogFlags {
		MODAL,
		DESTROY_WITH_PARENT,
		NO_SEPARATOR,
163
	}
164
	[CCode (cprefix = "GTK_DIR_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
165
166
167
168
169
170
171
	public enum DirectionType {
		TAB_FORWARD,
		TAB_BACKWARD,
		UP,
		DOWN,
		LEFT,
		RIGHT,
172
	}
173
	[CCode (cprefix = "GTK_DRAG_RESULT_", cheader_filename = "gtk/gtk.h")]
174
175
176
177
178
179
180
181
	public enum DragResult {
		SUCCESS,
		NO_TARGET,
		USER_CANCELLED,
		TIMEOUT_EXPIRED,
		GRAB_BROKEN,
		ERROR,
	}
182
	[CCode (cprefix = "GTK_EXPANDER_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
183
184
185
186
187
	public enum ExpanderStyle {
		COLLAPSED,
		SEMI_COLLAPSED,
		SEMI_EXPANDED,
		EXPANDED,
188
	}
189
	[CCode (cprefix = "GTK_FILE_CHOOSER_ACTION_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
190
191
192
193
194
	public enum FileChooserAction {
		OPEN,
		SAVE,
		SELECT_FOLDER,
		CREATE_FOLDER,
195
	}
196
	[CCode (cprefix = "GTK_FILE_CHOOSER_CONFIRMATION_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
197
198
199
200
	public enum FileChooserConfirmation {
		CONFIRM,
		ACCEPT_FILENAME,
		SELECT_AGAIN,
201
	}
202
	[CCode (cprefix = "GTK_FILE_CHOOSER_ERROR_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
203
204
205
206
	public enum FileChooserError {
		NONEXISTENT,
		BAD_FILENAME,
		ALREADY_EXISTS,
207
	}
208
	[CCode (cprefix = "GTK_FILE_FILTER_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
209
210
211
212
213
	public enum FileFilterFlags {
		FILENAME,
		URI,
		DISPLAY_NAME,
		MIME_TYPE,
214
	}
215
	[CCode (cprefix = "GTK_IM_PREEDIT_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
216
217
218
219
	public enum IMPreeditStyle {
		NOTHING,
		CALLBACK,
		NONE,
220
	}
221
	[CCode (cprefix = "GTK_IM_STATUS_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
222
223
224
225
	public enum IMStatusStyle {
		NOTHING,
		CALLBACK,
		NONE,
226
	}
227
	[CCode (cprefix = "GTK_ICON_LOOKUP_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
228
229
230
231
	public enum IconLookupFlags {
		NO_SVG,
		FORCE_SVG,
		USE_BUILTIN,
232
		GENERIC_FALLBACK,
233
	}
234
	[CCode (cprefix = "GTK_ICON_SIZE_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
235
236
237
238
239
240
241
242
	public enum IconSize {
		INVALID,
		MENU,
		SMALL_TOOLBAR,
		LARGE_TOOLBAR,
		BUTTON,
		DND,
		DIALOG,
243
	}
244
	[CCode (cprefix = "GTK_ICON_THEME_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
245
246
247
	public enum IconThemeError {
		NOT_FOUND,
		FAILED,
248
	}
249
	[CCode (cprefix = "GTK_ICON_VIEW_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
250
251
252
253
254
255
256
	public enum IconViewDropPosition {
		NO_DROP,
		DROP_INTO,
		DROP_LEFT,
		DROP_RIGHT,
		DROP_ABOVE,
		DROP_BELOW,
257
	}
258
	[CCode (cprefix = "GTK_IMAGE_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
259
260
261
262
263
264
265
266
267
	public enum ImageType {
		EMPTY,
		PIXMAP,
		IMAGE,
		PIXBUF,
		STOCK,
		ICON_SET,
		ANIMATION,
		ICON_NAME,
268
	}
269
	[CCode (cprefix = "GTK_JUSTIFY_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
270
271
272
273
274
	public enum Justification {
		LEFT,
		RIGHT,
		CENTER,
		FILL,
275
	}
276
	[CCode (cprefix = "GTK_MATCH_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
277
278
279
280
281
282
283
284
	public enum MatchType {
		ALL,
		ALL_TAIL,
		HEAD,
		TAIL,
		EXACT,
		LAST,
	}
285
	[CCode (cprefix = "GTK_MENU_DIR_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
286
287
288
289
290
291
	public enum MenuDirectionType {
		PARENT,
		CHILD,
		NEXT,
		PREV,
	}
292
	[CCode (cprefix = "GTK_MESSAGE_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
293
294
295
296
297
298
299
	public enum MessageType {
		INFO,
		WARNING,
		QUESTION,
		ERROR,
		OTHER,
	}
300
	[CCode (cprefix = "GTK_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
301
302
303
304
305
	public enum MetricType {
		PIXELS,
		INCHES,
		CENTIMETERS,
	}
306
	[CCode (cprefix = "GTK_MOVEMENT_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
307
308
309
310
311
312
313
314
315
316
317
318
	public enum MovementStep {
		LOGICAL_POSITIONS,
		VISUAL_POSITIONS,
		WORDS,
		DISPLAY_LINES,
		DISPLAY_LINE_ENDS,
		PARAGRAPHS,
		PARAGRAPH_ENDS,
		PAGES,
		BUFFER_ENDS,
		HORIZONTAL_PAGES,
	}
319
	[CCode (cprefix = "GTK_NOTEBOOK_TAB_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
320
321
322
323
	public enum NotebookTab {
		FIRST,
		LAST,
	}
324
	[CCode (cprefix = "GTK_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
325
326
327
328
329
330
	public enum ObjectFlags {
		IN_DESTRUCTION,
		FLOATING,
		RESERVED_1,
		RESERVED_2,
	}
331
	[CCode (cprefix = "GTK_ORIENTATION_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
332
333
334
335
	public enum Orientation {
		HORIZONTAL,
		VERTICAL,
	}
336
	[CCode (cprefix = "GTK_PACK_DIRECTION_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
337
338
339
340
341
342
	public enum PackDirection {
		LTR,
		RTL,
		TTB,
		BTT,
	}
343
	[CCode (cprefix = "GTK_PACK_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
344
345
346
347
	public enum PackType {
		START,
		END,
	}
348
	[CCode (cprefix = "GTK_PAGE_ORIENTATION_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
349
350
351
352
353
354
	public enum PageOrientation {
		PORTRAIT,
		LANDSCAPE,
		REVERSE_PORTRAIT,
		REVERSE_LANDSCAPE,
	}
355
	[CCode (cprefix = "GTK_PAGE_SET_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
356
357
358
359
360
	public enum PageSet {
		ALL,
		EVEN,
		ODD,
	}
361
	[CCode (cprefix = "GTK_PATH_PRIO_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
362
363
364
365
366
367
368
369
	public enum PathPriorityType {
		LOWEST,
		GTK,
		APPLICATION,
		THEME,
		RC,
		HIGHEST,
	}
370
	[CCode (cprefix = "GTK_PATH_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
371
372
373
374
375
	public enum PathType {
		WIDGET,
		WIDGET_CLASS,
		CLASS,
	}
376
	[CCode (cprefix = "GTK_POLICY_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
377
378
379
380
381
	public enum PolicyType {
		ALWAYS,
		AUTOMATIC,
		NEVER,
	}
382
	[CCode (cprefix = "GTK_POS_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
383
384
385
386
387
388
	public enum PositionType {
		LEFT,
		RIGHT,
		TOP,
		BOTTOM,
	}
389
	[CCode (cprefix = "GTK_PREVIEW_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
390
391
392
393
	public enum PreviewType {
		COLOR,
		GRAYSCALE,
	}
394
	[CCode (cprefix = "GTK_PRINT_BACKEND_ERROR_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
395
396
397
	public enum PrintBackendError {
		GENERIC,
	}
398
	[CCode (cprefix = "GTK_PRINT_CAPABILITY_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
399
400
401
402
403
404
405
406
407
	public enum PrintCapabilities {
		PAGE_SET,
		COPIES,
		COLLATE,
		REVERSE,
		SCALE,
		GENERATE_PDF,
		GENERATE_PS,
		PREVIEW,
408
		NUMBER_UP,
Jürg Billeter's avatar
Jürg Billeter committed
409
	}
410
	[CCode (cprefix = "GTK_PRINT_DUPLEX_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
411
412
413
414
415
	public enum PrintDuplex {
		SIMPLEX,
		HORIZONTAL,
		VERTICAL,
	}
416
	[CCode (cprefix = "GTK_PRINT_ERROR_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
417
418
419
420
	public enum PrintError {
		GENERAL,
		INTERNAL_ERROR,
		NOMEM,
421
		INVALID_FILE,
Jürg Billeter's avatar
Jürg Billeter committed
422
	}
423
	[CCode (cprefix = "GTK_PRINT_OPERATION_ACTION_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
424
425
426
427
428
429
	public enum PrintOperationAction {
		PRINT_DIALOG,
		PRINT,
		PREVIEW,
		EXPORT,
	}
430
	[CCode (cprefix = "GTK_PRINT_OPERATION_RESULT_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
431
432
433
434
435
436
	public enum PrintOperationResult {
		ERROR,
		APPLY,
		CANCEL,
		IN_PROGRESS,
	}
437
	[CCode (cprefix = "GTK_PRINT_PAGES_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
438
439
440
441
442
	public enum PrintPages {
		ALL,
		CURRENT,
		RANGES,
	}
443
	[CCode (cprefix = "GTK_PRINT_QUALITY_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
444
445
446
447
448
449
	public enum PrintQuality {
		LOW,
		NORMAL,
		HIGH,
		DRAFT,
	}
450
	[CCode (cprefix = "GTK_PRINT_STATUS_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
451
452
453
454
455
456
457
458
459
460
461
	public enum PrintStatus {
		INITIAL,
		PREPARING,
		GENERATING_DATA,
		SENDING_DATA,
		PENDING,
		PENDING_ISSUE,
		PRINTING,
		FINISHED,
		FINISHED_ABORTED,
	}
462
	[CCode (cprefix = "GTK_PRINTER_OPTION_TYPE_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
463
464
465
466
467
468
469
470
471
472
473
474
	public enum PrinterOptionType {
		BOOLEAN,
		PICKONE,
		PICKONE_PASSWORD,
		PICKONE_PASSCODE,
		PICKONE_REAL,
		PICKONE_INT,
		PICKONE_STRING,
		ALTERNATIVE,
		STRING,
		FILESAVE,
	}
475
	[CCode (cprefix = "GTK_PROGRESS_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
476
477
478
479
480
481
	public enum ProgressBarOrientation {
		LEFT_TO_RIGHT,
		RIGHT_TO_LEFT,
		BOTTOM_TO_TOP,
		TOP_TO_BOTTOM,
	}
482
	[CCode (cprefix = "GTK_PROGRESS_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
483
484
485
486
	public enum ProgressBarStyle {
		CONTINUOUS,
		DISCRETE,
	}
487
	[CCode (cprefix = "GTK_RC_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
488
489
490
491
492
493
	public enum RcFlags {
		FG,
		BG,
		TEXT,
		BASE,
	}
494
	[CCode (cprefix = "GTK_RC_TOKEN_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
	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,
534
		UNBIND,
Jürg Billeter's avatar
Jürg Billeter committed
535
536
		LAST,
	}
537
	[CCode (cprefix = "GTK_RECENT_CHOOSER_ERROR_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
538
539
540
541
	public enum RecentChooserError {
		NOT_FOUND,
		INVALID_URI,
	}
542
	[CCode (cprefix = "GTK_RECENT_CHOOSER_PROP_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
543
544
545
546
547
548
549
550
551
552
553
554
555
556
	public enum RecentChooserProp {
		FIRST,
		RECENT_MANAGER,
		SHOW_PRIVATE,
		SHOW_NOT_FOUND,
		SHOW_TIPS,
		SHOW_ICONS,
		SELECT_MULTIPLE,
		LIMIT,
		LOCAL_ONLY,
		SORT_TYPE,
		FILTER,
		LAST,
	}
557
	[CCode (cprefix = "GTK_RECENT_FILTER_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
558
559
560
561
562
563
564
565
	public enum RecentFilterFlags {
		URI,
		DISPLAY_NAME,
		MIME_TYPE,
		APPLICATION,
		GROUP,
		AGE,
	}
566
	[CCode (cprefix = "GTK_RECENT_MANAGER_ERROR_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
567
568
569
570
571
572
573
574
575
	public enum RecentManagerError {
		NOT_FOUND,
		INVALID_URI,
		INVALID_ENCODING,
		NOT_REGISTERED,
		READ,
		WRITE,
		UNKNOWN,
	}
576
	[CCode (cprefix = "GTK_RECENT_SORT_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
577
578
579
580
581
582
	public enum RecentSortType {
		NONE,
		MRU,
		LRU,
		CUSTOM,
	}
583
	[CCode (cprefix = "GTK_RELIEF_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
584
585
586
587
588
	public enum ReliefStyle {
		NORMAL,
		HALF,
		NONE,
	}
589
	[CCode (cprefix = "GTK_RESIZE_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
590
591
592
593
594
	public enum ResizeMode {
		PARENT,
		QUEUE,
		IMMEDIATE,
	}
595
	[CCode (cprefix = "GTK_RESPONSE_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
596
597
598
599
600
601
602
603
604
605
606
607
608
	public enum ResponseType {
		NONE,
		REJECT,
		ACCEPT,
		DELETE_EVENT,
		OK,
		CANCEL,
		CLOSE,
		YES,
		NO,
		APPLY,
		HELP,
	}
609
	[CCode (cprefix = "GTK_SCROLL_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
610
611
612
613
614
615
616
617
	public enum ScrollStep {
		STEPS,
		PAGES,
		ENDS,
		HORIZONTAL_STEPS,
		HORIZONTAL_PAGES,
		HORIZONTAL_ENDS,
	}
618
	[CCode (cprefix = "GTK_SCROLL_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
	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,
	}
637
	[CCode (cprefix = "GTK_SELECTION_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
638
639
640
641
642
643
644
	public enum SelectionMode {
		NONE,
		SINGLE,
		BROWSE,
		MULTIPLE,
		EXTENDED,
	}
645
	[CCode (cprefix = "GTK_SENSITIVITY_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
646
647
648
649
650
	public enum SensitivityType {
		AUTO,
		ON,
		OFF,
	}
651
	[CCode (cprefix = "GTK_SHADOW_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
652
653
654
655
656
657
658
	public enum ShadowType {
		NONE,
		IN,
		OUT,
		ETCHED_IN,
		ETCHED_OUT,
	}
659
	[CCode (cprefix = "GTK_SIDE_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
660
661
662
663
664
665
	public enum SideType {
		TOP,
		BOTTOM,
		LEFT,
		RIGHT,
	}
666
	[CCode (cprefix = "GTK_RUN_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
667
668
669
670
671
672
673
674
	public enum SignalRunType {
		FIRST,
		LAST,
		BOTH,
		NO_RECURSE,
		ACTION,
		NO_HOOKS,
	}
675
	[CCode (cprefix = "GTK_SIZE_GROUP_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
676
677
678
679
680
681
	public enum SizeGroupMode {
		NONE,
		HORIZONTAL,
		VERTICAL,
		BOTH,
	}
682
	[CCode (cprefix = "GTK_SORT_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
683
684
685
686
	public enum SortType {
		ASCENDING,
		DESCENDING,
	}
687
	[CCode (cprefix = "GTK_UPDATE_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
688
689
690
691
	public enum SpinButtonUpdatePolicy {
		ALWAYS,
		IF_VALID,
	}
692
	[CCode (cprefix = "GTK_SPIN_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
693
694
695
696
697
698
699
700
701
	public enum SpinType {
		STEP_FORWARD,
		STEP_BACKWARD,
		PAGE_FORWARD,
		PAGE_BACKWARD,
		HOME,
		END,
		USER_DEFINED,
	}
702
	[CCode (cprefix = "GTK_STATE_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
703
704
705
706
707
708
709
	public enum StateType {
		NORMAL,
		ACTIVE,
		PRELIGHT,
		SELECTED,
		INSENSITIVE,
	}
710
	[CCode (cprefix = "GTK_DIRECTION_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
711
712
713
714
	public enum SubmenuDirection {
		LEFT,
		RIGHT,
	}
715
	[CCode (cprefix = "GTK_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
716
717
718
719
	public enum SubmenuPlacement {
		TOP_BOTTOM,
		LEFT_RIGHT,
	}
720
	[CCode (cprefix = "GTK_TARGET_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
721
	public enum TargetFlags {
722
723
724
725
		SAME_APP,
		SAME_WIDGET,
		OTHER_APP,
		OTHER_WIDGET,
Jürg Billeter's avatar
Jürg Billeter committed
726
	}
727
	[CCode (cprefix = "GTK_TEXT_BUFFER_TARGET_INFO_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
728
729
730
731
732
	public enum TextBufferTargetInfo {
		BUFFER_CONTENTS,
		RICH_TEXT,
		TEXT,
	}
733
	[CCode (cprefix = "GTK_TEXT_DIR_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
734
735
736
737
738
	public enum TextDirection {
		NONE,
		LTR,
		RTL,
	}
739
	[CCode (cprefix = "GTK_TEXT_SEARCH_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
740
741
742
743
	public enum TextSearchFlags {
		VISIBLE_ONLY,
		TEXT_ONLY,
	}
744
	[CCode (cprefix = "GTK_TEXT_WINDOW_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
745
746
747
748
749
750
751
752
753
	public enum TextWindowType {
		PRIVATE,
		WIDGET,
		TEXT,
		LEFT,
		RIGHT,
		TOP,
		BOTTOM,
	}
754
	[CCode (cprefix = "GTK_TOOLBAR_CHILD_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
755
756
757
758
759
760
	public enum ToolbarChildType {
		SPACE,
		BUTTON,
		TOGGLEBUTTON,
		RADIOBUTTON,
		WIDGET,
761
	}
762
	[CCode (cprefix = "GTK_TOOLBAR_SPACE_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
763
764
765
	public enum ToolbarSpaceStyle {
		EMPTY,
		LINE,
766
	}
767
	[CCode (cprefix = "GTK_TOOLBAR_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
768
769
770
771
772
	public enum ToolbarStyle {
		ICONS,
		TEXT,
		BOTH,
		BOTH_HORIZ,
773
	}
774
	[CCode (cprefix = "GTK_TREE_MODEL_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
775
776
777
778
	public enum TreeModelFlags {
		ITERS_PERSIST,
		LIST_ONLY,
	}
779
	[CCode (cprefix = "GTK_TREE_VIEW_COLUMN_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
780
781
782
783
784
	public enum TreeViewColumnSizing {
		GROW_ONLY,
		AUTOSIZE,
		FIXED,
	}
785
	[CCode (cprefix = "GTK_TREE_VIEW_DROP_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
786
787
788
789
790
791
	public enum TreeViewDropPosition {
		BEFORE,
		AFTER,
		INTO_OR_BEFORE,
		INTO_OR_AFTER,
	}
792
	[CCode (cprefix = "GTK_TREE_VIEW_GRID_LINES_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
793
794
795
796
797
798
	public enum TreeViewGridLines {
		NONE,
		HORIZONTAL,
		VERTICAL,
		BOTH,
	}
799
	[CCode (cprefix = "GTK_UI_MANAGER_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
800
801
802
803
804
805
806
807
808
809
810
811
	public enum UIManagerItemType {
		AUTO,
		MENUBAR,
		MENU,
		TOOLBAR,
		PLACEHOLDER,
		POPUP,
		MENUITEM,
		TOOLITEM,
		SEPARATOR,
		ACCELERATOR,
	}
812
	[CCode (cprefix = "GTK_UNIT_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
813
814
815
816
817
818
	public enum Unit {
		PIXEL,
		POINTS,
		INCH,
		MM,
	}
819
	[CCode (cprefix = "GTK_UPDATE_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
820
821
822
823
824
	public enum UpdateType {
		CONTINUOUS,
		DISCONTINUOUS,
		DELAYED,
	}
825
	[CCode (cprefix = "GTK_VISIBILITY_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
826
827
828
829
830
	public enum Visibility {
		NONE,
		PARTIAL,
		FULL,
	}
831
	[CCode (cprefix = "GTK_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
	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,
	}
853
	[CCode (cprefix = "GTK_WIDGET_HELP_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
854
855
856
857
	public enum WidgetHelpType {
		TOOLTIP,
		WHATS_THIS,
	}
858
	[CCode (cprefix = "GTK_WIN32_EMBED_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
	public enum Win32EmbedMessageType {
		WINDOW_ACTIVATE,
		WINDOW_DEACTIVATE,
		FOCUS_IN,
		FOCUS_OUT,
		MODALITY_ON,
		MODALITY_OFF,
		PARENT_NOTIFY,
		EVENT_PLUG_MAPPED,
		PLUG_RESIZED,
		REQUEST_FOCUS,
		FOCUS_NEXT,
		FOCUS_PREV,
		GRAB_KEY,
		UNGRAB_KEY,
		LAST,
	}
876
	[CCode (cprefix = "GTK_WIN_POS_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
877
878
879
880
881
882
	public enum WindowPosition {
		NONE,
		CENTER,
		MOUSE,
		CENTER_ALWAYS,
		CENTER_ON_PARENT,
883
	}
884
	[CCode (cprefix = "GTK_WINDOW_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
885
886
887
	public enum WindowType {
		TOPLEVEL,
		POPUP,
888
	}
889
	[CCode (cprefix = "GTK_WRAP_", cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
890
891
892
893
894
	public enum WrapMode {
		NONE,
		CHAR,
		WORD,
		WORD_CHAR,
895
	}
Jürg Billeter's avatar
Jürg Billeter committed
896
	[CCode (cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
897
	public class AboutDialog : Gtk.Dialog {
898
899
900
901
902
903
904
905
		public weak string get_artists ();
		public weak string get_authors ();
		public weak string get_comments ();
		public weak string get_copyright ();
		public weak string get_documenters ();
		public weak string get_license ();
		public weak Gdk.Pixbuf get_logo ();
		public weak string get_logo_icon_name ();
906
		public weak string get_program_name ();
907
		public weak string get_translator_credits ();
908
		public static GLib.Type get_type ();
909
910
911
		public weak string get_version ();
		public weak string get_website ();
		public weak string get_website_label ();
Jürg Billeter's avatar
Jürg Billeter committed
912
		public bool get_wrap_license ();
913
		public AboutDialog ();
Jürg Billeter's avatar
Jürg Billeter committed
914
915
916
917
918
919
920
921
922
		public void set_artists (string artists);
		public void set_authors (string authors);
		public void set_comments (string comments);
		public void set_copyright (string copyright);
		public void set_documenters (string documenters);
		public static Gtk.AboutDialogActivateLinkFunc set_email_hook (Gtk.AboutDialogActivateLinkFunc func, pointer data, GLib.DestroyNotify destroy);
		public void set_license (string license);
		public void set_logo (Gdk.Pixbuf logo);
		public void set_logo_icon_name (string icon_name);
923
		public void set_program_name (string name);
Jürg Billeter's avatar
Jürg Billeter committed
924
925
926
927
928
929
		public void set_translator_credits (string translator_credits);
		public static Gtk.AboutDialogActivateLinkFunc set_url_hook (Gtk.AboutDialogActivateLinkFunc func, pointer data, GLib.DestroyNotify destroy);
		public void set_version (string version);
		public void set_website (string website);
		public void set_website_label (string website_label);
		public void set_wrap_license (bool wrap_license);
930
		public weak string program_name { get; set; }
Jürg Billeter's avatar
Jürg Billeter committed
931
932
933
934
935
936
937
938
939
940
941
942
943
		public weak string version { get; set; }
		public weak string copyright { get; set; }
		public weak string comments { get; set; }
		public weak string license { get; set; }
		public weak string website { get; set; }
		public weak string website_label { get; set; }
		public weak string[] authors { get; set; }
		public weak string[] documenters { get; set; }
		public weak string[] artists { get; set; }
		public weak string translator_credits { get; set; }
		public weak Gdk.Pixbuf logo { get; set; }
		public weak string logo_icon_name { get; set; }
		public weak bool wrap_license { get; set; }
944
	}
Jürg Billeter's avatar
Jürg Billeter committed
945
	[CCode (cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
946
947
948
949
950
951
	public class AccelGroup : GLib.Object {
		public bool activate (GLib.Quark accel_quark, GLib.Object acceleratable, uint accel_key, Gdk.ModifierType accel_mods);
		public void connect (uint accel_key, Gdk.ModifierType accel_mods, Gtk.AccelFlags accel_flags, GLib.Closure closure);
		public void connect_by_path (string accel_path, GLib.Closure closure);
		public bool disconnect (GLib.Closure closure);
		public bool disconnect_key (uint accel_key, Gdk.ModifierType accel_mods);
952
953
		public weak Gtk.AccelKey find (Gtk.AccelGroupFindFunc find_func, pointer data);
		public static weak Gtk.AccelGroup from_accel_closure (GLib.Closure closure);
954
		public static GLib.Type get_type ();
Jürg Billeter's avatar
Jürg Billeter committed
955
		public void @lock ();
956
		public AccelGroup ();
957
		public weak Gtk.AccelGroupEntry query (uint accel_key, Gdk.ModifierType accel_mods, uint n_entries);
Jürg Billeter's avatar
Jürg Billeter committed
958
959
960
		public void unlock ();
		public signal bool accel_activate (GLib.Object p0, uint p1, Gdk.ModifierType p2);
		public signal void accel_changed (uint keyval, Gdk.ModifierType modifier, GLib.Closure accel_closure);
961
	}
Jürg Billeter's avatar
Jürg Billeter committed
962
	[CCode (cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
963
	public class AccelLabel : Gtk.Label {
964
		public weak Gtk.Widget get_accel_widget ();
Jürg Billeter's avatar
Jürg Billeter committed
965
966
		public uint get_accel_width ();
		public static GLib.Type get_type ();
967
		public AccelLabel (string string);
Jürg Billeter's avatar
Jürg Billeter committed
968
969
970
		public bool refetch ();
		public void set_accel_closure (GLib.Closure accel_closure);
		public void set_accel_widget (Gtk.Widget accel_widget);
971
		[NoAccessorMethod]
Jürg Billeter's avatar
Jürg Billeter committed
972
973
974
		public weak GLib.Closure accel_closure { get; set; }
		public weak Gtk.Widget accel_widget { get; set; }
	}
Jürg Billeter's avatar
Jürg Billeter committed
975
	[CCode (cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
976
977
978
979
980
981
	public class AccelMap : GLib.Object {
		public static void add_entry (string accel_path, uint accel_key, Gdk.ModifierType accel_mods);
		public static void add_filter (string filter_pattern);
		public static bool change_entry (string accel_path, uint accel_key, Gdk.ModifierType accel_mods, bool replace);
		public static void @foreach (pointer data, Gtk.AccelMapForeach foreach_func);
		public static void foreach_unfiltered (pointer data, Gtk.AccelMapForeach foreach_func);
982
		public static weak Gtk.AccelMap get ();
983
		public static GLib.Type get_type ();
Jürg Billeter's avatar
Jürg Billeter committed
984
985
986
987
988
989
990
991
992
993
		public static void load (string file_name);
		public static void load_fd (int fd);
		public static void load_scanner (GLib.Scanner scanner);
		public static void lock_path (string accel_path);
		public static bool lookup_entry (string accel_path, Gtk.AccelKey key);
		public static void save (string file_name);
		public static void save_fd (int fd);
		public static void unlock_path (string accel_path);
		public signal void changed (string p0, uint p1, Gdk.ModifierType p2);
	}
Jürg Billeter's avatar
Jürg Billeter committed
994
	[CCode (cheader_filename = "gtk/gtk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
995
996
997
	public class Accessible : Atk.Object {
		public virtual void connect_widget_destroyed ();
		public static GLib.Type get_type ();
998
	}
Jürg Billeter's avatar
Jürg Billeter committed
999
	[CCode (cheader_filename = "gtk/gtk.h")]
1000
	public class Action : GLib.Object, Gtk.Buildable {