Typo.
[cl-gtk2.git] / gtk / gtk.generated-classes.lisp
1 (in-package :gtk)
2 (define-g-enum "GtkTextDirection"
3     text-direction
4     (:export t :type-initializer "gtk_text_direction_get_type")
5   (:none 0)
6   (:ltr 1)
7   (:rtl 2))
8
9 (define-g-enum "GtkSizeGroupMode"
10     size-group-mode
11     (:export t :type-initializer "gtk_size_group_mode_get_type")
12   (:none 0)
13   (:horizontal 1)
14   (:vertical 2)
15   (:both 3))
16
17 (define-g-enum "GtkUnit"
18     unit
19     (:export t :type-initializer "gtk_unit_get_type")
20   (:pixel 0)
21   (:points 1)
22   (:inch 2)
23   (:mm 3))
24
25 (define-g-enum "GtkPrintStatus"
26     print-status
27     (:export t :type-initializer "gtk_print_status_get_type")
28   (:initial 0)
29   (:preparing 1)
30   (:generating-data 2)
31   (:sending-data 3)
32   (:pending 4)
33   (:pending-issue 5)
34   (:printing 6)
35   (:finished 7)
36   (:finished-aborted 8))
37
38 (define-g-enum "GtkRecentSortType"
39     recent-sort-type
40     (:export t :type-initializer "gtk_recent_sort_type_get_type")
41   (:none 0)
42   (:mru 1)
43   (:lru 2)
44   (:custom 3))
45
46 (define-g-enum "GtkFileChooserAction"
47     file-chooser-action
48     (:export t :type-initializer "gtk_file_chooser_action_get_type")
49   (:open 0)
50   (:save 1)
51   (:select-folder 2)
52   (:create-folder 3))
53
54 (define-g-enum "GtkCellRendererAccelMode"
55     cell-renderer-accel-mode
56     (:export t :type-initializer "gtk_cell_renderer_accel_mode_get_type")
57   (:gtk 0)
58   (:other 1))
59
60 (define-g-enum "GtkCellRendererMode"
61     cell-renderer-mode
62     (:export t :type-initializer "gtk_cell_renderer_mode_get_type")
63   (:inert 0)
64   (:activatable 1)
65   (:editable 2))
66
67 (define-g-enum "GtkTreeViewColumnSizing"
68     tree-view-column-sizing
69     (:export t :type-initializer "gtk_tree_view_column_sizing_get_type")
70   (:grow-only 0)
71   (:autosize 1)
72   (:fixed 2))
73
74 (define-g-enum "GtkProgressBarOrientation"
75     progress-bar-orientation
76     (:export t :type-initializer "gtk_progress_bar_orientation_get_type")
77   (:left-to-right 0)
78   (:right-to-left 1)
79   (:bottom-to-top 2)
80   (:top-to-bottom 3))
81
82 (define-g-enum "GtkProgressBarStyle"
83     progress-bar-style
84     (:export t :type-initializer "gtk_progress_bar_style_get_type")
85   (:continuous 0)
86   (:discrete 1))
87
88 (define-g-enum "GtkUpdateType"
89     update-type
90     (:export t :type-initializer "gtk_update_type_get_type")
91   (:continuous 0)
92   (:discontinuous 1)
93   (:delayed 2))
94
95 (define-g-enum "GtkMetricType"
96     metric-type
97     (:export t :type-initializer "gtk_metric_type_get_type")
98   (:pixels 0)
99   (:inches 1)
100   (:centimeters 2))
101
102 (define-g-enum "GtkSpinButtonUpdatePolicy"
103     spin-button-update-policy
104     (:export t :type-initializer "gtk_spin_button_update_policy_get_type")
105   (:always 0)
106   (:if-valid 1))
107
108 (define-g-enum "GtkCurveType"
109     curve-type
110     (:export t :type-initializer "gtk_curve_type_get_type")
111   (:linear 0)
112   (:spline 1)
113   (:free 2))
114
115 (define-g-enum "GtkImageType"
116     image-type
117     (:export t :type-initializer "gtk_image_type_get_type")
118   (:empty 0)
119   (:pixmap 1)
120   (:image 2)
121   (:pixbuf 3)
122   (:stock 4)
123   (:icon-set 5)
124   (:animation 6)
125   (:icon-name 7)
126   (:gicon 8))
127
128 (define-g-enum "GtkArrowType"
129     arrow-type
130     (:export t :type-initializer "gtk_arrow_type_get_type")
131   (:up 0)
132   (:down 1)
133   (:left 2)
134   (:right 3)
135   (:none 4))
136
137 (define-g-enum "GtkSortType"
138     sort-type
139     (:export t :type-initializer "gtk_sort_type_get_type")
140   (:ascending 0)
141   (:descending 1))
142
143 (define-g-enum "GtkToolbarStyle"
144     toolbar-style
145     (:export t :type-initializer "gtk_toolbar_style_get_type")
146   (:icons 0)
147   (:text 1)
148   (:both 2)
149   (:both-horiz 3))
150
151 (define-g-enum "GtkWrapMode"
152     wrap-mode
153     (:export t :type-initializer "gtk_wrap_mode_get_type")
154   (:none 0)
155   (:char 1)
156   (:word 2)
157   (:word-char 3))
158
159 (define-g-enum "GtkJustification"
160     justification
161     (:export t :type-initializer "gtk_justification_get_type")
162   (:left 0)
163   (:right 1)
164   (:center 2)
165   (:fill 3))
166
167 (define-g-enum "GtkButtonBoxStyle"
168     button-box-style
169     (:export t :type-initializer "gtk_button_box_style_get_type")
170   (:default-style 0)
171   (:spread 1)
172   (:edge 2)
173   (:start 3)
174   (:end 4)
175   (:center 5))
176
177 (define-g-enum "GtkSelectionMode"
178     selection-mode
179     (:export t :type-initializer "gtk_selection_mode_get_type")
180   (:none 0)
181   (:single 1)
182   (:browse 2)
183   (:multiple 3)
184   (:extended 3))
185
186 (define-g-enum "GtkTreeViewGridLines"
187     tree-view-grid-lines
188     (:export t :type-initializer "gtk_tree_view_grid_lines_get_type")
189   (:none 0)
190   (:horizontal 1)
191   (:vertical 2)
192   (:both 3))
193
194 (define-g-enum "GtkPackDirection"
195     pack-direction
196     (:export t :type-initializer "gtk_pack_direction_get_type")
197   (:ltr 0)
198   (:rtl 1)
199   (:ttb 2)
200   (:btt 3))
201
202 (define-g-enum "GtkPolicyType"
203     policy-type
204     (:export t :type-initializer "gtk_policy_type_get_type")
205   (:always 0)
206   (:automatic 1)
207   (:never 2))
208
209 (define-g-enum "GtkCornerType"
210     corner-type
211     (:export t :type-initializer "gtk_corner_type_get_type")
212   (:top-left 0)
213   (:bottom-left 1)
214   (:top-right 2)
215   (:bottom-right 3))
216
217 (define-g-enum "GtkSensitivityType"
218     sensitivity-type
219     (:export t :type-initializer "gtk_sensitivity_type_get_type")
220   (:auto 0)
221   (:on 1)
222   (:off 2))
223
224 (define-g-enum "GtkShadowType"
225     shadow-type
226     (:export t :type-initializer "gtk_shadow_type_get_type")
227   (:none 0)
228   (:in 1)
229   (:out 2)
230   (:etched-in 3)
231   (:etched-out 4))
232
233 (define-g-enum "GtkIconSize"
234     icon-size
235     (:export t :type-initializer "gtk_icon_size_get_type")
236   (:invalid 0)
237   (:menu 1)
238   (:small-toolbar 2)
239   (:large-toolbar 3)
240   (:button 4)
241   (:dnd 5)
242   (:dialog 6))
243
244 (define-g-enum "GtkOrientation"
245     orientation
246     (:export t :type-initializer "gtk_orientation_get_type")
247   (:horizontal 0)
248   (:vertical 1))
249
250 (define-g-enum "GtkPositionType"
251     position-type
252     (:export t :type-initializer "gtk_position_type_get_type")
253   (:left 0)
254   (:right 1)
255   (:top 2)
256   (:bottom 3))
257
258 (define-g-enum "GtkReliefStyle"
259     relief-style
260     (:export t :type-initializer "gtk_relief_style_get_type")
261   (:normal 0)
262   (:half 1)
263   (:none 2))
264
265 (define-g-enum "GtkMessageType"
266     message-type
267     (:export t :type-initializer "gtk_message_type_get_type")
268   (:info 0)
269   (:warning 1)
270   (:question 2)
271   (:error 3)
272   (:other 4))
273
274 (define-g-enum "GtkButtonsType"
275     buttons-type
276     (:export t :type-initializer "gtk_buttons_type_get_type")
277   (:none 0)
278   (:ok 1)
279   (:close 2)
280   (:cancel 3)
281   (:yes-no 4)
282   (:ok-cancel 5))
283
284 (define-g-enum "GtkWindowType"
285     window-type
286     (:export t :type-initializer "gtk_window_type_get_type")
287   (:toplevel 0)
288   (:popup 1))
289
290 (define-g-enum "GtkWindowPosition"
291     window-position
292     (:export t :type-initializer "gtk_window_position_get_type")
293   (:none 0)
294   (:center 1)
295   (:mouse 2)
296   (:center-always 3)
297   (:center-on-parent 4))
298
299 (define-g-enum "GtkResizeMode"
300     resize-mode
301     (:export t :type-initializer "gtk_resize_mode_get_type")
302   (:parent 0)
303   (:queue 1)
304   (:immediate 2))
305
306 (define-g-enum "GtkTextBufferTargetInfo"
307     text-buffer-target-info
308     (:export t :type-initializer "gtk_text_buffer_target_info_get_type")
309   (:buffer-contents -1)
310   (:rich-text -2)
311   (:text -3))
312
313 (define-g-enum "GtkStateType"
314     state-type
315     (:export t :type-initializer "gtk_state_type_get_type")
316   (:normal 0)
317   (:active 1)
318   (:prelight 2)
319   (:selected 3)
320   (:insensitive 4))
321
322 (define-g-enum "GtkDirectionType"
323     direction-type
324     (:export t :type-initializer "gtk_direction_type_get_type")
325   (:tab-forward 0)
326   (:tab-backward 1)
327   (:up 2)
328   (:down 3)
329   (:left 4)
330   (:right 5))
331
332 (define-g-enum "GtkDragResult"
333     drag-result
334     (:export t :type-initializer "gtk_drag_result_get_type")
335   (:success 0)
336   (:no-target 1)
337   (:user-cancelled 2)
338   (:timeout-expired 3)
339   (:grab-broken 4)
340   (:error 5))
341
342 (define-g-enum "GtkWidgetHelpType"
343     widget-help-type
344     (:export t :type-initializer "gtk_widget_help_type_get_type")
345   (:tooltip 0)
346   (:whats-this 1))
347
348 (define-g-enum "GtkPackType"
349     pack-type
350     (:export t :type-initializer "gtk_pack_type_get_type")
351   (:start 0)
352   (:end 1))
353
354 (define-g-enum "GtkNotebookTab"
355     notebook-tab
356     (:export t :type-initializer "gtk_notebook_tab_get_type")
357   (:first 0)
358   (:last 1))
359
360 (define-g-enum "GtkMovementStep"
361     movement-step
362     (:export t :type-initializer "gtk_movement_step_get_type")
363   (:logical-positions 0)
364   (:visual-positions 1)
365   (:words 2)
366   (:display-lines 3)
367   (:display-line-ends 4)
368   (:paragraphs 5)
369   (:paragraph-ends 6)
370   (:pages 7)
371   (:buffer-ends 8)
372   (:horizontal-pages 9))
373
374 (define-g-enum "GtkAnchorType"
375     anchor-type
376     (:export t :type-initializer "gtk_anchor_type_get_type")
377   (:center 0)
378   (:north 1)
379   (:north-west 2)
380   (:north-east 3)
381   (:south 4)
382   (:south-west 5)
383   (:south-east 6)
384   (:west 7)
385   (:east 8)
386   (:n 1)
387   (:nw 2)
388   (:ne 3)
389   (:s 4)
390   (:sw 5)
391   (:se 6)
392   (:w 7)
393   (:e 8))
394
395 (define-g-enum "GtkAssistantPageType"
396     assistant-page-type
397     (:export t :type-initializer "gtk_assistant_page_type_get_type")
398   (:content 0)
399   (:intro 1)
400   (:confirm 2)
401   (:summary 3)
402   (:progress 4))
403
404 (define-g-enum "GtkBuilderError"
405     builder-error
406     (:export t :type-initializer "gtk_builder_error_get_type")
407   (:invalid-type-function 0)
408   (:unhandled-tag 1)
409   (:missing-attribute 2)
410   (:invalid-attribute 3)
411   (:invalid-tag 4)
412   (:missing-property-value 5)
413   (:invalid-value 6)
414   (:version-mismatch 7)
415   (:duplicate-id 8))
416
417 (define-g-enum "GtkCellType"
418     cell-type
419     (:export t :type-initializer "gtk_cell_type_get_type")
420   (:empty 0)
421   (:text 1)
422   (:pixmap 2)
423   (:pixtext 3)
424   (:widget 4))
425
426 (define-g-enum "GtkCListDragPos"
427     c-list-drag-pos
428     (:export t :type-initializer "gtk_clist_drag_pos_get_type")
429   (:none 0)
430   (:before 1)
431   (:into 2)
432   (:after 3))
433
434 (define-g-enum "GtkCTreeExpanderStyle"
435     c-tree-expander-style
436     (:export t :type-initializer "gtk_ctree_expander_style_get_type")
437   (:none 0)
438   (:square 1)
439   (:triangle 2)
440   (:circular 3))
441
442 (define-g-enum "GtkCTreeExpansionType"
443     c-tree-expansion-type
444     (:export t :type-initializer "gtk_ctree_expansion_type_get_type")
445   (:expand 0)
446   (:expand-recursive 1)
447   (:collapse 2)
448   (:collapse-recursive 3)
449   (:toggle 4)
450   (:toggle-recursive 5))
451
452 (define-g-enum "GtkCTreeLineStyle"
453     c-tree-line-style
454     (:export t :type-initializer "gtk_ctree_line_style_get_type")
455   (:none 0)
456   (:solid 1)
457   (:dotted 2)
458   (:tabbed 3))
459
460 (define-g-enum "GtkCTreePos"
461     c-tree-pos
462     (:export t :type-initializer "gtk_ctree_pos_get_type")
463   (:before 0)
464   (:as-child 1)
465   (:after 2))
466
467 (define-g-enum "GtkDeleteType"
468     delete-type
469     (:export t :type-initializer "gtk_delete_type_get_type")
470   (:chars 0)
471   (:word-ends 1)
472   (:words 2)
473   (:display-lines 3)
474   (:display-line-ends 4)
475   (:paragraph-ends 5)
476   (:paragraphs 6)
477   (:whitespace 7))
478
479 (define-g-enum "GtkExpanderStyle"
480     expander-style
481     (:export t :type-initializer "gtk_expander_style_get_type")
482   (:collapsed 0)
483   (:semi-collapsed 1)
484   (:semi-expanded 2)
485   (:expanded 3))
486
487 (define-g-enum "GtkFileChooserConfirmation"
488     file-chooser-confirmation
489     (:export t :type-initializer "gtk_file_chooser_confirmation_get_type")
490   (:confirm 0)
491   (:accept-filename 1)
492   (:select-again 2))
493
494 (define-g-enum "GtkFileChooserError"
495     file-chooser-error
496     (:export t :type-initializer "gtk_file_chooser_error_get_type")
497   (:nonexistent 0)
498   (:bad-filename 1)
499   (:already-exists 2)
500   (:incomplete-hostname 3))
501
502 (define-g-enum "GtkIconThemeError"
503     icon-theme-error
504     (:export t :type-initializer "gtk_icon_theme_error_get_type")
505   (:not-found 0)
506   (:failed 1))
507
508 (define-g-enum "GtkIconViewDropPosition"
509     icon-view-drop-position
510     (:export t :type-initializer "gtk_icon_view_drop_position_get_type")
511   (:no-drop 0)
512   (:drop-into 1)
513   (:drop-left 2)
514   (:drop-right 3)
515   (:drop-above 4)
516   (:drop-below 5))
517
518 (define-g-enum "GtkIMPreeditStyle"
519     i-m-preedit-style
520     (:export t)
521   (:nothing 0)
522   (:callback 1)
523   (:none 2))
524
525 (define-g-enum "GtkIMStatusStyle"
526     i-m-status-style
527     (:export t)
528   (:nothing 0)
529   (:callback 1)
530   (:none 2))
531
532 (define-g-enum "GtkMatchType"
533     match-type
534     (:export t :type-initializer "gtk_match_type_get_type")
535   (:all 0)
536   (:all-tail 1)
537   (:head 2)
538   (:tail 3)
539   (:exact 4)
540   (:last 5))
541
542 (define-g-enum "GtkMenuDirectionType"
543     menu-direction-type
544     (:export t :type-initializer "gtk_menu_direction_type_get_type")
545   (:parent 0)
546   (:child 1)
547   (:next 2)
548   (:prev 3))
549
550 (define-g-enum "GtkNumberUpLayout"
551     number-up-layout
552     (:export t :type-initializer "gtk_number_up_layout_get_type")
553   (:lrtb 0)
554   (:lrbt 1)
555   (:rltb 2)
556   (:rlbt 3)
557   (:tblr 4)
558   (:tbrl 5)
559   (:btlr 6)
560   (:btrl 7))
561
562 (define-g-enum "GtkPageOrientation"
563     page-orientation
564     (:export t :type-initializer "gtk_page_orientation_get_type")
565   (:portrait 0)
566   (:landscape 1)
567   (:reverse-portrait 2)
568   (:reverse-landscape 3))
569
570 (define-g-enum "GtkPageSet"
571     page-set
572     (:export t :type-initializer "gtk_page_set_get_type")
573   (:all 0)
574   (:even 1)
575   (:odd 2))
576
577 (define-g-enum "GtkPathPriorityType"
578     path-priority-type
579     (:export t :type-initializer "gtk_path_priority_type_get_type")
580   (:lowest 0)
581   (:gtk 4)
582   (:application 8)
583   (:theme 10)
584   (:rc 12)
585   (:highest 15))
586
587 (define-g-enum "GtkPathType"
588     path-type
589     (:export t :type-initializer "gtk_path_type_get_type")
590   (:widget 0)
591   (:widget-class 1)
592   (:class 2))
593
594 (define-g-enum "GtkPreviewType"
595     preview-type
596     (:export t :type-initializer "gtk_preview_type_get_type")
597   (:color 0)
598   (:grayscale 1))
599
600 (define-g-enum "GtkPrintDuplex"
601     print-duplex
602     (:export t :type-initializer "gtk_print_duplex_get_type")
603   (:simplex 0)
604   (:horizontal 1)
605   (:vertical 2))
606
607 (define-g-enum "GtkPrintError"
608     print-error
609     (:export t :type-initializer "gtk_print_error_get_type")
610   (:general 0)
611   (:internal-error 1)
612   (:nomem 2)
613   (:invalid-file 3))
614
615 (define-g-enum "GtkPrintOperationAction"
616     print-operation-action
617     (:export t :type-initializer "gtk_print_operation_action_get_type")
618   (:print-dialog 0)
619   (:print 1)
620   (:preview 2)
621   (:export 3))
622
623 (define-g-enum "GtkPrintOperationResult"
624     print-operation-result
625     (:export t :type-initializer "gtk_print_operation_result_get_type")
626   (:error 0)
627   (:apply 1)
628   (:cancel 2)
629   (:in-progress 3))
630
631 (define-g-enum "GtkPrintPages"
632     print-pages
633     (:export t :type-initializer "gtk_print_pages_get_type")
634   (:all 0)
635   (:current 1)
636   (:ranges 2))
637
638 (define-g-enum "GtkPrintQuality"
639     print-quality
640     (:export t :type-initializer "gtk_print_quality_get_type")
641   (:low 0)
642   (:normal 1)
643   (:high 2)
644   (:draft 3))
645
646 (define-g-enum "GtkRcTokenType"
647     rc-token-type
648     (:export t :type-initializer "gtk_rc_token_type_get_type")
649   (:invalid 270)
650   (:include 271)
651   (:normal 272)
652   (:active 273)
653   (:prelight 274)
654   (:selected 275)
655   (:insensitive 276)
656   (:fg 277)
657   (:bg 278)
658   (:text 279)
659   (:base 280)
660   (:xthickness 281)
661   (:ythickness 282)
662   (:font 283)
663   (:fontset 284)
664   (:font-name 285)
665   (:bg-pixmap 286)
666   (:pixmap-path 287)
667   (:style 288)
668   (:binding 289)
669   (:bind 290)
670   (:widget 291)
671   (:widget-class 292)
672   (:class 293)
673   (:lowest 294)
674   (:gtk 295)
675   (:application 296)
676   (:theme 297)
677   (:rc 298)
678   (:highest 299)
679   (:engine 300)
680   (:module-path 301)
681   (:im-module-path 302)
682   (:im-module-file 303)
683   (:stock 304)
684   (:ltr 305)
685   (:rtl 306)
686   (:color 307)
687   (:unbind 308)
688   (:last 309))
689
690 (define-g-enum "GtkRecentChooserError"
691     recent-chooser-error
692     (:export t :type-initializer "gtk_recent_chooser_error_get_type")
693   (:not-found 0)
694   (:invalid-uri 1))
695
696 (define-g-enum "GtkRecentManagerError"
697     recent-manager-error
698     (:export t :type-initializer "gtk_recent_manager_error_get_type")
699   (:not-found 0)
700   (:invalid-uri 1)
701   (:invalid-encoding 2)
702   (:not-registered 3)
703   (:read 4)
704   (:write 5)
705   (:unknown 6))
706
707 (define-g-enum "GtkResponseType"
708     response-type
709     (:export t :type-initializer "gtk_response_type_get_type")
710   (:none -1)
711   (:reject -2)
712   (:accept -3)
713   (:delete-event -4)
714   (:ok -5)
715   (:cancel -6)
716   (:close -7)
717   (:yes -8)
718   (:no -9)
719   (:apply -10)
720   (:help -11))
721
722 (define-g-enum "GtkScrollStep"
723     scroll-step
724     (:export t :type-initializer "gtk_scroll_step_get_type")
725   (:steps 0)
726   (:pages 1)
727   (:ends 2)
728   (:horizontal-steps 3)
729   (:horizontal-pages 4)
730   (:horizontal-ends 5))
731
732 (define-g-enum "GtkScrollType"
733     scroll-type
734     (:export t :type-initializer "gtk_scroll_type_get_type")
735   (:none 0)
736   (:jump 1)
737   (:step-backward 2)
738   (:step-forward 3)
739   (:page-backward 4)
740   (:page-forward 5)
741   (:step-up 6)
742   (:step-down 7)
743   (:page-up 8)
744   (:page-down 9)
745   (:step-left 10)
746   (:step-right 11)
747   (:page-left 12)
748   (:page-right 13)
749   (:start 14)
750   (:end 15))
751
752 (define-g-enum "GtkSideType"
753     side-type
754     (:export t :type-initializer "gtk_side_type_get_type")
755   (:top 0)
756   (:bottom 1)
757   (:left 2)
758   (:right 3))
759
760 (define-g-enum "GtkSpinType"
761     spin-type
762     (:export t :type-initializer "gtk_spin_type_get_type")
763   (:step-forward 0)
764   (:step-backward 1)
765   (:page-forward 2)
766   (:page-backward 3)
767   (:home 4)
768   (:end 5)
769   (:user-defined 6))
770
771 (define-g-enum "GtkSubmenuDirection"
772     submenu-direction
773     (:export t :type-initializer "gtk_submenu_direction_get_type")
774   (:left 0)
775   (:right 1))
776
777 (define-g-enum "GtkSubmenuPlacement"
778     submenu-placement
779     (:export t :type-initializer "gtk_submenu_placement_get_type")
780   (:top-bottom 0)
781   (:left-right 1))
782
783 (define-g-enum "GtkTextWindowType"
784     text-window-type
785     (:export t :type-initializer "gtk_text_window_type_get_type")
786   (:private 0)
787   (:widget 1)
788   (:text 2)
789   (:left 3)
790   (:right 4)
791   (:top 5)
792   (:bottom 6))
793
794 (define-g-enum "GtkToolbarChildType"
795     toolbar-child-type
796     (:export t :type-initializer "gtk_toolbar_child_type_get_type")
797   (:space 0)
798   (:button 1)
799   (:togglebutton 2)
800   (:radiobutton 3)
801   (:widget 4))
802
803 (define-g-enum "GtkToolbarSpaceStyle"
804     toolbar-space-style
805     (:export t :type-initializer "gtk_toolbar_space_style_get_type")
806   (:empty 0)
807   (:line 1))
808
809 (define-g-enum "GtkTreeViewDropPosition"
810     tree-view-drop-position
811     (:export t :type-initializer "gtk_tree_view_drop_position_get_type")
812   (:before 0)
813   (:after 1)
814   (:into-or-before 2)
815   (:into-or-after 3))
816
817 (define-g-enum "GtkTreeViewMode"
818     tree-view-mode
819     (:export t :type-initializer "gtk_tree_view_mode_get_type")
820   (:line 0)
821   (:item 1))
822
823 (define-g-enum "GtkVisibility"
824     visibility
825     (:export t :type-initializer "gtk_visibility_get_type")
826   (:none 0)
827   (:partial 1)
828   (:full 2))
829
830 (define-g-enum "GtkEntryIconPosition"
831     entry-icon-position
832     (:export t :type-initializer "gtk_entry_icon_position_get_type")
833   (:primary 0)
834   (:secondary 1))
835
836 (define-g-flags "GtkTextSearchFlags"
837     text-search-flags
838     (:export t :type-initializer "gtk_text_search_flags_get_type")
839   (:visible-only 1)
840   (:text-only 2))
841
842 (define-g-flags "GtkAccelFlags"
843     accel-flags
844     (:export t :type-initializer "gtk_accel_flags_get_type")
845   (:visible 1)
846   (:locked 2)
847   (:mask 7))
848
849 (define-g-flags "GtkArgFlags"
850     arg-flags
851     (:export t :type-initializer "gtk_arg_flags_get_type")
852   (:readable 1)
853   (:writable 2)
854   (:construct 4)
855   (:construct-only 8)
856   (:child-arg 16))
857
858 (define-g-flags "GtkAttachOptions"
859     attach-options
860     (:export t :type-initializer "gtk_attach_options_get_type")
861   (:expand 1)
862   (:shrink 2)
863   (:fill 4))
864
865 (define-g-flags "GtkButtonAction"
866     button-action
867     (:export t :type-initializer "gtk_button_action_get_type")
868   (:ignored 0)
869   (:selects 1)
870   (:drags 2)
871   (:expands 4))
872
873 (define-g-flags "GtkCalendarDisplayOptions"
874     calendar-display-options
875     (:export t :type-initializer "gtk_calendar_display_options_get_type")
876   (:show-heading 1)
877   (:show-day-names 2)
878   (:no-month-change 4)
879   (:show-week-numbers 8)
880   (:week-start-monday 16)
881   (:show-details 32))
882
883 (define-g-flags "GtkCellRendererState"
884     cell-renderer-state
885     (:export t :type-initializer "gtk_cell_renderer_state_get_type")
886   (:selected 1)
887   (:prelit 2)
888   (:insensitive 4)
889   (:sorted 8)
890   (:focused 16))
891
892 (define-g-flags "GtkDebugFlag"
893     debug-flag
894     (:export t :type-initializer "gtk_debug_flag_get_type")
895   (:misc 1)
896   (:plugsocket 2)
897   (:text 4)
898   (:tree 8)
899   (:updates 16)
900   (:keybindings 32)
901   (:multihead 64)
902   (:modules 128)
903   (:geometry 256)
904   (:icontheme 512)
905   (:printing 1024)
906   (:builder 2048))
907
908 (define-g-flags "GtkDestDefaults"
909     dest-defaults
910     (:export t :type-initializer "gtk_dest_defaults_get_type")
911   (:motion 1)
912   (:highlight 2)
913   (:drop 4)
914   (:all 7))
915
916 (define-g-flags "GtkDialogFlags"
917     dialog-flags
918     (:export t :type-initializer "gtk_dialog_flags_get_type")
919   (:modal 1)
920   (:destroy-with-parent 2)
921   (:no-separator 4))
922
923 (define-g-flags "GtkFileFilterFlags"
924     file-filter-flags
925     (:export t :type-initializer "gtk_file_filter_flags_get_type")
926   (:filename 1)
927   (:uri 2)
928   (:display-name 4)
929   (:mime-type 8))
930
931 (define-g-flags "GtkIconLookupFlags"
932     icon-lookup-flags
933     (:export t :type-initializer "gtk_icon_lookup_flags_get_type")
934   (:no-svg 1)
935   (:force-svg 2)
936   (:use-builtin 4)
937   (:generic-fallback 8)
938   (:force-size 16))
939
940 (define-g-flags "GtkObjectFlags"
941     object-flags
942     (:export t :type-initializer "gtk_object_flags_get_type")
943   (:in-destruction 1)
944   (:floating 2)
945   (:reserved-1 4)
946   (:reserved-2 8))
947
948 (define-g-flags "GtkPrivateFlags"
949     private-flags
950     (:export t :type-initializer "gtk_private_flags_get_type")
951   (:user-style 1)
952   (:resize-pending 4)
953   (:has-pointer 8)
954   (:shadowed 16)
955   (:has-shape-mask 32)
956   (:in-reparent 64)
957   (:direction-set 128)
958   (:direction-ltr 256)
959   (:anchored 512)
960   (:child-visible 1024)
961   (:redraw-on-alloc 2048)
962   (:alloc-needed 4096)
963   (:request-needed 8192))
964
965 (define-g-flags "GtkRcFlags"
966     rc-flags
967     (:export t :type-initializer "gtk_rc_flags_get_type")
968   (:fg 1)
969   (:bg 2)
970   (:text 4)
971   (:base 8))
972
973 (define-g-flags "GtkRecentFilterFlags"
974     recent-filter-flags
975     (:export t :type-initializer "gtk_recent_filter_flags_get_type")
976   (:uri 1)
977   (:display-name 2)
978   (:mime-type 4)
979   (:application 8)
980   (:group 16)
981   (:age 32))
982
983 (define-g-flags "GtkSignalRunType"
984     signal-run-type
985     (:export t :type-initializer "gtk_signal_run_type_get_type")
986   (:first 1)
987   (:last 2)
988   (:both 3)
989   (:no-recurse 8)
990   (:action 32)
991   (:no-hooks 64))
992
993 (define-g-flags "GtkTargetFlags"
994     target-flags
995     (:export t :type-initializer "gtk_target_flags_get_type")
996   (:same-app 1)
997   (:same-widget 2)
998   (:other-app 4)
999   (:other-widget 8))
1000
1001 (define-g-flags "GtkTreeModelFlags"
1002     tree-model-flags
1003     (:export t :type-initializer "gtk_tree_model_flags_get_type")
1004   (:iters-persist 1)
1005   (:list-only 2))
1006
1007 (define-g-flags "GtkUIManagerItemType"
1008     ui-manager-item-type
1009     (:export t)
1010   (:auto 0)
1011   (:menubar 1)
1012   (:menu 2)
1013   (:toolbar 4)
1014   (:placeholder 8)
1015   (:popup 16)
1016   (:menuitem 32)
1017   (:toolitem 64)
1018   (:separator 128)
1019   (:accelerator 256)
1020   (:popup-with-accels 512))
1021
1022 (define-g-flags "GtkWidgetFlags"
1023     widget-flags
1024     (:export t :type-initializer "gtk_widget_flags_get_type")
1025   (:toplevel 16)
1026   (:no-window 32)
1027   (:realized 64)
1028   (:mapped 128)
1029   (:visible 256)
1030   (:sensitive 512)
1031   (:parent-sensitive 1024)
1032   (:can-focus 2048)
1033   (:has-focus 4096)
1034   (:can-default 8192)
1035   (:has-default 16384)
1036   (:has-grab 32768)
1037   (:rc-style 65536)
1038   (:composite-child 131072)
1039   (:no-reparent 262144)
1040   (:app-paintable 524288)
1041   (:receives-default 1048576)
1042   (:double-buffered 2097152)
1043   (:no-show-all 4194304))
1044
1045 (define-g-interface "GtkBuildable"
1046     buildable
1047     (:export t :type-initializer "gtk_buildable_get_type"))
1048
1049 (define-g-interface "GtkCellEditable"
1050     cell-editable
1051     (:export t :type-initializer "gtk_cell_editable_get_type"))
1052
1053 (define-g-interface "GtkCellLayout"
1054     cell-layout
1055     (:export t :type-initializer "gtk_cell_layout_get_type"))
1056
1057 (define-g-interface "GtkEditable"
1058     editable
1059     (:export t :type-initializer "gtk_editable_get_type")
1060   (:cffi position editable-position :int "gtk_editable_get_position"
1061    "gtk_editable_set_position")
1062   (:cffi editable editable-editable :boolean "gtk_editable_get_editable"
1063    "gtk_editable_set_editable"))
1064
1065 (define-g-interface "GtkFileChooser"
1066     file-chooser
1067     (:export t :type-initializer "gtk_file_chooser_get_type")
1068   (action file-chooser-action "action" "GtkFileChooserAction" t t)
1069   (do-overwrite-confirmation file-chooser-do-overwrite-confirmation
1070    "do-overwrite-confirmation" "gboolean" t t)
1071   (extra-widget file-chooser-extra-widget "extra-widget" "GtkWidget" t t)
1072   (file-system-backend file-chooser-file-system-backend "file-system-backend"
1073    "gchararray" nil nil)
1074   (filter file-chooser-filter "filter" "GtkFileFilter" t t)
1075   (local-only file-chooser-local-only "local-only" "gboolean" t t)
1076   (preview-widget file-chooser-preview-widget "preview-widget" "GtkWidget" t t)
1077   (preview-widget-active file-chooser-preview-widget-active
1078    "preview-widget-active" "gboolean" t t)
1079   (select-multiple file-chooser-select-multiple "select-multiple" "gboolean" t
1080    t)
1081   (show-hidden file-chooser-show-hidden "show-hidden" "gboolean" t t)
1082   (use-preview-label file-chooser-use-preview-label "use-preview-label"
1083    "gboolean" t t)
1084   (:cffi current-name file-chooser-current-name
1085    (:string :free-to-foreign t :encoding :utf-8) nil
1086    "gtk_file_chooser_set_current_name")
1087   #+win32
1088   (:cffi filename file-chooser-filename
1089    (g-string :free-from-foreign t :free-to-foreign t)
1090    "gtk_file_chooser_get_filename_utf8" "gtk_file_chooser_set_filename_utf8")
1091   #-win32
1092   (:cffi filename file-chooser-filename
1093    (g-string :free-from-foreign t :free-to-foreign t)
1094    "gtk_file_chooser_get_filename" "gtk_file_chooser_set_filename")
1095   #+win32
1096   (:cffi current-folder file-chooser-current-folder
1097    (g-string :free-from-foreign t :free-to-foreign t)
1098    "gtk_file_chooser_get_current_folder_utf8"
1099    "gtk_file_chooser_set_current_folder_utf8")
1100   #-win32
1101   (:cffi current-folder file-chooser-current-folder
1102    (g-string :free-from-foreign t :free-to-foreign t)
1103    "gtk_file_chooser_get_current_folder" "gtk_file_chooser_set_current_folder")
1104   (:cffi uri file-chooser-uri
1105    (g-string :free-from-foreign t :free-to-foreign t)
1106    "gtk_file_chooser_get_uri" "gtk_file_chooser_set_uri")
1107   (:cffi current-folder-uri file-chooser-current-folder-uri
1108    (g-string :free-from-foreign t :free-to-foreign t)
1109    "gtk_file_chooser_get_current_folder_uri"
1110    "gtk_file_chooser_set_current_folder_uri")
1111   #+win32
1112   (:cffi preview-filename file-chooser-preview-filename
1113    (g-string :free-from-foreign t :free-to-foreign t)
1114    "gtk_file_chooser_get_preview_filename_utf8" nil)
1115   #-win32
1116   (:cffi preview-filename file-chooser-preview-filename
1117    (g-string :free-from-foreign t :free-to-foreign t)
1118    "gtk_file_chooser_get_preview_filename" nil)
1119   (:cffi preview-uri file-chooser-preview-uri
1120    (g-string :free-from-foreign t :free-to-foreign t)
1121    "gtk_file_chooser_get_preview_uri" nil))
1122
1123 (define-g-interface "GtkTreeModel"
1124     tree-model
1125     (:export t :type-initializer "gtk_tree_model_get_type"))
1126
1127 (define-g-interface "GtkTreeDragSource"
1128     tree-drag-source
1129     (:export t :type-initializer "gtk_tree_drag_source_get_type"))
1130
1131 (define-g-interface "GtkTreeDragDest"
1132     tree-drag-dest
1133     (:export t :type-initializer "gtk_tree_drag_dest_get_type"))
1134
1135 (define-g-interface "GtkTreeSortable"
1136     tree-sortable
1137     (:export t :type-initializer "gtk_tree_sortable_get_type"))
1138
1139 (define-g-interface "GtkPrintOperationPreview"
1140     print-operation-preview
1141     (:export t :type-initializer "gtk_print_operation_preview_get_type"))
1142
1143 (define-g-interface "GtkRecentChooser"
1144     recent-chooser
1145     (:export t :type-initializer "gtk_recent_chooser_get_type")
1146   (filter recent-chooser-filter "filter" "GtkRecentFilter" t t)
1147   (limit recent-chooser-limit "limit" "gint" t t)
1148   (local-only recent-chooser-local-only "local-only" "gboolean" t t)
1149   (recent-manager recent-chooser-recent-manager "recent-manager"
1150    "GtkRecentManager" nil nil)
1151   (select-multiple recent-chooser-select-multiple "select-multiple" "gboolean"
1152    t t)
1153   (show-icons recent-chooser-show-icons "show-icons" "gboolean" t t)
1154   (show-not-found recent-chooser-show-not-found "show-not-found" "gboolean" t t)
1155   (show-private recent-chooser-show-private "show-private" "gboolean" t t)
1156   (show-tips recent-chooser-show-tips "show-tips" "gboolean" t t)
1157   (sort-type recent-chooser-sort-type "sort-type" "GtkRecentSortType" t t))
1158
1159 (define-g-interface "GtkToolShell"
1160     tool-shell
1161     (:export t :type-initializer "gtk_tool_shell_get_type")
1162   (:cffi icon-size tool-shell-icon-size icon-size
1163    "gtk_tool_shell_get_icon_size" nil)
1164   (:cffi orientation tool-shell-orientation orientation
1165    "gtk_tool_shell_get_orientation" nil)
1166   (:cffi relief-style tool-shell-relief-style relief-style
1167    "gtk_tool_shell_get_relief_style" nil)
1168   (:cffi style tool-shell-style toolbar-style "gtk_tool_shell_get_style" nil))
1169
1170 (define-g-interface "GtkOrientable"
1171     orientable
1172     (:export t :type-initializer "gtk_orientable_get_type")
1173   (orientation orientable-orientation "orientation" "GtkOrientation" t t))
1174
1175 (define-g-interface "GtkActivatable"
1176     activatable
1177     (:export t :type-initializer "gtk_activatable_get_type")
1178   (related-action activatable-related-action "related-action" "GtkAction" t t)
1179   (use-action-appearance activatable-use-action-appearance
1180    "use-action-appearance" "gboolean" t t))
1181
1182 (define-g-interface "AtkImplementorIface"
1183     atk-implementor-iface
1184     (:export t))
1185
1186 (define-g-object-class "GtkObject" gtk-object
1187                        (:superclass g-initially-unowned :export t :interfaces
1188                         nil :type-initializer "gtk_object_get_type")
1189                        ((user-data gtk-object-user-data "user-data" "gpointer"
1190                          t t)))
1191
1192 (define-g-object-class "GtkAdjustment" adjustment
1193                        (:superclass gtk-object :export t :interfaces nil
1194                         :type-initializer "gtk_adjustment_get_type")
1195                        ((lower adjustment-lower "lower" "gdouble" t t)
1196                         (page-increment adjustment-page-increment
1197                          "page-increment" "gdouble" t t)
1198                         (page-size adjustment-page-size "page-size" "gdouble" t
1199                          t)
1200                         (step-increment adjustment-step-increment
1201                          "step-increment" "gdouble" t t)
1202                         (upper adjustment-upper "upper" "gdouble" t t)
1203                         (value adjustment-value "value" "gdouble" t t)))
1204
1205 (define-g-object-class "GtkCellRenderer" cell-renderer
1206                        (:superclass gtk-object :export t :interfaces nil
1207                         :type-initializer "gtk_cell_renderer_get_type")
1208                        ((cell-background cell-renderer-cell-background
1209                          "cell-background" "gchararray" nil t)
1210                         (cell-background-gdk cell-renderer-cell-background-gdk
1211                          "cell-background-gdk" "GdkColor" t t)
1212                         (cell-background-set cell-renderer-cell-background-set
1213                          "cell-background-set" "gboolean" t t)
1214                         (editing cell-renderer-editing "editing" "gboolean" t
1215                          nil)
1216                         (height cell-renderer-height "height" "gint" t t)
1217                         (is-expanded cell-renderer-is-expanded "is-expanded"
1218                          "gboolean" t t)
1219                         (is-expander cell-renderer-is-expander "is-expander"
1220                          "gboolean" t t)
1221                         (mode cell-renderer-mode "mode" "GtkCellRendererMode" t
1222                          t)
1223                         (sensitive cell-renderer-sensitive "sensitive"
1224                          "gboolean" t t)
1225                         (visible cell-renderer-visible "visible" "gboolean" t
1226                          t)
1227                         (width cell-renderer-width "width" "gint" t t)
1228                         (xalign cell-renderer-xalign "xalign" "gfloat" t t)
1229                         (xpad cell-renderer-xpad "xpad" "guint" t t)
1230                         (yalign cell-renderer-yalign "yalign" "gfloat" t t)
1231                         (ypad cell-renderer-ypad "ypad" "guint" t t)))
1232
1233 (define-g-object-class "GtkCellRendererPixbuf" cell-renderer-pixbuf
1234                        (:superclass cell-renderer :export t :interfaces nil
1235                         :type-initializer "gtk_cell_renderer_pixbuf_get_type")
1236                        ((follow-state cell-renderer-pixbuf-follow-state
1237                          "follow-state" "gboolean" t t)
1238                         (gicon cell-renderer-pixbuf-gicon "gicon" "GIcon" t t)
1239                         (icon-name cell-renderer-pixbuf-icon-name "icon-name"
1240                          "gchararray" t t)
1241                         (pixbuf cell-renderer-pixbuf-pixbuf "pixbuf"
1242                          "GdkPixbuf" t t)
1243                         (pixbuf-expander-closed
1244                          cell-renderer-pixbuf-pixbuf-expander-closed
1245                          "pixbuf-expander-closed" "GdkPixbuf" t t)
1246                         (pixbuf-expander-open
1247                          cell-renderer-pixbuf-pixbuf-expander-open
1248                          "pixbuf-expander-open" "GdkPixbuf" t t)
1249                         (stock-detail cell-renderer-pixbuf-stock-detail
1250                          "stock-detail" "gchararray" t t)
1251                         (stock-id cell-renderer-pixbuf-stock-id "stock-id"
1252                          "gchararray" t t)
1253                         (stock-size cell-renderer-pixbuf-stock-size
1254                          "stock-size" "guint" t t)))
1255
1256 (define-g-object-class "GtkCellRendererProgress" cell-renderer-progress
1257                        (:superclass cell-renderer :export t :interfaces nil
1258                         :type-initializer
1259                         "gtk_cell_renderer_progress_get_type")
1260                        ((orientation cell-renderer-progress-orientation
1261                          "orientation" "GtkProgressBarOrientation" t t)
1262                         (pulse cell-renderer-progress-pulse "pulse" "gint" t t)
1263                         (text cell-renderer-progress-text "text" "gchararray" t
1264                          t)
1265                         (text-xalign cell-renderer-progress-text-xalign
1266                          "text-xalign" "gfloat" t t)
1267                         (text-yalign cell-renderer-progress-text-yalign
1268                          "text-yalign" "gfloat" t t)
1269                         (value cell-renderer-progress-value "value" "gint" t
1270                          t)))
1271
1272 (define-g-object-class "GtkCellRendererText" cell-renderer-text
1273                        (:superclass cell-renderer :export t :interfaces nil
1274                         :type-initializer "gtk_cell_renderer_text_get_type")
1275                        ((align-set cell-renderer-text-align-set "align-set"
1276                          "gboolean" t t)
1277                         (alignment cell-renderer-text-alignment "alignment"
1278                          "PangoAlignment" t t)
1279                         (attributes cell-renderer-text-attributes "attributes"
1280                          "PangoAttrList" t t)
1281                         (background cell-renderer-text-background "background"
1282                          "gchararray" nil t)
1283                         (background-gdk cell-renderer-text-background-gdk
1284                          "background-gdk" "GdkColor" t t)
1285                         (background-set cell-renderer-text-background-set
1286                          "background-set" "gboolean" t t)
1287                         (editable cell-renderer-text-editable "editable"
1288                          "gboolean" t t)
1289                         (editable-set cell-renderer-text-editable-set
1290                          "editable-set" "gboolean" t t)
1291                         (ellipsize cell-renderer-text-ellipsize "ellipsize"
1292                          "PangoEllipsizeMode" t t)
1293                         (ellipsize-set cell-renderer-text-ellipsize-set
1294                          "ellipsize-set" "gboolean" t t)
1295                         (family cell-renderer-text-family "family" "gchararray"
1296                          t t)
1297                         (family-set cell-renderer-text-family-set "family-set"
1298                          "gboolean" t t)
1299                         (font cell-renderer-text-font "font" "gchararray" t t)
1300                         (font-desc cell-renderer-text-font-desc "font-desc"
1301                          "PangoFontDescription" t t)
1302                         (foreground cell-renderer-text-foreground "foreground"
1303                          "gchararray" nil t)
1304                         (foreground-gdk cell-renderer-text-foreground-gdk
1305                          "foreground-gdk" "GdkColor" t t)
1306                         (foreground-set cell-renderer-text-foreground-set
1307                          "foreground-set" "gboolean" t t)
1308                         (language cell-renderer-text-language "language"
1309                          "gchararray" t t)
1310                         (language-set cell-renderer-text-language-set
1311                          "language-set" "gboolean" t t)
1312                         (markup cell-renderer-text-markup "markup" "gchararray"
1313                          nil t)
1314                         (rise cell-renderer-text-rise "rise" "gint" t t)
1315                         (rise-set cell-renderer-text-rise-set "rise-set"
1316                          "gboolean" t t)
1317                         (scale cell-renderer-text-scale "scale" "gdouble" t t)
1318                         (scale-set cell-renderer-text-scale-set "scale-set"
1319                          "gboolean" t t)
1320                         (single-paragraph-mode
1321                          cell-renderer-text-single-paragraph-mode
1322                          "single-paragraph-mode" "gboolean" t t)
1323                         (size cell-renderer-text-size "size" "gint" t t)
1324                         (size-points cell-renderer-text-size-points
1325                          "size-points" "gdouble" t t)
1326                         (size-set cell-renderer-text-size-set "size-set"
1327                          "gboolean" t t)
1328                         (stretch cell-renderer-text-stretch "stretch"
1329                          "PangoStretch" t t)
1330                         (stretch-set cell-renderer-text-stretch-set
1331                          "stretch-set" "gboolean" t t)
1332                         (strikethrough cell-renderer-text-strikethrough
1333                          "strikethrough" "gboolean" t t)
1334                         (strikethrough-set cell-renderer-text-strikethrough-set
1335                          "strikethrough-set" "gboolean" t t)
1336                         (style cell-renderer-text-style "style" "PangoStyle" t
1337                          t)
1338                         (style-set cell-renderer-text-style-set "style-set"
1339                          "gboolean" t t)
1340                         (text cell-renderer-text-text "text" "gchararray" t t)
1341                         (underline cell-renderer-text-underline "underline"
1342                          "PangoUnderline" t t)
1343                         (underline-set cell-renderer-text-underline-set
1344                          "underline-set" "gboolean" t t)
1345                         (variant cell-renderer-text-variant "variant"
1346                          "PangoVariant" t t)
1347                         (variant-set cell-renderer-text-variant-set
1348                          "variant-set" "gboolean" t t)
1349                         (weight cell-renderer-text-weight "weight" "gint" t t)
1350                         (weight-set cell-renderer-text-weight-set "weight-set"
1351                          "gboolean" t t)
1352                         (width-chars cell-renderer-text-width-chars
1353                          "width-chars" "gint" t t)
1354                         (wrap-mode cell-renderer-text-wrap-mode "wrap-mode"
1355                          "PangoWrapMode" t t)
1356                         (wrap-width cell-renderer-text-wrap-width "wrap-width"
1357                          "gint" t t)))
1358
1359 (define-g-object-class "GtkCellRendererAccel" cell-renderer-accel
1360                        (:superclass cell-renderer-text :export t :interfaces
1361                         nil :type-initializer
1362                         "gtk_cell_renderer_accel_get_type")
1363                        ((accel-key cell-renderer-accel-accel-key "accel-key"
1364                          "guint" t t)
1365                         (accel-mode cell-renderer-accel-accel-mode "accel-mode"
1366                          "GtkCellRendererAccelMode" t t)
1367                         (accel-mods cell-renderer-accel-accel-mods "accel-mods"
1368                          "GdkModifierType" t t)
1369                         (keycode cell-renderer-accel-keycode "keycode" "guint"
1370                          t t)))
1371
1372 (define-g-object-class "GtkCellRendererCombo" cell-renderer-combo
1373                        (:superclass cell-renderer-text :export t :interfaces
1374                         nil :type-initializer
1375                         "gtk_cell_renderer_combo_get_type")
1376                        ((has-entry cell-renderer-combo-has-entry "has-entry"
1377                          "gboolean" t t)
1378                         (model cell-renderer-combo-model "model" "GtkTreeModel"
1379                          t t)
1380                         (text-column cell-renderer-combo-text-column
1381                          "text-column" "gint" t t)))
1382
1383 (define-g-object-class "GtkCellRendererSpin" cell-renderer-spin
1384                        (:superclass cell-renderer-text :export t :interfaces
1385                         nil :type-initializer
1386                         "gtk_cell_renderer_spin_get_type")
1387                        ((adjustment cell-renderer-spin-adjustment "adjustment"
1388                          "GtkAdjustment" t t)
1389                         (climb-rate cell-renderer-spin-climb-rate "climb-rate"
1390                          "gdouble" t t)
1391                         (digits cell-renderer-spin-digits "digits" "guint" t
1392                          t)))
1393
1394 (define-g-object-class "GtkCellRendererToggle" cell-renderer-toggle
1395                        (:superclass cell-renderer :export t :interfaces nil
1396                         :type-initializer "gtk_cell_renderer_toggle_get_type")
1397                        ((activatable cell-renderer-toggle-activatable
1398                          "activatable" "gboolean" t t)
1399                         (active cell-renderer-toggle-active "active" "gboolean"
1400                          t t)
1401                         (inconsistent cell-renderer-toggle-inconsistent
1402                          "inconsistent" "gboolean" t t)
1403                         (indicator-size cell-renderer-toggle-indicator-size
1404                          "indicator-size" "gint" t t)
1405                         (radio cell-renderer-toggle-radio "radio" "gboolean" t
1406                          t)))
1407
1408 (define-g-object-class "GtkFileFilter" file-filter
1409                        (:superclass gtk-object :export t :interfaces nil
1410                         :type-initializer "gtk_file_filter_get_type")
1411                        ((:cffi name file-filter-name :string
1412                          "gtk_file_filter_get_name"
1413                          "gtk_file_filter_set_name")))
1414
1415 (define-g-object-class "GtkRecentFilter" recent-filter
1416                        (:superclass gtk-object :export t :interfaces nil
1417                         :type-initializer "gtk_recent_filter_get_type")
1418                        nil)
1419
1420 (define-g-object-class "GtkTreeViewColumn" tree-view-column
1421                        (:superclass gtk-object :export t :interfaces
1422                         ("GtkBuildable" "GtkCellLayout") :type-initializer
1423                         "gtk_tree_view_column_get_type")
1424                        ((alignment tree-view-column-alignment "alignment"
1425                          "gfloat" t t)
1426                         (clickable tree-view-column-clickable "clickable"
1427                          "gboolean" t t)
1428                         (expand tree-view-column-expand "expand" "gboolean" t
1429                          t)
1430                         (fixed-width tree-view-column-fixed-width "fixed-width"
1431                          "gint" t t)
1432                         (max-width tree-view-column-max-width "max-width"
1433                          "gint" t t)
1434                         (min-width tree-view-column-min-width "min-width"
1435                          "gint" t t)
1436                         (reorderable tree-view-column-reorderable "reorderable"
1437                          "gboolean" t t)
1438                         (resizable tree-view-column-resizable "resizable"
1439                          "gboolean" t t)
1440                         (sizing tree-view-column-sizing "sizing"
1441                          "GtkTreeViewColumnSizing" t t)
1442                         (sort-indicator tree-view-column-sort-indicator
1443                          "sort-indicator" "gboolean" t t)
1444                         (sort-order tree-view-column-sort-order "sort-order"
1445                          "GtkSortType" t t)
1446                         (spacing tree-view-column-spacing "spacing" "gint" t t)
1447                         (title tree-view-column-title "title" "gchararray" t t)
1448                         (visible tree-view-column-visible "visible" "gboolean"
1449                          t t)
1450                         (widget tree-view-column-widget "widget" "GtkWidget" t
1451                          t)
1452                         (width tree-view-column-width "width" "gint" t nil)
1453                         (:cffi tree-view tree-view-column-tree-view g-object
1454                          "gtk_tree_view_column_get_tree_view" nil)
1455                         (:cffi sort-column-id tree-view-column-sort-column-id
1456                          :int "gtk_tree_view_column_get_sort_column_id"
1457                          "gtk_tree_view_column_set_sort_column_id")
1458                         (:cffi cell-renderers tree-view-column-cell-renderers
1459                          (glist g-object :free-from-foreign t)
1460                          "gtk_tree_view_column_get_cell_renderers" nil)))
1461
1462 (define-g-object-class "GtkWidget" widget
1463                        (:superclass gtk-object :export t :interfaces
1464                         ("AtkImplementorIface" "GtkBuildable")
1465                         :type-initializer "gtk_widget_get_type")
1466                        ((app-paintable widget-app-paintable "app-paintable"
1467                          "gboolean" t t)
1468                         (can-default widget-can-default "can-default"
1469                          "gboolean" t t)
1470                         (can-focus widget-can-focus "can-focus" "gboolean" t t)
1471                         (composite-child widget-composite-child
1472                          "composite-child" "gboolean" t nil)
1473                         (events widget-events "events" "GdkEventMask" t t)
1474                         (extension-events widget-extension-events
1475                          "extension-events" "GdkExtensionMode" t t)
1476                         (has-default widget-has-default "has-default"
1477                          "gboolean" t t)
1478                         (has-focus widget-has-focus "has-focus" "gboolean" t t)
1479                         (has-tooltip widget-has-tooltip "has-tooltip"
1480                          "gboolean" t t)
1481                         (height-request widget-height-request "height-request"
1482                          "gint" t t)
1483                         (is-focus widget-is-focus "is-focus" "gboolean" t t)
1484                         (name widget-name "name" "gchararray" t t)
1485                         (no-show-all widget-no-show-all "no-show-all"
1486                          "gboolean" t t)
1487                         (parent widget-parent "parent" "GtkContainer" t t)
1488                         (receives-default widget-receives-default
1489                          "receives-default" "gboolean" t t)
1490                         (sensitive widget-sensitive "sensitive" "gboolean" t t)
1491                         (style widget-style "style" "GtkStyle" t t)
1492                         (tooltip-markup widget-tooltip-markup "tooltip-markup"
1493                          "gchararray" t t)
1494                         (tooltip-text widget-tooltip-text "tooltip-text"
1495                          "gchararray" t t)
1496                         (visible widget-visible "visible" "gboolean" t t)
1497                         (width-request widget-width-request "width-request"
1498                          "gint" t t)
1499                         (window widget-window "window" "GdkWindow" t nil)
1500                         (:cffi parent-window widget-parent-window
1501                          (g-object gdk-window) "gtk_widget_get_parent_window"
1502                          "gtk_widget_set_parent_window")
1503                         (:cffi toplevel widget-toplevel (g-object widget)
1504                          "gtk_widget_get_toplevel" nil)
1505                         (:cffi colormap widget-colormap (g-object gdk-colormap)
1506                          "gtk_widget_get_colormap" "gtk_widget_set_colormap")
1507                         (:cffi visual widget-visual (g-object visual)
1508                          "gtk_widget_get_visual" nil)
1509                         (:cffi modifier-style widget-modifier-style
1510                          (g-object rc-style) "gtk_widget_get_modifier_style"
1511                          "gtk_widget_modify_style")
1512                         (:cffi pango-context widget-pango-context g-object
1513                          "gtk_widget_get_pango_context" nil)
1514                         (:cffi child-visible widget-child-visible :boolean
1515                          "gtk_widget_get_child_visible"
1516                          "gtk_widget_set_child_visible")
1517                         (:cffi direction widget-direction text-direction
1518                          "gtk_widget_get_direction" "gtk_widget_set_direction")
1519                         (:cffi composite-name widget-composite-name
1520                          (g-string :free-from-foreign t :free-to-foreign t)
1521                          "gtk_widget_get_composite_name"
1522                          "gtk_widget_set_composite_name")
1523                         (:cffi redraw-on-allocate widget-redraw-on-allocate
1524                          :boolean nil "gtk_widget_set_redraw_on_allocate")
1525                         (:cffi accessible widget-accessible g-object
1526                          "gtk_widget_get_accessible" nil)
1527                         (:cffi tooltip-window widget-tooltip-window g-object
1528                          "gtk_widget_get_tooltip_window"
1529                          "gtk_widget_set_tooltip_window")))
1530
1531 (define-g-object-class "GtkCalendar" calendar
1532                        (:superclass widget :export t :interfaces
1533                         ("AtkImplementorIface" "GtkBuildable")
1534                         :type-initializer "gtk_calendar_get_type")
1535                        ((day calendar-day "day" "gint" t t)
1536                         (detail-height-rows calendar-detail-height-rows
1537                          "detail-height-rows" "gint" t t)
1538                         (detail-width-chars calendar-detail-width-chars
1539                          "detail-width-chars" "gint" t t)
1540                         (month calendar-month "month" "gint" t t)
1541                         (no-month-change calendar-no-month-change
1542                          "no-month-change" "gboolean" t t)
1543                         (show-day-names calendar-show-day-names
1544                          "show-day-names" "gboolean" t t)
1545                         (show-details calendar-show-details "show-details"
1546                          "gboolean" t t)
1547                         (show-heading calendar-show-heading "show-heading"
1548                          "gboolean" t t)
1549                         (show-week-numbers calendar-show-week-numbers
1550                          "show-week-numbers" "gboolean" t t)
1551                         (year calendar-year "year" "gint" t t)
1552                         (:cffi detail-function calendar-detail-function nil nil
1553                          calendar-set-detail-function)
1554                         (:cffi display-options calendar-display-options
1555                          calendar-display-options
1556                          "gtk_calendar_get_display_options"
1557                          "gtk_calendar_set_display_options")))
1558
1559 (define-g-object-class "GtkCellView" cell-view
1560                        (:superclass widget :export t :interfaces
1561                         ("AtkImplementorIface" "GtkBuildable" "GtkCellLayout")
1562                         :type-initializer "gtk_cell_view_get_type")
1563                        ((background cell-view-background "background"
1564                          "gchararray" nil t)
1565                         (background-gdk cell-view-background-gdk
1566                          "background-gdk" "GdkColor" t t)
1567                         (background-set cell-view-background-set
1568                          "background-set" "gboolean" t t)
1569                         (model cell-view-model "model" "GtkTreeModel" t t)
1570                         (:cffi displayed-row cell-view-displayed-row
1571                          (g-boxed-foreign tree-path)
1572                          "gtk_cell_view_get_displayed_row"
1573                          "gtk_cell_view_set_displayed_row")
1574                         (:cffi cell-renderers cell-view-cell-renderers
1575                          (glist (g-object cell-renderer) :free-from-foreign t)
1576                          "gtk_cell_view_get_cell_renderers" nil)))
1577
1578 (define-g-object-class "GtkContainer" container
1579                        (:superclass widget :export t :interfaces
1580                         ("AtkImplementorIface" "GtkBuildable")
1581                         :type-initializer "gtk_container_get_type")
1582                        ((border-width container-border-width "border-width"
1583                          "guint" t t)
1584                         (child container-child "child" "GtkWidget" nil t)
1585                         (resize-mode container-resize-mode "resize-mode"
1586                          "GtkResizeMode" t t)
1587                         (:cffi focus-child container-focus-child g-object
1588                          "gtk_container_get_focus_child"
1589                          "gtk_container_set_focus_child")
1590                         (:cffi focus-vadjustment container-focus-vadjustment
1591                          g-object "gtk_container_get_focus_vadjustment"
1592                          "gtk_container_set_focus_vadjustment")
1593                         (:cffi focus-hadjustment container-focus-hadjustment
1594                          g-object "gtk_container_get_focus_hadjustment"
1595                          "gtk_container_set_focus_hadjustment")
1596                         (:cffi reallocate-redraws container-reallocate-redraws
1597                          :boolean nil "gtk_container_set_reallocate_redraws")))
1598
1599 (define-g-object-class "GtkBin" bin
1600                        (:superclass container :export t :interfaces
1601                         ("AtkImplementorIface" "GtkBuildable")
1602                         :type-initializer "gtk_bin_get_type")
1603                        ((:cffi child bin-child (g-object widget)
1604                          "gtk_bin_get_child" nil)))
1605
1606 (define-g-object-class "GtkAlignment" alignment
1607                        (:superclass bin :export t :interfaces
1608                         ("AtkImplementorIface" "GtkBuildable")
1609                         :type-initializer "gtk_alignment_get_type")
1610                        ((bottom-padding alignment-bottom-padding
1611                          "bottom-padding" "guint" t t)
1612                         (left-padding alignment-left-padding "left-padding"
1613                          "guint" t t)
1614                         (right-padding alignment-right-padding "right-padding"
1615                          "guint" t t)
1616                         (top-padding alignment-top-padding "top-padding"
1617                          "guint" t t)
1618                         (xalign alignment-xalign "xalign" "gfloat" t t)
1619                         (xscale alignment-xscale "xscale" "gfloat" t t)
1620                         (yalign alignment-yalign "yalign" "gfloat" t t)
1621                         (yscale alignment-yscale "yscale" "gfloat" t t)))
1622
1623 (define-g-object-class "GtkButton" button
1624                        (:superclass bin :export t :interfaces
1625                         ("AtkImplementorIface" "GtkActivatable" "GtkBuildable")
1626                         :type-initializer "gtk_button_get_type")
1627                        ((focus-on-click button-focus-on-click "focus-on-click"
1628                          "gboolean" t t)
1629                         (image button-image "image" "GtkWidget" t t)
1630                         (image-position button-image-position "image-position"
1631                          "GtkPositionType" t t)
1632                         (label button-label "label" "gchararray" t t)
1633                         (relief button-relief "relief" "GtkReliefStyle" t t)
1634                         (use-stock button-use-stock "use-stock" "gboolean" t t)
1635                         (use-underline button-use-underline "use-underline"
1636                          "gboolean" t t)
1637                         (xalign button-xalign "xalign" "gfloat" t t)
1638                         (yalign button-yalign "yalign" "gfloat" t t)))
1639
1640 (define-g-object-class "GtkColorButton" color-button
1641                        (:superclass button :export t :interfaces
1642                         ("AtkImplementorIface" "GtkActivatable" "GtkBuildable")
1643                         :type-initializer "gtk_color_button_get_type")
1644                        ((alpha color-button-alpha "alpha" "guint" t t)
1645                         (color color-button-color "color" "GdkColor" t t)
1646                         (title color-button-title "title" "gchararray" t t)
1647                         (use-alpha color-button-use-alpha "use-alpha"
1648                          "gboolean" t t)))
1649
1650 (define-g-object-class "GtkFontButton" font-button
1651                        (:superclass button :export t :interfaces
1652                         ("AtkImplementorIface" "GtkActivatable" "GtkBuildable")
1653                         :type-initializer "gtk_font_button_get_type")
1654                        ((font-name font-button-font-name "font-name"
1655                          "gchararray" t t)
1656                         (show-size font-button-show-size "show-size" "gboolean"
1657                          t t)
1658                         (show-style font-button-show-style "show-style"
1659                          "gboolean" t t)
1660                         (title font-button-title "title" "gchararray" t t)
1661                         (use-font font-button-use-font "use-font" "gboolean" t
1662                          t)
1663                         (use-size font-button-use-size "use-size" "gboolean" t
1664                          t)))
1665
1666 (define-g-object-class "GtkLinkButton" link-button
1667                        (:superclass button :export t :interfaces
1668                         ("AtkImplementorIface" "GtkActivatable" "GtkBuildable")
1669                         :type-initializer "gtk_link_button_get_type")
1670                        ((uri link-button-uri "uri" "gchararray" t t)
1671                         (visited link-button-visited "visited" "gboolean" t t)))
1672
1673 (define-g-object-class "GtkScaleButton" scale-button
1674                        (:superclass button :export t :interfaces
1675                         ("AtkImplementorIface" "GtkActivatable" "GtkBuildable"
1676                          "GtkOrientable")
1677                         :type-initializer "gtk_scale_button_get_type")
1678                        ((adjustment scale-button-adjustment "adjustment"
1679                          "GtkAdjustment" t t)
1680                         (icons scale-button-icons "icons" "GStrv" t t)
1681                         (size scale-button-size "size" "GtkIconSize" t t)
1682                         (value scale-button-value "value" "gdouble" t t)))
1683
1684 (define-g-object-class "GtkVolumeButton" volume-button
1685                        (:superclass scale-button :export t :interfaces
1686                         ("AtkImplementorIface" "GtkActivatable" "GtkBuildable"
1687                          "GtkOrientable")
1688                         :type-initializer "gtk_volume_button_get_type")
1689                        nil)
1690
1691 (define-g-object-class "GtkToggleButton" toggle-button
1692                        (:superclass button :export t :interfaces
1693                         ("AtkImplementorIface" "GtkActivatable" "GtkBuildable")
1694                         :type-initializer "gtk_toggle_button_get_type")
1695                        ((active toggle-button-active "active" "gboolean" t t)
1696                         (draw-indicator toggle-button-draw-indicator
1697                          "draw-indicator" "gboolean" t t)
1698                         (inconsistent toggle-button-inconsistent "inconsistent"
1699                          "gboolean" t t)))
1700
1701 (define-g-object-class "GtkCheckButton" check-button
1702                        (:superclass toggle-button :export t :interfaces
1703                         ("AtkImplementorIface" "GtkActivatable" "GtkBuildable")
1704                         :type-initializer "gtk_check_button_get_type")
1705                        nil)
1706
1707 (define-g-object-class "GtkRadioButton" radio-button
1708                        (:superclass check-button :export t :interfaces
1709                         ("AtkImplementorIface" "GtkActivatable" "GtkBuildable")
1710                         :type-initializer "gtk_radio_button_get_type")
1711                        ((:cffi group radio-button-group
1712                          (gslist g-object :free-from-foreign nil
1713                           :free-to-foreign nil)
1714                          "gtk_radio_button_get_group" "gtk_radio_button_set_group")))
1715
1716 (define-g-object-class "GtkComboBox" combo-box
1717                        (:superclass bin :export t :interfaces
1718                         ("AtkImplementorIface" "GtkBuildable" "GtkCellEditable"
1719                          "GtkCellLayout")
1720                         :type-initializer "gtk_combo_box_get_type")
1721                        ((active combo-box-active "active" "gint" t t)
1722                         (add-tearoffs combo-box-add-tearoffs "add-tearoffs"
1723                          "gboolean" t t)
1724                         (button-sensitivity combo-box-button-sensitivity
1725                          "button-sensitivity" "GtkSensitivityType" t t)
1726                         (column-span-column combo-box-column-span-column
1727                          "column-span-column" "gint" t t)
1728                         (focus-on-click combo-box-focus-on-click
1729                          "focus-on-click" "gboolean" t t)
1730                         (has-frame combo-box-has-frame "has-frame" "gboolean" t
1731                          t)
1732                         (model combo-box-model "model" "GtkTreeModel" t t)
1733                         (popup-shown combo-box-popup-shown "popup-shown"
1734                          "gboolean" t nil)
1735                         (row-span-column combo-box-row-span-column
1736                          "row-span-column" "gint" t t)
1737                         (tearoff-title combo-box-tearoff-title "tearoff-title"
1738                          "gchararray" t t)
1739                         (wrap-width combo-box-wrap-width "wrap-width" "gint" t
1740                          t)
1741                         (:cffi active-iter combo-box-active-iter
1742                          (g-boxed-foreign tree-iter) combo-box-get-active-iter
1743                          "gtk_combo_box_set_active_iter")
1744                         (:cffi row-separator-func combo-box-separator-func nil
1745                          nil combo-box-set-separator-func)
1746                         (:cffi title combo-box-title
1747                          (:string :free-from-foreign nil :free-to-foreign t)
1748                          "gtk_combo_box_get_title" "gtk_combo_box_set_title")))
1749
1750 (define-g-object-class "GtkComboBoxEntry" combo-box-entry
1751                        (:superclass combo-box :export t :interfaces
1752                         ("AtkImplementorIface" "GtkBuildable" "GtkCellEditable"
1753                          "GtkCellLayout")
1754                         :type-initializer "gtk_combo_box_entry_get_type")
1755                        ((text-column combo-box-entry-text-column "text-column"
1756                          "gint" t t)))
1757
1758 (define-g-object-class "GtkEventBox" event-box
1759                        (:superclass bin :export t :interfaces
1760                         ("AtkImplementorIface" "GtkBuildable")
1761                         :type-initializer "gtk_event_box_get_type")
1762                        ((above-child event-box-above-child "above-child"
1763                          "gboolean" t t)
1764                         (visible-window event-box-visible-window
1765                          "visible-window" "gboolean" t t)))
1766
1767 (define-g-object-class "GtkExpander" expander
1768                        (:superclass bin :export t :interfaces
1769                         ("AtkImplementorIface" "GtkBuildable")
1770                         :type-initializer "gtk_expander_get_type")
1771                        ((expanded expander-expanded "expanded" "gboolean" t t)
1772                         (label expander-label "label" "gchararray" t t)
1773                         (label-widget expander-label-widget "label-widget"
1774                          "GtkWidget" t t)
1775                         (spacing expander-spacing "spacing" "gint" t t)
1776                         (use-markup expander-use-markup "use-markup" "gboolean"
1777                          t t)
1778                         (use-underline expander-use-underline "use-underline"
1779                          "gboolean" t t)))
1780
1781 (define-g-object-class "GtkFrame" frame
1782                        (:superclass bin :export t :interfaces
1783                         ("AtkImplementorIface" "GtkBuildable")
1784                         :type-initializer "gtk_frame_get_type")
1785                        ((label frame-label "label" "gchararray" t t)
1786                         (label-widget frame-label-widget "label-widget"
1787                          "GtkWidget" t t)
1788                         (label-xalign frame-label-xalign "label-xalign"
1789                          "gfloat" t t)
1790                         (label-yalign frame-label-yalign "label-yalign"
1791                          "gfloat" t t)
1792                         (shadow frame-shadow "shadow" "GtkShadowType" t t)
1793                         (shadow-type frame-shadow-type "shadow-type"
1794                          "GtkShadowType" t t)))
1795
1796 (define-g-object-class "GtkAspectFrame" aspect-frame
1797                        (:superclass frame :export t :interfaces
1798                         ("AtkImplementorIface" "GtkBuildable")
1799                         :type-initializer "gtk_aspect_frame_get_type")
1800                        ((obey-child aspect-frame-obey-child "obey-child"
1801                          "gboolean" t t)
1802                         (ratio aspect-frame-ratio "ratio" "gfloat" t t)
1803                         (xalign aspect-frame-xalign "xalign" "gfloat" t t)
1804                         (yalign aspect-frame-yalign "yalign" "gfloat" t t)))
1805
1806 (define-g-object-class "GtkHandleBox" handle-box
1807                        (:superclass bin :export t :interfaces
1808                         ("AtkImplementorIface" "GtkBuildable")
1809                         :type-initializer "gtk_handle_box_get_type")
1810                        ((child-detached handle-box-child-detached
1811                          "child-detached" "gboolean" t nil)
1812                         (handle-position handle-box-handle-position
1813                          "handle-position" "GtkPositionType" t t)
1814                         (shadow handle-box-shadow "shadow" "GtkShadowType" t t)
1815                         (shadow-type handle-box-shadow-type "shadow-type"
1816                          "GtkShadowType" t t)
1817                         (snap-edge handle-box-snap-edge "snap-edge"
1818                          "GtkPositionType" t t)
1819                         (snap-edge-set handle-box-snap-edge-set "snap-edge-set"
1820                          "gboolean" t t)))
1821
1822 (define-g-object-class "GtkItem" item
1823                        (:superclass bin :export t :interfaces
1824                         ("AtkImplementorIface" "GtkBuildable")
1825                         :type-initializer "gtk_item_get_type")
1826                        nil)
1827
1828 (define-g-object-class "GtkMenuItem" menu-item
1829                        (:superclass item :export t :interfaces
1830                         ("AtkImplementorIface" "GtkActivatable" "GtkBuildable")
1831                         :type-initializer "gtk_menu_item_get_type")
1832                        ((accel-path menu-item-accel-path "accel-path"
1833                          "gchararray" t t)
1834                         (label menu-item-label "label" "gchararray" t t)
1835                         (right-justified menu-item-right-justified
1836                          "right-justified" "gboolean" t t)
1837                         (submenu menu-item-submenu "submenu" "GtkMenu" t t)
1838                         (use-underline menu-item-use-underline "use-underline"
1839                          "gboolean" t t)))
1840
1841 (define-g-object-class "GtkCheckMenuItem" check-menu-item
1842                        (:superclass menu-item :export t :interfaces
1843                         ("AtkImplementorIface" "GtkActivatable" "GtkBuildable")
1844                         :type-initializer "gtk_check_menu_item_get_type")
1845                        ((active check-menu-item-active "active" "gboolean" t t)
1846                         (draw-as-radio check-menu-item-draw-as-radio
1847                          "draw-as-radio" "gboolean" t t)
1848                         (inconsistent check-menu-item-inconsistent
1849                          "inconsistent" "gboolean" t t)))
1850
1851 (define-g-object-class "GtkRadioMenuItem" radio-menu-item
1852                        (:superclass check-menu-item :export t :interfaces
1853                         ("AtkImplementorIface" "GtkActivatable" "GtkBuildable")
1854                         :type-initializer "gtk_radio_menu_item_get_type")
1855                        ((group radio-menu-item-group "group" "GtkRadioMenuItem"
1856                          nil t)))
1857
1858 (define-g-object-class "GtkImageMenuItem" image-menu-item
1859                        (:superclass menu-item :export t :interfaces
1860                         ("AtkImplementorIface" "GtkActivatable" "GtkBuildable")
1861                         :type-initializer "gtk_image_menu_item_get_type")
1862                        ((accel-group image-menu-item-accel-group "accel-group"
1863                          "GtkAccelGroup" nil t)
1864                         (always-show-image image-menu-item-always-show-image
1865                          "always-show-image" "gboolean" t t)
1866                         (image image-menu-item-image "image" "GtkWidget" t t)
1867                         (use-stock image-menu-item-use-stock "use-stock"
1868                          "gboolean" t t)))
1869
1870 (define-g-object-class "GtkSeparatorMenuItem" separator-menu-item
1871                        (:superclass menu-item :export t :interfaces
1872                         ("AtkImplementorIface" "GtkActivatable" "GtkBuildable")
1873                         :type-initializer "gtk_separator_menu_item_get_type")
1874                        nil)
1875
1876 (define-g-object-class "GtkTearoffMenuItem" tearoff-menu-item
1877                        (:superclass menu-item :export t :interfaces
1878                         ("AtkImplementorIface" "GtkActivatable" "GtkBuildable")
1879                         :type-initializer "gtk_tearoff_menu_item_get_type")
1880                        nil)
1881
1882 (define-g-object-class "GtkScrolledWindow" scrolled-window
1883                        (:superclass bin :export t :interfaces
1884                         ("AtkImplementorIface" "GtkBuildable")
1885                         :type-initializer "gtk_scrolled_window_get_type")
1886                        ((hadjustment scrolled-window-hadjustment "hadjustment"
1887                          "GtkAdjustment" t t)
1888                         (hscrollbar-policy scrolled-window-hscrollbar-policy
1889                          "hscrollbar-policy" "GtkPolicyType" t t)
1890                         (shadow-type scrolled-window-shadow-type "shadow-type"
1891                          "GtkShadowType" t t)
1892                         (vadjustment scrolled-window-vadjustment "vadjustment"
1893                          "GtkAdjustment" t t)
1894                         (vscrollbar-policy scrolled-window-vscrollbar-policy
1895                          "vscrollbar-policy" "GtkPolicyType" t t)
1896                         (window-placement scrolled-window-window-placement
1897                          "window-placement" "GtkCornerType" t t)
1898                         (window-placement-set
1899                          scrolled-window-window-placement-set
1900                          "window-placement-set" "gboolean" t t)
1901                         (:cffi hscrollbar scrolled-window-hscrollbar
1902                          (g-object widget) "gtk_scrolled_window_get_hscrollbar"
1903                          nil)
1904                         (:cffi vscrollbar scrolled-window-vscrollbar
1905                          (g-object widget) "gtk_scrolled_window_get_vscrollbar"
1906                          nil)))
1907
1908 (define-g-object-class "GtkToolItem" tool-item
1909                        (:superclass bin :export t :interfaces
1910                         ("AtkImplementorIface" "GtkActivatable" "GtkBuildable")
1911                         :type-initializer "gtk_tool_item_get_type")
1912                        ((is-important tool-item-is-important "is-important"
1913                          "gboolean" t t)
1914                         (visible-horizontal tool-item-visible-horizontal
1915                          "visible-horizontal" "gboolean" t t)
1916                         (visible-vertical tool-item-visible-vertical
1917                          "visible-vertical" "gboolean" t t)
1918                         (:cffi expand tool-item-expand :boolean
1919                          "gtk_tool_item_get_expand" "gtk_tool_item_set_expand")
1920                         (:cffi use-drag-window tool-item-use-drag-window
1921                          :boolean "gtk_tool_item_get_use_drag_window"
1922                          "gtk_tool_item_set_use_drag_window")
1923                         (:cffi icon-size tool-item-icon-size icon-size
1924                          "gtk_tool_item_get_icon_size" nil)
1925                         (:cffi orientation tool-item-orientation orientation
1926                          "gtk_tool_item_get_orientation" nil)
1927                         (:cffi toolbar-style tool-item-toolbar-style
1928                          toolbar-style "gtk_tool_item_get_toolbar_style" nil)
1929                         (:cffi relief-style tool-item-relief-style relief-style
1930                          "gtk_tool_item_get_relief_style" nil)))
1931
1932 (define-g-object-class "GtkSeparatorToolItem" separator-tool-item
1933                        (:superclass tool-item :export t :interfaces
1934                         ("AtkImplementorIface" "GtkActivatable" "GtkBuildable")
1935                         :type-initializer "gtk_separator_tool_item_get_type")
1936                        ((draw separator-tool-item-draw "draw" "gboolean" t t)))
1937
1938 (define-g-object-class "GtkToolButton" tool-button
1939                        (:superclass tool-item :export t :interfaces
1940                         ("AtkImplementorIface" "GtkActivatable" "GtkBuildable")
1941                         :type-initializer "gtk_tool_button_get_type")
1942                        ((icon-name tool-button-icon-name "icon-name"
1943                          "gchararray" t t)
1944                         (icon-widget tool-button-icon-widget "icon-widget"
1945                          "GtkWidget" t t)
1946                         (label tool-button-label "label" "gchararray" t t)
1947                         (label-widget tool-button-label-widget "label-widget"
1948                          "GtkWidget" t t)
1949                         (stock-id tool-button-stock-id "stock-id" "gchararray"
1950                          t t)
1951                         (use-underline tool-button-use-underline
1952                          "use-underline" "gboolean" t t)))
1953
1954 (define-g-object-class "GtkMenuToolButton" menu-tool-button
1955                        (:superclass tool-button :export t :interfaces
1956                         ("AtkImplementorIface" "GtkActivatable" "GtkBuildable")
1957                         :type-initializer "gtk_menu_tool_button_get_type")
1958                        ((menu menu-tool-button-menu "menu" "GtkMenu" t t)
1959                         (:cffi arrow-tooltip-text
1960                          menu-tool-button-arrow-tooltip-text :string nil
1961                          "gtk_menu_tool_button_set_arrow_tooltip_text")
1962                         (:cffi arrow-tooltip-markup
1963                          menu-tool-button-arrow-tooltip-markup :string nil
1964                          "gtk_menu_tool_button_set_arrow_tooltip_markup")))
1965
1966 (define-g-object-class "GtkToggleToolButton" toggle-tool-button
1967                        (:superclass tool-button :export t :interfaces
1968                         ("AtkImplementorIface" "GtkActivatable" "GtkBuildable")
1969                         :type-initializer "gtk_toggle_tool_button_get_type")
1970                        ((active toggle-tool-button-active "active" "gboolean" t
1971                          t)))
1972
1973 (define-g-object-class "GtkRadioToolButton" radio-tool-button
1974                        (:superclass toggle-tool-button :export t :interfaces
1975                         ("AtkImplementorIface" "GtkActivatable" "GtkBuildable")
1976                         :type-initializer "gtk_radio_tool_button_get_type")
1977                        ((group radio-tool-button-group "group"
1978                          "GtkRadioToolButton" nil t)))
1979
1980 (define-g-object-class "GtkViewport" viewport
1981                        (:superclass bin :export t :interfaces
1982                         ("AtkImplementorIface" "GtkBuildable")
1983                         :type-initializer "gtk_viewport_get_type")
1984                        ((hadjustment viewport-hadjustment "hadjustment"
1985                          "GtkAdjustment" t t)
1986                         (shadow-type viewport-shadow-type "shadow-type"
1987                          "GtkShadowType" t t)
1988                         (vadjustment viewport-vadjustment "vadjustment"
1989                          "GtkAdjustment" t t)))
1990
1991 (define-g-object-class "GtkWindow" gtk-window
1992                        (:superclass bin :export t :interfaces
1993                         ("AtkImplementorIface" "GtkBuildable")
1994                         :type-initializer "gtk_window_get_type")
1995                        ((accept-focus gtk-window-accept-focus "accept-focus"
1996                          "gboolean" t t)
1997                         (allow-grow gtk-window-allow-grow "allow-grow"
1998                          "gboolean" t t)
1999                         (allow-shrink gtk-window-allow-shrink "allow-shrink"
2000                          "gboolean" t t)
2001                         (decorated gtk-window-decorated "decorated" "gboolean"
2002                          t t)
2003                         (default-height gtk-window-default-height
2004                          "default-height" "gint" t t)
2005                         (default-width gtk-window-default-width "default-width"
2006                          "gint" t t)
2007                         (deletable gtk-window-deletable "deletable" "gboolean"
2008                          t t)
2009                         (destroy-with-parent gtk-window-destroy-with-parent
2010                          "destroy-with-parent" "gboolean" t t)
2011                         (focus-on-map gtk-window-focus-on-map "focus-on-map"
2012                          "gboolean" t t)
2013                         (gravity gtk-window-gravity "gravity" "GdkGravity" t t)
2014                         (has-toplevel-focus gtk-window-has-toplevel-focus
2015                          "has-toplevel-focus" "gboolean" t nil)
2016                         (icon gtk-window-icon "icon" "GdkPixbuf" t t)
2017                         (icon-name gtk-window-icon-name "icon-name"
2018                          "gchararray" t t)
2019                         (is-active gtk-window-is-active "is-active" "gboolean"
2020                          t nil)
2021                         (modal gtk-window-modal "modal" "gboolean" t t)
2022                         (opacity gtk-window-opacity "opacity" "gdouble" t t)
2023                         (resizable gtk-window-resizable "resizable" "gboolean"
2024                          t t)
2025                         (role gtk-window-role "role" "gchararray" t t)
2026                         (screen gtk-window-screen "screen" "GdkScreen" t t)
2027                         (skip-pager-hint gtk-window-skip-pager-hint
2028                          "skip-pager-hint" "gboolean" t t)
2029                         (skip-taskbar-hint gtk-window-skip-taskbar-hint
2030                          "skip-taskbar-hint" "gboolean" t t)
2031                         (startup-id gtk-window-startup-id "startup-id"
2032                          "gchararray" nil t)
2033                         (title gtk-window-title "title" "gchararray" t t)
2034                         (transient-for gtk-window-transient-for "transient-for"
2035                          "GtkWindow" t t)
2036                         (type gtk-window-type "type" "GtkWindowType" t nil)
2037                         (type-hint gtk-window-type-hint "type-hint"
2038                          "GdkWindowTypeHint" t t)
2039                         (urgency-hint gtk-window-urgency-hint "urgency-hint"
2040                          "gboolean" t t)
2041                         (window-position gtk-window-window-position
2042                          "window-position" "GtkWindowPosition" t t)
2043                         (:cffi focus gtk-window-focus (g-object widget)
2044                          "gtk_window_get_focus" "gtk_window_set_focus")
2045                         (:cffi default-widget gtk-window-default-widget
2046                          (g-object widget) "gtk_window_get_default_widget"
2047                          "gtk_window_set_default")
2048                         (:cffi has-frame gtk-window-has-frame :boolean
2049                          "gtk_window_get_has_frame" "gtk_window_set_has_frame")
2050                         (:cffi mnemonic-modifier gtk-window-mnemonic-modifier
2051                          (g-object modifier-type)
2052                          "gtk_window_get_mnemonic_modifier"
2053                          "gtk_window_set_mnemonic_modifier")
2054                         (:cffi icon-list gtk-window-icon-list
2055                          (glist pixbuf :free-from-foreign t :free-to-foreign t)
2056                          "gtk_window_get_icon_list" "gtk_window_set_icon_list")
2057                         (:cffi group gtk-window-group (g-object window-group)
2058                          "gtk_window_get_group" nil)
2059                         (:cffi keep-above gtk-window-keep-above :boolean nil
2060                          "gtk_window_set_keep_above")
2061                         (:cffi keep-below gtk-window-keep-below :boolean nil
2062                          "gtk_window_set_keep_below")))
2063
2064 (define-g-object-class "GtkAssistant" assistant
2065                        (:superclass gtk-window :export t :interfaces
2066                         ("AtkImplementorIface" "GtkBuildable")
2067                         :type-initializer "gtk_assistant_get_type")
2068                        ((:cffi current-page assistant-current-page :int
2069                          "gtk_assistant_get_current_page"
2070                          "gtk_assistant_set_current_page")
2071                         (:cffi n-pages assistant-n-pages :int
2072                          "gtk_assistant_get_n_pages" nil)
2073                         (:cffi forward-page-function
2074                          assistant-forward-page-function nil nil
2075                          set-assistant-forward-page-function)))
2076
2077 (define-g-object-class "GtkDialog" dialog
2078                        (:superclass gtk-window :export t :interfaces
2079                         ("AtkImplementorIface" "GtkBuildable")
2080                         :type-initializer "gtk_dialog_get_type")
2081                        ((has-separator dialog-has-separator "has-separator"
2082                          "gboolean" t t)
2083                         (:cffi content-area dialog-content-area
2084                          (g-object v-box) "gtk_dialog_get_content_area" nil)
2085                         (:cffi action-area dialog-action-area (g-object widget)
2086                          "gtk_dialog_get_action_area" nil)
2087                         (:cffi default-response dialog-default-response
2088                          response-type nil "gtk_dialog_set_default_response")))
2089
2090 (define-g-object-class "GtkAboutDialog" about-dialog
2091                        (:superclass dialog :export t :interfaces
2092                         ("AtkImplementorIface" "GtkBuildable")
2093                         :type-initializer "gtk_about_dialog_get_type")
2094                        ((artists about-dialog-artists "artists" "GStrv" t t)
2095                         (authors about-dialog-authors "authors" "GStrv" t t)
2096                         (comments about-dialog-comments "comments" "gchararray"
2097                          t t)
2098                         (copyright about-dialog-copyright "copyright"
2099                          "gchararray" t t)
2100                         (documenters about-dialog-documenters "documenters"
2101                          "GStrv" t t)
2102                         (license about-dialog-license "license" "gchararray" t
2103                          t)
2104                         (logo about-dialog-logo "logo" "GdkPixbuf" t t)
2105                         (logo-icon-name about-dialog-logo-icon-name
2106                          "logo-icon-name" "gchararray" t t)
2107                         (program-name about-dialog-program-name "program-name"
2108                          "gchararray" t t)
2109                         (translator-credits about-dialog-translator-credits
2110                          "translator-credits" "gchararray" t t)
2111                         (version about-dialog-version "version" "gchararray" t
2112                          t)
2113                         (website about-dialog-website "website" "gchararray" t
2114                          t)
2115                         (website-label about-dialog-website-label
2116                          "website-label" "gchararray" t t)
2117                         (wrap-license about-dialog-wrap-license "wrap-license"
2118                          "gboolean" t t)))
2119
2120 (define-g-object-class "GtkColorSelectionDialog" color-selection-dialog
2121                        (:superclass dialog :export t :interfaces
2122                         ("AtkImplementorIface" "GtkBuildable")
2123                         :type-initializer
2124                         "gtk_color_selection_dialog_get_type")
2125                        ((cancel-button color-selection-dialog-cancel-button
2126                          "cancel-button" "GtkWidget" t nil)
2127                         (color-selection color-selection-dialog-color-selection
2128                          "color-selection" "GtkWidget" t nil)
2129                         (help-button color-selection-dialog-help-button
2130                          "help-button" "GtkWidget" t nil)
2131                         (ok-button color-selection-dialog-ok-button "ok-button"
2132                          "GtkWidget" t nil)))
2133
2134 (define-g-object-class "GtkFileChooserDialog" file-chooser-dialog
2135                        (:superclass dialog :export t :interfaces
2136                         ("AtkImplementorIface" "GtkBuildable" "GtkFileChooser")
2137                         :type-initializer "gtk_file_chooser_dialog_get_type")
2138                        nil)
2139
2140 (define-g-object-class "GtkFontSelectionDialog" font-selection-dialog
2141                        (:superclass dialog :export t :interfaces
2142                         ("AtkImplementorIface" "GtkBuildable")
2143                         :type-initializer "gtk_font_selection_dialog_get_type")
2144                        ((:cffi font-name font-selection-dialog-font-name
2145                          (g-string :free-from-foreign t :free-to-foreign t)
2146                          "gtk_font_selection_dialog_get_font_name"
2147                          "gtk_font_selection_dialog_set_font_name")
2148                         (:cffi preview-text font-selection-dialog-preview-text
2149                          :string "gtk_font_selection_dialog_get_preview_text"
2150                          "gtk_font_selection_dialog_set_preview_text")
2151                         (:cffi apply-button font-selection-dialog-apply-button
2152                          g-object "gtk_font_selection_dialog_get_apply_button"
2153                          nil)
2154                         (:cffi cancel-button
2155                          font-selection-dialog-cancel-button g-object
2156                          "gtk_font_selection_dialog_get_cancel_button" nil)
2157                         (:cffi ok-button font-selection-dialog-ok-button
2158                          g-object "gtk_font_selection_dialog_get_ok_button"
2159                          nil)))
2160
2161 (define-g-object-class "GtkInputDialog" input-dialog
2162                        (:superclass dialog :export t :interfaces
2163                         ("AtkImplementorIface" "GtkBuildable")
2164                         :type-initializer "gtk_input_dialog_get_type")
2165                        nil)
2166
2167 (define-g-object-class "GtkMessageDialog" message-dialog
2168                        (:superclass dialog :export t :interfaces
2169                         ("AtkImplementorIface" "GtkBuildable")
2170                         :type-initializer "gtk_message_dialog_get_type")
2171                        ((buttons message-dialog-buttons "buttons"
2172                          "GtkButtonsType" nil nil)
2173                         (image message-dialog-image "image" "GtkWidget" t t)
2174                         (message-type message-dialog-message-type
2175                          "message-type" "GtkMessageType" t t)
2176                         (secondary-text message-dialog-secondary-text
2177                          "secondary-text" "gchararray" t t)
2178                         (secondary-use-markup
2179                          message-dialog-secondary-use-markup
2180                          "secondary-use-markup" "gboolean" t t)
2181                         (text message-dialog-text "text" "gchararray" t t)
2182                         (use-markup message-dialog-use-markup "use-markup"
2183                          "gboolean" t t)))
2184
2185 (define-g-object-class "GtkPageSetupUnixDialog" page-setup-unix-dialog
2186                        (:superclass dialog :export t :interfaces
2187                         ("AtkImplementorIface" "GtkBuildable")
2188                         :type-initializer
2189                         "gtk_page_setup_unix_dialog_get_type")
2190                        ((:cffi page-setup page-setup-unix-dialog-page-setup
2191                          (g-object page-setup)
2192                          "gtk_page_setup_unix_dialog_get_page_setup"
2193                          "gtk_page_setup_unix_dialog_set_page_setup")
2194                         (:cffi print-settings
2195                          page-setup-unix-dialog-print-settings
2196                          (g-object print-settings)
2197                          "gtk_page_setup_unix_dialog_get_print_settings"
2198                          "gtk_page_setup_unix_dialog_set_print_settings")))
2199
2200 (define-g-object-class "GtkPrintUnixDialog" print-unix-dialog
2201                        (:superclass dialog :export t :interfaces
2202                         ("AtkImplementorIface" "GtkBuildable")
2203                         :type-initializer "gtk_print_unix_dialog_get_type")
2204                        ((current-page print-unix-dialog-current-page
2205                          "current-page" "gint" t t)
2206                         (page-setup print-unix-dialog-page-setup "page-setup"
2207                          "GtkPageSetup" t t)
2208                         (print-settings print-unix-dialog-print-settings
2209                          "print-settings" "GtkPrintSettings" t t)
2210                         (selected-printer print-unix-dialog-selected-printer
2211                          "selected-printer" "GtkPrinter" t nil)))
2212
2213 (define-g-object-class "GtkRecentChooserDialog" recent-chooser-dialog
2214                        (:superclass dialog :export t :interfaces
2215                         ("AtkImplementorIface" "GtkBuildable"
2216                          "GtkRecentChooser")
2217                         :type-initializer "gtk_recent_chooser_dialog_get_type")
2218                        nil)
2219
2220 (define-g-object-class "GtkPlug" plug
2221                        (:superclass gtk-window :export t :interfaces
2222                         ("AtkImplementorIface" "GtkBuildable")
2223                         :type-initializer "gtk_plug_get_type")
2224                        ((embedded plug-embedded "embedded" "gboolean" t nil)
2225                         (socket-window plug-socket-window "socket-window"
2226                          "GdkWindow" t nil)))
2227
2228 (define-g-object-class "GtkBox" box
2229                        (:superclass container :export t :interfaces
2230                         ("AtkImplementorIface" "GtkBuildable" "GtkOrientable")
2231                         :type-initializer "gtk_box_get_type")
2232                        ((homogeneous box-homogeneous "homogeneous" "gboolean" t
2233                          t)
2234                         (spacing box-spacing "spacing" "gint" t t)))
2235
2236 (define-g-object-class "GtkButtonBox" button-box
2237                        (:superclass box :export t :interfaces
2238                         ("AtkImplementorIface" "GtkBuildable" "GtkOrientable")
2239                         :type-initializer "gtk_button_box_get_type")
2240                        ((layout-style button-box-layout-style "layout-style"
2241                          "GtkButtonBoxStyle" t t)))
2242
2243 (define-g-object-class "GtkHButtonBox" h-button-box
2244                        (:superclass button-box :export t :interfaces
2245                         ("AtkImplementorIface" "GtkBuildable" "GtkOrientable")
2246                         :type-initializer "gtk_hbutton_box_get_type")
2247                        nil)
2248
2249 (define-g-object-class "GtkVButtonBox" v-button-box
2250                        (:superclass button-box :export t :interfaces
2251                         ("AtkImplementorIface" "GtkBuildable" "GtkOrientable")
2252                         :type-initializer "gtk_vbutton_box_get_type")
2253                        nil)
2254
2255 (define-g-object-class "GtkHBox" h-box
2256                        (:superclass box :export t :interfaces
2257                         ("AtkImplementorIface" "GtkBuildable" "GtkOrientable")
2258                         :type-initializer "gtk_hbox_get_type")
2259                        nil)
2260
2261 (define-g-object-class "GtkFileChooserButton" file-chooser-button
2262                        (:superclass h-box :export t :interfaces
2263                         ("AtkImplementorIface" "GtkBuildable" "GtkFileChooser"
2264                          "GtkOrientable")
2265                         :type-initializer "gtk_file_chooser_button_get_type")
2266                        ((dialog file-chooser-button-dialog "dialog"
2267                          "GtkFileChooser" nil nil)
2268                         (focus-on-click file-chooser-button-focus-on-click
2269                          "focus-on-click" "gboolean" t t)
2270                         (title file-chooser-button-title "title" "gchararray" t
2271                          t)
2272                         (width-chars file-chooser-button-width-chars
2273                          "width-chars" "gint" t t)))
2274
2275 (define-g-object-class "GtkStatusbar" statusbar
2276                        (:superclass h-box :export t :interfaces
2277                         ("AtkImplementorIface" "GtkBuildable" "GtkOrientable")
2278                         :type-initializer "gtk_statusbar_get_type")
2279                        ((has-resize-grip statusbar-has-resize-grip
2280                          "has-resize-grip" "gboolean" t t)))
2281
2282 (define-g-object-class "GtkVBox" v-box
2283                        (:superclass box :export t :interfaces
2284                         ("AtkImplementorIface" "GtkBuildable" "GtkOrientable")
2285                         :type-initializer "gtk_vbox_get_type")
2286                        nil)
2287
2288 (define-g-object-class "GtkColorSelection" color-selection
2289                        (:superclass v-box :export t :interfaces
2290                         ("AtkImplementorIface" "GtkBuildable" "GtkOrientable")
2291                         :type-initializer "gtk_color_selection_get_type")
2292                        ((current-alpha color-selection-current-alpha
2293                          "current-alpha" "guint" t t)
2294                         (current-color color-selection-current-color
2295                          "current-color" "GdkColor" t t)
2296                         (has-opacity-control
2297                          color-selection-has-opacity-control
2298                          "has-opacity-control" "gboolean" t t)
2299                         (has-palette color-selection-has-palette "has-palette"
2300                          "gboolean" t t)
2301                         (:cffi previous-alpha color-selection-previous-alpha
2302                          :uint16 "gtk_color_selection_get_previous_alpha"
2303                          "gtk_color_selection_set_previous_alpha")
2304                         (:cffi previous-color color-selection-previous-color
2305                          (g-boxed-foreign color)
2306                          gtk-color-selection-get-previous-color
2307                          gtk-color-selection-set-previous-color)))
2308
2309 (define-g-object-class "GtkFileChooserWidget" file-chooser-widget
2310                        (:superclass v-box :export t :interfaces
2311                         ("AtkImplementorIface" "GtkBuildable" "GtkFileChooser"
2312                          "GtkOrientable")
2313                         :type-initializer "gtk_file_chooser_widget_get_type")
2314                        nil)
2315
2316 (define-g-object-class "GtkFontSelection" font-selection
2317                        (:superclass v-box :export t :interfaces
2318                         ("AtkImplementorIface" "GtkBuildable" "GtkOrientable")
2319                         :type-initializer "gtk_font_selection_get_type")
2320                        ((font font-selection-font "font" "GdkFont" t nil)
2321                         (font-name font-selection-font-name "font-name"
2322                          "gchararray" t t)
2323                         (preview-text font-selection-preview-text
2324                          "preview-text" "gchararray" t t)))
2325
2326 (define-g-object-class "GtkGammaCurve" gamma-curve
2327                        (:superclass v-box :export t :interfaces
2328                         ("AtkImplementorIface" "GtkBuildable" "GtkOrientable")
2329                         :type-initializer "gtk_gamma_curve_get_type")
2330                        nil)
2331
2332 (define-g-object-class "GtkRecentChooserWidget" recent-chooser-widget
2333                        (:superclass v-box :export t :interfaces
2334                         ("AtkImplementorIface" "GtkBuildable" "GtkOrientable"
2335                          "GtkRecentChooser")
2336                         :type-initializer "gtk_recent_chooser_widget_get_type")
2337                        nil)
2338
2339 (define-g-object-class "GtkFixed" fixed
2340                        (:superclass container :export t :interfaces
2341                         ("AtkImplementorIface" "GtkBuildable")
2342                         :type-initializer "gtk_fixed_get_type")
2343                        ((:cffi has-window fixed-has-window :boolean
2344                          "gtk_fixed_get_has_window"
2345                          "gtk_fixed_set_has_window")))
2346
2347 (define-g-object-class "GtkIconView" icon-view
2348                        (:superclass container :export t :interfaces
2349                         ("AtkImplementorIface" "GtkBuildable" "GtkCellLayout")
2350                         :type-initializer "gtk_icon_view_get_type")
2351                        ((column-spacing icon-view-column-spacing
2352                          "column-spacing" "gint" t t)
2353                         (columns icon-view-columns "columns" "gint" t t)
2354                         (item-width icon-view-item-width "item-width" "gint" t
2355                          t)
2356                         (margin icon-view-margin "margin" "gint" t t)
2357                         (markup-column icon-view-markup-column "markup-column"
2358                          "gint" t t)
2359                         (model icon-view-model "model" "GtkTreeModel" t t)
2360                         (orientation icon-view-orientation "orientation"
2361                          "GtkOrientation" t t)
2362                         (pixbuf-column icon-view-pixbuf-column "pixbuf-column"
2363                          "gint" t t)
2364                         (reorderable icon-view-reorderable "reorderable"
2365                          "gboolean" t t)
2366                         (row-spacing icon-view-row-spacing "row-spacing" "gint"
2367                          t t)
2368                         (selection-mode icon-view-selection-mode
2369                          "selection-mode" "GtkSelectionMode" t t)
2370                         (spacing icon-view-spacing "spacing" "gint" t t)
2371                         (text-column icon-view-text-column "text-column" "gint"
2372                          t t)
2373                         (tooltip-column icon-view-tooltip-column
2374                          "tooltip-column" "gint" t t)))
2375
2376 (define-g-object-class "GtkLayout" layout
2377                        (:superclass container :export t :interfaces
2378                         ("AtkImplementorIface" "GtkBuildable")
2379                         :type-initializer "gtk_layout_get_type")
2380                        ((hadjustment layout-hadjustment "hadjustment"
2381                          "GtkAdjustment" t t)
2382                         (height layout-height "height" "guint" t t)
2383                         (vadjustment layout-vadjustment "vadjustment"
2384                          "GtkAdjustment" t t)
2385                         (width layout-width "width" "guint" t t)
2386                         (:cffi bin-window layout-bin-window g-object
2387                          "gtk_layout_get_bin_window" nil)))
2388
2389 (define-g-object-class "GtkMenuShell" menu-shell
2390                        (:superclass container :export t :interfaces
2391                         ("AtkImplementorIface" "GtkBuildable")
2392                         :type-initializer "gtk_menu_shell_get_type")
2393                        ((take-focus menu-shell-take-focus "take-focus"
2394                          "gboolean" t t)))
2395
2396 (define-g-object-class "GtkMenu" menu
2397                        (:superclass menu-shell :export t :interfaces
2398                         ("AtkImplementorIface" "GtkBuildable")
2399                         :type-initializer "gtk_menu_get_type")
2400                        ((accel-group menu-accel-group "accel-group"
2401                          "GtkAccelGroup" t t)
2402                         (accel-path menu-accel-path "accel-path" "gchararray" t
2403                          t)
2404                         (active menu-active "active" "gint" t t)
2405                         (attach-widget menu-attach-widget "attach-widget"
2406                          "GtkWidget" t t)
2407                         (monitor menu-monitor "monitor" "gint" t t)
2408                         (tearoff-state menu-tearoff-state "tearoff-state"
2409                          "gboolean" t t)
2410                         (tearoff-title menu-tearoff-title "tearoff-title"
2411                          "gchararray" t t)
2412                         (:cffi screen menu-screen g-object nil
2413                          "gtk_menu_set_screen")
2414                         (:cffi title menu-title
2415                          (:string :free-from-foreign nil :free-to-foreign t)
2416                          "gtk_menu_get_title" "gtk_menu_set_title")))
2417
2418 (define-g-object-class "GtkRecentChooserMenu" recent-chooser-menu
2419                        (:superclass menu :export t :interfaces
2420                         ("AtkImplementorIface" "GtkActivatable" "GtkBuildable"
2421                          "GtkRecentChooser")
2422                         :type-initializer "gtk_recent_chooser_menu_get_type")
2423                        ((show-numbers recent-chooser-menu-show-numbers
2424                          "show-numbers" "gboolean" t t)))
2425
2426 (define-g-object-class "GtkMenuBar" menu-bar
2427                        (:superclass menu-shell :export t :interfaces
2428                         ("AtkImplementorIface" "GtkBuildable")
2429                         :type-initializer "gtk_menu_bar_get_type")
2430                        ((child-pack-direction menu-bar-child-pack-direction
2431                          "child-pack-direction" "GtkPackDirection" t t)
2432                         (pack-direction menu-bar-pack-direction
2433                          "pack-direction" "GtkPackDirection" t t)))
2434
2435 (define-g-object-class "GtkNotebook" notebook
2436                        (:superclass container :export t :interfaces
2437                         ("AtkImplementorIface" "GtkBuildable")
2438                         :type-initializer "gtk_notebook_get_type")
2439                        ((enable-popup notebook-enable-popup "enable-popup"
2440                          "gboolean" t t)
2441                         (group notebook-group "group" "gpointer" t t)
2442                         (group-id notebook-group-id "group-id" "gint" t t)
2443                         (homogeneous notebook-homogeneous "homogeneous"
2444                          "gboolean" t t)
2445                         (page notebook-page "page" "gint" t t)
2446                         (scrollable notebook-scrollable "scrollable" "gboolean"
2447                          t t)
2448                         (show-border notebook-show-border "show-border"
2449                          "gboolean" t t)
2450                         (show-tabs notebook-show-tabs "show-tabs" "gboolean" t
2451                          t)
2452                         (tab-border notebook-tab-border "tab-border" "guint"
2453                          nil t)
2454                         (tab-hborder notebook-tab-hborder "tab-hborder" "guint"
2455                          t t)
2456                         (tab-pos notebook-tab-pos "tab-pos" "GtkPositionType" t
2457                          t)
2458                         (tab-vborder notebook-tab-vborder "tab-vborder" "guint"
2459                          t t)))
2460
2461 (define-g-object-class "GtkPaned" paned
2462                        (:superclass container :export t :interfaces
2463                         ("AtkImplementorIface" "GtkBuildable" "GtkOrientable")
2464                         :type-initializer "gtk_paned_get_type")
2465                        ((max-position paned-max-position "max-position" "gint"
2466                          t nil)
2467                         (min-position paned-min-position "min-position" "gint"
2468                          t nil)
2469                         (position paned-position "position" "gint" t t)
2470                         (position-set paned-position-set "position-set"
2471                          "gboolean" t t)))
2472
2473 (define-g-object-class "GtkHPaned" h-paned
2474                        (:superclass paned :export t :interfaces
2475                         ("AtkImplementorIface" "GtkBuildable" "GtkOrientable")
2476                         :type-initializer "gtk_hpaned_get_type")
2477                        nil)
2478
2479 (define-g-object-class "GtkVPaned" v-paned
2480                        (:superclass paned :export t :interfaces
2481                         ("AtkImplementorIface" "GtkBuildable" "GtkOrientable")
2482                         :type-initializer "gtk_vpaned_get_type")
2483                        nil)
2484
2485 (define-g-object-class "GtkSocket" socket
2486                        (:superclass container :export t :interfaces
2487                         ("AtkImplementorIface" "GtkBuildable")
2488                         :type-initializer "gtk_socket_get_type")
2489                        nil)
2490
2491 (define-g-object-class "GtkTable" table
2492                        (:superclass container :export t :interfaces
2493                         ("AtkImplementorIface" "GtkBuildable")
2494                         :type-initializer "gtk_table_get_type")
2495                        ((column-spacing table-column-spacing "column-spacing"
2496                          "guint" t t)
2497                         (homogeneous table-homogeneous "homogeneous" "gboolean"
2498                          t t)
2499                         (n-columns table-n-columns "n-columns" "guint" t t)
2500                         (n-rows table-n-rows "n-rows" "guint" t t)
2501                         (row-spacing table-row-spacing "row-spacing" "guint" t
2502                          t)))
2503
2504 (define-g-object-class "GtkTextView" text-view
2505                        (:superclass container :export t :interfaces
2506                         ("AtkImplementorIface" "GtkBuildable")
2507                         :type-initializer "gtk_text_view_get_type")
2508                        ((accepts-tab text-view-accepts-tab "accepts-tab"
2509                          "gboolean" t t)
2510                         (buffer text-view-buffer "buffer" "GtkTextBuffer" t t)
2511                         (cursor-visible text-view-cursor-visible
2512                          "cursor-visible" "gboolean" t t)
2513                         (editable text-view-editable "editable" "gboolean" t t)
2514                         (im-module text-view-im-module "im-module" "gchararray"
2515                          t t)
2516                         (indent text-view-indent "indent" "gint" t t)
2517                         (justification text-view-justification "justification"
2518                          "GtkJustification" t t)
2519                         (left-margin text-view-left-margin "left-margin" "gint"
2520                          t t)
2521                         (overwrite text-view-overwrite "overwrite" "gboolean" t
2522                          t)
2523                         (pixels-above-lines text-view-pixels-above-lines
2524                          "pixels-above-lines" "gint" t t)
2525                         (pixels-below-lines text-view-pixels-below-lines
2526                          "pixels-below-lines" "gint" t t)
2527                         (pixels-inside-wrap text-view-pixels-inside-wrap
2528                          "pixels-inside-wrap" "gint" t t)
2529                         (right-margin text-view-right-margin "right-margin"
2530                          "gint" t t)
2531                         (tabs text-view-tabs "tabs" "PangoTabArray" t t)
2532                         (wrap-mode text-view-wrap-mode "wrap-mode"
2533                          "GtkWrapMode" t t)))
2534
2535 (define-g-object-class "GtkToolbar" toolbar
2536                        (:superclass container :export t :interfaces
2537                         ("AtkImplementorIface" "GtkBuildable" "GtkOrientable"
2538                          "GtkToolShell")
2539                         :type-initializer "gtk_toolbar_get_type")
2540                        ((icon-size toolbar-icon-size "icon-size" "gint" t t)
2541                         (icon-size-set toolbar-icon-size-set "icon-size-set"
2542                          "gboolean" t t)
2543                         (show-arrow toolbar-show-arrow "show-arrow" "gboolean"
2544                          t t)
2545                         (toolbar-style toolbar-toolbar-style "toolbar-style"
2546                          "GtkToolbarStyle" t t)
2547                         (tooltips toolbar-tooltips "tooltips" "gboolean" t t)))
2548
2549 (define-g-object-class "GtkTreeView" tree-view
2550                        (:superclass container :export t :interfaces
2551                         ("AtkImplementorIface" "GtkBuildable")
2552                         :type-initializer "gtk_tree_view_get_type")
2553                        ((enable-grid-lines tree-view-enable-grid-lines
2554                          "enable-grid-lines" "GtkTreeViewGridLines" t t)
2555                         (enable-search tree-view-enable-search "enable-search"
2556                          "gboolean" t t)
2557                         (enable-tree-lines tree-view-enable-tree-lines
2558                          "enable-tree-lines" "gboolean" t t)
2559                         (expander-column tree-view-expander-column
2560                          "expander-column" "GtkTreeViewColumn" t t)
2561                         (fixed-height-mode tree-view-fixed-height-mode
2562                          "fixed-height-mode" "gboolean" t t)
2563                         (hadjustment tree-view-hadjustment "hadjustment"
2564                          "GtkAdjustment" t t)
2565                         (headers-clickable tree-view-headers-clickable
2566                          "headers-clickable" "gboolean" t t)
2567                         (headers-visible tree-view-headers-visible
2568                          "headers-visible" "gboolean" t t)
2569                         (hover-expand tree-view-hover-expand "hover-expand"
2570                          "gboolean" t t)
2571                         (hover-selection tree-view-hover-selection
2572                          "hover-selection" "gboolean" t t)
2573                         (level-indentation tree-view-level-indentation
2574                          "level-indentation" "gint" t t)
2575                         (model tree-view-model "model" "GtkTreeModel" t t)
2576                         (reorderable tree-view-reorderable "reorderable"
2577                          "gboolean" t t)
2578                         (rubber-banding tree-view-rubber-banding
2579                          "rubber-banding" "gboolean" t t)
2580                         (rules-hint tree-view-rules-hint "rules-hint"
2581                          "gboolean" t t)
2582                         (search-column tree-view-search-column "search-column"
2583                          "gint" t t)
2584                         (show-expanders tree-view-show-expanders
2585                          "show-expanders" "gboolean" t t)
2586                         (tooltip-column tree-view-tooltip-column
2587                          "tooltip-column" "gint" t t)
2588                         (vadjustment tree-view-vadjustment "vadjustment"
2589                          "GtkAdjustment" t t)
2590                         (:cffi selection tree-view-selection g-object
2591                          "gtk_tree_view_get_selection" nil)
2592                         (:cffi column-drag-function
2593                          tree-view-column-drag-function nil nil
2594                          tree-view-set-column-drag-function)
2595                         (:cffi bin-window tree-view-bin-window g-object
2596                          "gtk_tree_view_get_bin_window" nil)
2597                         (:cffi search-equal-func tree-view-search-equal-func
2598                          nil nil tree-view-set-search-equal-func)
2599                         (:cffi search-entry tree-view-search-entry g-object
2600                          "gtk_tree_view_get_search_entry"
2601                          "gtk_tree_view_set_search_entry")
2602                         (:cffi search-position-func
2603                          tree-view-search-position-func nil nil
2604                          tree-view-set-search-position-func)
2605                         (:cffi row-separator-func tree-view-row-separator-func
2606                          nil nil tree-view-set-row-separartor-func)))
2607
2608 (define-g-object-class "GtkDrawingArea" drawing-area
2609                        (:superclass widget :export t :interfaces
2610                         ("AtkImplementorIface" "GtkBuildable")
2611                         :type-initializer "gtk_drawing_area_get_type")
2612                        nil)
2613
2614 (define-g-object-class "GtkCurve" curve
2615                        (:superclass drawing-area :export t :interfaces
2616                         ("AtkImplementorIface" "GtkBuildable")
2617                         :type-initializer "gtk_curve_get_type")
2618                        ((curve-type curve-curve-type "curve-type"
2619                          "GtkCurveType" t t)
2620                         (max-x curve-max-x "max-x" "gfloat" t t)
2621                         (max-y curve-max-y "max-y" "gfloat" t t)
2622                         (min-x curve-min-x "min-x" "gfloat" t t)
2623                         (min-y curve-min-y "min-y" "gfloat" t t)))
2624
2625 (define-g-object-class "GtkEntry" entry
2626                        (:superclass widget :export t :interfaces
2627                         ("AtkImplementorIface" "GtkBuildable" "GtkCellEditable"
2628                          "GtkEditable")
2629                         :type-initializer "gtk_entry_get_type")
2630                        ((activates-default entry-activates-default
2631                          "activates-default" "gboolean" t t)
2632                         (caps-lock-warning entry-caps-lock-warning
2633                          "caps-lock-warning" "gboolean" t t)
2634                         (cursor-position entry-cursor-position
2635                          "cursor-position" "gint" t nil)
2636                         (editable entry-editable "editable" "gboolean" t t)
2637                         (has-frame entry-has-frame "has-frame" "gboolean" t t)
2638                         (im-module entry-im-module "im-module" "gchararray" t
2639                          t)
2640                         (inner-border entry-inner-border "inner-border"
2641                          "GtkBorder" t t)
2642                         (invisible-char entry-invisible-char "invisible-char"
2643                          "guint" t t)
2644                         (invisible-char-set entry-invisible-char-set
2645                          "invisible-char-set" "gboolean" t t)
2646                         (max-length entry-max-length "max-length" "gint" t t)
2647                         (overwrite-mode entry-overwrite-mode "overwrite-mode"
2648                          "gboolean" t t)
2649                         (primary-icon-activatable
2650                          entry-primary-icon-activatable
2651                          "primary-icon-activatable" "gboolean" t t)
2652                         (primary-icon-gicon entry-primary-icon-gicon
2653                          "primary-icon-gicon" "GIcon" t t)
2654                         (primary-icon-name entry-primary-icon-name
2655                          "primary-icon-name" "gchararray" t t)
2656                         (primary-icon-pixbuf entry-primary-icon-pixbuf
2657                          "primary-icon-pixbuf" "GdkPixbuf" t t)
2658                         (primary-icon-sensitive entry-primary-icon-sensitive
2659                          "primary-icon-sensitive" "gboolean" t t)
2660                         (primary-icon-stock entry-primary-icon-stock
2661                          "primary-icon-stock" "gchararray" t t)
2662                         (primary-icon-storage-type
2663                          entry-primary-icon-storage-type
2664                          "primary-icon-storage-type" "GtkImageType" t nil)
2665                         (primary-icon-tooltip-markup
2666                          entry-primary-icon-tooltip-markup
2667                          "primary-icon-tooltip-markup" "gchararray" t t)
2668                         (primary-icon-tooltip-text
2669                          entry-primary-icon-tooltip-text
2670                          "primary-icon-tooltip-text" "gchararray" t t)
2671                         (progress-fraction entry-progress-fraction
2672                          "progress-fraction" "gdouble" t t)
2673                         (progress-pulse-step entry-progress-pulse-step
2674                          "progress-pulse-step" "gdouble" t t)
2675                         (scroll-offset entry-scroll-offset "scroll-offset"
2676                          "gint" t nil)
2677                         (secondary-icon-activatable
2678                          entry-secondary-icon-activatable
2679                          "secondary-icon-activatable" "gboolean" t t)
2680                         (secondary-icon-gicon entry-secondary-icon-gicon
2681                          "secondary-icon-gicon" "GIcon" t t)
2682                         (secondary-icon-name entry-secondary-icon-name
2683                          "secondary-icon-name" "gchararray" t t)
2684                         (secondary-icon-pixbuf entry-secondary-icon-pixbuf
2685                          "secondary-icon-pixbuf" "GdkPixbuf" t t)
2686                         (secondary-icon-sensitive
2687                          entry-secondary-icon-sensitive
2688                          "secondary-icon-sensitive" "gboolean" t t)
2689                         (secondary-icon-stock entry-secondary-icon-stock
2690                          "secondary-icon-stock" "gchararray" t t)
2691                         (secondary-icon-storage-type
2692                          entry-secondary-icon-storage-type
2693                          "secondary-icon-storage-type" "GtkImageType" t nil)
2694                         (secondary-icon-tooltip-markup
2695                          entry-secondary-icon-tooltip-markup
2696                          "secondary-icon-tooltip-markup" "gchararray" t t)
2697                         (secondary-icon-tooltip-text
2698                          entry-secondary-icon-tooltip-text
2699                          "secondary-icon-tooltip-text" "gchararray" t t)
2700                         (selection-bound entry-selection-bound
2701                          "selection-bound" "gint" t nil)
2702                         (shadow-type entry-shadow-type "shadow-type"
2703                          "GtkShadowType" t t)
2704                         (text entry-text "text" "gchararray" t t)
2705                         (text-length entry-text-length "text-length" "guint" t
2706                          nil)
2707                         (truncate-multiline entry-truncate-multiline
2708                          "truncate-multiline" "gboolean" t t)
2709                         (visibility entry-visibility "visibility" "gboolean" t
2710                          t)
2711                         (width-chars entry-width-chars "width-chars" "gint" t
2712                          t)
2713                         (xalign entry-xalign "xalign" "gfloat" t t)
2714                         (:cffi layout entry-layout g-object
2715                          "gtk_entry_get_layout" nil)
2716                         (:cffi completion entry-completion
2717                          (g-object entry-completion) "gtk_entry_get_completion"
2718                          "gtk_entry_set_completion")
2719                         (:cffi cursor-hadjustment entry-cursor-hadjustment
2720                          (g-object adjustment)
2721                          "gtk_entry_get_cursor_hadjustment"
2722                          "gtk_entry_set_cursor_hadjustment")
2723                         (:cffi layout-offset entry-layout-offset nil
2724                          gtk-entry-layout-offset nil)))
2725
2726 (define-g-object-class "GtkSpinButton" spin-button
2727                        (:superclass entry :export t :interfaces
2728                         ("AtkImplementorIface" "GtkBuildable" "GtkCellEditable"
2729                          "GtkEditable")
2730                         :type-initializer "gtk_spin_button_get_type")
2731                        ((adjustment spin-button-adjustment "adjustment"
2732                          "GtkAdjustment" t t)
2733                         (climb-rate spin-button-climb-rate "climb-rate"
2734                          "gdouble" t t)
2735                         (digits spin-button-digits "digits" "guint" t t)
2736                         (numeric spin-button-numeric "numeric" "gboolean" t t)
2737                         (snap-to-ticks spin-button-snap-to-ticks
2738                          "snap-to-ticks" "gboolean" t t)
2739                         (update-policy spin-button-update-policy
2740                          "update-policy" "GtkSpinButtonUpdatePolicy" t t)
2741                         (value spin-button-value "value" "gdouble" t t)
2742                         (wrap spin-button-wrap "wrap" "gboolean" t t)))
2743
2744 (define-g-object-class "GtkHSV" h-s-v
2745                        (:superclass widget :export t :interfaces
2746                         ("AtkImplementorIface" "GtkBuildable")
2747                         :type-initializer "gtk_hsv_get_type")
2748                        nil)
2749
2750 (define-g-object-class "GtkInvisible" invisible
2751                        (:superclass widget :export t :interfaces
2752                         ("AtkImplementorIface" "GtkBuildable")
2753                         :type-initializer "gtk_invisible_get_type")
2754                        ((screen invisible-screen "screen" "GdkScreen" t t)))
2755
2756 (define-g-object-class "GtkMisc" misc
2757                        (:superclass widget :export t :interfaces
2758                         ("AtkImplementorIface" "GtkBuildable")
2759                         :type-initializer "gtk_misc_get_type")
2760                        ((xalign misc-xalign "xalign" "gfloat" t t)
2761                         (xpad misc-xpad "xpad" "gint" t t)
2762                         (yalign misc-yalign "yalign" "gfloat" t t)
2763                         (ypad misc-ypad "ypad" "gint" t t)))
2764
2765 (define-g-object-class "GtkArrow" arrow
2766                        (:superclass misc :export t :interfaces
2767                         ("AtkImplementorIface" "GtkBuildable")
2768                         :type-initializer "gtk_arrow_get_type")
2769                        ((arrow-type arrow-arrow-type "arrow-type"
2770                          "GtkArrowType" t t)
2771                         (shadow-type arrow-shadow-type "shadow-type"
2772                          "GtkShadowType" t t)))
2773
2774 (define-g-object-class "GtkImage" image
2775                        (:superclass misc :export t :interfaces
2776                         ("AtkImplementorIface" "GtkBuildable")
2777                         :type-initializer "gtk_image_get_type")
2778                        ((file image-file "file" "gchararray" t t)
2779                         (gicon image-gicon "gicon" "GIcon" t t)
2780                         (icon-name image-icon-name "icon-name" "gchararray" t
2781                          t)
2782                         (icon-set image-icon-set "icon-set" "GtkIconSet" t t)
2783                         (icon-size image-icon-size "icon-size" "gint" t t)
2784                         (image image-image "image" "GdkImage" t t)
2785                         (mask image-mask "mask" "GdkPixmap" t t)
2786                         (pixbuf image-pixbuf "pixbuf" "GdkPixbuf" t t)
2787                         (pixbuf-animation image-pixbuf-animation
2788                          "pixbuf-animation" "GdkPixbufAnimation" t t)
2789                         (pixel-size image-pixel-size "pixel-size" "gint" t t)
2790                         (pixmap image-pixmap "pixmap" "GdkPixmap" t t)
2791                         (stock image-stock "stock" "gchararray" t t)
2792                         (storage-type image-storage-type "storage-type"
2793                          "GtkImageType" t nil)))
2794
2795 (define-g-object-class "GtkLabel" label
2796                        (:superclass misc :export t :interfaces
2797                         ("AtkImplementorIface" "GtkBuildable")
2798                         :type-initializer "gtk_label_get_type")
2799                        ((angle label-angle "angle" "gdouble" t t)
2800                         (attributes label-attributes "attributes"
2801                          "PangoAttrList" t t)
2802                         (cursor-position label-cursor-position
2803                          "cursor-position" "gint" t nil)
2804                         (ellipsize label-ellipsize "ellipsize"
2805                          "PangoEllipsizeMode" t t)
2806                         (justify label-justify "justify" "GtkJustification" t
2807                          t)
2808                         (label label-label "label" "gchararray" t t)
2809                         (max-width-chars label-max-width-chars
2810                          "max-width-chars" "gint" t t)
2811                         (mnemonic-keyval label-mnemonic-keyval
2812                          "mnemonic-keyval" "guint" t nil)
2813                         (mnemonic-widget label-mnemonic-widget
2814                          "mnemonic-widget" "GtkWidget" t t)
2815                         (pattern label-pattern "pattern" "gchararray" nil t)
2816                         (selectable label-selectable "selectable" "gboolean" t
2817                          t)
2818                         (selection-bound label-selection-bound
2819                          "selection-bound" "gint" t nil)
2820                         (single-line-mode label-single-line-mode
2821                          "single-line-mode" "gboolean" t t)
2822                         (use-markup label-use-markup "use-markup" "gboolean" t
2823                          t)
2824                         (use-underline label-use-underline "use-underline"
2825                          "gboolean" t t)
2826                         (width-chars label-width-chars "width-chars" "gint" t
2827                          t)
2828                         (wrap label-wrap "wrap" "gboolean" t t)
2829                         (wrap-mode label-wrap-mode "wrap-mode" "PangoWrapMode"
2830                          t t)
2831                         (:cffi line-wrap label-line-wrap :boolean
2832                          "gtk_label_get_line_wrap" "gtk_label_set_line_wrap")
2833                         (:cffi line-wrap-mode label-line-wrap-mode
2834                          pango-wrap-mode "gtk_label_get_line_wrap_mode"
2835                          "gtk_label_set_line_wrap_mode")
2836                         (:cffi layout label-layout g-object
2837                          "gtk_label_get_layout" nil)
2838                         (:cffi selection-bounds label-selection-bounds nil
2839                          gtk-label-get-selection-bounds nil)
2840                         (:cffi layout-offsets label-layout-offsets nil
2841                          gtk-label-get-layout-offsets nil)))
2842
2843 (define-g-object-class "GtkAccelLabel" accel-label
2844                        (:superclass label :export t :interfaces
2845                         ("AtkImplementorIface" "GtkBuildable")
2846                         :type-initializer "gtk_accel_label_get_type")
2847                        ((accel-closure accel-label-accel-closure
2848                          "accel-closure" "GClosure" t t)
2849                         (accel-widget accel-label-accel-widget "accel-widget"
2850                          "GtkWidget" t t)))
2851
2852 (define-g-object-class "GtkProgress" progress
2853                        (:superclass widget :export t :interfaces
2854                         ("AtkImplementorIface" "GtkBuildable")
2855                         :type-initializer "gtk_progress_get_type")
2856                        ((activity-mode progress-activity-mode "activity-mode"
2857                          "gboolean" t t)
2858                         (show-text progress-show-text "show-text" "gboolean" t
2859                          t)
2860                         (text-xalign progress-text-xalign "text-xalign"
2861                          "gfloat" t t)
2862                         (text-yalign progress-text-yalign "text-yalign"
2863                          "gfloat" t t)))
2864
2865 (define-g-object-class "GtkProgressBar" progress-bar
2866                        (:superclass progress :export t :interfaces
2867                         ("AtkImplementorIface" "GtkBuildable")
2868                         :type-initializer "gtk_progress_bar_get_type")
2869                        ((activity-blocks progress-bar-activity-blocks
2870                          "activity-blocks" "guint" t t)
2871                         (activity-step progress-bar-activity-step
2872                          "activity-step" "guint" t t)
2873                         (adjustment progress-bar-adjustment "adjustment"
2874                          "GtkAdjustment" t t)
2875                         (bar-style progress-bar-bar-style "bar-style"
2876                          "GtkProgressBarStyle" t t)
2877                         (discrete-blocks progress-bar-discrete-blocks
2878                          "discrete-blocks" "guint" t t)
2879                         (ellipsize progress-bar-ellipsize "ellipsize"
2880                          "PangoEllipsizeMode" t t)
2881                         (fraction progress-bar-fraction "fraction" "gdouble" t
2882                          t)
2883                         (orientation progress-bar-orientation "orientation"
2884                          "GtkProgressBarOrientation" t t)
2885                         (pulse-step progress-bar-pulse-step "pulse-step"
2886                          "gdouble" t t)
2887                         (text progress-bar-text "text" "gchararray" t t)))
2888
2889 (define-g-object-class "GtkRange" range
2890                        (:superclass widget :export t :interfaces
2891                         ("AtkImplementorIface" "GtkBuildable" "GtkOrientable")
2892                         :type-initializer "gtk_range_get_type")
2893                        ((adjustment range-adjustment "adjustment"
2894                          "GtkAdjustment" t t)
2895                         (fill-level range-fill-level "fill-level" "gdouble" t
2896                          t)
2897                         (inverted range-inverted "inverted" "gboolean" t t)
2898                         (lower-stepper-sensitivity
2899                          range-lower-stepper-sensitivity
2900                          "lower-stepper-sensitivity" "GtkSensitivityType" t t)
2901                         (restrict-to-fill-level range-restrict-to-fill-level
2902                          "restrict-to-fill-level" "gboolean" t t)
2903                         (show-fill-level range-show-fill-level
2904                          "show-fill-level" "gboolean" t t)
2905                         (update-policy range-update-policy "update-policy"
2906                          "GtkUpdateType" t t)
2907                         (upper-stepper-sensitivity
2908                          range-upper-stepper-sensitivity
2909                          "upper-stepper-sensitivity" "GtkSensitivityType" t t)))
2910
2911 (define-g-object-class "GtkScale" scale
2912                        (:superclass range :export t :interfaces
2913                         ("AtkImplementorIface" "GtkBuildable" "GtkOrientable")
2914                         :type-initializer "gtk_scale_get_type")
2915                        ((digits scale-digits "digits" "gint" t t)
2916                         (draw-value scale-draw-value "draw-value" "gboolean" t
2917                          t)
2918                         (value-pos scale-value-pos "value-pos"
2919                          "GtkPositionType" t t)))
2920
2921 (define-g-object-class "GtkHScale" h-scale
2922                        (:superclass scale :export t :interfaces
2923                         ("AtkImplementorIface" "GtkBuildable" "GtkOrientable")
2924                         :type-initializer "gtk_hscale_get_type")
2925                        nil)
2926
2927 (define-g-object-class "GtkVScale" v-scale
2928                        (:superclass scale :export t :interfaces
2929                         ("AtkImplementorIface" "GtkBuildable" "GtkOrientable")
2930                         :type-initializer "gtk_vscale_get_type")
2931                        nil)
2932
2933 (define-g-object-class "GtkScrollbar" scrollbar
2934                        (:superclass range :export t :interfaces
2935                         ("AtkImplementorIface" "GtkBuildable" "GtkOrientable")
2936                         :type-initializer "gtk_scrollbar_get_type")
2937                        nil)
2938
2939 (define-g-object-class "GtkHScrollbar" h-scrollbar
2940                        (:superclass scrollbar :export t :interfaces
2941                         ("AtkImplementorIface" "GtkBuildable" "GtkOrientable")
2942                         :type-initializer "gtk_hscrollbar_get_type")
2943                        nil)
2944
2945 (define-g-object-class "GtkVScrollbar" v-scrollbar
2946                        (:superclass scrollbar :export t :interfaces
2947                         ("AtkImplementorIface" "GtkBuildable" "GtkOrientable")
2948                         :type-initializer "gtk_vscrollbar_get_type")
2949                        nil)
2950
2951 (define-g-object-class "GtkRuler" ruler
2952                        (:superclass widget :export t :interfaces
2953                         ("AtkImplementorIface" "GtkBuildable" "GtkOrientable")
2954                         :type-initializer "gtk_ruler_get_type")
2955                        ((lower ruler-lower "lower" "gdouble" t t)
2956                         (max-size ruler-max-size "max-size" "gdouble" t t)
2957                         (metric ruler-metric "metric" "GtkMetricType" t t)
2958                         (position ruler-position "position" "gdouble" t t)
2959                         (upper ruler-upper "upper" "gdouble" t t)))
2960
2961 (define-g-object-class "GtkHRuler" h-ruler
2962                        (:superclass ruler :export t :interfaces
2963                         ("AtkImplementorIface" "GtkBuildable" "GtkOrientable")
2964                         :type-initializer "gtk_hruler_get_type")
2965                        nil)
2966
2967 (define-g-object-class "GtkVRuler" v-ruler
2968                        (:superclass ruler :export t :interfaces
2969                         ("AtkImplementorIface" "GtkBuildable" "GtkOrientable")
2970                         :type-initializer "gtk_vruler_get_type")
2971                        nil)
2972
2973 (define-g-object-class "GtkSeparator" separator
2974                        (:superclass widget :export t :interfaces
2975                         ("AtkImplementorIface" "GtkBuildable" "GtkOrientable")
2976                         :type-initializer "gtk_separator_get_type")
2977                        nil)
2978
2979 (define-g-object-class "GtkHSeparator" h-separator
2980                        (:superclass separator :export t :interfaces
2981                         ("AtkImplementorIface" "GtkBuildable" "GtkOrientable")
2982                         :type-initializer "gtk_hseparator_get_type")
2983                        nil)
2984
2985 (define-g-object-class "GtkVSeparator" v-separator
2986                        (:superclass separator :export t :interfaces
2987                         ("AtkImplementorIface" "GtkBuildable" "GtkOrientable")
2988                         :type-initializer "gtk_vseparator_get_type")
2989                        nil)
2990
2991 (define-g-object-class "GtkSettings" settings
2992                        (:superclass g-object :export t :interfaces nil
2993                         :type-initializer "gtk_settings_get_type")
2994                        ((color-hash settings-color-hash "color-hash"
2995                          "GHashTable" t nil)
2996                         (gtk-alternative-button-order
2997                          settings-gtk-alternative-button-order
2998                          "gtk-alternative-button-order" "gboolean" t t)
2999                         (gtk-alternative-sort-arrows
3000                          settings-gtk-alternative-sort-arrows
3001                          "gtk-alternative-sort-arrows" "gboolean" t t)
3002                         (gtk-button-images settings-gtk-button-images
3003                          "gtk-button-images" "gboolean" t t)
3004                         (gtk-can-change-accels settings-gtk-can-change-accels
3005                          "gtk-can-change-accels" "gboolean" t t)
3006                         (gtk-color-palette settings-gtk-color-palette
3007                          "gtk-color-palette" "gchararray" t t)
3008                         (gtk-color-scheme settings-gtk-color-scheme
3009                          "gtk-color-scheme" "gchararray" t t)
3010                         (gtk-cursor-blink settings-gtk-cursor-blink
3011                          "gtk-cursor-blink" "gboolean" t t)
3012                         (gtk-cursor-blink-time settings-gtk-cursor-blink-time
3013                          "gtk-cursor-blink-time" "gint" t t)
3014                         (gtk-cursor-blink-timeout
3015                          settings-gtk-cursor-blink-timeout
3016                          "gtk-cursor-blink-timeout" "gint" t t)
3017                         (gtk-cursor-theme-name settings-gtk-cursor-theme-name
3018                          "gtk-cursor-theme-name" "gchararray" t t)
3019                         (gtk-cursor-theme-size settings-gtk-cursor-theme-size
3020                          "gtk-cursor-theme-size" "gint" t t)
3021                         (gtk-dnd-drag-threshold settings-gtk-dnd-drag-threshold
3022                          "gtk-dnd-drag-threshold" "gint" t t)
3023                         (gtk-double-click-distance
3024                          settings-gtk-double-click-distance
3025                          "gtk-double-click-distance" "gint" t t)
3026                         (gtk-double-click-time settings-gtk-double-click-time
3027                          "gtk-double-click-time" "gint" t t)
3028                         (gtk-enable-accels settings-gtk-enable-accels
3029                          "gtk-enable-accels" "gboolean" t t)
3030                         (gtk-enable-animations settings-gtk-enable-animations
3031                          "gtk-enable-animations" "gboolean" t t)
3032                         (gtk-enable-event-sounds
3033                          settings-gtk-enable-event-sounds
3034                          "gtk-enable-event-sounds" "gboolean" t t)
3035                         (gtk-enable-input-feedback-sounds
3036                          settings-gtk-enable-input-feedback-sounds
3037                          "gtk-enable-input-feedback-sounds" "gboolean" t t)
3038                         (gtk-enable-mnemonics settings-gtk-enable-mnemonics
3039                          "gtk-enable-mnemonics" "gboolean" t t)
3040                         (gtk-enable-tooltips settings-gtk-enable-tooltips
3041                          "gtk-enable-tooltips" "gboolean" t t)
3042                         (gtk-entry-password-hint-timeout
3043                          settings-gtk-entry-password-hint-timeout
3044                          "gtk-entry-password-hint-timeout" "guint" t t)
3045                         (gtk-entry-select-on-focus
3046                          settings-gtk-entry-select-on-focus
3047                          "gtk-entry-select-on-focus" "gboolean" t t)
3048                         (gtk-error-bell settings-gtk-error-bell
3049                          "gtk-error-bell" "gboolean" t t)
3050                         (gtk-fallback-icon-theme
3051                          settings-gtk-fallback-icon-theme
3052                          "gtk-fallback-icon-theme" "gchararray" t t)
3053                         (gtk-file-chooser-backend
3054                          settings-gtk-file-chooser-backend
3055                          "gtk-file-chooser-backend" "gchararray" t t)
3056                         (gtk-font-name settings-gtk-font-name "gtk-font-name"
3057                          "gchararray" t t)
3058                         (gtk-fontconfig-timestamp
3059                          settings-gtk-fontconfig-timestamp
3060                          "gtk-fontconfig-timestamp" "guint" t t)
3061                         (gtk-icon-sizes settings-gtk-icon-sizes
3062                          "gtk-icon-sizes" "gchararray" t t)
3063                         (gtk-icon-theme-name settings-gtk-icon-theme-name
3064                          "gtk-icon-theme-name" "gchararray" t t)
3065                         (gtk-im-module settings-gtk-im-module "gtk-im-module"
3066                          "gchararray" t t)
3067                         (gtk-key-theme-name settings-gtk-key-theme-name
3068                          "gtk-key-theme-name" "gchararray" t t)
3069                         (gtk-keynav-cursor-only settings-gtk-keynav-cursor-only
3070                          "gtk-keynav-cursor-only" "gboolean" t t)
3071                         (gtk-keynav-wrap-around settings-gtk-keynav-wrap-around
3072                          "gtk-keynav-wrap-around" "gboolean" t t)
3073                         (gtk-label-select-on-focus
3074                          settings-gtk-label-select-on-focus
3075                          "gtk-label-select-on-focus" "gboolean" t t)
3076                         (gtk-menu-bar-accel settings-gtk-menu-bar-accel
3077                          "gtk-menu-bar-accel" "gchararray" t t)
3078                         (gtk-menu-bar-popup-delay
3079                          settings-gtk-menu-bar-popup-delay
3080                          "gtk-menu-bar-popup-delay" "gint" t t)
3081                         (gtk-menu-images settings-gtk-menu-images
3082                          "gtk-menu-images" "gboolean" t t)
3083                         (gtk-menu-popdown-delay settings-gtk-menu-popdown-delay
3084                          "gtk-menu-popdown-delay" "gint" t t)
3085                         (gtk-menu-popup-delay settings-gtk-menu-popup-delay
3086                          "gtk-menu-popup-delay" "gint" t t)
3087                         (gtk-modules settings-gtk-modules "gtk-modules"
3088                          "gchararray" t t)
3089                         (gtk-print-backends settings-gtk-print-backends
3090                          "gtk-print-backends" "gchararray" t t)
3091                         (gtk-print-preview-command
3092                          settings-gtk-print-preview-command
3093                          "gtk-print-preview-command" "gchararray" t t)
3094                         (gtk-recent-files-limit settings-gtk-recent-files-limit
3095                          "gtk-recent-files-limit" "gint" t t)
3096                         (gtk-recent-files-max-age
3097                          settings-gtk-recent-files-max-age
3098                          "gtk-recent-files-max-age" "gint" t t)
3099                         (gtk-scrolled-window-placement
3100                          settings-gtk-scrolled-window-placement
3101                          "gtk-scrolled-window-placement" "GtkCornerType" t t)
3102                         (gtk-show-input-method-menu
3103                          settings-gtk-show-input-method-menu
3104                          "gtk-show-input-method-menu" "gboolean" t t)
3105                         (gtk-show-unicode-menu settings-gtk-show-unicode-menu
3106                          "gtk-show-unicode-menu" "gboolean" t t)
3107                         (gtk-sound-theme-name settings-gtk-sound-theme-name
3108                          "gtk-sound-theme-name" "gchararray" t t)
3109                         (gtk-split-cursor settings-gtk-split-cursor
3110                          "gtk-split-cursor" "gboolean" t t)
3111                         (gtk-theme-name settings-gtk-theme-name
3112                          "gtk-theme-name" "gchararray" t t)
3113                         (gtk-timeout-expand settings-gtk-timeout-expand
3114                          "gtk-timeout-expand" "gint" t t)
3115                         (gtk-timeout-initial settings-gtk-timeout-initial
3116                          "gtk-timeout-initial" "gint" t t)
3117                         (gtk-timeout-repeat settings-gtk-timeout-repeat
3118                          "gtk-timeout-repeat" "gint" t t)
3119                         (gtk-toolbar-icon-size settings-gtk-toolbar-icon-size
3120                          "gtk-toolbar-icon-size" "GtkIconSize" t t)
3121                         (gtk-toolbar-style settings-gtk-toolbar-style
3122                          "gtk-toolbar-style" "GtkToolbarStyle" t t)
3123                         (gtk-tooltip-browse-mode-timeout
3124                          settings-gtk-tooltip-browse-mode-timeout
3125                          "gtk-tooltip-browse-mode-timeout" "gint" t t)
3126                         (gtk-tooltip-browse-timeout
3127                          settings-gtk-tooltip-browse-timeout
3128                          "gtk-tooltip-browse-timeout" "gint" t t)
3129                         (gtk-tooltip-timeout settings-gtk-tooltip-timeout
3130                          "gtk-tooltip-timeout" "gint" t t)
3131                         (gtk-touchscreen-mode settings-gtk-touchscreen-mode
3132                          "gtk-touchscreen-mode" "gboolean" t t)
3133                         (gtk-xft-antialias settings-gtk-xft-antialias
3134                          "gtk-xft-antialias" "gint" t t)
3135                         (gtk-xft-dpi settings-gtk-xft-dpi "gtk-xft-dpi" "gint"
3136                          t t)
3137                         (gtk-xft-hinting settings-gtk-xft-hinting
3138                          "gtk-xft-hinting" "gint" t t)
3139                         (gtk-xft-hintstyle settings-gtk-xft-hintstyle
3140                          "gtk-xft-hintstyle" "gchararray" t t)
3141                         (gtk-xft-rgba settings-gtk-xft-rgba "gtk-xft-rgba"
3142                          "gchararray" t t)))
3143
3144 (define-g-object-class "GtkRcStyle" rc-style
3145                        (:superclass g-object :export t :interfaces nil
3146                         :type-initializer "gtk_rc_style_get_type")
3147                        nil)
3148
3149 (define-g-object-class "GtkStyle" style
3150                        (:superclass g-object :export t :interfaces nil
3151                         :type-initializer "gtk_style_get_type")
3152                        nil)
3153
3154 (define-g-object-class "GtkTooltip" tooltip
3155                        (:superclass g-object :export t :interfaces nil
3156                         :type-initializer "gtk_tooltip_get_type")
3157                        nil)
3158
3159 (define-g-object-class "GtkAccelGroup" accel-group
3160                        (:superclass g-object :export t :interfaces nil
3161                         :type-initializer "gtk_accel_group_get_type")
3162                        ((is-locked accel-group-is-locked "is-locked" "gboolean"
3163                          t nil)
3164                         (modifier-mask accel-group-modifier-mask
3165                          "modifier-mask" "GdkModifierType" t nil)))
3166
3167 (define-g-object-class "GtkAccelMap" accel-map
3168                        (:superclass g-object :export t :interfaces nil
3169                         :type-initializer "gtk_accel_map_get_type")
3170                        nil)
3171
3172 (define-g-object-class "GtkAction" action
3173                        (:superclass g-object :export t :interfaces
3174                         ("GtkBuildable") :type-initializer
3175                         "gtk_action_get_type")
3176                        ((action-group action-action-group "action-group"
3177                          "GtkActionGroup" t t)
3178                         (gicon action-gicon "gicon" "GIcon" t t)
3179                         (hide-if-empty action-hide-if-empty "hide-if-empty"
3180                          "gboolean" t t)
3181                         (icon-name action-icon-name "icon-name" "gchararray" t
3182                          t)
3183                         (is-important action-is-important "is-important"
3184                          "gboolean" t t)
3185                         (label action-label "label" "gchararray" t t)
3186                         (name action-name "name" "gchararray" t nil)
3187                         (sensitive action-sensitive "sensitive" "gboolean" t t)
3188                         (short-label action-short-label "short-label"
3189                          "gchararray" t t)
3190                         (stock-id action-stock-id "stock-id" "gchararray" t t)
3191                         (tooltip action-tooltip "tooltip" "gchararray" t t)
3192                         (visible action-visible "visible" "gboolean" t t)
3193                         (visible-horizontal action-visible-horizontal
3194                          "visible-horizontal" "gboolean" t t)
3195                         (visible-overflown action-visible-overflown
3196                          "visible-overflown" "gboolean" t t)
3197                         (visible-vertical action-visible-vertical
3198                          "visible-vertical" "gboolean" t t)
3199                         (:cffi accel-path action-accel-path
3200                          (:string :free-from-foreign nil :free-to-foreign t)
3201                          "gtk_action_get_accel_path"
3202                          "gtk_action_set_accel_path")
3203                         (:cffi accel-group action-accel-group g-object nil
3204                          "gtk_action_set_accel_group")))
3205
3206 (define-g-object-class "GtkActionGroup" action-group
3207                        (:superclass g-object :export t :interfaces
3208                         ("GtkBuildable") :type-initializer
3209                         "gtk_action_group_get_type")
3210                        ((name action-group-name "name" "gchararray" t nil)
3211                         (sensitive action-group-sensitive "sensitive"
3212                          "gboolean" t t)
3213                         (visible action-group-visible "visible" "gboolean" t t)
3214                         (:cffi translate-function
3215                          action-group-translate-function nil nil
3216                          action-group-set-translate-func)
3217                         (:cffi translation-domain
3218                          action-group-translation-domain nil nil
3219                          gtk-action-group-set-translation-domain)))
3220
3221 (define-g-object-class "GtkBuilder" builder
3222                        (:superclass g-object :export t :interfaces nil
3223                         :type-initializer "gtk_builder_get_type")
3224                        ((translation-domain builder-translation-domain
3225                          "translation-domain" "gchararray" t t)))
3226
3227 (define-g-object-class "GtkClipboard" clipboard
3228                        (:superclass g-object :export t :interfaces nil
3229                         :type-initializer "gtk_clipboard_get_type")
3230                        nil)
3231
3232 (define-g-object-class "GtkEntryCompletion" entry-completion
3233                        (:superclass g-object :export t :interfaces
3234                         ("GtkBuildable" "GtkCellLayout") :type-initializer
3235                         "gtk_entry_completion_get_type")
3236                        ((inline-completion entry-completion-inline-completion
3237                          "inline-completion" "gboolean" t t)
3238                         (inline-selection entry-completion-inline-selection
3239                          "inline-selection" "gboolean" t t)
3240                         (minimum-key-length entry-completion-minimum-key-length
3241                          "minimum-key-length" "gint" t t)
3242                         (model entry-completion-model "model" "GtkTreeModel" t
3243                          t)
3244                         (popup-completion entry-completion-popup-completion
3245                          "popup-completion" "gboolean" t t)
3246                         (popup-set-width entry-completion-popup-set-width
3247                          "popup-set-width" "gboolean" t t)
3248                         (popup-single-match entry-completion-popup-single-match
3249                          "popup-single-match" "gboolean" t t)
3250                         (text-column entry-completion-text-column "text-column"
3251                          "gint" t t)
3252                         (:cffi entry entry-completion-entry (g-object entry)
3253                          "gtk_entry_completion_get_entry" nil)
3254                         (:cffi match-function entry-completion-match-function
3255                          nil nil gtk-entry-completion-set-match-function)))
3256
3257 (define-g-object-class "GtkIconFactory" icon-factory
3258                        (:superclass g-object :export t :interfaces
3259                         ("GtkBuildable") :type-initializer
3260                         "gtk_icon_factory_get_type")
3261                        nil)
3262
3263 (define-g-object-class "GtkIconTheme" icon-theme
3264                        (:superclass g-object :export t :interfaces nil
3265                         :type-initializer "gtk_icon_theme_get_type")
3266                        nil)
3267
3268 (define-g-object-class "GtkIMContext" i-m-context
3269                        (:superclass g-object :export t :interfaces nil
3270                         :type-initializer "gtk_im_context_get_type") nil)
3271
3272 (define-g-object-class "GtkListStore" list-store
3273                        (:superclass g-object :export t :interfaces
3274                         ("GtkBuildable" "GtkTreeDragDest" "GtkTreeDragSource"
3275                          "GtkTreeModel" "GtkTreeSortable")
3276                         :type-initializer "gtk_list_store_get_type")
3277                        nil)
3278
3279 (define-g-object-class "GtkPageSetup" page-setup
3280                        (:superclass g-object :export t :interfaces nil
3281                         :type-initializer "gtk_page_setup_get_type")
3282                        nil)
3283
3284 (define-g-object-class "GtkPrintContext" print-context
3285                        (:superclass g-object :export t :interfaces nil
3286                         :type-initializer "gtk_print_context_get_type")
3287                        nil)
3288
3289 (define-g-object-class "GtkPrintOperation" print-operation
3290                        (:superclass g-object :export t :interfaces
3291                         ("GtkPrintOperationPreview") :type-initializer
3292                         "gtk_print_operation_get_type")
3293                        ((allow-async print-operation-allow-async "allow-async"
3294                          "gboolean" t t)
3295                         (current-page print-operation-current-page
3296                          "current-page" "gint" t t)
3297                         (custom-tab-label print-operation-custom-tab-label
3298                          "custom-tab-label" "gchararray" t t)
3299                         (default-page-setup print-operation-default-page-setup
3300                          "default-page-setup" "GtkPageSetup" t t)
3301                         (export-filename print-operation-export-filename
3302                          "export-filename" "gchararray" t t)
3303                         (job-name print-operation-job-name "job-name"
3304                          "gchararray" t t)
3305                         (n-pages print-operation-n-pages "n-pages" "gint" t t)
3306                         (print-settings print-operation-print-settings
3307                          "print-settings" "GtkPrintSettings" t t)
3308                         (show-progress print-operation-show-progress
3309                          "show-progress" "gboolean" t t)
3310                         (status print-operation-status "status"
3311                          "GtkPrintStatus" t nil)
3312                         (status-string print-operation-status-string
3313                          "status-string" "gchararray" t nil)
3314                         (track-print-status print-operation-track-print-status
3315                          "track-print-status" "gboolean" t t)
3316                         (unit print-operation-unit "unit" "GtkUnit" t t)
3317                         (use-full-page print-operation-use-full-page
3318                          "use-full-page" "gboolean" t t)))
3319
3320 (define-g-object-class "GtkPrintSettings" print-settings
3321                        (:superclass g-object :export t :interfaces nil
3322                         :type-initializer "gtk_print_settings_get_type")
3323                        nil)
3324
3325 (define-g-object-class "GtkRecentManager" recent-manager
3326                        (:superclass g-object :export t :interfaces nil
3327                         :type-initializer "gtk_recent_manager_get_type")
3328                        ((filename recent-manager-filename "filename"
3329                          "gchararray" t nil)
3330                         (limit recent-manager-limit "limit" "gint" t t)
3331                         (size recent-manager-size "size" "gint" t nil)))
3332
3333 (define-g-object-class "GtkSizeGroup" size-group
3334                        (:superclass g-object :export t :interfaces
3335                         ("GtkBuildable") :type-initializer
3336                         "gtk_size_group_get_type")
3337                        ((ignore-hidden size-group-ignore-hidden "ignore-hidden"
3338                          "gboolean" t t)
3339                         (mode size-group-mode "mode" "GtkSizeGroupMode" t t)))
3340
3341 (define-g-object-class "GtkStatusIcon" status-icon
3342                        (:superclass g-object :export t :interfaces nil
3343                         :type-initializer "gtk_status_icon_get_type")
3344                        ((blinking status-icon-blinking "blinking" "gboolean" t
3345                          t)
3346                         (embedded status-icon-embedded "embedded" "gboolean" t
3347                          nil)
3348                         (file status-icon-file "file" "gchararray" nil t)
3349                         (gicon status-icon-gicon "gicon" "GIcon" t t)
3350                         (has-tooltip status-icon-has-tooltip "has-tooltip"
3351                          "gboolean" t t)
3352                         (icon-name status-icon-icon-name "icon-name"
3353                          "gchararray" t t)
3354                         (orientation status-icon-orientation "orientation"
3355                          "GtkOrientation" t nil)
3356                         (pixbuf status-icon-pixbuf "pixbuf" "GdkPixbuf" t t)
3357                         (screen status-icon-screen "screen" "GdkScreen" t t)
3358                         (size status-icon-size "size" "gint" t nil)
3359                         (stock status-icon-stock "stock" "gchararray" t t)
3360                         (storage-type status-icon-storage-type "storage-type"
3361                          "GtkImageType" t nil)
3362                         (tooltip-markup status-icon-tooltip-markup
3363                          "tooltip-markup" "gchararray" t t)
3364                         (tooltip-text status-icon-tooltip-text "tooltip-text"
3365                          "gchararray" t t)
3366                         (visible status-icon-visible "visible" "gboolean" t t)))
3367
3368 (define-g-object-class "GtkTextBuffer" text-buffer
3369                        (:superclass g-object :export t :interfaces nil
3370                         :type-initializer "gtk_text_buffer_get_type")
3371                        ((copy-target-list text-buffer-copy-target-list
3372                          "copy-target-list" "GtkTargetList" t nil)
3373                         (cursor-position text-buffer-cursor-position
3374                          "cursor-position" "gint" t nil)
3375                         (has-selection text-buffer-has-selection
3376                          "has-selection" "gboolean" t nil)
3377                         (paste-target-list text-buffer-paste-target-list
3378                          "paste-target-list" "GtkTargetList" t nil)
3379                         (tag-table text-buffer-tag-table "tag-table"
3380                          "GtkTextTagTable" t nil)
3381                         (text text-buffer-text "text" "gchararray" t t)
3382                         (:cffi modified text-buffer-modified :boolean
3383                          "gtk_text_buffer_get_modified"
3384                          "gtk_text_buffer_set_modified")))
3385
3386 (define-g-object-class "GtkTextChildAnchor" text-child-anchor
3387                        (:superclass g-object :export t :interfaces nil
3388                         :type-initializer "gtk_text_child_anchor_get_type")
3389                        ((:cffi deleted-p text-child-anchor-deleted-p :boolean
3390                          "gtk_text_child_anchor_get_deleted" nil)))
3391
3392 (define-g-object-class "GtkTextMark" text-mark
3393                        (:superclass g-object :export t :interfaces nil
3394                         :type-initializer "gtk_text_mark_get_type")
3395                        ((left-gravity text-mark-left-gravity "left-gravity"
3396                          "gboolean" t nil)
3397                         (name text-mark-name "name" "gchararray" t nil)
3398                         (:cffi visible text-mark-visible :boolean
3399                          "gtk_text_mark_get_visible"
3400                          "gtk_text_mark_set_visible")
3401                         (:cffi deleted text-mark-deleted :boolean
3402                          "gtk_text_mark_get_deleted" nil)
3403                         (:cffi buffer text-mark-buffer (g-object text-buffer)
3404                          "gtk_text_mark_get_buffer" nil)))
3405
3406 (define-g-object-class "GtkTextTag" text-tag
3407                        (:superclass g-object :export t :interfaces nil
3408                         :type-initializer "gtk_text_tag_get_type")
3409                        ((accumulative-margin text-tag-accumulative-margin
3410                          "accumulative-margin" "gboolean" t t)
3411                         (background text-tag-background "background"
3412                          "gchararray" nil t)
3413                         (background-full-height text-tag-background-full-height
3414                          "background-full-height" "gboolean" t t)
3415                         (background-full-height-set
3416                          text-tag-background-full-height-set
3417                          "background-full-height-set" "gboolean" t t)
3418                         (background-gdk text-tag-background-gdk
3419                          "background-gdk" "GdkColor" t t)
3420                         (background-set text-tag-background-set
3421                          "background-set" "gboolean" t t)
3422                         (background-stipple text-tag-background-stipple
3423                          "background-stipple" "GdkPixmap" t t)
3424                         (background-stipple-set text-tag-background-stipple-set
3425                          "background-stipple-set" "gboolean" t t)
3426                         (direction text-tag-direction "direction"
3427                          "GtkTextDirection" t t)
3428                         (editable text-tag-editable "editable" "gboolean" t t)
3429                         (editable-set text-tag-editable-set "editable-set"
3430                          "gboolean" t t)
3431                         (family text-tag-family "family" "gchararray" t t)
3432                         (family-set text-tag-family-set "family-set" "gboolean"
3433                          t t)
3434                         (font text-tag-font "font" "gchararray" t t)
3435                         (font-desc text-tag-font-desc "font-desc"
3436                          "PangoFontDescription" t t)
3437                         (foreground text-tag-foreground "foreground"
3438                          "gchararray" nil t)
3439                         (foreground-gdk text-tag-foreground-gdk
3440                          "foreground-gdk" "GdkColor" t t)
3441                         (foreground-set text-tag-foreground-set
3442                          "foreground-set" "gboolean" t t)
3443                         (foreground-stipple text-tag-foreground-stipple
3444                          "foreground-stipple" "GdkPixmap" t t)
3445                         (foreground-stipple-set text-tag-foreground-stipple-set
3446                          "foreground-stipple-set" "gboolean" t t)
3447                         (indent text-tag-indent "indent" "gint" t t)
3448                         (indent-set text-tag-indent-set "indent-set" "gboolean"
3449                          t t)
3450                         (invisible text-tag-invisible "invisible" "gboolean" t
3451                          t)
3452                         (invisible-set text-tag-invisible-set "invisible-set"
3453                          "gboolean" t t)
3454                         (justification text-tag-justification "justification"
3455                          "GtkJustification" t t)
3456                         (justification-set text-tag-justification-set
3457                          "justification-set" "gboolean" t t)
3458                         (language text-tag-language "language" "gchararray" t
3459                          t)
3460                         (language-set text-tag-language-set "language-set"
3461                          "gboolean" t t)
3462                         (left-margin text-tag-left-margin "left-margin" "gint"
3463                          t t)
3464                         (left-margin-set text-tag-left-margin-set
3465                          "left-margin-set" "gboolean" t t)
3466                         (name text-tag-name "name" "gchararray" t nil)
3467                         (paragraph-background text-tag-paragraph-background
3468                          "paragraph-background" "gchararray" nil t)
3469                         (paragraph-background-gdk
3470                          text-tag-paragraph-background-gdk
3471                          "paragraph-background-gdk" "GdkColor" t t)
3472                         (paragraph-background-set
3473                          text-tag-paragraph-background-set
3474                          "paragraph-background-set" "gboolean" t t)
3475                         (pixels-above-lines text-tag-pixels-above-lines
3476                          "pixels-above-lines" "gint" t t)
3477                         (pixels-above-lines-set text-tag-pixels-above-lines-set
3478                          "pixels-above-lines-set" "gboolean" t t)
3479                         (pixels-below-lines text-tag-pixels-below-lines
3480                          "pixels-below-lines" "gint" t t)
3481                         (pixels-below-lines-set text-tag-pixels-below-lines-set
3482                          "pixels-below-lines-set" "gboolean" t t)
3483                         (pixels-inside-wrap text-tag-pixels-inside-wrap
3484                          "pixels-inside-wrap" "gint" t t)
3485                         (pixels-inside-wrap-set text-tag-pixels-inside-wrap-set
3486                          "pixels-inside-wrap-set" "gboolean" t t)
3487                         (right-margin text-tag-right-margin "right-margin"
3488                          "gint" t t)
3489                         (right-margin-set text-tag-right-margin-set
3490                          "right-margin-set" "gboolean" t t)
3491                         (rise text-tag-rise "rise" "gint" t t)
3492                         (rise-set text-tag-rise-set "rise-set" "gboolean" t t)
3493                         (scale text-tag-scale "scale" "gdouble" t t)
3494                         (scale-set text-tag-scale-set "scale-set" "gboolean" t
3495                          t)
3496                         (size text-tag-size "size" "gint" t t)
3497                         (size-points text-tag-size-points "size-points"
3498                          "gdouble" t t)
3499                         (size-set text-tag-size-set "size-set" "gboolean" t t)
3500                         (stretch text-tag-stretch "stretch" "PangoStretch" t t)
3501                         (stretch-set text-tag-stretch-set "stretch-set"
3502                          "gboolean" t t)
3503                         (strikethrough text-tag-strikethrough "strikethrough"
3504                          "gboolean" t t)
3505                         (strikethrough-set text-tag-strikethrough-set
3506                          "strikethrough-set" "gboolean" t t)
3507                         (style text-tag-style "style" "PangoStyle" t t)
3508                         (style-set text-tag-style-set "style-set" "gboolean" t
3509                          t)
3510                         (tabs text-tag-tabs "tabs" "PangoTabArray" t t)
3511                         (tabs-set text-tag-tabs-set "tabs-set" "gboolean" t t)
3512                         (underline text-tag-underline "underline"
3513                          "PangoUnderline" t t)
3514                         (underline-set text-tag-underline-set "underline-set"
3515                          "gboolean" t t)
3516                         (variant text-tag-variant "variant" "PangoVariant" t t)
3517                         (variant-set text-tag-variant-set "variant-set"
3518                          "gboolean" t t)
3519                         (weight text-tag-weight "weight" "gint" t t)
3520                         (weight-set text-tag-weight-set "weight-set" "gboolean"
3521                          t t)
3522                         (wrap-mode text-tag-wrap-mode "wrap-mode" "GtkWrapMode"
3523                          t t)
3524                         (wrap-mode-set text-tag-wrap-mode-set "wrap-mode-set"
3525                          "gboolean" t t)
3526                         (:cffi priority text-tag-priority :int
3527                          "gtk_text_tag_get_priority"
3528                          "gtk_text_tag_set_priority")))
3529
3530 (define-g-object-class "GtkTextTagTable" text-tag-table
3531                        (:superclass g-object :export t :interfaces nil
3532                         :type-initializer "gtk_text_tag_table_get_type")
3533                        nil)
3534
3535 (define-g-object-class "GtkTreeModelFilter" tree-model-filter
3536                        (:superclass g-object :export t :interfaces
3537                         ("GtkTreeDragSource" "GtkTreeModel") :type-initializer
3538                         "gtk_tree_model_filter_get_type")
3539                        ((child-model tree-model-filter-child-model
3540                          "child-model" "GtkTreeModel" t nil)
3541                         (virtual-root tree-model-filter-virtual-root
3542                          "virtual-root" "GtkTreePath" t nil)))
3543
3544 (define-g-object-class "GtkTreeModelSort" tree-model-sort
3545                        (:superclass g-object :export t :interfaces
3546                         ("GtkTreeDragSource" "GtkTreeModel" "GtkTreeSortable")
3547                         :type-initializer "gtk_tree_model_sort_get_type")
3548                        ((model tree-model-sort-model "model" "GtkTreeModel" t
3549                          nil)))
3550
3551 (define-g-object-class "GtkTreeSelection" tree-selection
3552                        (:superclass g-object :export t :interfaces nil
3553                         :type-initializer "gtk_tree_selection_get_type")
3554                        ((:cffi mode tree-selection-mode selection-mode
3555                          "gtk_tree_selection_get_mode"
3556                          "gtk_tree_selection_set_mode")
3557                         (:cffi select-function tree-selection-select-function
3558                          nil tree-selection-get-selection-function
3559                          tree-selection-set-select-function)
3560                         (:cffi tree-view tree-selection-tree-view
3561                          (g-object tree-view)
3562                          "gtk_tree_selection_get_tree_view" nil)))
3563
3564 (define-g-object-class "GtkTreeStore" tree-store
3565                        (:superclass g-object :export t :interfaces
3566                         ("GtkBuildable" "GtkTreeDragDest" "GtkTreeDragSource"
3567                          "GtkTreeModel" "GtkTreeSortable")
3568                         :type-initializer "gtk_tree_store_get_type")
3569                        nil)
3570
3571 (define-g-object-class "GtkUIManager" ui-manager
3572                        (:superclass g-object :export t :interfaces
3573                         ("GtkBuildable"))
3574                        ((add-tearoffs ui-manager-add-tearoffs "add-tearoffs"
3575                          "gboolean" t t)
3576                         (ui ui-manager-ui "ui" "gchararray" t nil)
3577                         (:cffi accel-group ui-manager-accel-group g-object
3578                          "gtk_ui_manager_get_accel_group" nil)))
3579
3580 (define-g-object-class "GtkWindowGroup" window-group
3581                        (:superclass g-object :export t :interfaces nil
3582                         :type-initializer "gtk_window_group_get_type")
3583                        ((:cffi windows window-group-windows
3584                          (glist (g-object gtk-window))
3585                          "gtk_window_group_list_windows" nil)))
3586
3587 (define-g-object-class "GtkToggleAction" toggle-action
3588                        (:superclass action :export t :interfaces
3589                         ("GtkBuildable") :type-initializer
3590                         "gtk_toggle_action_get_type")
3591                        ((active toggle-action-active "active" "gboolean" t t)
3592                         (draw-as-radio toggle-action-draw-as-radio
3593                          "draw-as-radio" "gboolean" t t)))
3594
3595 (define-g-object-class "GtkRecentAction" recent-action
3596                        (:superclass action :export t :interfaces
3597                         ("GtkBuildable" "GtkRecentChooser") :type-initializer
3598                         "gtk_recent_action_get_type")
3599                        ((show-numbers recent-action-show-numbers "show-numbers"
3600                          "gboolean" t t)))
3601
3602 (define-g-object-class "GtkRadioAction" radio-action
3603                        (:superclass toggle-action :export t :interfaces
3604                         ("GtkBuildable") :type-initializer
3605                         "gtk_radio_action_get_type")
3606                        ((current-value radio-action-current-value
3607                          "current-value" "gint" t t)
3608                         (group radio-action-group "group" "GtkRadioAction" nil
3609                          t)
3610                         (value radio-action-value "value" "gint" t t)))
3611
3612 (define-g-object-class "GtkItemFactory" item-factory
3613                        (:superclass gtk-object :export t :interfaces nil
3614                         :type-initializer "gtk_item_factory_get_type")
3615                        nil)
3616