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