edb5d2dccf3ceba8a617b7ef18c773980e75576f
[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 "GtkHBox" h-box
1501                        (:superclass box :export t :interfaces
1502                         ("AtkImplementorIface" "GtkBuildable")
1503                         :type-initializer "gtk_hbox_get_type")
1504                        nil)
1505
1506 (define-g-object-class "GtkFileChooserButton" file-chooser-button
1507                        (:superclass h-box :export t :interfaces
1508                         ("AtkImplementorIface" "GtkBuildable" "GtkFileChooser")
1509                         :type-initializer "gtk_file_chooser_button_get_type")
1510                        ((dialog file-chooser-button-dialog "dialog"
1511                          "GtkFileChooser" nil nil)
1512                         (focus-on-click file-chooser-button-focus-on-click
1513                          "focus-on-click" "gboolean" t t)
1514                         (title file-chooser-button-title "title" "gchararray" t
1515                          t)
1516                         (width-chars file-chooser-button-width-chars
1517                          "width-chars" "gint" t t)))
1518
1519 (define-g-object-class "GtkStatusbar" statusbar
1520                        (:superclass h-box :export t :interfaces
1521                         ("AtkImplementorIface" "GtkBuildable")
1522                         :type-initializer "gtk_statusbar_get_type")
1523                        ((has-resize-grip statusbar-has-resize-grip
1524                          "has-resize-grip" "gboolean" t t)))
1525
1526 (define-g-object-class "GtkCombo" combo
1527                        (:superclass h-box :export t :interfaces
1528                         ("AtkImplementorIface" "GtkBuildable")
1529                         :type-initializer "gtk_combo_get_type")
1530                        ((enable-arrow-keys combo-enable-arrow-keys
1531                          "enable-arrow-keys" "gboolean" t t)
1532                         (enable-arrows-always combo-enable-arrows-always
1533                          "enable-arrows-always" "gboolean" t t)
1534                         (case-sensitive combo-case-sensitive "case-sensitive"
1535                          "gboolean" t t)
1536                         (allow-empty combo-allow-empty "allow-empty" "gboolean"
1537                          t t)
1538                         (value-in-list combo-value-in-list "value-in-list"
1539                          "gboolean" t t)))
1540
1541 (define-g-object-class "GtkFixed" fixed
1542                        (:superclass container :export t :interfaces
1543                         ("AtkImplementorIface" "GtkBuildable")
1544                         :type-initializer "gtk_fixed_get_type")
1545                        nil)
1546
1547 (define-g-object-class "GtkPaned" paned
1548                        (:superclass container :export t :interfaces
1549                         ("AtkImplementorIface" "GtkBuildable")
1550                         :type-initializer "gtk_paned_get_type")
1551                        ((position paned-position "position" "gint" t t)
1552                         (position-set paned-position-set "position-set"
1553                          "gboolean" t t)
1554                         (min-position paned-min-position "min-position" "gint"
1555                          t nil)
1556                         (max-position paned-max-position "max-position" "gint"
1557                          t nil)))
1558
1559 (define-g-object-class "GtkHPaned" h-paned
1560                        (:superclass paned :export t :interfaces
1561                         ("AtkImplementorIface" "GtkBuildable")
1562                         :type-initializer "gtk_hpaned_get_type")
1563                        nil)
1564
1565 (define-g-object-class "GtkVPaned" v-paned
1566                        (:superclass paned :export t :interfaces
1567                         ("AtkImplementorIface" "GtkBuildable")
1568                         :type-initializer "gtk_vpaned_get_type")
1569                        nil)
1570
1571 (define-g-object-class "GtkLayout" layout
1572                        (:superclass container :export t :interfaces
1573                         ("AtkImplementorIface" "GtkBuildable")
1574                         :type-initializer "gtk_layout_get_type")
1575                        ((hadjustment layout-hadjustment "hadjustment"
1576                          "GtkAdjustment" t t)
1577                         (vadjustment layout-vadjustment "vadjustment"
1578                          "GtkAdjustment" t t)
1579                         (width layout-width "width" "guint" t t)
1580                         (height layout-height "height" "guint" t t)))
1581
1582 (define-g-object-class "GtkSocket" socket
1583                        (:superclass container :export t :interfaces
1584                         ("AtkImplementorIface" "GtkBuildable")
1585                         :type-initializer "gtk_socket_get_type")
1586                        nil)
1587
1588 (define-g-object-class "GtkTable" table
1589                        (:superclass container :export t :interfaces
1590                         ("AtkImplementorIface" "GtkBuildable")
1591                         :type-initializer "gtk_table_get_type")
1592                        ((n-rows table-n-rows "n-rows" "guint" t t)
1593                         (n-columns table-n-columns "n-columns" "guint" t t)
1594                         (column-spacing table-column-spacing "column-spacing"
1595                          "guint" t t)
1596                         (row-spacing table-row-spacing "row-spacing" "guint" t
1597                          t)
1598                         (homogeneous table-homogeneous "homogeneous" "gboolean"
1599                          t t)))
1600
1601 (define-g-object-class "GtkTextView" text-view
1602                        (:superclass container :export t :interfaces
1603                         ("AtkImplementorIface" "GtkBuildable")
1604                         :type-initializer "gtk_text_view_get_type")
1605                        ((pixels-above-lines text-view-pixels-above-lines
1606                          "pixels-above-lines" "gint" t t)
1607                         (pixels-below-lines text-view-pixels-below-lines
1608                          "pixels-below-lines" "gint" t t)
1609                         (pixels-inside-wrap text-view-pixels-inside-wrap
1610                          "pixels-inside-wrap" "gint" t t)
1611                         (editable text-view-editable "editable" "gboolean" t t)
1612                         (wrap-mode text-view-wrap-mode "wrap-mode"
1613                          "GtkWrapMode" t t)
1614                         (justification text-view-justification "justification"
1615                          "GtkJustification" t t)
1616                         (left-margin text-view-left-margin "left-margin" "gint"
1617                          t t)
1618                         (right-margin text-view-right-margin "right-margin"
1619                          "gint" t t)
1620                         (indent text-view-indent "indent" "gint" t t)
1621                         (tabs text-view-tabs "tabs" "PangoTabArray" t t)
1622                         (cursor-visible text-view-cursor-visible
1623                          "cursor-visible" "gboolean" t t)
1624                         (buffer text-view-buffer "buffer" "GtkTextBuffer" t t)
1625                         (overwrite text-view-overwrite "overwrite" "gboolean" t
1626                          t)
1627                         (accepts-tab text-view-accepts-tab "accepts-tab"
1628                          "gboolean" t t)))
1629
1630 (define-g-object-class "GtkToolbar" toolbar
1631                        (:superclass container :export t :interfaces
1632                         ("AtkImplementorIface" "GtkBuildable" "GtkToolShell")
1633                         :type-initializer "gtk_toolbar_get_type")
1634                        ((orientation toolbar-orientation "orientation"
1635                          "GtkOrientation" t t)
1636                         (toolbar-style toolbar-toolbar-style "toolbar-style"
1637                          "GtkToolbarStyle" t t)
1638                         (show-arrow toolbar-show-arrow "show-arrow" "gboolean"
1639                          t t)
1640                         (tooltips toolbar-tooltips "tooltips" "gboolean" t t)
1641                         (icon-size toolbar-icon-size "icon-size" "GtkIconSize"
1642                          t t)
1643                         (icon-size-set toolbar-icon-size-set "icon-size-set"
1644                          "gboolean" t t)))
1645
1646 (define-g-object-class "GtkTree" tree
1647                        (:superclass container :export t :interfaces
1648                         ("AtkImplementorIface" "GtkBuildable")
1649                         :type-initializer "gtk_tree_get_type")
1650                        nil)
1651
1652 (define-g-object-class "GtkCList" c-list
1653                        (:superclass container :export t :interfaces
1654                         ("AtkImplementorIface" "GtkBuildable")
1655                         :type-initializer "gtk_clist_get_type")
1656                        ((n-columns c-list-n-columns "n-columns" "guint" t nil)
1657                         (shadow-type c-list-shadow-type "shadow-type"
1658                          "GtkShadowType" t t)
1659                         (selection-mode c-list-selection-mode "selection-mode"
1660                          "GtkSelectionMode" t t)
1661                         (row-height c-list-row-height "row-height" "guint" t t)
1662                         (titles-active c-list-titles-active "titles-active"
1663                          "gboolean" t t)
1664                         (reorderable c-list-reorderable "reorderable"
1665                          "gboolean" t t)
1666                         (use-drag-icons c-list-use-drag-icons "use-drag-icons"
1667                          "gboolean" t t)
1668                         (sort-type c-list-sort-type "sort-type" "GtkSortType" t
1669                          t)))
1670
1671 (define-g-object-class "GtkMisc" misc
1672                        (:superclass widget :export t :interfaces
1673                         ("AtkImplementorIface" "GtkBuildable")
1674                         :type-initializer "gtk_misc_get_type")
1675                        ((xalign misc-xalign "xalign" "gfloat" t t)
1676                         (yalign misc-yalign "yalign" "gfloat" t t)
1677                         (xpad misc-xpad "xpad" "gint" t t)
1678                         (ypad misc-ypad "ypad" "gint" t t)))
1679
1680 (define-g-object-class "GtkLabel" label
1681                        (:superclass misc :export t :interfaces
1682                         ("AtkImplementorIface" "GtkBuildable")
1683                         :type-initializer "gtk_label_get_type")
1684                        ((label label-label "label" "gchararray" t t)
1685                         (attributes label-attributes "attributes"
1686                          "PangoAttrList" t t)
1687                         (use-markup label-use-markup "use-markup" "gboolean" t
1688                          t)
1689                         (use-underline label-use-underline "use-underline"
1690                          "gboolean" t t)
1691                         (justify label-justify "justify" "GtkJustification" t
1692                          t)
1693                         (pattern label-pattern "pattern" "gchararray" nil t)
1694                         (wrap label-wrap "wrap" "gboolean" t t)
1695                         (wrap-mode label-wrap-mode "wrap-mode" "PangoWrapMode"
1696                          t t)
1697                         (selectable label-selectable "selectable" "gboolean" t
1698                          t)
1699                         (mnemonic-keyval label-mnemonic-keyval
1700                          "mnemonic-keyval" "guint" t nil)
1701                         (mnemonic-widget label-mnemonic-widget
1702                          "mnemonic-widget" "GtkWidget" t t)
1703                         (cursor-position label-cursor-position
1704                          "cursor-position" "gint" t nil)
1705                         (selection-bound label-selection-bound
1706                          "selection-bound" "gint" t nil)
1707                         (ellipsize label-ellipsize "ellipsize"
1708                          "PangoEllipsizeMode" t t)
1709                         (width-chars label-width-chars "width-chars" "gint" t
1710                          t)
1711                         (single-line-mode label-single-line-mode
1712                          "single-line-mode" "gboolean" t t)
1713                         (angle label-angle "angle" "gdouble" t t)
1714                         (max-width-chars label-max-width-chars
1715                          "max-width-chars" "gint" t t)))
1716
1717 (define-g-object-class "GtkAccelLabel" accel-label
1718                        (:superclass label :export t :interfaces
1719                         ("AtkImplementorIface" "GtkBuildable")
1720                         :type-initializer "gtk_accel_label_get_type")
1721                        ((accel-closure accel-label-accel-closure
1722                          "accel-closure" "GClosure" t t)
1723                         (accel-widget accel-label-accel-widget "accel-widget"
1724                          "GtkWidget" t t)))
1725
1726 (define-g-object-class "GtkArrow" arrow
1727                        (:superclass misc :export t :interfaces
1728                         ("AtkImplementorIface" "GtkBuildable")
1729                         :type-initializer "gtk_arrow_get_type")
1730                        ((arrow-type arrow-arrow-type "arrow-type"
1731                          "GtkArrowType" t t)
1732                         (shadow-type arrow-shadow-type "shadow-type"
1733                          "GtkShadowType" t t)))
1734
1735 (define-g-object-class "GtkImage" image
1736                        (:superclass misc :export t :interfaces
1737                         ("AtkImplementorIface" "GtkBuildable")
1738                         :type-initializer "gtk_image_get_type")
1739                        ((pixbuf image-pixbuf "pixbuf" "GdkPixbuf" t t)
1740                         (pixmap image-pixmap "pixmap" "GdkPixmap" t t)
1741                         (image image-image "image" "GdkImage" t t)
1742                         (mask image-mask "mask" "GdkPixmap" t t)
1743                         (file image-file "file" "gchararray" t t)
1744                         (stock image-stock "stock" "gchararray" t t)
1745                         (icon-set image-icon-set "icon-set" "GtkIconSet" t t)
1746                         (icon-size image-icon-size "icon-size" "gint" t t)
1747                         (pixel-size image-pixel-size "pixel-size" "gint" t t)
1748                         (pixbuf-animation image-pixbuf-animation
1749                          "pixbuf-animation" "GdkPixbufAnimation" t t)
1750                         (icon-name image-icon-name "icon-name" "gchararray" t
1751                          t)
1752                         (storage-type image-storage-type "storage-type"
1753                          "GtkImageType" t nil)
1754                         (gicon image-gicon "gicon" "GIcon" t t)))
1755
1756 (define-g-object-class "GtkCalendar" calendar
1757                        (:superclass widget :export t :interfaces
1758                         ("AtkImplementorIface" "GtkBuildable")
1759                         :type-initializer "gtk_calendar_get_type")
1760                        ((year calendar-year "year" "gint" t t)
1761                         (month calendar-month "month" "gint" t t)
1762                         (day calendar-day "day" "gint" t t)
1763                         (show-heading calendar-show-heading "show-heading"
1764                          "gboolean" t t)
1765                         (show-day-names calendar-show-day-names
1766                          "show-day-names" "gboolean" t t)
1767                         (no-month-change calendar-no-month-change
1768                          "no-month-change" "gboolean" t t)
1769                         (show-week-numbers calendar-show-week-numbers
1770                          "show-week-numbers" "gboolean" t t)
1771                         (show-details calendar-show-details "show-details"
1772                          "gboolean" t t)
1773                         (detail-width-chars calendar-detail-width-chars
1774                          "detail-width-chars" "gint" t t)
1775                         (detail-height-rows calendar-detail-height-rows
1776                          "detail-height-rows" "gint" t t)))
1777
1778 (define-g-object-class "GtkCellView" cell-view
1779                        (:superclass widget :export t :interfaces
1780                         ("AtkImplementorIface" "GtkBuildable" "GtkCellLayout")
1781                         :type-initializer "gtk_cell_view_get_type")
1782                        ((background cell-view-background "background"
1783                          "gchararray" nil t)
1784                         (background-gdk cell-view-background-gdk
1785                          "background-gdk" "GdkColor" t t)
1786                         (background-set cell-view-background-set
1787                          "background-set" "gboolean" t t)
1788                         (model cell-view-model "model" "GtkTreeModel" t t)
1789                         (:cffi displayed-row cell-view-displayed-row
1790                          (g-boxed-ref tree-path)
1791                          "gtk_cell_view_get_displayed_row"
1792                          "gtk_cell_view_set_displayed_row")))
1793
1794 (define-g-object-class "GtkDrawingArea" drawing-area
1795                        (:superclass widget :export t :interfaces
1796                         ("AtkImplementorIface" "GtkBuildable")
1797                         :type-initializer "gtk_drawing_area_get_type")
1798                        nil)
1799
1800 (define-g-object-class "GtkCurve" curve
1801                        (:superclass drawing-area :export t :interfaces
1802                         ("AtkImplementorIface" "GtkBuildable")
1803                         :type-initializer "gtk_curve_get_type")
1804                        ((curve-type curve-curve-type "curve-type"
1805                          "GtkCurveType" t t)
1806                         (min-x curve-min-x "min-x" "gfloat" t t)
1807                         (max-x curve-max-x "max-x" "gfloat" t t)
1808                         (min-y curve-min-y "min-y" "gfloat" t t)
1809                         (max-y curve-max-y "max-y" "gfloat" t t)))
1810
1811 (define-g-object-class "GtkEntry" entry
1812                        (:superclass widget :export t :interfaces
1813                         ("AtkImplementorIface" "GtkBuildable" "GtkCellEditable"
1814                          "GtkEditable")
1815                         :type-initializer "gtk_entry_get_type")
1816                        ((cursor-position entry-cursor-position
1817                          "cursor-position" "gint" t nil)
1818                         (selection-bound entry-selection-bound
1819                          "selection-bound" "gint" t nil)
1820                         (editable entry-editable "editable" "gboolean" t t)
1821                         (max-length entry-max-length "max-length" "gint" t t)
1822                         (visibility entry-visibility "visibility" "gboolean" t
1823                          t)
1824                         (has-frame entry-has-frame "has-frame" "gboolean" t t)
1825                         (inner-border entry-inner-border "inner-border"
1826                          "GtkBorder" t t)
1827                         (invisible-char entry-invisible-char "invisible-char"
1828                          "guint" t t)
1829                         (activates-default entry-activates-default
1830                          "activates-default" "gboolean" t t)
1831                         (width-chars entry-width-chars "width-chars" "gint" t
1832                          t)
1833                         (scroll-offset entry-scroll-offset "scroll-offset"
1834                          "gint" t nil)
1835                         (text entry-text "text" "gchararray" t t)
1836                         (xalign entry-xalign "xalign" "gfloat" t t)
1837                         (truncate-multiline entry-truncate-multiline
1838                          "truncate-multiline" "gboolean" t t)
1839                         (shadow-type entry-shadow-type "shadow-type"
1840                          "GtkShadowType" t t)
1841                         (overwrite-mode entry-overwrite-mode "overwrite-mode"
1842                          "gboolean" t t)
1843                         (text-length entry-text-length "text-length" "guint" t
1844                          nil)))
1845
1846 (define-g-object-class "GtkSpinButton" spin-button
1847                        (:superclass entry :export t :interfaces
1848                         ("AtkImplementorIface" "GtkBuildable" "GtkCellEditable"
1849                          "GtkEditable")
1850                         :type-initializer "gtk_spin_button_get_type")
1851                        ((adjustment spin-button-adjustment "adjustment"
1852                          "GtkAdjustment" t t)
1853                         (climb-rate spin-button-climb-rate "climb-rate"
1854                          "gdouble" t t)
1855                         (digits spin-button-digits "digits" "guint" t t)
1856                         (snap-to-ticks spin-button-snap-to-ticks
1857                          "snap-to-ticks" "gboolean" t t)
1858                         (numeric spin-button-numeric "numeric" "gboolean" t t)
1859                         (wrap spin-button-wrap "wrap" "gboolean" t t)
1860                         (update-policy spin-button-update-policy
1861                          "update-policy" "GtkSpinButtonUpdatePolicy" t t)
1862                         (value spin-button-value "value" "gdouble" t t)))
1863
1864 (define-g-object-class "GtkRuler" ruler
1865                        (:superclass widget :export t :interfaces
1866                         ("AtkImplementorIface" "GtkBuildable")
1867                         :type-initializer "gtk_ruler_get_type")
1868                        ((lower ruler-lower "lower" "gdouble" t t)
1869                         (upper ruler-upper "upper" "gdouble" t t)
1870                         (position ruler-position "position" "gdouble" t t)
1871                         (max-size ruler-max-size "max-size" "gdouble" t t)
1872                         (metric ruler-metric "metric" "GtkMetricType" t t)))
1873
1874 (define-g-object-class "GtkHRuler" h-ruler
1875                        (:superclass ruler :export t :interfaces
1876                         ("AtkImplementorIface" "GtkBuildable")
1877                         :type-initializer "gtk_hruler_get_type")
1878                        nil)
1879
1880 (define-g-object-class "GtkVRuler" v-ruler
1881                        (:superclass ruler :export t :interfaces
1882                         ("AtkImplementorIface" "GtkBuildable")
1883                         :type-initializer "gtk_vruler_get_type")
1884                        nil)
1885
1886 (define-g-object-class "GtkRange" range
1887                        (:superclass widget :export t :interfaces
1888                         ("AtkImplementorIface" "GtkBuildable")
1889                         :type-initializer "gtk_range_get_type")
1890                        ((update-policy range-update-policy "update-policy"
1891                          "GtkUpdateType" t t)
1892                         (adjustment range-adjustment "adjustment"
1893                          "GtkAdjustment" t t)
1894                         (inverted range-inverted "inverted" "gboolean" t t)
1895                         (lower-stepper-sensitivity
1896                          range-lower-stepper-sensitivity
1897                          "lower-stepper-sensitivity" "GtkSensitivityType" t t)
1898                         (upper-stepper-sensitivity
1899                          range-upper-stepper-sensitivity
1900                          "upper-stepper-sensitivity" "GtkSensitivityType" t t)
1901                         (show-fill-level range-show-fill-level
1902                          "show-fill-level" "gboolean" t t)
1903                         (restrict-to-fill-level range-restrict-to-fill-level
1904                          "restrict-to-fill-level" "gboolean" t t)
1905                         (fill-level range-fill-level "fill-level" "gdouble" t
1906                          t)))
1907
1908 (define-g-object-class "GtkScale" scale
1909                        (:superclass range :export t :interfaces
1910                         ("AtkImplementorIface" "GtkBuildable")
1911                         :type-initializer "gtk_scale_get_type")
1912                        ((digits scale-digits "digits" "gint" t t)
1913                         (draw-value scale-draw-value "draw-value" "gboolean" t
1914                          t)
1915                         (value-pos scale-value-pos "value-pos"
1916                          "GtkPositionType" t t)))
1917
1918 (define-g-object-class "GtkHScale" h-scale
1919                        (:superclass scale :export t :interfaces
1920                         ("AtkImplementorIface" "GtkBuildable")
1921                         :type-initializer "gtk_hscale_get_type")
1922                        nil)
1923
1924 (define-g-object-class "GtkVScale" v-scale
1925                        (:superclass scale :export t :interfaces
1926                         ("AtkImplementorIface" "GtkBuildable")
1927                         :type-initializer "gtk_vscale_get_type")
1928                        nil)
1929
1930 (define-g-object-class "GtkScrollbar" scrollbar
1931                        (:superclass range :export t :interfaces
1932                         ("AtkImplementorIface" "GtkBuildable")
1933                         :type-initializer "gtk_scrollbar_get_type")
1934                        nil)
1935
1936 (define-g-object-class "GtkHScrollbar" h-scrollbar
1937                        (:superclass scrollbar :export t :interfaces
1938                         ("AtkImplementorIface" "GtkBuildable")
1939                         :type-initializer "gtk_hscrollbar_get_type")
1940                        nil)
1941
1942 (define-g-object-class "GtkVScrollbar" v-scrollbar
1943                        (:superclass scrollbar :export t :interfaces
1944                         ("AtkImplementorIface" "GtkBuildable")
1945                         :type-initializer "gtk_vscrollbar_get_type")
1946                        nil)
1947
1948 (define-g-object-class "GtkSeparator" separator
1949                        (:superclass widget :export t :interfaces
1950                         ("AtkImplementorIface" "GtkBuildable")
1951                         :type-initializer "gtk_separator_get_type")
1952                        nil)
1953
1954 (define-g-object-class "GtkHSeparator" h-separator
1955                        (:superclass separator :export t :interfaces
1956                         ("AtkImplementorIface" "GtkBuildable")
1957                         :type-initializer "gtk_hseparator_get_type")
1958                        nil)
1959
1960 (define-g-object-class "GtkVSeparator" v-separator
1961                        (:superclass separator :export t :interfaces
1962                         ("AtkImplementorIface" "GtkBuildable")
1963                         :type-initializer "gtk_vseparator_get_type")
1964                        nil)
1965
1966 (define-g-object-class "GtkHSV" h-s-v
1967                        (:superclass widget :export t :interfaces
1968                         ("AtkImplementorIface" "GtkBuildable")
1969                         :type-initializer "gtk_hsv_get_type")
1970                        nil)
1971
1972 (define-g-object-class "GtkInvisible" invisible
1973                        (:superclass widget :export t :interfaces
1974                         ("AtkImplementorIface" "GtkBuildable")
1975                         :type-initializer "gtk_invisible_get_type")
1976                        ((screen invisible-screen "screen" "GdkScreen" t t)))
1977
1978 (define-g-object-class "GtkProgress" progress
1979                        (:superclass widget :export t :interfaces
1980                         ("AtkImplementorIface" "GtkBuildable")
1981                         :type-initializer "gtk_progress_get_type")
1982                        ((activity-mode progress-activity-mode "activity-mode"
1983                          "gboolean" t t)
1984                         (show-text progress-show-text "show-text" "gboolean" t
1985                          t)
1986                         (text-xalign progress-text-xalign "text-xalign"
1987                          "gfloat" t t)
1988                         (text-yalign progress-text-yalign "text-yalign"
1989                          "gfloat" t t)))
1990
1991 (define-g-object-class "GtkProgressBar" progress-bar
1992                        (:superclass progress :export t :interfaces
1993                         ("AtkImplementorIface" "GtkBuildable")
1994                         :type-initializer "gtk_progress_bar_get_type")
1995                        ((fraction progress-bar-fraction "fraction" "gdouble" t
1996                          t)
1997                         (pulse-step progress-bar-pulse-step "pulse-step"
1998                          "gdouble" t t)
1999                         (orientation progress-bar-orientation "orientation"
2000                          "GtkProgressBarOrientation" t t)
2001                         (text progress-bar-text "text" "gchararray" t t)
2002                         (ellipsize progress-bar-ellipsize "ellipsize"
2003                          "PangoEllipsizeMode" t t)
2004                         (adjustment progress-bar-adjustment "adjustment"
2005                          "GtkAdjustment" t t)
2006                         (bar-style progress-bar-bar-style "bar-style"
2007                          "GtkProgressBarStyle" t t)
2008                         (activity-step progress-bar-activity-step
2009                          "activity-step" "guint" t t)
2010                         (activity-blocks progress-bar-activity-blocks
2011                          "activity-blocks" "guint" t t)
2012                         (discrete-blocks progress-bar-discrete-blocks
2013                          "discrete-blocks" "guint" t t)))
2014
2015 (define-g-object-class "GtkOldEditable" old-editable
2016                        (:superclass widget :export t :interfaces
2017                         ("AtkImplementorIface" "GtkBuildable" "GtkEditable")
2018                         :type-initializer "gtk_old_editable_get_type")
2019                        ((text-position old-editable-text-position
2020                          "text-position" "gint" t t)
2021                         (editable old-editable-editable "editable" "gboolean" t
2022                          t)))
2023
2024 (define-g-object-class "GtkText" text
2025                        (:superclass old-editable :export t :interfaces
2026                         ("AtkImplementorIface" "GtkBuildable" "GtkEditable")
2027                         :type-initializer "gtk_text_get_type")
2028                        ((hadjustment text-hadjustment "hadjustment"
2029                          "GtkAdjustment" t t)
2030                         (vadjustment text-vadjustment "vadjustment"
2031                          "GtkAdjustment" t t)
2032                         (line-wrap text-line-wrap "line-wrap" "gboolean" t t)
2033                         (word-wrap text-word-wrap "word-wrap" "gboolean" t t)))
2034
2035 (define-g-object-class "GtkAdjustment" adjustment
2036                        (:superclass gtk-object :export t :interfaces nil
2037                         :type-initializer "gtk_adjustment_get_type")
2038                        ((value adjustment-value "value" "gdouble" t t)
2039                         (lower adjustment-lower "lower" "gdouble" t t)
2040                         (upper adjustment-upper "upper" "gdouble" t t)
2041                         (step-increment adjustment-step-increment
2042                          "step-increment" "gdouble" t t)
2043                         (page-increment adjustment-page-increment
2044                          "page-increment" "gdouble" t t)
2045                         (page-size adjustment-page-size "page-size" "gdouble" t
2046                          t)))
2047
2048 (define-g-object-class "GtkTreeViewColumn" tree-view-column
2049                        (:superclass gtk-object :export t :interfaces
2050                         ("GtkBuildable" "GtkCellLayout") :type-initializer
2051                         "gtk_tree_view_column_get_type")
2052                        ((visible tree-view-column-visible "visible" "gboolean"
2053                          t t)
2054                         (resizable tree-view-column-resizable "resizable"
2055                          "gboolean" t t)
2056                         (width tree-view-column-width "width" "gint" t nil)
2057                         (spacing tree-view-column-spacing "spacing" "gint" t t)
2058                         (sizing tree-view-column-sizing "sizing"
2059                          "GtkTreeViewColumnSizing" t t)
2060                         (fixed-width tree-view-column-fixed-width "fixed-width"
2061                          "gint" t t)
2062                         (min-width tree-view-column-min-width "min-width"
2063                          "gint" t t)
2064                         (max-width tree-view-column-max-width "max-width"
2065                          "gint" t t)
2066                         (title tree-view-column-title "title" "gchararray" t t)
2067                         (expand tree-view-column-expand "expand" "gboolean" t
2068                          t)
2069                         (clickable tree-view-column-clickable "clickable"
2070                          "gboolean" t t)
2071                         (widget tree-view-column-widget "widget" "GtkWidget" t
2072                          t)
2073                         (alignment tree-view-column-alignment "alignment"
2074                          "gfloat" t t)
2075                         (reorderable tree-view-column-reorderable "reorderable"
2076                          "gboolean" t t)
2077                         (sort-indicator tree-view-column-sort-indicator
2078                          "sort-indicator" "gboolean" t t)
2079                         (sort-order tree-view-column-sort-order "sort-order"
2080                          "GtkSortType" t t)
2081                         (:cffi tree-view tree-view-column-tree-view g-object
2082                          "gtk_tree_view_column_get_tree_view" nil)
2083                         (:cffi sort-column-id tree-view-column-sort-column-id
2084                          :int "gtk_tree_view_column_get_sort_column_id"
2085                          "gtk_tree_view_column_set_sort_column_id")
2086                         (:cffi cell-renderers tree-view-column-cell-renderers
2087                          (glist g-object :free-from-foreign t)
2088                          "gtk_tree_view_column_get_cell_renderers" nil)))
2089
2090 (define-g-object-class "GtkCellRenderer" cell-renderer
2091                        (:superclass gtk-object :export t :interfaces nil
2092                         :type-initializer "gtk_cell_renderer_get_type")
2093                        ((mode cell-renderer-mode "mode" "GtkCellRendererMode" t
2094                          t)
2095                         (visible cell-renderer-visible "visible" "gboolean" t
2096                          t)
2097                         (sensitive cell-renderer-sensitive "sensitive"
2098                          "gboolean" t t)
2099                         (xalign cell-renderer-xalign "xalign" "gfloat" t t)
2100                         (yalign cell-renderer-yalign "yalign" "gfloat" t t)
2101                         (xpad cell-renderer-xpad "xpad" "guint" t t)
2102                         (ypad cell-renderer-ypad "ypad" "guint" t t)
2103                         (width cell-renderer-width "width" "gint" t t)
2104                         (height cell-renderer-height "height" "gint" t t)
2105                         (is-expander cell-renderer-is-expander "is-expander"
2106                          "gboolean" t t)
2107                         (is-expanded cell-renderer-is-expanded "is-expanded"
2108                          "gboolean" t t)
2109                         (cell-background cell-renderer-cell-background
2110                          "cell-background" "gchararray" nil t)
2111                         (cell-background-gdk cell-renderer-cell-background-gdk
2112                          "cell-background-gdk" "GdkColor" t t)
2113                         (cell-background-set cell-renderer-cell-background-set
2114                          "cell-background-set" "gboolean" t t)
2115                         (editing cell-renderer-editing "editing" "gboolean" t
2116                          nil)))
2117
2118 (define-g-object-class "GtkCellRendererText" cell-renderer-text
2119                        (:superclass cell-renderer :export t :interfaces nil
2120                         :type-initializer "gtk_cell_renderer_text_get_type")
2121                        ((text cell-renderer-text-text "text" "gchararray" t t)
2122                         (markup cell-renderer-text-markup "markup" "gchararray"
2123                          nil t)
2124                         (attributes cell-renderer-text-attributes "attributes"
2125                          "PangoAttrList" t t)
2126                         (single-paragraph-mode
2127                          cell-renderer-text-single-paragraph-mode
2128                          "single-paragraph-mode" "gboolean" t t)
2129                         (width-chars cell-renderer-text-width-chars
2130                          "width-chars" "gint" t t)
2131                         (wrap-width cell-renderer-text-wrap-width "wrap-width"
2132                          "gint" t t)
2133                         (alignment cell-renderer-text-alignment "alignment"
2134                          "PangoAlignment" t t)
2135                         (background cell-renderer-text-background "background"
2136                          "gchararray" nil t)
2137                         (foreground cell-renderer-text-foreground "foreground"
2138                          "gchararray" nil t)
2139                         (background-gdk cell-renderer-text-background-gdk
2140                          "background-gdk" "GdkColor" t t)
2141                         (foreground-gdk cell-renderer-text-foreground-gdk
2142                          "foreground-gdk" "GdkColor" t t)
2143                         (font cell-renderer-text-font "font" "gchararray" t t)
2144                         (font-desc cell-renderer-text-font-desc "font-desc"
2145                          "PangoFontDescription" t t)
2146                         (family cell-renderer-text-family "family" "gchararray"
2147                          t t)
2148                         (style cell-renderer-text-style "style" "PangoStyle" t
2149                          t)
2150                         (variant cell-renderer-text-variant "variant"
2151                          "PangoVariant" t t)
2152                         (weight cell-renderer-text-weight "weight" "gint" t t)
2153                         (stretch cell-renderer-text-stretch "stretch"
2154                          "PangoStretch" t t)
2155                         (size cell-renderer-text-size "size" "gint" t t)
2156                         (size-points cell-renderer-text-size-points
2157                          "size-points" "gdouble" t t)
2158                         (scale cell-renderer-text-scale "scale" "gdouble" t t)
2159                         (editable cell-renderer-text-editable "editable"
2160                          "gboolean" t t)
2161                         (strikethrough cell-renderer-text-strikethrough
2162                          "strikethrough" "gboolean" t t)
2163                         (underline cell-renderer-text-underline "underline"
2164                          "PangoUnderline" t t)
2165                         (rise cell-renderer-text-rise "rise" "gint" t t)
2166                         (language cell-renderer-text-language "language"
2167                          "gchararray" t t)
2168                         (ellipsize cell-renderer-text-ellipsize "ellipsize"
2169                          "PangoEllipsizeMode" t t)
2170                         (wrap-mode cell-renderer-text-wrap-mode "wrap-mode"
2171                          "PangoWrapMode" t t)
2172                         (background-set cell-renderer-text-background-set
2173                          "background-set" "gboolean" t t)
2174                         (foreground-set cell-renderer-text-foreground-set
2175                          "foreground-set" "gboolean" t t)
2176                         (family-set cell-renderer-text-family-set "family-set"
2177                          "gboolean" t t)
2178                         (style-set cell-renderer-text-style-set "style-set"
2179                          "gboolean" t t)
2180                         (variant-set cell-renderer-text-variant-set
2181                          "variant-set" "gboolean" t t)
2182                         (weight-set cell-renderer-text-weight-set "weight-set"
2183                          "gboolean" t t)
2184                         (stretch-set cell-renderer-text-stretch-set
2185                          "stretch-set" "gboolean" t t)
2186                         (size-set cell-renderer-text-size-set "size-set"
2187                          "gboolean" t t)
2188                         (scale-set cell-renderer-text-scale-set "scale-set"
2189                          "gboolean" t t)
2190                         (editable-set cell-renderer-text-editable-set
2191                          "editable-set" "gboolean" t t)
2192                         (strikethrough-set cell-renderer-text-strikethrough-set
2193                          "strikethrough-set" "gboolean" t t)
2194                         (underline-set cell-renderer-text-underline-set
2195                          "underline-set" "gboolean" t t)
2196                         (rise-set cell-renderer-text-rise-set "rise-set"
2197                          "gboolean" t t)
2198                         (language-set cell-renderer-text-language-set
2199                          "language-set" "gboolean" t t)
2200                         (ellipsize-set cell-renderer-text-ellipsize-set
2201                          "ellipsize-set" "gboolean" t t)
2202                         (align-set cell-renderer-text-align-set "align-set"
2203                          "gboolean" t t)))
2204
2205 (define-g-object-class "GtkCellRendererAccel" cell-renderer-accel
2206                        (:superclass cell-renderer-text :export t :interfaces
2207                         nil :type-initializer
2208                         "gtk_cell_renderer_accel_get_type")
2209                        ((accel-key cell-renderer-accel-accel-key "accel-key"
2210                          "guint" t t)
2211                         (accel-mods cell-renderer-accel-accel-mods "accel-mods"
2212                          "GdkModifierType" t t)
2213                         (keycode cell-renderer-accel-keycode "keycode" "guint"
2214                          t t)
2215                         (accel-mode cell-renderer-accel-accel-mode "accel-mode"
2216                          "GtkCellRendererAccelMode" t t)))
2217
2218 (define-g-object-class "GtkCellRendererCombo" cell-renderer-combo
2219                        (:superclass cell-renderer-text :export t :interfaces
2220                         nil :type-initializer
2221                         "gtk_cell_renderer_combo_get_type")
2222                        ((model cell-renderer-combo-model "model" "GtkTreeModel"
2223                          t t)
2224                         (text-column cell-renderer-combo-text-column
2225                          "text-column" "gint" t t)
2226                         (has-entry cell-renderer-combo-has-entry "has-entry"
2227                          "gboolean" t t)))
2228
2229 (define-g-object-class "GtkCellRendererSpin" cell-renderer-spin
2230                        (:superclass cell-renderer-text :export t :interfaces
2231                         nil :type-initializer
2232                         "gtk_cell_renderer_spin_get_type")
2233                        ((adjustment cell-renderer-spin-adjustment "adjustment"
2234                          "GtkAdjustment" t t)
2235                         (climb-rate cell-renderer-spin-climb-rate "climb-rate"
2236                          "gdouble" t t)
2237                         (digits cell-renderer-spin-digits "digits" "guint" t
2238                          t)))
2239
2240 (define-g-object-class "GtkCellRendererPixbuf" cell-renderer-pixbuf
2241                        (:superclass cell-renderer :export t :interfaces nil
2242                         :type-initializer "gtk_cell_renderer_pixbuf_get_type")
2243                        ((pixbuf cell-renderer-pixbuf-pixbuf "pixbuf"
2244                          "GdkPixbuf" t t)
2245                         (pixbuf-expander-open
2246                          cell-renderer-pixbuf-pixbuf-expander-open
2247                          "pixbuf-expander-open" "GdkPixbuf" t t)
2248                         (pixbuf-expander-closed
2249                          cell-renderer-pixbuf-pixbuf-expander-closed
2250                          "pixbuf-expander-closed" "GdkPixbuf" t t)
2251                         (stock-id cell-renderer-pixbuf-stock-id "stock-id"
2252                          "gchararray" t t)
2253                         (stock-size cell-renderer-pixbuf-stock-size
2254                          "stock-size" "guint" t t)
2255                         (stock-detail cell-renderer-pixbuf-stock-detail
2256                          "stock-detail" "gchararray" t t)
2257                         (follow-state cell-renderer-pixbuf-follow-state
2258                          "follow-state" "gboolean" t t)
2259                         (icon-name cell-renderer-pixbuf-icon-name "icon-name"
2260                          "gchararray" t t)
2261                         (gicon cell-renderer-pixbuf-gicon "gicon" "GIcon" t t)))
2262
2263 (define-g-object-class "GtkCellRendererProgress" cell-renderer-progress
2264                        (:superclass cell-renderer :export t :interfaces nil
2265                         :type-initializer
2266                         "gtk_cell_renderer_progress_get_type")
2267                        ((value cell-renderer-progress-value "value" "gint" t t)
2268                         (text cell-renderer-progress-text "text" "gchararray" t
2269                          t)
2270                         (pulse cell-renderer-progress-pulse "pulse" "gint" t t)
2271                         (text-xalign cell-renderer-progress-text-xalign
2272                          "text-xalign" "gfloat" t t)
2273                         (text-yalign cell-renderer-progress-text-yalign
2274                          "text-yalign" "gfloat" t t)
2275                         (orientation cell-renderer-progress-orientation
2276                          "orientation" "GtkProgressBarOrientation" t t)))
2277
2278 (define-g-object-class "GtkCellRendererToggle" cell-renderer-toggle
2279                        (:superclass cell-renderer :export t :interfaces nil
2280                         :type-initializer "gtk_cell_renderer_toggle_get_type")
2281                        ((activatable cell-renderer-toggle-activatable
2282                          "activatable" "gboolean" t t)
2283                         (active cell-renderer-toggle-active "active" "gboolean"
2284                          t t)
2285                         (radio cell-renderer-toggle-radio "radio" "gboolean" t
2286                          t)
2287                         (inconsistent cell-renderer-toggle-inconsistent
2288                          "inconsistent" "gboolean" t t)
2289                         (indicator-size cell-renderer-toggle-indicator-size
2290                          "indicator-size" "gint" t t)))
2291
2292 (define-g-object-class "GtkFileFilter" file-filter
2293                        (:superclass gtk-object :export t :interfaces nil
2294                         :type-initializer "gtk_file_filter_get_type")
2295                        ((:cffi name file-filter-name :string
2296                          "gtk_file_filter_get_name"
2297                          "gtk_file_filter_set_name")))
2298
2299 (define-g-object-class "GtkRecentFilter" recent-filter
2300                        (:superclass gtk-object :export t :interfaces nil
2301                         :type-initializer "gtk_recent_filter_get_type")
2302                        nil)
2303
2304 (define-g-object-class "GtkTooltips" tooltips
2305                        (:superclass gtk-object :export t :interfaces nil
2306                         :type-initializer "gtk_tooltips_get_type")
2307                        nil)
2308
2309 (define-g-object-class "GtkSettings" settings
2310                        (:superclass g-object :export t :interfaces nil
2311                         :type-initializer "gtk_settings_get_type")
2312                        ((gtk-double-click-time settings-gtk-double-click-time
2313                          "gtk-double-click-time" "gint" t t)
2314                         (gtk-double-click-distance
2315                          settings-gtk-double-click-distance
2316                          "gtk-double-click-distance" "gint" t t)
2317                         (gtk-cursor-blink settings-gtk-cursor-blink
2318                          "gtk-cursor-blink" "gboolean" t t)
2319                         (gtk-cursor-blink-time settings-gtk-cursor-blink-time
2320                          "gtk-cursor-blink-time" "gint" t t)
2321                         (gtk-cursor-blink-timeout
2322                          settings-gtk-cursor-blink-timeout
2323                          "gtk-cursor-blink-timeout" "gint" t t)
2324                         (gtk-split-cursor settings-gtk-split-cursor
2325                          "gtk-split-cursor" "gboolean" t t)
2326                         (gtk-theme-name settings-gtk-theme-name
2327                          "gtk-theme-name" "gchararray" t t)
2328                         (gtk-icon-theme-name settings-gtk-icon-theme-name
2329                          "gtk-icon-theme-name" "gchararray" t t)
2330                         (gtk-fallback-icon-theme
2331                          settings-gtk-fallback-icon-theme
2332                          "gtk-fallback-icon-theme" "gchararray" t t)
2333                         (gtk-key-theme-name settings-gtk-key-theme-name
2334                          "gtk-key-theme-name" "gchararray" t t)
2335                         (gtk-menu-bar-accel settings-gtk-menu-bar-accel
2336                          "gtk-menu-bar-accel" "gchararray" t t)
2337                         (gtk-dnd-drag-threshold settings-gtk-dnd-drag-threshold
2338                          "gtk-dnd-drag-threshold" "gint" t t)
2339                         (gtk-font-name settings-gtk-font-name "gtk-font-name"
2340                          "gchararray" t t)
2341                         (gtk-icon-sizes settings-gtk-icon-sizes
2342                          "gtk-icon-sizes" "gchararray" t t)
2343                         (gtk-modules settings-gtk-modules "gtk-modules"
2344                          "gchararray" t t)
2345                         (gtk-xft-antialias settings-gtk-xft-antialias
2346                          "gtk-xft-antialias" "gint" t t)
2347                         (gtk-xft-hinting settings-gtk-xft-hinting
2348                          "gtk-xft-hinting" "gint" t t)
2349                         (gtk-xft-hintstyle settings-gtk-xft-hintstyle
2350                          "gtk-xft-hintstyle" "gchararray" t t)
2351                         (gtk-xft-rgba settings-gtk-xft-rgba "gtk-xft-rgba"
2352                          "gchararray" t t)
2353                         (gtk-xft-dpi settings-gtk-xft-dpi "gtk-xft-dpi" "gint"
2354                          t t)
2355                         (gtk-cursor-theme-name settings-gtk-cursor-theme-name
2356                          "gtk-cursor-theme-name" "gchararray" t t)
2357                         (gtk-cursor-theme-size settings-gtk-cursor-theme-size
2358                          "gtk-cursor-theme-size" "gint" t t)
2359                         (gtk-alternative-button-order
2360                          settings-gtk-alternative-button-order
2361                          "gtk-alternative-button-order" "gboolean" t t)
2362                         (gtk-alternative-sort-arrows
2363                          settings-gtk-alternative-sort-arrows
2364                          "gtk-alternative-sort-arrows" "gboolean" t t)
2365                         (gtk-show-input-method-menu
2366                          settings-gtk-show-input-method-menu
2367                          "gtk-show-input-method-menu" "gboolean" t t)
2368                         (gtk-show-unicode-menu settings-gtk-show-unicode-menu
2369                          "gtk-show-unicode-menu" "gboolean" t t)
2370                         (gtk-timeout-initial settings-gtk-timeout-initial
2371                          "gtk-timeout-initial" "gint" t t)
2372                         (gtk-timeout-repeat settings-gtk-timeout-repeat
2373                          "gtk-timeout-repeat" "gint" t t)
2374                         (gtk-timeout-expand settings-gtk-timeout-expand
2375                          "gtk-timeout-expand" "gint" t t)
2376                         (gtk-color-scheme settings-gtk-color-scheme
2377                          "gtk-color-scheme" "gchararray" t t)
2378                         (gtk-enable-animations settings-gtk-enable-animations
2379                          "gtk-enable-animations" "gboolean" t t)
2380                         (gtk-touchscreen-mode settings-gtk-touchscreen-mode
2381                          "gtk-touchscreen-mode" "gboolean" t t)
2382                         (gtk-tooltip-timeout settings-gtk-tooltip-timeout
2383                          "gtk-tooltip-timeout" "gint" t t)
2384                         (gtk-tooltip-browse-timeout
2385                          settings-gtk-tooltip-browse-timeout
2386                          "gtk-tooltip-browse-timeout" "gint" t t)
2387                         (gtk-tooltip-browse-mode-timeout
2388                          settings-gtk-tooltip-browse-mode-timeout
2389                          "gtk-tooltip-browse-mode-timeout" "gint" t t)
2390                         (gtk-keynav-cursor-only settings-gtk-keynav-cursor-only
2391                          "gtk-keynav-cursor-only" "gboolean" t t)
2392                         (gtk-keynav-wrap-around settings-gtk-keynav-wrap-around
2393                          "gtk-keynav-wrap-around" "gboolean" t t)
2394                         (gtk-error-bell settings-gtk-error-bell
2395                          "gtk-error-bell" "gboolean" t t)
2396                         (color-hash settings-color-hash "color-hash"
2397                          "GHashTable" t nil)
2398                         (gtk-file-chooser-backend
2399                          settings-gtk-file-chooser-backend
2400                          "gtk-file-chooser-backend" "gchararray" t t)
2401                         (gtk-print-backends settings-gtk-print-backends
2402                          "gtk-print-backends" "gchararray" t t)
2403                         (gtk-print-preview-command
2404                          settings-gtk-print-preview-command
2405                          "gtk-print-preview-command" "gchararray" t t)
2406                         (gtk-enable-mnemonics settings-gtk-enable-mnemonics
2407                          "gtk-enable-mnemonics" "gboolean" t t)
2408                         (gtk-enable-accels settings-gtk-enable-accels
2409                          "gtk-enable-accels" "gboolean" t t)
2410                         (gtk-recent-files-limit settings-gtk-recent-files-limit
2411                          "gtk-recent-files-limit" "gint" t t)
2412                         (gtk-im-module settings-gtk-im-module "gtk-im-module"
2413                          "gchararray" t t)
2414                         (gtk-recent-files-max-age
2415                          settings-gtk-recent-files-max-age
2416                          "gtk-recent-files-max-age" "gint" t t)
2417                         (gtk-fontconfig-timestamp
2418                          settings-gtk-fontconfig-timestamp
2419                          "gtk-fontconfig-timestamp" "gint" t t)
2420                         (gtk-sound-theme-name settings-gtk-sound-theme-name
2421                          "gtk-sound-theme-name" "gchararray" t t)
2422                         (gtk-enable-input-feedback-sounds
2423                          settings-gtk-enable-input-feedback-sounds
2424                          "gtk-enable-input-feedback-sounds" "gboolean" t t)
2425                         (gtk-enable-event-sounds
2426                          settings-gtk-enable-event-sounds
2427                          "gtk-enable-event-sounds" "gboolean" t t)
2428                         (gtk-enable-tooltips settings-gtk-enable-tooltips
2429                          "gtk-enable-tooltips" "gboolean" t t)
2430                         (gtk-button-images settings-gtk-button-images
2431                          "gtk-button-images" "gboolean" t t)
2432                         (gtk-toolbar-style settings-gtk-toolbar-style
2433                          "gtk-toolbar-style" "GtkToolbarStyle" t t)
2434                         (gtk-toolbar-icon-size settings-gtk-toolbar-icon-size
2435                          "gtk-toolbar-icon-size" "GtkIconSize" t t)
2436                         (gtk-label-select-on-focus
2437                          settings-gtk-label-select-on-focus
2438                          "gtk-label-select-on-focus" "gboolean" t t)
2439                         (gtk-menu-images settings-gtk-menu-images
2440                          "gtk-menu-images" "gboolean" t t)
2441                         (gtk-can-change-accels settings-gtk-can-change-accels
2442                          "gtk-can-change-accels" "gboolean" t t)
2443                         (gtk-menu-popup-delay settings-gtk-menu-popup-delay
2444                          "gtk-menu-popup-delay" "gint" t t)
2445                         (gtk-menu-popdown-delay settings-gtk-menu-popdown-delay
2446                          "gtk-menu-popdown-delay" "gint" t t)
2447                         (gtk-color-palette settings-gtk-color-palette
2448                          "gtk-color-palette" "gchararray" t t)
2449                         (gtk-entry-select-on-focus
2450                          settings-gtk-entry-select-on-focus
2451                          "gtk-entry-select-on-focus" "gboolean" t t)
2452                         (gtk-entry-password-hint-timeout
2453                          settings-gtk-entry-password-hint-timeout
2454                          "gtk-entry-password-hint-timeout" "guint" t t)
2455                         (gtk-scrolled-window-placement
2456                          settings-gtk-scrolled-window-placement
2457                          "gtk-scrolled-window-placement" "GtkCornerType" t t)
2458                         (gtk-menu-bar-popup-delay
2459                          settings-gtk-menu-bar-popup-delay
2460                          "gtk-menu-bar-popup-delay" "gint" t t)))
2461
2462 (define-g-object-class "GtkRcStyle" rc-style
2463                        (:superclass g-object :export t :interfaces nil
2464                         :type-initializer "gtk_rc_style_get_type")
2465                        nil)
2466
2467 (define-g-object-class "GtkStyle" style
2468                        (:superclass g-object :export t :interfaces nil
2469                         :type-initializer "gtk_style_get_type")
2470                        nil)
2471
2472 (define-g-object-class "GtkTooltip" tooltip
2473                        (:superclass g-object :export t :interfaces nil
2474                         :type-initializer "gtk_tooltip_get_type")
2475                        nil)
2476
2477 (define-g-object-class "GtkAccelGroup" accel-group
2478                        (:superclass g-object :export t :interfaces nil
2479                         :type-initializer "gtk_accel_group_get_type")
2480                        ((is-locked accel-group-is-locked "is-locked" "gboolean"
2481                          t nil)
2482                         (modifier-mask accel-group-modifier-mask
2483                          "modifier-mask" "GdkModifierType" t nil)))
2484
2485 (define-g-object-class "GtkAccelMap" accel-map
2486                        (:superclass g-object :export t :interfaces nil
2487                         :type-initializer "gtk_accel_map_get_type")
2488                        nil)
2489
2490 (define-g-object-class "GtkAction" action
2491                        (:superclass g-object :export t :interfaces
2492                         ("GtkBuildable") :type-initializer
2493                         "gtk_action_get_type")
2494                        ((name action-name "name" "gchararray" t nil)
2495                         (label action-label "label" "gchararray" t t)
2496                         (short-label action-short-label "short-label"
2497                          "gchararray" t t)
2498                         (tooltip action-tooltip "tooltip" "gchararray" t t)
2499                         (stock-id action-stock-id "stock-id" "gchararray" t t)
2500                         (icon-name action-icon-name "icon-name" "gchararray" t
2501                          t)
2502                         (visible-horizontal action-visible-horizontal
2503                          "visible-horizontal" "gboolean" t t)
2504                         (visible-vertical action-visible-vertical
2505                          "visible-vertical" "gboolean" t t)
2506                         (visible-overflown action-visible-overflown
2507                          "visible-overflown" "gboolean" t t)
2508                         (is-important action-is-important "is-important"
2509                          "gboolean" t t)
2510                         (hide-if-empty action-hide-if-empty "hide-if-empty"
2511                          "gboolean" t t)
2512                         (sensitive action-sensitive "sensitive" "gboolean" t t)
2513                         (visible action-visible "visible" "gboolean" t t)
2514                         (action-group action-action-group "action-group"
2515                          "GtkActionGroup" t t)
2516                         (:cffi accel-path action-accel-path
2517                          (:string :free-from-foreign nil :free-to-foreign t)
2518                          "gtk_action_get_accel_path"
2519                          "gtk_action_set_accel_path")
2520                         (:cffi accel-group action-accel-group g-object nil
2521                          "gtk_action_set_accel_group")))
2522
2523 (define-g-object-class "GtkActionGroup" action-group
2524                        (:superclass g-object :export t :interfaces
2525                         ("GtkBuildable") :type-initializer
2526                         "gtk_action_group_get_type")
2527                        ((name action-group-name "name" "gchararray" t nil)
2528                         (sensitive action-group-sensitive "sensitive"
2529                          "gboolean" t t)
2530                         (visible action-group-visible "visible" "gboolean" t t)
2531                         (:cffi translate-function
2532                          action-group-translate-function nil nil
2533                          action-group-set-translate-func)
2534                         (:cffi translation-domain
2535                          action-group-translation-domain nil nil
2536                          gtk-action-group-set-translation-domain)))
2537
2538 (define-g-object-class "GtkBuilder" builder
2539                        (:superclass g-object :export t :interfaces nil
2540                         :type-initializer "gtk_builder_get_type")
2541                        ((translation-domain builder-translation-domain
2542                          "translation-domain" "gchararray" t t)))
2543
2544 (define-g-object-class "GtkClipboard" clipboard
2545                        (:superclass g-object :export t :interfaces nil
2546                         :type-initializer "gtk_clipboard_get_type")
2547                        nil)
2548
2549 (define-g-object-class "GtkEntryCompletion" entry-completion
2550                        (:superclass g-object :export t :interfaces
2551                         ("GtkBuildable" "GtkCellLayout") :type-initializer
2552                         "gtk_entry_completion_get_type")
2553                        ((model entry-completion-model "model" "GtkTreeModel" t
2554                          t)
2555                         (minimum-key-length entry-completion-minimum-key-length
2556                          "minimum-key-length" "gint" t t)
2557                         (text-column entry-completion-text-column "text-column"
2558                          "gint" t t)
2559                         (inline-completion entry-completion-inline-completion
2560                          "inline-completion" "gboolean" t t)
2561                         (popup-completion entry-completion-popup-completion
2562                          "popup-completion" "gboolean" t t)
2563                         (popup-set-width entry-completion-popup-set-width
2564                          "popup-set-width" "gboolean" t t)
2565                         (popup-single-match entry-completion-popup-single-match
2566                          "popup-single-match" "gboolean" t t)
2567                         (inline-selection entry-completion-inline-selection
2568                          "inline-selection" "gboolean" t t)))
2569
2570 (define-g-object-class "GtkIconFactory" icon-factory
2571                        (:superclass g-object :export t :interfaces
2572                         ("GtkBuildable") :type-initializer
2573                         "gtk_icon_factory_get_type")
2574                        nil)
2575
2576 (define-g-object-class "GtkIconTheme" icon-theme
2577                        (:superclass g-object :export t :interfaces nil
2578                         :type-initializer "gtk_icon_theme_get_type")
2579                        nil)
2580
2581 (define-g-object-class "GtkIMContext" i-m-context
2582                        (:superclass g-object :export t :interfaces nil) nil)
2583
2584 (define-g-object-class "GtkListStore" list-store
2585                        (:superclass g-object :export t :interfaces
2586                         ("GtkBuildable" "GtkTreeDragDest" "GtkTreeDragSource"
2587                          "GtkTreeModel" "GtkTreeSortable")
2588                         :type-initializer "gtk_list_store_get_type")
2589                        nil)
2590
2591 (define-g-object-class "GtkPageSetup" page-setup
2592                        (:superclass g-object :export t :interfaces nil
2593                         :type-initializer "gtk_page_setup_get_type")
2594                        nil)
2595
2596 (define-g-object-class "GtkPrintContext" print-context
2597                        (:superclass g-object :export t :interfaces nil
2598                         :type-initializer "gtk_print_context_get_type")
2599                        nil)
2600
2601 (define-g-object-class "GtkPrintOperation" print-operation
2602                        (:superclass g-object :export t :interfaces
2603                         ("GtkPrintOperationPreview") :type-initializer
2604                         "gtk_print_operation_get_type")
2605                        ((default-page-setup print-operation-default-page-setup
2606                          "default-page-setup" "GtkPageSetup" t t)
2607                         (print-settings print-operation-print-settings
2608                          "print-settings" "GtkPrintSettings" t t)
2609                         (job-name print-operation-job-name "job-name"
2610                          "gchararray" t t)
2611                         (n-pages print-operation-n-pages "n-pages" "gint" t t)
2612                         (current-page print-operation-current-page
2613                          "current-page" "gint" t t)
2614                         (use-full-page print-operation-use-full-page
2615                          "use-full-page" "gboolean" t t)
2616                         (track-print-status print-operation-track-print-status
2617                          "track-print-status" "gboolean" t t)
2618                         (unit print-operation-unit "unit" "GtkUnit" t t)
2619                         (show-progress print-operation-show-progress
2620                          "show-progress" "gboolean" t t)
2621                         (allow-async print-operation-allow-async "allow-async"
2622                          "gboolean" t t)
2623                         (export-filename print-operation-export-filename
2624                          "export-filename" "gchararray" t t)
2625                         (status print-operation-status "status"
2626                          "GtkPrintStatus" t nil)
2627                         (status-string print-operation-status-string
2628                          "status-string" "gchararray" t nil)
2629                         (custom-tab-label print-operation-custom-tab-label
2630                          "custom-tab-label" "gchararray" t t)))
2631
2632 (define-g-object-class "GtkPrintSettings" print-settings
2633                        (:superclass g-object :export t :interfaces nil
2634                         :type-initializer "gtk_print_settings_get_type")
2635                        nil)
2636
2637 (define-g-object-class "GtkRecentManager" recent-manager
2638                        (:superclass g-object :export t :interfaces nil
2639                         :type-initializer "gtk_recent_manager_get_type")
2640                        ((filename recent-manager-filename "filename"
2641                          "gchararray" t nil)
2642                         (limit recent-manager-limit "limit" "gint" t t)
2643                         (size recent-manager-size "size" "gint" t nil)))
2644
2645 (define-g-object-class "GtkSizeGroup" size-group
2646                        (:superclass g-object :export t :interfaces
2647                         ("GtkBuildable") :type-initializer
2648                         "gtk_size_group_get_type")
2649                        ((mode size-group-mode "mode" "GtkSizeGroupMode" t t)
2650                         (ignore-hidden size-group-ignore-hidden "ignore-hidden"
2651                          "gboolean" t t)))
2652
2653 (define-g-object-class "GtkStatusIcon" status-icon
2654                        (:superclass g-object :export t :interfaces nil
2655                         :type-initializer "gtk_status_icon_get_type")
2656                        ((pixbuf status-icon-pixbuf "pixbuf" "GdkPixbuf" t t)
2657                         (file status-icon-file "file" "gchararray" nil t)
2658                         (stock status-icon-stock "stock" "gchararray" t t)
2659                         (icon-name status-icon-icon-name "icon-name"
2660                          "gchararray" t t)
2661                         (gicon status-icon-gicon "gicon" "GIcon" t t)
2662                         (storage-type status-icon-storage-type "storage-type"
2663                          "GtkImageType" t nil)
2664                         (size status-icon-size "size" "gint" t nil)
2665                         (screen status-icon-screen "screen" "GdkScreen" t t)
2666                         (visible status-icon-visible "visible" "gboolean" t t)
2667                         (orientation status-icon-orientation "orientation"
2668                          "GtkOrientation" t nil)
2669                         (embedded status-icon-embedded "embedded" "gboolean" t
2670                          nil)
2671                         (blinking status-icon-blinking "blinking" "gboolean" t
2672                          t)))
2673
2674 (define-g-object-class "GtkTextBuffer" text-buffer
2675                        (:superclass g-object :export t :interfaces nil
2676                         :type-initializer "gtk_text_buffer_get_type")
2677                        ((tag-table text-buffer-tag-table "tag-table"
2678                          "GtkTextTagTable" t nil)
2679                         (text text-buffer-text "text" "gchararray" t t)
2680                         (has-selection text-buffer-has-selection
2681                          "has-selection" "gboolean" t nil)
2682                         (cursor-position text-buffer-cursor-position
2683                          "cursor-position" "gint" t nil)
2684                         (copy-target-list text-buffer-copy-target-list
2685                          "copy-target-list" "GtkTargetList" t nil)
2686                         (paste-target-list text-buffer-paste-target-list
2687                          "paste-target-list" "GtkTargetList" t nil)))
2688
2689 (define-g-object-class "GtkTextChildAnchor" text-child-anchor
2690                        (:superclass g-object :export t :interfaces nil
2691                         :type-initializer "gtk_text_child_anchor_get_type")
2692                        nil)
2693
2694 (define-g-object-class "GtkTextMark" text-mark
2695                        (:superclass g-object :export t :interfaces nil
2696                         :type-initializer "gtk_text_mark_get_type")
2697                        ((name text-mark-name "name" "gchararray" t nil)
2698                         (left-gravity text-mark-left-gravity "left-gravity"
2699                          "gboolean" t nil)))
2700
2701 (define-g-object-class "GtkTextTag" text-tag
2702                        (:superclass g-object :export t :interfaces nil
2703                         :type-initializer "gtk_text_tag_get_type")
2704                        ((name text-tag-name "name" "gchararray" t nil)
2705                         (background text-tag-background "background"
2706                          "gchararray" nil t)
2707                         (foreground text-tag-foreground "foreground"
2708                          "gchararray" nil t)
2709                         (background-gdk text-tag-background-gdk
2710                          "background-gdk" "GdkColor" t t)
2711                         (foreground-gdk text-tag-foreground-gdk
2712                          "foreground-gdk" "GdkColor" t t)
2713                         (background-stipple text-tag-background-stipple
2714                          "background-stipple" "GdkPixmap" t t)
2715                         (foreground-stipple text-tag-foreground-stipple
2716                          "foreground-stipple" "GdkPixmap" t t)
2717                         (font text-tag-font "font" "gchararray" t t)
2718                         (font-desc text-tag-font-desc "font-desc"
2719                          "PangoFontDescription" t t)
2720                         (family text-tag-family "family" "gchararray" t t)
2721                         (style text-tag-style "style" "PangoStyle" t t)
2722                         (variant text-tag-variant "variant" "PangoVariant" t t)
2723                         (weight text-tag-weight "weight" "gint" t t)
2724                         (stretch text-tag-stretch "stretch" "PangoStretch" t t)
2725                         (size text-tag-size "size" "gint" t t)
2726                         (size-points text-tag-size-points "size-points"
2727                          "gdouble" t t)
2728                         (scale text-tag-scale "scale" "gdouble" t t)
2729                         (pixels-above-lines text-tag-pixels-above-lines
2730                          "pixels-above-lines" "gint" t t)
2731                         (pixels-below-lines text-tag-pixels-below-lines
2732                          "pixels-below-lines" "gint" t t)
2733                         (pixels-inside-wrap text-tag-pixels-inside-wrap
2734                          "pixels-inside-wrap" "gint" t t)
2735                         (editable text-tag-editable "editable" "gboolean" t t)
2736                         (wrap-mode text-tag-wrap-mode "wrap-mode" "GtkWrapMode"
2737                          t t)
2738                         (justification text-tag-justification "justification"
2739                          "GtkJustification" t t)
2740                         (direction text-tag-direction "direction"
2741                          "GtkTextDirection" t t)
2742                         (left-margin text-tag-left-margin "left-margin" "gint"
2743                          t t)
2744                         (indent text-tag-indent "indent" "gint" t t)
2745                         (strikethrough text-tag-strikethrough "strikethrough"
2746                          "gboolean" t t)
2747                         (right-margin text-tag-right-margin "right-margin"
2748                          "gint" t t)
2749                         (underline text-tag-underline "underline"
2750                          "PangoUnderline" t t)
2751                         (rise text-tag-rise "rise" "gint" t t)
2752                         (background-full-height text-tag-background-full-height
2753                          "background-full-height" "gboolean" t t)
2754                         (language text-tag-language "language" "gchararray" t
2755                          t)
2756                         (tabs text-tag-tabs "tabs" "PangoTabArray" t t)
2757                         (invisible text-tag-invisible "invisible" "gboolean" t
2758                          t)
2759                         (paragraph-background text-tag-paragraph-background
2760                          "paragraph-background" "gchararray" nil t)
2761                         (paragraph-background-gdk
2762                          text-tag-paragraph-background-gdk
2763                          "paragraph-background-gdk" "GdkColor" t t)
2764                         (accumulative-margin text-tag-accumulative-margin
2765                          "accumulative-margin" "gboolean" t t)
2766                         (background-set text-tag-background-set
2767                          "background-set" "gboolean" t t)
2768                         (foreground-set text-tag-foreground-set
2769                          "foreground-set" "gboolean" t t)
2770                         (background-stipple-set text-tag-background-stipple-set
2771                          "background-stipple-set" "gboolean" t t)
2772                         (foreground-stipple-set text-tag-foreground-stipple-set
2773                          "foreground-stipple-set" "gboolean" t t)
2774                         (family-set text-tag-family-set "family-set" "gboolean"
2775                          t t)
2776                         (style-set text-tag-style-set "style-set" "gboolean" t
2777                          t)
2778                         (variant-set text-tag-variant-set "variant-set"
2779                          "gboolean" t t)
2780                         (weight-set text-tag-weight-set "weight-set" "gboolean"
2781                          t t)
2782                         (stretch-set text-tag-stretch-set "stretch-set"
2783                          "gboolean" t t)
2784                         (size-set text-tag-size-set "size-set" "gboolean" t t)
2785                         (scale-set text-tag-scale-set "scale-set" "gboolean" t
2786                          t)
2787                         (pixels-above-lines-set text-tag-pixels-above-lines-set
2788                          "pixels-above-lines-set" "gboolean" t t)
2789                         (pixels-below-lines-set text-tag-pixels-below-lines-set
2790                          "pixels-below-lines-set" "gboolean" t t)
2791                         (pixels-inside-wrap-set text-tag-pixels-inside-wrap-set
2792                          "pixels-inside-wrap-set" "gboolean" t t)
2793                         (editable-set text-tag-editable-set "editable-set"
2794                          "gboolean" t t)
2795                         (wrap-mode-set text-tag-wrap-mode-set "wrap-mode-set"
2796                          "gboolean" t t)
2797                         (justification-set text-tag-justification-set
2798                          "justification-set" "gboolean" t t)
2799                         (left-margin-set text-tag-left-margin-set
2800                          "left-margin-set" "gboolean" t t)
2801                         (indent-set text-tag-indent-set "indent-set" "gboolean"
2802                          t t)
2803                         (strikethrough-set text-tag-strikethrough-set
2804                          "strikethrough-set" "gboolean" t t)
2805                         (right-margin-set text-tag-right-margin-set
2806                          "right-margin-set" "gboolean" t t)
2807                         (underline-set text-tag-underline-set "underline-set"
2808                          "gboolean" t t)
2809                         (rise-set text-tag-rise-set "rise-set" "gboolean" t t)
2810                         (background-full-height-set
2811                          text-tag-background-full-height-set
2812                          "background-full-height-set" "gboolean" t t)
2813                         (language-set text-tag-language-set "language-set"
2814                          "gboolean" t t)
2815                         (tabs-set text-tag-tabs-set "tabs-set" "gboolean" t t)
2816                         (invisible-set text-tag-invisible-set "invisible-set"
2817                          "gboolean" t t)
2818                         (paragraph-background-set
2819                          text-tag-paragraph-background-set
2820                          "paragraph-background-set" "gboolean" t t)))
2821
2822 (define-g-object-class "GtkTextTagTable" text-tag-table
2823                        (:superclass g-object :export t :interfaces nil
2824                         :type-initializer "gtk_text_tag_table_get_type")
2825                        nil)
2826
2827 (define-g-object-class "GtkTreeModelFilter" tree-model-filter
2828                        (:superclass g-object :export t :interfaces
2829                         ("GtkTreeDragSource" "GtkTreeModel") :type-initializer
2830                         "gtk_tree_model_filter_get_type")
2831                        ((child-model tree-model-filter-child-model
2832                          "child-model" "GtkTreeModel" t nil)
2833                         (virtual-root tree-model-filter-virtual-root
2834                          "virtual-root" "GtkTreePath" t nil)))
2835
2836 (define-g-object-class "GtkTreeModelSort" tree-model-sort
2837                        (:superclass g-object :export t :interfaces
2838                         ("GtkTreeDragSource" "GtkTreeModel" "GtkTreeSortable")
2839                         :type-initializer "gtk_tree_model_sort_get_type")
2840                        ((model tree-model-sort-model "model" "GtkTreeModel" t
2841                          nil)))
2842
2843 (define-g-object-class "GtkTreeSelection" tree-selection
2844                        (:superclass g-object :export t :interfaces nil
2845                         :type-initializer "gtk_tree_selection_get_type")
2846                        ((:cffi mode tree-selection-mode selection-mode
2847                          "gtk_tree_selection_get_mode"
2848                          "gtk_tree_selection_set_mode")
2849                         (:cffi select-function tree-selection-select-function
2850                          nil tree-selection-get-selection-function
2851                          tree-selection-set-select-function)))
2852
2853 (define-g-object-class "GtkTreeStore" tree-store
2854                        (:superclass g-object :export t :interfaces
2855                         ("GtkBuildable" "GtkTreeDragDest" "GtkTreeDragSource"
2856                          "GtkTreeModel" "GtkTreeSortable")
2857                         :type-initializer "gtk_tree_store_get_type")
2858                        nil)
2859
2860 (define-g-object-class "GtkUIManager" ui-manager
2861                        (:superclass g-object :export t :interfaces
2862                         ("GtkBuildable"))
2863                        ((add-tearoffs ui-manager-add-tearoffs "add-tearoffs"
2864                          "gboolean" t t)
2865                         (ui ui-manager-ui "ui" "gchararray" t nil)
2866                         (:cffi accel-group ui-manager-accel-group g-object
2867                          "gtk_ui_manager_get_accel_group" nil)))
2868
2869 (define-g-object-class "GtkWindowGroup" window-group
2870                        (:superclass g-object :export t :interfaces nil
2871                         :type-initializer "gtk_window_group_get_type")
2872                        nil)
2873
2874 (define-g-object-class "GtkToggleAction" toggle-action
2875                        (:superclass action :export t :interfaces
2876                         ("GtkBuildable") :type-initializer
2877                         "gtk_toggle_action_get_type")
2878                        ((draw-as-radio toggle-action-draw-as-radio
2879                          "draw-as-radio" "gboolean" t t)
2880                         (active toggle-action-active "active" "gboolean" t t)))
2881
2882 (define-g-object-class "GtkRecentAction" recent-action
2883                        (:superclass action :export t :interfaces
2884                         ("GtkBuildable" "GtkRecentChooser") :type-initializer
2885                         "gtk_recent_action_get_type")
2886                        ((show-numbers recent-action-show-numbers "show-numbers"
2887                          "gboolean" t t)))
2888
2889 (define-g-object-class "GtkRadioAction" radio-action
2890                        (:superclass toggle-action :export t :interfaces
2891                         ("GtkBuildable") :type-initializer
2892                         "gtk_radio_action_get_type")
2893                        ((value radio-action-value "value" "gint" t t)
2894                         (group radio-action-group "group" "GtkRadioAction" nil
2895                          t)
2896                         (current-value radio-action-current-value
2897                          "current-value" "gint" t t)))
2898