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