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