Consistent order of generated definitions
[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                        ((value adjustment-value "value" "gdouble" t t)
671                         (lower adjustment-lower "lower" "gdouble" t t)
672                         (upper adjustment-upper "upper" "gdouble" t t)
673                         (step-increment adjustment-step-increment
674                          "step-increment" "gdouble" t t)
675                         (page-increment adjustment-page-increment
676                          "page-increment" "gdouble" t t)
677                         (page-size adjustment-page-size "page-size" "gdouble" t
678                          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                        ((mode cell-renderer-mode "mode" "GtkCellRendererMode" t
684                          t)
685                         (visible cell-renderer-visible "visible" "gboolean" t
686                          t)
687                         (sensitive cell-renderer-sensitive "sensitive"
688                          "gboolean" t t)
689                         (xalign cell-renderer-xalign "xalign" "gfloat" t t)
690                         (yalign cell-renderer-yalign "yalign" "gfloat" t t)
691                         (xpad cell-renderer-xpad "xpad" "guint" t t)
692                         (ypad cell-renderer-ypad "ypad" "guint" t t)
693                         (width cell-renderer-width "width" "gint" t t)
694                         (height cell-renderer-height "height" "gint" t t)
695                         (is-expander cell-renderer-is-expander "is-expander"
696                          "gboolean" t t)
697                         (is-expanded cell-renderer-is-expanded "is-expanded"
698                          "gboolean" t t)
699                         (cell-background cell-renderer-cell-background
700                          "cell-background" "gchararray" nil t)
701                         (cell-background-gdk cell-renderer-cell-background-gdk
702                          "cell-background-gdk" "GdkColor" t t)
703                         (cell-background-set cell-renderer-cell-background-set
704                          "cell-background-set" "gboolean" t t)
705                         (editing cell-renderer-editing "editing" "gboolean" t
706                          nil)))
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                        ((pixbuf cell-renderer-pixbuf-pixbuf "pixbuf"
712                          "GdkPixbuf" t t)
713                         (pixbuf-expander-open
714                          cell-renderer-pixbuf-pixbuf-expander-open
715                          "pixbuf-expander-open" "GdkPixbuf" t t)
716                         (pixbuf-expander-closed
717                          cell-renderer-pixbuf-pixbuf-expander-closed
718                          "pixbuf-expander-closed" "GdkPixbuf" t t)
719                         (stock-id cell-renderer-pixbuf-stock-id "stock-id"
720                          "gchararray" t t)
721                         (stock-size cell-renderer-pixbuf-stock-size
722                          "stock-size" "guint" t t)
723                         (stock-detail cell-renderer-pixbuf-stock-detail
724                          "stock-detail" "gchararray" t t)
725                         (follow-state cell-renderer-pixbuf-follow-state
726                          "follow-state" "gboolean" t t)
727                         (icon-name cell-renderer-pixbuf-icon-name "icon-name"
728                          "gchararray" t t)
729                         (gicon cell-renderer-pixbuf-gicon "gicon" "GIcon" 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                        ((value cell-renderer-progress-value "value" "gint" t t)
736                         (text cell-renderer-progress-text "text" "gchararray" t
737                          t)
738                         (pulse cell-renderer-progress-pulse "pulse" "gint" t t)
739                         (text-xalign cell-renderer-progress-text-xalign
740                          "text-xalign" "gfloat" t t)
741                         (text-yalign cell-renderer-progress-text-yalign
742                          "text-yalign" "gfloat" t t)
743                         (orientation cell-renderer-progress-orientation
744                          "orientation" "GtkProgressBarOrientation" t t)))
745
746 (define-g-object-class "GtkCellRendererText" cell-renderer-text
747                        (:superclass cell-renderer :export t :interfaces nil
748                         :type-initializer "gtk_cell_renderer_text_get_type")
749                        ((text cell-renderer-text-text "text" "gchararray" t t)
750                         (markup cell-renderer-text-markup "markup" "gchararray"
751                          nil t)
752                         (attributes cell-renderer-text-attributes "attributes"
753                          "PangoAttrList" t t)
754                         (single-paragraph-mode
755                          cell-renderer-text-single-paragraph-mode
756                          "single-paragraph-mode" "gboolean" t t)
757                         (width-chars cell-renderer-text-width-chars
758                          "width-chars" "gint" t t)
759                         (wrap-width cell-renderer-text-wrap-width "wrap-width"
760                          "gint" t t)
761                         (alignment cell-renderer-text-alignment "alignment"
762                          "PangoAlignment" t t)
763                         (background cell-renderer-text-background "background"
764                          "gchararray" nil t)
765                         (foreground cell-renderer-text-foreground "foreground"
766                          "gchararray" nil t)
767                         (background-gdk cell-renderer-text-background-gdk
768                          "background-gdk" "GdkColor" t t)
769                         (foreground-gdk cell-renderer-text-foreground-gdk
770                          "foreground-gdk" "GdkColor" t t)
771                         (font cell-renderer-text-font "font" "gchararray" t t)
772                         (font-desc cell-renderer-text-font-desc "font-desc"
773                          "PangoFontDescription" t t)
774                         (family cell-renderer-text-family "family" "gchararray"
775                          t t)
776                         (style cell-renderer-text-style "style" "PangoStyle" t
777                          t)
778                         (variant cell-renderer-text-variant "variant"
779                          "PangoVariant" t t)
780                         (weight cell-renderer-text-weight "weight" "gint" t t)
781                         (stretch cell-renderer-text-stretch "stretch"
782                          "PangoStretch" t t)
783                         (size cell-renderer-text-size "size" "gint" t t)
784                         (size-points cell-renderer-text-size-points
785                          "size-points" "gdouble" t t)
786                         (scale cell-renderer-text-scale "scale" "gdouble" t t)
787                         (editable cell-renderer-text-editable "editable"
788                          "gboolean" t t)
789                         (strikethrough cell-renderer-text-strikethrough
790                          "strikethrough" "gboolean" t t)
791                         (underline cell-renderer-text-underline "underline"
792                          "PangoUnderline" t t)
793                         (rise cell-renderer-text-rise "rise" "gint" t t)
794                         (language cell-renderer-text-language "language"
795                          "gchararray" t t)
796                         (ellipsize cell-renderer-text-ellipsize "ellipsize"
797                          "PangoEllipsizeMode" t t)
798                         (wrap-mode cell-renderer-text-wrap-mode "wrap-mode"
799                          "PangoWrapMode" t t)
800                         (background-set cell-renderer-text-background-set
801                          "background-set" "gboolean" t t)
802                         (foreground-set cell-renderer-text-foreground-set
803                          "foreground-set" "gboolean" t t)
804                         (family-set cell-renderer-text-family-set "family-set"
805                          "gboolean" t t)
806                         (style-set cell-renderer-text-style-set "style-set"
807                          "gboolean" t t)
808                         (variant-set cell-renderer-text-variant-set
809                          "variant-set" "gboolean" t t)
810                         (weight-set cell-renderer-text-weight-set "weight-set"
811                          "gboolean" t t)
812                         (stretch-set cell-renderer-text-stretch-set
813                          "stretch-set" "gboolean" t t)
814                         (size-set cell-renderer-text-size-set "size-set"
815                          "gboolean" t t)
816                         (scale-set cell-renderer-text-scale-set "scale-set"
817                          "gboolean" t t)
818                         (editable-set cell-renderer-text-editable-set
819                          "editable-set" "gboolean" t t)
820                         (strikethrough-set cell-renderer-text-strikethrough-set
821                          "strikethrough-set" "gboolean" t t)
822                         (underline-set cell-renderer-text-underline-set
823                          "underline-set" "gboolean" t t)
824                         (rise-set cell-renderer-text-rise-set "rise-set"
825                          "gboolean" t t)
826                         (language-set cell-renderer-text-language-set
827                          "language-set" "gboolean" t t)
828                         (ellipsize-set cell-renderer-text-ellipsize-set
829                          "ellipsize-set" "gboolean" t t)
830                         (align-set cell-renderer-text-align-set "align-set"
831                          "gboolean" t t)))
832
833 (define-g-object-class "GtkCellRendererAccel" cell-renderer-accel
834                        (:superclass cell-renderer-text :export t :interfaces
835                         nil :type-initializer
836                         "gtk_cell_renderer_accel_get_type")
837                        ((accel-key cell-renderer-accel-accel-key "accel-key"
838                          "guint" t t)
839                         (accel-mods cell-renderer-accel-accel-mods "accel-mods"
840                          "GdkModifierType" t t)
841                         (keycode cell-renderer-accel-keycode "keycode" "guint"
842                          t t)
843                         (accel-mode cell-renderer-accel-accel-mode "accel-mode"
844                          "GtkCellRendererAccelMode" t t)))
845
846 (define-g-object-class "GtkCellRendererCombo" cell-renderer-combo
847                        (:superclass cell-renderer-text :export t :interfaces
848                         nil :type-initializer
849                         "gtk_cell_renderer_combo_get_type")
850                        ((model cell-renderer-combo-model "model" "GtkTreeModel"
851                          t t)
852                         (text-column cell-renderer-combo-text-column
853                          "text-column" "gint" t t)
854                         (has-entry cell-renderer-combo-has-entry "has-entry"
855                          "gboolean" t t)))
856
857 (define-g-object-class "GtkCellRendererSpin" cell-renderer-spin
858                        (:superclass cell-renderer-text :export t :interfaces
859                         nil :type-initializer
860                         "gtk_cell_renderer_spin_get_type")
861                        ((adjustment cell-renderer-spin-adjustment "adjustment"
862                          "GtkAdjustment" t t)
863                         (climb-rate cell-renderer-spin-climb-rate "climb-rate"
864                          "gdouble" t t)
865                         (digits cell-renderer-spin-digits "digits" "guint" t
866                          t)))
867
868 (define-g-object-class "GtkCellRendererToggle" cell-renderer-toggle
869                        (:superclass cell-renderer :export t :interfaces nil
870                         :type-initializer "gtk_cell_renderer_toggle_get_type")
871                        ((activatable cell-renderer-toggle-activatable
872                          "activatable" "gboolean" t t)
873                         (active cell-renderer-toggle-active "active" "gboolean"
874                          t t)
875                         (radio cell-renderer-toggle-radio "radio" "gboolean" t
876                          t)
877                         (inconsistent cell-renderer-toggle-inconsistent
878                          "inconsistent" "gboolean" t t)
879                         (indicator-size cell-renderer-toggle-indicator-size
880                          "indicator-size" "gint" t t)))
881
882 (define-g-object-class "GtkFileFilter" file-filter
883                        (:superclass gtk-object :export t :interfaces nil
884                         :type-initializer "gtk_file_filter_get_type")
885                        ((:cffi name file-filter-name :string
886                          "gtk_file_filter_get_name"
887                          "gtk_file_filter_set_name")))
888
889 (define-g-object-class "GtkItemFactory" item-factory
890                        (:superclass gtk-object :export t :interfaces nil
891                         :type-initializer "gtk_item_factory_get_type")
892                        nil)
893
894 (define-g-object-class "GtkRecentFilter" recent-filter
895                        (:superclass gtk-object :export t :interfaces nil
896                         :type-initializer "gtk_recent_filter_get_type")
897                        nil)
898
899 (define-g-object-class "GtkTooltips" tooltips
900                        (:superclass gtk-object :export t :interfaces nil
901                         :type-initializer "gtk_tooltips_get_type")
902                        nil)
903
904 (define-g-object-class "GtkTreeViewColumn" tree-view-column
905                        (:superclass gtk-object :export t :interfaces
906                         ("GtkBuildable" "GtkCellLayout") :type-initializer
907                         "gtk_tree_view_column_get_type")
908                        ((visible tree-view-column-visible "visible" "gboolean"
909                          t t)
910                         (resizable tree-view-column-resizable "resizable"
911                          "gboolean" t t)
912                         (width tree-view-column-width "width" "gint" t nil)
913                         (spacing tree-view-column-spacing "spacing" "gint" t t)
914                         (sizing tree-view-column-sizing "sizing"
915                          "GtkTreeViewColumnSizing" t t)
916                         (fixed-width tree-view-column-fixed-width "fixed-width"
917                          "gint" t t)
918                         (min-width tree-view-column-min-width "min-width"
919                          "gint" t t)
920                         (max-width tree-view-column-max-width "max-width"
921                          "gint" t t)
922                         (title tree-view-column-title "title" "gchararray" t t)
923                         (expand tree-view-column-expand "expand" "gboolean" t
924                          t)
925                         (clickable tree-view-column-clickable "clickable"
926                          "gboolean" t t)
927                         (widget tree-view-column-widget "widget" "GtkWidget" t
928                          t)
929                         (alignment tree-view-column-alignment "alignment"
930                          "gfloat" t t)
931                         (reorderable tree-view-column-reorderable "reorderable"
932                          "gboolean" t t)
933                         (sort-indicator tree-view-column-sort-indicator
934                          "sort-indicator" "gboolean" t t)
935                         (sort-order tree-view-column-sort-order "sort-order"
936                          "GtkSortType" t t)
937                         (:cffi tree-view tree-view-column-tree-view g-object
938                          "gtk_tree_view_column_get_tree_view" nil)
939                         (:cffi sort-column-id tree-view-column-sort-column-id
940                          :int "gtk_tree_view_column_get_sort_column_id"
941                          "gtk_tree_view_column_set_sort_column_id")
942                         (:cffi cell-renderers tree-view-column-cell-renderers
943                          (glist g-object :free-from-foreign t)
944                          "gtk_tree_view_column_get_cell_renderers" nil)))
945
946 (define-g-object-class "GtkWidget" widget
947                        (:superclass gtk-object :export t :interfaces
948                         ("AtkImplementorIface" "GtkBuildable")
949                         :type-initializer "gtk_widget_get_type")
950                        ((name widget-name "name" "gchararray" t t)
951                         (parent widget-parent "parent" "GtkContainer" t t)
952                         (width-request widget-width-request "width-request"
953                          "gint" t t)
954                         (height-request widget-height-request "height-request"
955                          "gint" t t)
956                         (visible widget-visible "visible" "gboolean" t t)
957                         (sensitive widget-sensitive "sensitive" "gboolean" t t)
958                         (app-paintable widget-app-paintable "app-paintable"
959                          "gboolean" t t)
960                         (can-focus widget-can-focus "can-focus" "gboolean" t t)
961                         (has-focus widget-has-focus "has-focus" "gboolean" t t)
962                         (is-focus widget-is-focus "is-focus" "gboolean" t t)
963                         (can-default widget-can-default "can-default"
964                          "gboolean" t t)
965                         (has-default widget-has-default "has-default"
966                          "gboolean" t t)
967                         (receives-default widget-receives-default
968                          "receives-default" "gboolean" t t)
969                         (composite-child widget-composite-child
970                          "composite-child" "gboolean" t nil)
971                         (style widget-style "style" "GtkStyle" t t)
972                         (events widget-events "events" "GdkEventMask" t t)
973                         (extension-events widget-extension-events
974                          "extension-events" "GdkExtensionMode" t t)
975                         (no-show-all widget-no-show-all "no-show-all"
976                          "gboolean" t t)
977                         (has-tooltip widget-has-tooltip "has-tooltip"
978                          "gboolean" t t)
979                         (tooltip-markup widget-tooltip-markup "tooltip-markup"
980                          "gchararray" t t)
981                         (tooltip-text widget-tooltip-text "tooltip-text"
982                          "gchararray" t t)
983                         (window widget-window "window" "GdkWindow" t nil)
984                         (:cffi direction widget-direction text-direction
985                          "gtk_widget_get_direction" "gtk_widget_set_direction")
986                         (:cffi composite-name widget-composite-name
987                          (g-string :free-from-foreign t :free-to-foreign t)
988                          "gtk_widget_get_composite_name"
989                          "gtk_widget_set_composite_name")
990                         (:cffi redraw-on-allocate widget-redraw-on-allocate
991                          :boolean nil "gtk_widget_set_redraw_on_allocate")
992                         (:cffi accessible widget-accessible g-object
993                          "gtk_widget_get_accessible" nil)
994                         (:cffi tooltip-window widget-tooltip-window g-object
995                          "gtk_widget_get_tooltip_window"
996                          "gtk_widget_set_tooltip_window")))
997
998 (define-g-object-class "GtkCalendar" calendar
999                        (:superclass widget :export t :interfaces
1000                         ("AtkImplementorIface" "GtkBuildable")
1001                         :type-initializer "gtk_calendar_get_type")
1002                        ((year calendar-year "year" "gint" t t)
1003                         (month calendar-month "month" "gint" t t)
1004                         (day calendar-day "day" "gint" t t)
1005                         (show-heading calendar-show-heading "show-heading"
1006                          "gboolean" t t)
1007                         (show-day-names calendar-show-day-names
1008                          "show-day-names" "gboolean" t t)
1009                         (no-month-change calendar-no-month-change
1010                          "no-month-change" "gboolean" t t)
1011                         (show-week-numbers calendar-show-week-numbers
1012                          "show-week-numbers" "gboolean" t t)
1013                         (show-details calendar-show-details "show-details"
1014                          "gboolean" t t)
1015                         (detail-width-chars calendar-detail-width-chars
1016                          "detail-width-chars" "gint" t t)
1017                         (detail-height-rows calendar-detail-height-rows
1018                          "detail-height-rows" "gint" t t)
1019                         (:cffi detail-function calendar-detail-function nil nil
1020                          calendar-set-detail-function)))
1021
1022 (define-g-object-class "GtkCellView" cell-view
1023                        (:superclass widget :export t :interfaces
1024                         ("AtkImplementorIface" "GtkBuildable" "GtkCellLayout")
1025                         :type-initializer "gtk_cell_view_get_type")
1026                        ((background cell-view-background "background"
1027                          "gchararray" nil t)
1028                         (background-gdk cell-view-background-gdk
1029                          "background-gdk" "GdkColor" t t)
1030                         (background-set cell-view-background-set
1031                          "background-set" "gboolean" t t)
1032                         (model cell-view-model "model" "GtkTreeModel" t t)
1033                         (:cffi displayed-row cell-view-displayed-row
1034                          (g-boxed-foreign tree-path)
1035                          "gtk_cell_view_get_displayed_row"
1036                          "gtk_cell_view_set_displayed_row")))
1037
1038 (define-g-object-class "GtkContainer" container
1039                        (:superclass widget :export t :interfaces
1040                         ("AtkImplementorIface" "GtkBuildable")
1041                         :type-initializer "gtk_container_get_type")
1042                        ((border-width container-border-width "border-width"
1043                          "guint" t t)
1044                         (resize-mode container-resize-mode "resize-mode"
1045                          "GtkResizeMode" t t)
1046                         (child container-child "child" "GtkWidget" nil t)
1047                         (:cffi focus-child container-focus-child g-object
1048                          "gtk_container_get_focus_child"
1049                          "gtk_container_set_focus_child")
1050                         (:cffi focus-vadjustment container-focus-vadjustment
1051                          g-object "gtk_container_get_focus_vadjustment"
1052                          "gtk_container_set_focus_vadjustment")
1053                         (:cffi focus-hadjustment container-focus-hadjustment
1054                          g-object "gtk_container_get_focus_hadjustment"
1055                          "gtk_container_set_focus_hadjustment")))
1056
1057 (define-g-object-class "GtkBin" bin
1058                        (:superclass container :export t :interfaces
1059                         ("AtkImplementorIface" "GtkBuildable")
1060                         :type-initializer "gtk_bin_get_type")
1061                        nil)
1062
1063 (define-g-object-class "GtkAlignment" alignment
1064                        (:superclass bin :export t :interfaces
1065                         ("AtkImplementorIface" "GtkBuildable")
1066                         :type-initializer "gtk_alignment_get_type")
1067                        ((xalign alignment-xalign "xalign" "gfloat" t t)
1068                         (yalign alignment-yalign "yalign" "gfloat" t t)
1069                         (xscale alignment-xscale "xscale" "gfloat" t t)
1070                         (yscale alignment-yscale "yscale" "gfloat" t t)
1071                         (top-padding alignment-top-padding "top-padding"
1072                          "guint" t t)
1073                         (bottom-padding alignment-bottom-padding
1074                          "bottom-padding" "guint" t t)
1075                         (left-padding alignment-left-padding "left-padding"
1076                          "guint" t t)
1077                         (right-padding alignment-right-padding "right-padding"
1078                          "guint" t t)))
1079
1080 (define-g-object-class "GtkButton" button
1081                        (:superclass bin :export t :interfaces
1082                         ("AtkImplementorIface" "GtkActivatable" "GtkBuildable")
1083                         :type-initializer "gtk_button_get_type")
1084                        ((label button-label "label" "gchararray" t t)
1085                         (image button-image "image" "GtkWidget" t t)
1086                         (relief button-relief "relief" "GtkReliefStyle" t t)
1087                         (use-underline button-use-underline "use-underline"
1088                          "gboolean" t t)
1089                         (use-stock button-use-stock "use-stock" "gboolean" t t)
1090                         (focus-on-click button-focus-on-click "focus-on-click"
1091                          "gboolean" t t)
1092                         (xalign button-xalign "xalign" "gfloat" t t)
1093                         (yalign button-yalign "yalign" "gfloat" t t)
1094                         (image-position button-image-position "image-position"
1095                          "GtkPositionType" t t)))
1096
1097 (define-g-object-class "GtkColorButton" color-button
1098                        (:superclass button :export t :interfaces
1099                         ("AtkImplementorIface" "GtkActivatable" "GtkBuildable")
1100                         :type-initializer "gtk_color_button_get_type")
1101                        ((use-alpha color-button-use-alpha "use-alpha"
1102                          "gboolean" t t)
1103                         (title color-button-title "title" "gchararray" t t)
1104                         (color color-button-color "color" "GdkColor" t t)
1105                         (alpha color-button-alpha "alpha" "guint" t t)))
1106
1107 (define-g-object-class "GtkFontButton" font-button
1108                        (:superclass button :export t :interfaces
1109                         ("AtkImplementorIface" "GtkActivatable" "GtkBuildable")
1110                         :type-initializer "gtk_font_button_get_type")
1111                        ((title font-button-title "title" "gchararray" t t)
1112                         (font-name font-button-font-name "font-name"
1113                          "gchararray" t t)
1114                         (use-font font-button-use-font "use-font" "gboolean" t
1115                          t)
1116                         (use-size font-button-use-size "use-size" "gboolean" t
1117                          t)
1118                         (show-style font-button-show-style "show-style"
1119                          "gboolean" t t)
1120                         (show-size font-button-show-size "show-size" "gboolean"
1121                          t t)))
1122
1123 (define-g-object-class "GtkLinkButton" link-button
1124                        (:superclass button :export t :interfaces
1125                         ("AtkImplementorIface" "GtkActivatable" "GtkBuildable")
1126                         :type-initializer "gtk_link_button_get_type")
1127                        ((uri link-button-uri "uri" "gchararray" t t)
1128                         (visited link-button-visited "visited" "gboolean" t t)))
1129
1130 (define-g-object-class "GtkScaleButton" scale-button
1131                        (:superclass button :export t :interfaces
1132                         ("AtkImplementorIface" "GtkActivatable" "GtkBuildable"
1133                          "GtkOrientable")
1134                         :type-initializer "gtk_scale_button_get_type")
1135                        ((value scale-button-value "value" "gdouble" t t)
1136                         (size scale-button-size "size" "GtkIconSize" t t)
1137                         (adjustment scale-button-adjustment "adjustment"
1138                          "GtkAdjustment" t t)
1139                         (icons scale-button-icons "icons" "GStrv" t t)))
1140
1141 (define-g-object-class "GtkVolumeButton" volume-button
1142                        (:superclass scale-button :export t :interfaces
1143                         ("AtkImplementorIface" "GtkActivatable" "GtkBuildable"
1144                          "GtkOrientable")
1145                         :type-initializer "gtk_volume_button_get_type")
1146                        nil)
1147
1148 (define-g-object-class "GtkToggleButton" toggle-button
1149                        (:superclass button :export t :interfaces
1150                         ("AtkImplementorIface" "GtkActivatable" "GtkBuildable")
1151                         :type-initializer "gtk_toggle_button_get_type")
1152                        ((active toggle-button-active "active" "gboolean" t t)
1153                         (inconsistent toggle-button-inconsistent "inconsistent"
1154                          "gboolean" t t)
1155                         (draw-indicator toggle-button-draw-indicator
1156                          "draw-indicator" "gboolean" t t)))
1157
1158 (define-g-object-class "GtkCheckButton" check-button
1159                        (:superclass toggle-button :export t :interfaces
1160                         ("AtkImplementorIface" "GtkActivatable" "GtkBuildable")
1161                         :type-initializer "gtk_check_button_get_type")
1162                        nil)
1163
1164 (define-g-object-class "GtkRadioButton" radio-button
1165                        (:superclass check-button :export t :interfaces
1166                         ("AtkImplementorIface" "GtkActivatable" "GtkBuildable")
1167                         :type-initializer "gtk_radio_button_get_type")
1168                        ((group radio-button-group "group" "GtkRadioButton" nil
1169                          t)))
1170
1171 (define-g-object-class "GtkComboBox" combo-box
1172                        (:superclass bin :export t :interfaces
1173                         ("AtkImplementorIface" "GtkBuildable" "GtkCellEditable"
1174                          "GtkCellLayout")
1175                         :type-initializer "gtk_combo_box_get_type")
1176                        ((model combo-box-model "model" "GtkTreeModel" t t)
1177                         (wrap-width combo-box-wrap-width "wrap-width" "gint" t
1178                          t)
1179                         (row-span-column combo-box-row-span-column
1180                          "row-span-column" "gint" t t)
1181                         (column-span-column combo-box-column-span-column
1182                          "column-span-column" "gint" t t)
1183                         (active combo-box-active "active" "gint" t t)
1184                         (add-tearoffs combo-box-add-tearoffs "add-tearoffs"
1185                          "gboolean" t t)
1186                         (tearoff-title combo-box-tearoff-title "tearoff-title"
1187                          "gchararray" t t)
1188                         (has-frame combo-box-has-frame "has-frame" "gboolean" t
1189                          t)
1190                         (focus-on-click combo-box-focus-on-click
1191                          "focus-on-click" "gboolean" t t)
1192                         (popup-shown combo-box-popup-shown "popup-shown"
1193                          "gboolean" t nil)
1194                         (button-sensitivity combo-box-button-sensitivity
1195                          "button-sensitivity" "GtkSensitivityType" t t)
1196                         (:cffi active-iter combo-box-active-iter
1197                          (g-boxed-foreign tree-iter) combo-box-get-active-iter
1198                          "gtk_combo_box_set_active_iter")
1199                         (:cffi row-separator-func combo-box-separator-func nil
1200                          nil combo-box-set-separator-func)))
1201
1202 (define-g-object-class "GtkComboBoxEntry" combo-box-entry
1203                        (:superclass combo-box :export t :interfaces
1204                         ("AtkImplementorIface" "GtkBuildable" "GtkCellEditable"
1205                          "GtkCellLayout")
1206                         :type-initializer "gtk_combo_box_entry_get_type")
1207                        ((text-column combo-box-entry-text-column "text-column"
1208                          "gint" t t)))
1209
1210 (define-g-object-class "GtkEventBox" event-box
1211                        (:superclass bin :export t :interfaces
1212                         ("AtkImplementorIface" "GtkBuildable")
1213                         :type-initializer "gtk_event_box_get_type")
1214                        ((visible-window event-box-visible-window
1215                          "visible-window" "gboolean" t t)
1216                         (above-child event-box-above-child "above-child"
1217                          "gboolean" t t)))
1218
1219 (define-g-object-class "GtkExpander" expander
1220                        (:superclass bin :export t :interfaces
1221                         ("AtkImplementorIface" "GtkBuildable")
1222                         :type-initializer "gtk_expander_get_type")
1223                        ((expanded expander-expanded "expanded" "gboolean" t t)
1224                         (label expander-label "label" "gchararray" t t)
1225                         (use-underline expander-use-underline "use-underline"
1226                          "gboolean" t t)
1227                         (use-markup expander-use-markup "use-markup" "gboolean"
1228                          t t)
1229                         (spacing expander-spacing "spacing" "gint" t t)
1230                         (label-widget expander-label-widget "label-widget"
1231                          "GtkWidget" t t)))
1232
1233 (define-g-object-class "GtkFrame" frame
1234                        (:superclass bin :export t :interfaces
1235                         ("AtkImplementorIface" "GtkBuildable")
1236                         :type-initializer "gtk_frame_get_type")
1237                        ((label frame-label "label" "gchararray" t t)
1238                         (label-xalign frame-label-xalign "label-xalign"
1239                          "gfloat" t t)
1240                         (label-yalign frame-label-yalign "label-yalign"
1241                          "gfloat" t t)
1242                         (shadow frame-shadow "shadow" "GtkShadowType" t t)
1243                         (shadow-type frame-shadow-type "shadow-type"
1244                          "GtkShadowType" t t)
1245                         (label-widget frame-label-widget "label-widget"
1246                          "GtkWidget" t t)))
1247
1248 (define-g-object-class "GtkAspectFrame" aspect-frame
1249                        (:superclass frame :export t :interfaces
1250                         ("AtkImplementorIface" "GtkBuildable")
1251                         :type-initializer "gtk_aspect_frame_get_type")
1252                        ((xalign aspect-frame-xalign "xalign" "gfloat" t t)
1253                         (yalign aspect-frame-yalign "yalign" "gfloat" t t)
1254                         (ratio aspect-frame-ratio "ratio" "gfloat" t t)
1255                         (obey-child aspect-frame-obey-child "obey-child"
1256                          "gboolean" t t)))
1257
1258 (define-g-object-class "GtkHandleBox" handle-box
1259                        (:superclass bin :export t :interfaces
1260                         ("AtkImplementorIface" "GtkBuildable")
1261                         :type-initializer "gtk_handle_box_get_type")
1262                        ((shadow handle-box-shadow "shadow" "GtkShadowType" t t)
1263                         (shadow-type handle-box-shadow-type "shadow-type"
1264                          "GtkShadowType" t t)
1265                         (handle-position handle-box-handle-position
1266                          "handle-position" "GtkPositionType" t t)
1267                         (snap-edge handle-box-snap-edge "snap-edge"
1268                          "GtkPositionType" t t)
1269                         (snap-edge-set handle-box-snap-edge-set "snap-edge-set"
1270                          "gboolean" t t)
1271                         (child-detached handle-box-child-detached
1272                          "child-detached" "gboolean" t nil)))
1273
1274 (define-g-object-class "GtkItem" item
1275                        (:superclass bin :export t :interfaces
1276                         ("AtkImplementorIface" "GtkBuildable")
1277                         :type-initializer "gtk_item_get_type")
1278                        nil)
1279
1280 (define-g-object-class "GtkMenuItem" menu-item
1281                        (:superclass item :export t :interfaces
1282                         ("AtkImplementorIface" "GtkActivatable" "GtkBuildable")
1283                         :type-initializer "gtk_menu_item_get_type")
1284                        ((right-justified menu-item-right-justified
1285                          "right-justified" "gboolean" t t)
1286                         (submenu menu-item-submenu "submenu" "GtkMenu" t t)
1287                         (accel-path menu-item-accel-path "accel-path"
1288                          "gchararray" t t)
1289                         (label menu-item-label "label" "gchararray" t t)
1290                         (use-underline menu-item-use-underline "use-underline"
1291                          "gboolean" t t)))
1292
1293 (define-g-object-class "GtkCheckMenuItem" check-menu-item
1294                        (:superclass menu-item :export t :interfaces
1295                         ("AtkImplementorIface" "GtkActivatable" "GtkBuildable")
1296                         :type-initializer "gtk_check_menu_item_get_type")
1297                        ((active check-menu-item-active "active" "gboolean" t t)
1298                         (inconsistent check-menu-item-inconsistent
1299                          "inconsistent" "gboolean" t t)
1300                         (draw-as-radio check-menu-item-draw-as-radio
1301                          "draw-as-radio" "gboolean" t t)))
1302
1303 (define-g-object-class "GtkRadioMenuItem" radio-menu-item
1304                        (:superclass check-menu-item :export t :interfaces
1305                         ("AtkImplementorIface" "GtkActivatable" "GtkBuildable")
1306                         :type-initializer "gtk_radio_menu_item_get_type")
1307                        ((group radio-menu-item-group "group" "GtkRadioMenuItem"
1308                          nil t)))
1309
1310 (define-g-object-class "GtkImageMenuItem" image-menu-item
1311                        (:superclass menu-item :export t :interfaces
1312                         ("AtkImplementorIface" "GtkActivatable" "GtkBuildable")
1313                         :type-initializer "gtk_image_menu_item_get_type")
1314                        ((image image-menu-item-image "image" "GtkWidget" t t)
1315                         (use-stock image-menu-item-use-stock "use-stock"
1316                          "gboolean" t t)
1317                         (accel-group image-menu-item-accel-group "accel-group"
1318                          "GtkAccelGroup" nil t)
1319                         (always-show-image image-menu-item-always-show-image
1320                          "always-show-image" "gboolean" t t)))
1321
1322 (define-g-object-class "GtkSeparatorMenuItem" separator-menu-item
1323                        (:superclass menu-item :export t :interfaces
1324                         ("AtkImplementorIface" "GtkActivatable" "GtkBuildable")
1325                         :type-initializer "gtk_separator_menu_item_get_type")
1326                        nil)
1327
1328 (define-g-object-class "GtkTearoffMenuItem" tearoff-menu-item
1329                        (:superclass menu-item :export t :interfaces
1330                         ("AtkImplementorIface" "GtkActivatable" "GtkBuildable")
1331                         :type-initializer "gtk_tearoff_menu_item_get_type")
1332                        nil)
1333
1334 (define-g-object-class "GtkTreeItem" tree-item
1335                        (:superclass item :export t :interfaces
1336                         ("AtkImplementorIface" "GtkBuildable")
1337                         :type-initializer "gtk_tree_item_get_type")
1338                        nil)
1339
1340 (define-g-object-class "GtkScrolledWindow" scrolled-window
1341                        (:superclass bin :export t :interfaces
1342                         ("AtkImplementorIface" "GtkBuildable")
1343                         :type-initializer "gtk_scrolled_window_get_type")
1344                        ((hadjustment scrolled-window-hadjustment "hadjustment"
1345                          "GtkAdjustment" t t)
1346                         (vadjustment scrolled-window-vadjustment "vadjustment"
1347                          "GtkAdjustment" t t)
1348                         (hscrollbar-policy scrolled-window-hscrollbar-policy
1349                          "hscrollbar-policy" "GtkPolicyType" t t)
1350                         (vscrollbar-policy scrolled-window-vscrollbar-policy
1351                          "vscrollbar-policy" "GtkPolicyType" t t)
1352                         (window-placement scrolled-window-window-placement
1353                          "window-placement" "GtkCornerType" t t)
1354                         (window-placement-set
1355                          scrolled-window-window-placement-set
1356                          "window-placement-set" "gboolean" t t)
1357                         (shadow-type scrolled-window-shadow-type "shadow-type"
1358                          "GtkShadowType" t t)))
1359
1360 (define-g-object-class "GtkToolItem" tool-item
1361                        (:superclass bin :export t :interfaces
1362                         ("AtkImplementorIface" "GtkActivatable" "GtkBuildable")
1363                         :type-initializer "gtk_tool_item_get_type")
1364                        ((visible-horizontal tool-item-visible-horizontal
1365                          "visible-horizontal" "gboolean" t t)
1366                         (visible-vertical tool-item-visible-vertical
1367                          "visible-vertical" "gboolean" t t)
1368                         (is-important tool-item-is-important "is-important"
1369                          "gboolean" t t)
1370                         (:cffi expand tool-item-expand :boolean
1371                          "gtk_tool_item_get_expand" "gtk_tool_item_set_expand")
1372                         (:cffi use-drag-window tool-item-use-drag-window
1373                          :boolean "gtk_tool_item_get_use_drag_window"
1374                          "gtk_tool_item_set_use_drag_window")
1375                         (:cffi icon-size tool-item-icon-size icon-size
1376                          "gtk_tool_item_get_icon_size" nil)
1377                         (:cffi orientation tool-item-orientation orientation
1378                          "gtk_tool_item_get_orientation" nil)
1379                         (:cffi toolbar-style tool-item-toolbar-style
1380                          toolbar-style "gtk_tool_item_get_toolbar_style" nil)
1381                         (:cffi relief-style tool-item-relief-style relief-style
1382                          "gtk_tool_item_get_relief_style" nil)))
1383
1384 (define-g-object-class "GtkSeparatorToolItem" separator-tool-item
1385                        (:superclass tool-item :export t :interfaces
1386                         ("AtkImplementorIface" "GtkActivatable" "GtkBuildable")
1387                         :type-initializer "gtk_separator_tool_item_get_type")
1388                        ((draw separator-tool-item-draw "draw" "gboolean" t t)))
1389
1390 (define-g-object-class "GtkToolButton" tool-button
1391                        (:superclass tool-item :export t :interfaces
1392                         ("AtkImplementorIface" "GtkActivatable" "GtkBuildable")
1393                         :type-initializer "gtk_tool_button_get_type")
1394                        ((label tool-button-label "label" "gchararray" t t)
1395                         (use-underline tool-button-use-underline
1396                          "use-underline" "gboolean" t t)
1397                         (label-widget tool-button-label-widget "label-widget"
1398                          "GtkWidget" t t)
1399                         (stock-id tool-button-stock-id "stock-id" "gchararray"
1400                          t t)
1401                         (icon-name tool-button-icon-name "icon-name"
1402                          "gchararray" t t)
1403                         (icon-widget tool-button-icon-widget "icon-widget"
1404                          "GtkWidget" t t)))
1405
1406 (define-g-object-class "GtkMenuToolButton" menu-tool-button
1407                        (:superclass tool-button :export t :interfaces
1408                         ("AtkImplementorIface" "GtkActivatable" "GtkBuildable")
1409                         :type-initializer "gtk_menu_tool_button_get_type")
1410                        ((menu menu-tool-button-menu "menu" "GtkMenu" t t)
1411                         (:cffi arrow-tooltip-text
1412                          menu-tool-button-arrow-tooltip-text :string nil
1413                          "gtk_menu_tool_button_set_arrow_tooltip_text")
1414                         (:cffi arrow-tooltip-markup
1415                          menu-tool-button-arrow-tooltip-markup :string nil
1416                          "gtk_menu_tool_button_set_arrow_tooltip_markup")))
1417
1418 (define-g-object-class "GtkToggleToolButton" toggle-tool-button
1419                        (:superclass tool-button :export t :interfaces
1420                         ("AtkImplementorIface" "GtkActivatable" "GtkBuildable")
1421                         :type-initializer "gtk_toggle_tool_button_get_type")
1422                        ((active toggle-tool-button-active "active" "gboolean" t
1423                          t)))
1424
1425 (define-g-object-class "GtkRadioToolButton" radio-tool-button
1426                        (:superclass toggle-tool-button :export t :interfaces
1427                         ("AtkImplementorIface" "GtkActivatable" "GtkBuildable")
1428                         :type-initializer "gtk_radio_tool_button_get_type")
1429                        ((group radio-tool-button-group "group"
1430                          "GtkRadioToolButton" nil t)))
1431
1432 (define-g-object-class "GtkViewport" viewport
1433                        (:superclass bin :export t :interfaces
1434                         ("AtkImplementorIface" "GtkBuildable")
1435                         :type-initializer "gtk_viewport_get_type")
1436                        ((hadjustment viewport-hadjustment "hadjustment"
1437                          "GtkAdjustment" t t)
1438                         (vadjustment viewport-vadjustment "vadjustment"
1439                          "GtkAdjustment" t t)
1440                         (shadow-type viewport-shadow-type "shadow-type"
1441                          "GtkShadowType" t t)))
1442
1443 (define-g-object-class "GtkWindow" gtk-window
1444                        (:superclass bin :export t :interfaces
1445                         ("AtkImplementorIface" "GtkBuildable")
1446                         :type-initializer "gtk_window_get_type")
1447                        ((type gtk-window-type "type" "GtkWindowType" t nil)
1448                         (title gtk-window-title "title" "gchararray" t t)
1449                         (role gtk-window-role "role" "gchararray" t t)
1450                         (startup-id gtk-window-startup-id "startup-id"
1451                          "gchararray" nil t)
1452                         (allow-shrink gtk-window-allow-shrink "allow-shrink"
1453                          "gboolean" t t)
1454                         (allow-grow gtk-window-allow-grow "allow-grow"
1455                          "gboolean" t t)
1456                         (resizable gtk-window-resizable "resizable" "gboolean"
1457                          t t)
1458                         (modal gtk-window-modal "modal" "gboolean" t t)
1459                         (window-position gtk-window-window-position
1460                          "window-position" "GtkWindowPosition" t t)
1461                         (default-width gtk-window-default-width "default-width"
1462                          "gint" t t)
1463                         (default-height gtk-window-default-height
1464                          "default-height" "gint" t t)
1465                         (destroy-with-parent gtk-window-destroy-with-parent
1466                          "destroy-with-parent" "gboolean" t t)
1467                         (icon gtk-window-icon "icon" "GdkPixbuf" t t)
1468                         (icon-name gtk-window-icon-name "icon-name"
1469                          "gchararray" t t)
1470                         (screen gtk-window-screen "screen" "GdkScreen" t t)
1471                         (type-hint gtk-window-type-hint "type-hint"
1472                          "GdkWindowTypeHint" t t)
1473                         (skip-taskbar-hint gtk-window-skip-taskbar-hint
1474                          "skip-taskbar-hint" "gboolean" t t)
1475                         (skip-pager-hint gtk-window-skip-pager-hint
1476                          "skip-pager-hint" "gboolean" t t)
1477                         (urgency-hint gtk-window-urgency-hint "urgency-hint"
1478                          "gboolean" t t)
1479                         (accept-focus gtk-window-accept-focus "accept-focus"
1480                          "gboolean" t t)
1481                         (focus-on-map gtk-window-focus-on-map "focus-on-map"
1482                          "gboolean" t t)
1483                         (decorated gtk-window-decorated "decorated" "gboolean"
1484                          t t)
1485                         (deletable gtk-window-deletable "deletable" "gboolean"
1486                          t t)
1487                         (gravity gtk-window-gravity "gravity" "GdkGravity" t t)
1488                         (transient-for gtk-window-transient-for "transient-for"
1489                          "GtkWindow" t t)
1490                         (opacity gtk-window-opacity "opacity" "gdouble" t t)
1491                         (is-active gtk-window-is-active "is-active" "gboolean"
1492                          t nil)
1493                         (has-toplevel-focus gtk-window-has-toplevel-focus
1494                          "has-toplevel-focus" "gboolean" t nil)))
1495
1496 (define-g-object-class "GtkAssistant" assistant
1497                        (:superclass gtk-window :export t :interfaces
1498                         ("AtkImplementorIface" "GtkBuildable")
1499                         :type-initializer "gtk_assistant_get_type")
1500                        nil)
1501
1502 (define-g-object-class "GtkDialog" dialog
1503                        (:superclass gtk-window :export t :interfaces
1504                         ("AtkImplementorIface" "GtkBuildable")
1505                         :type-initializer "gtk_dialog_get_type")
1506                        ((has-separator dialog-has-separator "has-separator"
1507                          "gboolean" t t)))
1508
1509 (define-g-object-class "GtkAboutDialog" about-dialog
1510                        (:superclass dialog :export t :interfaces
1511                         ("AtkImplementorIface" "GtkBuildable")
1512                         :type-initializer "gtk_about_dialog_get_type")
1513                        ((program-name about-dialog-program-name "program-name"
1514                          "gchararray" t t)
1515                         (version about-dialog-version "version" "gchararray" t
1516                          t)
1517                         (copyright about-dialog-copyright "copyright"
1518                          "gchararray" t t)
1519                         (comments about-dialog-comments "comments" "gchararray"
1520                          t t)
1521                         (website about-dialog-website "website" "gchararray" t
1522                          t)
1523                         (website-label about-dialog-website-label
1524                          "website-label" "gchararray" t t)
1525                         (license about-dialog-license "license" "gchararray" t
1526                          t)
1527                         (authors about-dialog-authors "authors" "GStrv" t t)
1528                         (documenters about-dialog-documenters "documenters"
1529                          "GStrv" t t)
1530                         (translator-credits about-dialog-translator-credits
1531                          "translator-credits" "gchararray" t t)
1532                         (artists about-dialog-artists "artists" "GStrv" t t)
1533                         (logo about-dialog-logo "logo" "GdkPixbuf" t t)
1534                         (logo-icon-name about-dialog-logo-icon-name
1535                          "logo-icon-name" "gchararray" t t)
1536                         (wrap-license about-dialog-wrap-license "wrap-license"
1537                          "gboolean" t t)))
1538
1539 (define-g-object-class "GtkColorSelectionDialog" color-selection-dialog
1540                        (:superclass dialog :export t :interfaces
1541                         ("AtkImplementorIface" "GtkBuildable")
1542                         :type-initializer
1543                         "gtk_color_selection_dialog_get_type")
1544                        ((color-selection color-selection-dialog-color-selection
1545                          "color-selection" "GtkWidget" t nil)
1546                         (ok-button color-selection-dialog-ok-button "ok-button"
1547                          "GtkWidget" t nil)
1548                         (cancel-button color-selection-dialog-cancel-button
1549                          "cancel-button" "GtkWidget" t nil)
1550                         (help-button color-selection-dialog-help-button
1551                          "help-button" "GtkWidget" t nil)))
1552
1553 (define-g-object-class "GtkFileChooserDialog" file-chooser-dialog
1554                        (:superclass dialog :export t :interfaces
1555                         ("AtkImplementorIface" "GtkBuildable" "GtkFileChooser")
1556                         :type-initializer "gtk_file_chooser_dialog_get_type")
1557                        nil)
1558
1559 (define-g-object-class "GtkFontSelectionDialog" font-selection-dialog
1560                        (:superclass dialog :export t :interfaces
1561                         ("AtkImplementorIface" "GtkBuildable")
1562                         :type-initializer "gtk_font_selection_dialog_get_type")
1563                        ((:cffi font-name font-selection-dialog-font-name
1564                          (g-string :free-from-foreign t :free-to-foreign t)
1565                          "gtk_font_selection_dialog_get_font_name"
1566                          "gtk_font_selection_dialog_set_font_name")
1567                         (:cffi preview-text font-selection-dialog-preview-text
1568                          :string "gtk_font_selection_dialog_get_preview_text"
1569                          "gtk_font_selection_dialog_set_preview_text")
1570                         (:cffi apply-button font-selection-dialog-apply-button
1571                          g-object "gtk_font_selection_dialog_get_apply_button"
1572                          nil)
1573                         (:cffi cancel-button
1574                          font-selection-dialog-cancel-button g-object
1575                          "gtk_font_selection_dialog_get_cancel_button" nil)
1576                         (:cffi ok-button font-selection-dialog-ok-button
1577                          g-object "gtk_font_selection_dialog_get_ok_button"
1578                          nil)))
1579
1580 (define-g-object-class "GtkInputDialog" input-dialog
1581                        (:superclass dialog :export t :interfaces
1582                         ("AtkImplementorIface" "GtkBuildable")
1583                         :type-initializer "gtk_input_dialog_get_type")
1584                        nil)
1585
1586 (define-g-object-class "GtkMessageDialog" message-dialog
1587                        (:superclass dialog :export t :interfaces
1588                         ("AtkImplementorIface" "GtkBuildable")
1589                         :type-initializer "gtk_message_dialog_get_type")
1590                        ((message-type message-dialog-message-type
1591                          "message-type" "GtkMessageType" t t)
1592                         (buttons message-dialog-buttons "buttons"
1593                          "GtkButtonsType" nil nil)
1594                         (text message-dialog-text "text" "gchararray" t t)
1595                         (use-markup message-dialog-use-markup "use-markup"
1596                          "gboolean" t t)
1597                         (secondary-text message-dialog-secondary-text
1598                          "secondary-text" "gchararray" t t)
1599                         (secondary-use-markup
1600                          message-dialog-secondary-use-markup
1601                          "secondary-use-markup" "gboolean" t t)
1602                         (image message-dialog-image "image" "GtkWidget" t t)))
1603
1604 (define-g-object-class "GtkRecentChooserDialog" recent-chooser-dialog
1605                        (:superclass dialog :export t :interfaces
1606                         ("AtkImplementorIface" "GtkBuildable"
1607                          "GtkRecentChooser")
1608                         :type-initializer "gtk_recent_chooser_dialog_get_type")
1609                        nil)
1610
1611 (define-g-object-class "GtkPlug" plug
1612                        (:superclass gtk-window :export t :interfaces
1613                         ("AtkImplementorIface" "GtkBuildable")
1614                         :type-initializer "gtk_plug_get_type")
1615                        ((embedded plug-embedded "embedded" "gboolean" t nil)
1616                         (socket-window plug-socket-window "socket-window"
1617                          "GdkWindow" t nil)))
1618
1619 (define-g-object-class "GtkBox" box
1620                        (:superclass container :export t :interfaces
1621                         ("AtkImplementorIface" "GtkBuildable" "GtkOrientable")
1622                         :type-initializer "gtk_box_get_type")
1623                        ((spacing box-spacing "spacing" "gint" t t)
1624                         (homogeneous box-homogeneous "homogeneous" "gboolean" t
1625                          t)))
1626
1627 (define-g-object-class "GtkButtonBox" button-box
1628                        (:superclass box :export t :interfaces
1629                         ("AtkImplementorIface" "GtkBuildable" "GtkOrientable")
1630                         :type-initializer "gtk_button_box_get_type")
1631                        ((layout-style button-box-layout-style "layout-style"
1632                          "GtkButtonBoxStyle" t t)))
1633
1634 (define-g-object-class "GtkHButtonBox" h-button-box
1635                        (:superclass button-box :export t :interfaces
1636                         ("AtkImplementorIface" "GtkBuildable" "GtkOrientable")
1637                         :type-initializer "gtk_hbutton_box_get_type")
1638                        nil)
1639
1640 (define-g-object-class "GtkVButtonBox" v-button-box
1641                        (:superclass button-box :export t :interfaces
1642                         ("AtkImplementorIface" "GtkBuildable" "GtkOrientable")
1643                         :type-initializer "gtk_vbutton_box_get_type")
1644                        nil)
1645
1646 (define-g-object-class "GtkHBox" h-box
1647                        (:superclass box :export t :interfaces
1648                         ("AtkImplementorIface" "GtkBuildable" "GtkOrientable")
1649                         :type-initializer "gtk_hbox_get_type")
1650                        nil)
1651
1652 (define-g-object-class "GtkFileChooserButton" file-chooser-button
1653                        (:superclass h-box :export t :interfaces
1654                         ("AtkImplementorIface" "GtkBuildable" "GtkFileChooser"
1655                          "GtkOrientable")
1656                         :type-initializer "gtk_file_chooser_button_get_type")
1657                        ((dialog file-chooser-button-dialog "dialog"
1658                          "GtkFileChooser" nil nil)
1659                         (focus-on-click file-chooser-button-focus-on-click
1660                          "focus-on-click" "gboolean" t t)
1661                         (title file-chooser-button-title "title" "gchararray" t
1662                          t)
1663                         (width-chars file-chooser-button-width-chars
1664                          "width-chars" "gint" t t)))
1665
1666 (define-g-object-class "GtkStatusbar" statusbar
1667                        (:superclass h-box :export t :interfaces
1668                         ("AtkImplementorIface" "GtkBuildable" "GtkOrientable")
1669                         :type-initializer "gtk_statusbar_get_type")
1670                        ((has-resize-grip statusbar-has-resize-grip
1671                          "has-resize-grip" "gboolean" t t)))
1672
1673 (define-g-object-class "GtkVBox" v-box
1674                        (:superclass box :export t :interfaces
1675                         ("AtkImplementorIface" "GtkBuildable" "GtkOrientable")
1676                         :type-initializer "gtk_vbox_get_type")
1677                        nil)
1678
1679 (define-g-object-class "GtkColorSelection" color-selection
1680                        (:superclass v-box :export t :interfaces
1681                         ("AtkImplementorIface" "GtkBuildable" "GtkOrientable")
1682                         :type-initializer "gtk_color_selection_get_type")
1683                        ((has-palette color-selection-has-palette "has-palette"
1684                          "gboolean" t t)
1685                         (has-opacity-control
1686                          color-selection-has-opacity-control
1687                          "has-opacity-control" "gboolean" t t)
1688                         (current-color color-selection-current-color
1689                          "current-color" "GdkColor" t t)
1690                         (current-alpha color-selection-current-alpha
1691                          "current-alpha" "guint" t t)))
1692
1693 (define-g-object-class "GtkFileChooserWidget" file-chooser-widget
1694                        (:superclass v-box :export t :interfaces
1695                         ("AtkImplementorIface" "GtkBuildable" "GtkFileChooser"
1696                          "GtkFileChooserEmbed" "GtkOrientable")
1697                         :type-initializer "gtk_file_chooser_widget_get_type")
1698                        nil)
1699
1700 (define-g-object-class "GtkFontSelection" font-selection
1701                        (:superclass v-box :export t :interfaces
1702                         ("AtkImplementorIface" "GtkBuildable" "GtkOrientable")
1703                         :type-initializer "gtk_font_selection_get_type")
1704                        ((font-name font-selection-font-name "font-name"
1705                          "gchararray" t t)
1706                         (font font-selection-font "font" "GdkFont" t nil)
1707                         (preview-text font-selection-preview-text
1708                          "preview-text" "gchararray" t t)))
1709
1710 (define-g-object-class "GtkGammaCurve" gamma-curve
1711                        (:superclass v-box :export t :interfaces
1712                         ("AtkImplementorIface" "GtkBuildable" "GtkOrientable")
1713                         :type-initializer "gtk_gamma_curve_get_type")
1714                        nil)
1715
1716 (define-g-object-class "GtkRecentChooserWidget" recent-chooser-widget
1717                        (:superclass v-box :export t :interfaces
1718                         ("AtkImplementorIface" "GtkBuildable" "GtkOrientable"
1719                          "GtkRecentChooser")
1720                         :type-initializer "gtk_recent_chooser_widget_get_type")
1721                        nil)
1722
1723 (define-g-object-class "GtkFixed" fixed
1724                        (:superclass container :export t :interfaces
1725                         ("AtkImplementorIface" "GtkBuildable")
1726                         :type-initializer "gtk_fixed_get_type")
1727                        ((:cffi has-window fixed-has-window :boolean
1728                          "gtk_fixed_get_has_window"
1729                          "gtk_fixed_set_has_window")))
1730
1731 (define-g-object-class "GtkIconView" icon-view
1732                        (:superclass container :export t :interfaces
1733                         ("AtkImplementorIface" "GtkBuildable" "GtkCellLayout")
1734                         :type-initializer "gtk_icon_view_get_type")
1735                        ((pixbuf-column icon-view-pixbuf-column "pixbuf-column"
1736                          "gint" t t)
1737                         (text-column icon-view-text-column "text-column" "gint"
1738                          t t)
1739                         (markup-column icon-view-markup-column "markup-column"
1740                          "gint" t t)
1741                         (selection-mode icon-view-selection-mode
1742                          "selection-mode" "GtkSelectionMode" t t)
1743                         (orientation icon-view-orientation "orientation"
1744                          "GtkOrientation" t t)
1745                         (model icon-view-model "model" "GtkTreeModel" t t)
1746                         (columns icon-view-columns "columns" "gint" t t)
1747                         (item-width icon-view-item-width "item-width" "gint" t
1748                          t)
1749                         (spacing icon-view-spacing "spacing" "gint" t t)
1750                         (row-spacing icon-view-row-spacing "row-spacing" "gint"
1751                          t t)
1752                         (column-spacing icon-view-column-spacing
1753                          "column-spacing" "gint" t t)
1754                         (margin icon-view-margin "margin" "gint" t t)
1755                         (reorderable icon-view-reorderable "reorderable"
1756                          "gboolean" t t)
1757                         (tooltip-column icon-view-tooltip-column
1758                          "tooltip-column" "gint" t t)))
1759
1760 (define-g-object-class "GtkLayout" layout
1761                        (:superclass container :export t :interfaces
1762                         ("AtkImplementorIface" "GtkBuildable")
1763                         :type-initializer "gtk_layout_get_type")
1764                        ((hadjustment layout-hadjustment "hadjustment"
1765                          "GtkAdjustment" t t)
1766                         (vadjustment layout-vadjustment "vadjustment"
1767                          "GtkAdjustment" t t)
1768                         (width layout-width "width" "guint" t t)
1769                         (height layout-height "height" "guint" t t)
1770                         (:cffi bin-window layout-bin-window g-object
1771                          "gtk_layout_get_bin_window" nil)))
1772
1773 (define-g-object-class "GtkMenuShell" menu-shell
1774                        (:superclass container :export t :interfaces
1775                         ("AtkImplementorIface" "GtkBuildable")
1776                         :type-initializer "gtk_menu_shell_get_type")
1777                        ((take-focus menu-shell-take-focus "take-focus"
1778                          "gboolean" t t)))
1779
1780 (define-g-object-class "GtkMenu" menu
1781                        (:superclass menu-shell :export t :interfaces
1782                         ("AtkImplementorIface" "GtkBuildable")
1783                         :type-initializer "gtk_menu_get_type")
1784                        ((active menu-active "active" "gint" t t)
1785                         (accel-group menu-accel-group "accel-group"
1786                          "GtkAccelGroup" t t)
1787                         (accel-path menu-accel-path "accel-path" "gchararray" t
1788                          t)
1789                         (attach-widget menu-attach-widget "attach-widget"
1790                          "GtkWidget" t t)
1791                         (tearoff-state menu-tearoff-state "tearoff-state"
1792                          "gboolean" t t)
1793                         (tearoff-title menu-tearoff-title "tearoff-title"
1794                          "gchararray" t t)
1795                         (monitor menu-monitor "monitor" "gint" t t)
1796                         (:cffi screen menu-screen g-object nil
1797                          "gtk_menu_set_screen")))
1798
1799 (define-g-object-class "GtkRecentChooserMenu" recent-chooser-menu
1800                        (:superclass menu :export t :interfaces
1801                         ("AtkImplementorIface" "GtkActivatable" "GtkBuildable"
1802                          "GtkRecentChooser")
1803                         :type-initializer "gtk_recent_chooser_menu_get_type")
1804                        ((show-numbers recent-chooser-menu-show-numbers
1805                          "show-numbers" "gboolean" t t)))
1806
1807 (define-g-object-class "GtkMenuBar" menu-bar
1808                        (:superclass menu-shell :export t :interfaces
1809                         ("AtkImplementorIface" "GtkBuildable")
1810                         :type-initializer "gtk_menu_bar_get_type")
1811                        ((pack-direction menu-bar-pack-direction
1812                          "pack-direction" "GtkPackDirection" t t)
1813                         (child-pack-direction menu-bar-child-pack-direction
1814                          "child-pack-direction" "GtkPackDirection" t t)))
1815
1816 (define-g-object-class "GtkNotebook" notebook
1817                        (:superclass container :export t :interfaces
1818                         ("AtkImplementorIface" "GtkBuildable")
1819                         :type-initializer "gtk_notebook_get_type")
1820                        ((tab-pos notebook-tab-pos "tab-pos" "GtkPositionType" t
1821                          t)
1822                         (show-tabs notebook-show-tabs "show-tabs" "gboolean" t
1823                          t)
1824                         (show-border notebook-show-border "show-border"
1825                          "gboolean" t t)
1826                         (scrollable notebook-scrollable "scrollable" "gboolean"
1827                          t t)
1828                         (tab-border notebook-tab-border "tab-border" "guint"
1829                          nil t)
1830                         (tab-hborder notebook-tab-hborder "tab-hborder" "guint"
1831                          t t)
1832                         (tab-vborder notebook-tab-vborder "tab-vborder" "guint"
1833                          t t)
1834                         (page notebook-page "page" "gint" t t)
1835                         (enable-popup notebook-enable-popup "enable-popup"
1836                          "gboolean" t t)
1837                         (group-id notebook-group-id "group-id" "gint" t t)
1838                         (group notebook-group "group" "gpointer" t t)
1839                         (homogeneous notebook-homogeneous "homogeneous"
1840                          "gboolean" t t)))
1841
1842 (define-g-object-class "GtkPaned" paned
1843                        (:superclass container :export t :interfaces
1844                         ("AtkImplementorIface" "GtkBuildable" "GtkOrientable")
1845                         :type-initializer "gtk_paned_get_type")
1846                        ((position paned-position "position" "gint" t t)
1847                         (position-set paned-position-set "position-set"
1848                          "gboolean" t t)
1849                         (min-position paned-min-position "min-position" "gint"
1850                          t nil)
1851                         (max-position paned-max-position "max-position" "gint"
1852                          t nil)))
1853
1854 (define-g-object-class "GtkHPaned" h-paned
1855                        (:superclass paned :export t :interfaces
1856                         ("AtkImplementorIface" "GtkBuildable" "GtkOrientable")
1857                         :type-initializer "gtk_hpaned_get_type")
1858                        nil)
1859
1860 (define-g-object-class "GtkVPaned" v-paned
1861                        (:superclass paned :export t :interfaces
1862                         ("AtkImplementorIface" "GtkBuildable" "GtkOrientable")
1863                         :type-initializer "gtk_vpaned_get_type")
1864                        nil)
1865
1866 (define-g-object-class "GtkSocket" socket
1867                        (:superclass container :export t :interfaces
1868                         ("AtkImplementorIface" "GtkBuildable")
1869                         :type-initializer "gtk_socket_get_type")
1870                        nil)
1871
1872 (define-g-object-class "GtkTable" table
1873                        (:superclass container :export t :interfaces
1874                         ("AtkImplementorIface" "GtkBuildable")
1875                         :type-initializer "gtk_table_get_type")
1876                        ((n-rows table-n-rows "n-rows" "guint" t t)
1877                         (n-columns table-n-columns "n-columns" "guint" t t)
1878                         (column-spacing table-column-spacing "column-spacing"
1879                          "guint" t t)
1880                         (row-spacing table-row-spacing "row-spacing" "guint" t
1881                          t)
1882                         (homogeneous table-homogeneous "homogeneous" "gboolean"
1883                          t t)))
1884
1885 (define-g-object-class "GtkTextView" text-view
1886                        (:superclass container :export t :interfaces
1887                         ("AtkImplementorIface" "GtkBuildable")
1888                         :type-initializer "gtk_text_view_get_type")
1889                        ((pixels-above-lines text-view-pixels-above-lines
1890                          "pixels-above-lines" "gint" t t)
1891                         (pixels-below-lines text-view-pixels-below-lines
1892                          "pixels-below-lines" "gint" t t)
1893                         (pixels-inside-wrap text-view-pixels-inside-wrap
1894                          "pixels-inside-wrap" "gint" t t)
1895                         (editable text-view-editable "editable" "gboolean" t t)
1896                         (wrap-mode text-view-wrap-mode "wrap-mode"
1897                          "GtkWrapMode" t t)
1898                         (justification text-view-justification "justification"
1899                          "GtkJustification" t t)
1900                         (left-margin text-view-left-margin "left-margin" "gint"
1901                          t t)
1902                         (right-margin text-view-right-margin "right-margin"
1903                          "gint" t t)
1904                         (indent text-view-indent "indent" "gint" t t)
1905                         (tabs text-view-tabs "tabs" "PangoTabArray" t t)
1906                         (cursor-visible text-view-cursor-visible
1907                          "cursor-visible" "gboolean" t t)
1908                         (buffer text-view-buffer "buffer" "GtkTextBuffer" t t)
1909                         (overwrite text-view-overwrite "overwrite" "gboolean" t
1910                          t)
1911                         (accepts-tab text-view-accepts-tab "accepts-tab"
1912                          "gboolean" t t)
1913                         (im-module text-view-im-module "im-module" "gchararray"
1914                          t t)))
1915
1916 (define-g-object-class "GtkToolbar" toolbar
1917                        (:superclass container :export t :interfaces
1918                         ("AtkImplementorIface" "GtkBuildable" "GtkOrientable"
1919                          "GtkToolShell")
1920                         :type-initializer "gtk_toolbar_get_type")
1921                        ((toolbar-style toolbar-toolbar-style "toolbar-style"
1922                          "GtkToolbarStyle" t t)
1923                         (show-arrow toolbar-show-arrow "show-arrow" "gboolean"
1924                          t t)
1925                         (tooltips toolbar-tooltips "tooltips" "gboolean" t t)
1926                         (icon-size toolbar-icon-size "icon-size" "gint" t t)
1927                         (icon-size-set toolbar-icon-size-set "icon-size-set"
1928                          "gboolean" t t)))
1929
1930 (define-g-object-class "GtkTree" tree
1931                        (:superclass container :export t :interfaces
1932                         ("AtkImplementorIface" "GtkBuildable")
1933                         :type-initializer "gtk_tree_get_type")
1934                        nil)
1935
1936 (define-g-object-class "GtkTreeView" tree-view
1937                        (:superclass container :export t :interfaces
1938                         ("AtkImplementorIface" "GtkBuildable")
1939                         :type-initializer "gtk_tree_view_get_type")
1940                        ((model tree-view-model "model" "GtkTreeModel" t t)
1941                         (hadjustment tree-view-hadjustment "hadjustment"
1942                          "GtkAdjustment" t t)
1943                         (vadjustment tree-view-vadjustment "vadjustment"
1944                          "GtkAdjustment" t t)
1945                         (headers-visible tree-view-headers-visible
1946                          "headers-visible" "gboolean" t t)
1947                         (headers-clickable tree-view-headers-clickable
1948                          "headers-clickable" "gboolean" t t)
1949                         (expander-column tree-view-expander-column
1950                          "expander-column" "GtkTreeViewColumn" t t)
1951                         (reorderable tree-view-reorderable "reorderable"
1952                          "gboolean" t t)
1953                         (rules-hint tree-view-rules-hint "rules-hint"
1954                          "gboolean" t t)
1955                         (enable-search tree-view-enable-search "enable-search"
1956                          "gboolean" t t)
1957                         (search-column tree-view-search-column "search-column"
1958                          "gint" t t)
1959                         (fixed-height-mode tree-view-fixed-height-mode
1960                          "fixed-height-mode" "gboolean" t t)
1961                         (hover-selection tree-view-hover-selection
1962                          "hover-selection" "gboolean" t t)
1963                         (hover-expand tree-view-hover-expand "hover-expand"
1964                          "gboolean" t t)
1965                         (show-expanders tree-view-show-expanders
1966                          "show-expanders" "gboolean" t t)
1967                         (level-indentation tree-view-level-indentation
1968                          "level-indentation" "gint" t t)
1969                         (rubber-banding tree-view-rubber-banding
1970                          "rubber-banding" "gboolean" t t)
1971                         (enable-grid-lines tree-view-enable-grid-lines
1972                          "enable-grid-lines" "GtkTreeViewGridLines" t t)
1973                         (enable-tree-lines tree-view-enable-tree-lines
1974                          "enable-tree-lines" "gboolean" t t)
1975                         (tooltip-column tree-view-tooltip-column
1976                          "tooltip-column" "gint" t t)
1977                         (:cffi selection tree-view-selection g-object
1978                          "gtk_tree_view_get_selection" nil)
1979                         (:cffi column-drag-function
1980                          tree-view-column-drag-function nil nil
1981                          tree-view-set-column-drag-function)
1982                         (:cffi bin-window tree-view-bin-window g-object
1983                          "gtk_tree_view_get_bin_window" nil)
1984                         (:cffi search-equal-func tree-view-search-equal-func
1985                          nil nil tree-view-set-search-equal-func)
1986                         (:cffi search-entry tree-view-search-entry g-object
1987                          "gtk_tree_view_get_search_entry"
1988                          "gtk_tree_view_set_search_entry")
1989                         (:cffi search-position-func
1990                          tree-view-search-position-func nil nil
1991                          tree-view-set-search-position-func)
1992                         (:cffi row-separator-func tree-view-row-separator-func
1993                          nil nil tree-view-set-row-separartor-func)))
1994
1995 (define-g-object-class "GtkDrawingArea" drawing-area
1996                        (:superclass widget :export t :interfaces
1997                         ("AtkImplementorIface" "GtkBuildable")
1998                         :type-initializer "gtk_drawing_area_get_type")
1999                        nil)
2000
2001 (define-g-object-class "GtkCurve" curve
2002                        (:superclass drawing-area :export t :interfaces
2003                         ("AtkImplementorIface" "GtkBuildable")
2004                         :type-initializer "gtk_curve_get_type")
2005                        ((curve-type curve-curve-type "curve-type"
2006                          "GtkCurveType" t t)
2007                         (min-x curve-min-x "min-x" "gfloat" t t)
2008                         (max-x curve-max-x "max-x" "gfloat" t t)
2009                         (min-y curve-min-y "min-y" "gfloat" t t)
2010                         (max-y curve-max-y "max-y" "gfloat" t t)))
2011
2012 (define-g-object-class "GtkGLDrawingArea" g-l-drawing-area
2013                        (:superclass drawing-area :export t :interfaces
2014                         ("AtkImplementorIface" "GtkBuildable"))
2015                        nil)
2016
2017 (define-g-object-class "GtkEntry" entry
2018                        (:superclass widget :export t :interfaces
2019                         ("AtkImplementorIface" "GtkBuildable" "GtkCellEditable"
2020                          "GtkEditable")
2021                         :type-initializer "gtk_entry_get_type")
2022                        ((cursor-position entry-cursor-position
2023                          "cursor-position" "gint" t nil)
2024                         (selection-bound entry-selection-bound
2025                          "selection-bound" "gint" t nil)
2026                         (editable entry-editable "editable" "gboolean" t t)
2027                         (max-length entry-max-length "max-length" "gint" t t)
2028                         (visibility entry-visibility "visibility" "gboolean" t
2029                          t)
2030                         (has-frame entry-has-frame "has-frame" "gboolean" t t)
2031                         (inner-border entry-inner-border "inner-border"
2032                          "GtkBorder" t t)
2033                         (invisible-char entry-invisible-char "invisible-char"
2034                          "guint" t t)
2035                         (activates-default entry-activates-default
2036                          "activates-default" "gboolean" t t)
2037                         (width-chars entry-width-chars "width-chars" "gint" t
2038                          t)
2039                         (scroll-offset entry-scroll-offset "scroll-offset"
2040                          "gint" t nil)
2041                         (text entry-text "text" "gchararray" t t)
2042                         (xalign entry-xalign "xalign" "gfloat" t t)
2043                         (truncate-multiline entry-truncate-multiline
2044                          "truncate-multiline" "gboolean" t t)
2045                         (shadow-type entry-shadow-type "shadow-type"
2046                          "GtkShadowType" t t)
2047                         (overwrite-mode entry-overwrite-mode "overwrite-mode"
2048                          "gboolean" t t)
2049                         (text-length entry-text-length "text-length" "guint" t
2050                          nil)
2051                         (invisible-char-set entry-invisible-char-set
2052                          "invisible-char-set" "gboolean" t t)
2053                         (caps-lock-warning entry-caps-lock-warning
2054                          "caps-lock-warning" "gboolean" t t)
2055                         (progress-fraction entry-progress-fraction
2056                          "progress-fraction" "gdouble" t t)
2057                         (progress-pulse-step entry-progress-pulse-step
2058                          "progress-pulse-step" "gdouble" t t)
2059                         (primary-icon-pixbuf entry-primary-icon-pixbuf
2060                          "primary-icon-pixbuf" "GdkPixbuf" t t)
2061                         (secondary-icon-pixbuf entry-secondary-icon-pixbuf
2062                          "secondary-icon-pixbuf" "GdkPixbuf" t t)
2063                         (primary-icon-stock entry-primary-icon-stock
2064                          "primary-icon-stock" "gchararray" t t)
2065                         (secondary-icon-stock entry-secondary-icon-stock
2066                          "secondary-icon-stock" "gchararray" t t)
2067                         (primary-icon-name entry-primary-icon-name
2068                          "primary-icon-name" "gchararray" t t)
2069                         (secondary-icon-name entry-secondary-icon-name
2070                          "secondary-icon-name" "gchararray" t t)
2071                         (primary-icon-gicon entry-primary-icon-gicon
2072                          "primary-icon-gicon" "GIcon" t t)
2073                         (secondary-icon-gicon entry-secondary-icon-gicon
2074                          "secondary-icon-gicon" "GIcon" t t)
2075                         (primary-icon-storage-type
2076                          entry-primary-icon-storage-type
2077                          "primary-icon-storage-type" "GtkImageType" t nil)
2078                         (secondary-icon-storage-type
2079                          entry-secondary-icon-storage-type
2080                          "secondary-icon-storage-type" "GtkImageType" t nil)
2081                         (primary-icon-activatable
2082                          entry-primary-icon-activatable
2083                          "primary-icon-activatable" "gboolean" t t)
2084                         (secondary-icon-activatable
2085                          entry-secondary-icon-activatable
2086                          "secondary-icon-activatable" "gboolean" t t)
2087                         (primary-icon-sensitive entry-primary-icon-sensitive
2088                          "primary-icon-sensitive" "gboolean" t t)
2089                         (secondary-icon-sensitive
2090                          entry-secondary-icon-sensitive
2091                          "secondary-icon-sensitive" "gboolean" t t)
2092                         (primary-icon-tooltip-text
2093                          entry-primary-icon-tooltip-text
2094                          "primary-icon-tooltip-text" "gchararray" t t)
2095                         (secondary-icon-tooltip-text
2096                          entry-secondary-icon-tooltip-text
2097                          "secondary-icon-tooltip-text" "gchararray" t t)
2098                         (primary-icon-tooltip-markup
2099                          entry-primary-icon-tooltip-markup
2100                          "primary-icon-tooltip-markup" "gchararray" t t)
2101                         (secondary-icon-tooltip-markup
2102                          entry-secondary-icon-tooltip-markup
2103                          "secondary-icon-tooltip-markup" "gchararray" t t)
2104                         (im-module entry-im-module "im-module" "gchararray" t
2105                          t)))
2106
2107 (define-g-object-class "GtkSpinButton" spin-button
2108                        (:superclass entry :export t :interfaces
2109                         ("AtkImplementorIface" "GtkBuildable" "GtkCellEditable"
2110                          "GtkEditable")
2111                         :type-initializer "gtk_spin_button_get_type")
2112                        ((adjustment spin-button-adjustment "adjustment"
2113                          "GtkAdjustment" t t)
2114                         (climb-rate spin-button-climb-rate "climb-rate"
2115                          "gdouble" t t)
2116                         (digits spin-button-digits "digits" "guint" t t)
2117                         (snap-to-ticks spin-button-snap-to-ticks
2118                          "snap-to-ticks" "gboolean" t t)
2119                         (numeric spin-button-numeric "numeric" "gboolean" t t)
2120                         (wrap spin-button-wrap "wrap" "gboolean" t t)
2121                         (update-policy spin-button-update-policy
2122                          "update-policy" "GtkSpinButtonUpdatePolicy" t t)
2123                         (value spin-button-value "value" "gdouble" t t)))
2124
2125 (define-g-object-class "GtkHSV" h-s-v
2126                        (:superclass widget :export t :interfaces
2127                         ("AtkImplementorIface" "GtkBuildable")
2128                         :type-initializer "gtk_hsv_get_type")
2129                        nil)
2130
2131 (define-g-object-class "GtkInvisible" invisible
2132                        (:superclass widget :export t :interfaces
2133                         ("AtkImplementorIface" "GtkBuildable")
2134                         :type-initializer "gtk_invisible_get_type")
2135                        ((screen invisible-screen "screen" "GdkScreen" t t)))
2136
2137 (define-g-object-class "GtkMisc" misc
2138                        (:superclass widget :export t :interfaces
2139                         ("AtkImplementorIface" "GtkBuildable")
2140                         :type-initializer "gtk_misc_get_type")
2141                        ((xalign misc-xalign "xalign" "gfloat" t t)
2142                         (yalign misc-yalign "yalign" "gfloat" t t)
2143                         (xpad misc-xpad "xpad" "gint" t t)
2144                         (ypad misc-ypad "ypad" "gint" t t)))
2145
2146 (define-g-object-class "GtkArrow" arrow
2147                        (:superclass misc :export t :interfaces
2148                         ("AtkImplementorIface" "GtkBuildable")
2149                         :type-initializer "gtk_arrow_get_type")
2150                        ((arrow-type arrow-arrow-type "arrow-type"
2151                          "GtkArrowType" t t)
2152                         (shadow-type arrow-shadow-type "shadow-type"
2153                          "GtkShadowType" t t)))
2154
2155 (define-g-object-class "GtkImage" image
2156                        (:superclass misc :export t :interfaces
2157                         ("AtkImplementorIface" "GtkBuildable")
2158                         :type-initializer "gtk_image_get_type")
2159                        ((pixbuf image-pixbuf "pixbuf" "GdkPixbuf" t t)
2160                         (pixmap image-pixmap "pixmap" "GdkPixmap" t t)
2161                         (image image-image "image" "GdkImage" t t)
2162                         (mask image-mask "mask" "GdkPixmap" t t)
2163                         (file image-file "file" "gchararray" t t)
2164                         (stock image-stock "stock" "gchararray" t t)
2165                         (icon-set image-icon-set "icon-set" "GtkIconSet" t t)
2166                         (icon-size image-icon-size "icon-size" "gint" t t)
2167                         (pixel-size image-pixel-size "pixel-size" "gint" t t)
2168                         (pixbuf-animation image-pixbuf-animation
2169                          "pixbuf-animation" "GdkPixbufAnimation" t t)
2170                         (icon-name image-icon-name "icon-name" "gchararray" t
2171                          t)
2172                         (storage-type image-storage-type "storage-type"
2173                          "GtkImageType" t nil)
2174                         (gicon image-gicon "gicon" "GIcon" t t)))
2175
2176 (define-g-object-class "GtkLabel" label
2177                        (:superclass misc :export t :interfaces
2178                         ("AtkImplementorIface" "GtkBuildable")
2179                         :type-initializer "gtk_label_get_type")
2180                        ((label label-label "label" "gchararray" t t)
2181                         (attributes label-attributes "attributes"
2182                          "PangoAttrList" t t)
2183                         (use-markup label-use-markup "use-markup" "gboolean" t
2184                          t)
2185                         (use-underline label-use-underline "use-underline"
2186                          "gboolean" t t)
2187                         (justify label-justify "justify" "GtkJustification" t
2188                          t)
2189                         (pattern label-pattern "pattern" "gchararray" nil t)
2190                         (wrap label-wrap "wrap" "gboolean" t t)
2191                         (wrap-mode label-wrap-mode "wrap-mode" "PangoWrapMode"
2192                          t t)
2193                         (selectable label-selectable "selectable" "gboolean" t
2194                          t)
2195                         (mnemonic-keyval label-mnemonic-keyval
2196                          "mnemonic-keyval" "guint" t nil)
2197                         (mnemonic-widget label-mnemonic-widget
2198                          "mnemonic-widget" "GtkWidget" t t)
2199                         (cursor-position label-cursor-position
2200                          "cursor-position" "gint" t nil)
2201                         (selection-bound label-selection-bound
2202                          "selection-bound" "gint" t nil)
2203                         (ellipsize label-ellipsize "ellipsize"
2204                          "PangoEllipsizeMode" t t)
2205                         (width-chars label-width-chars "width-chars" "gint" t
2206                          t)
2207                         (single-line-mode label-single-line-mode
2208                          "single-line-mode" "gboolean" t t)
2209                         (angle label-angle "angle" "gdouble" t t)
2210                         (max-width-chars label-max-width-chars
2211                          "max-width-chars" "gint" t t)))
2212
2213 (define-g-object-class "GtkAccelLabel" accel-label
2214                        (:superclass label :export t :interfaces
2215                         ("AtkImplementorIface" "GtkBuildable")
2216                         :type-initializer "gtk_accel_label_get_type")
2217                        ((accel-closure accel-label-accel-closure
2218                          "accel-closure" "GClosure" t t)
2219                         (accel-widget accel-label-accel-widget "accel-widget"
2220                          "GtkWidget" t t)))
2221
2222 (define-g-object-class "GtkOldEditable" old-editable
2223                        (:superclass widget :export t :interfaces
2224                         ("AtkImplementorIface" "GtkBuildable" "GtkEditable")
2225                         :type-initializer "gtk_old_editable_get_type")
2226                        ((text-position old-editable-text-position
2227                          "text-position" "gint" t t)
2228                         (editable old-editable-editable "editable" "gboolean" t
2229                          t)))
2230
2231 (define-g-object-class "GtkText" text
2232                        (:superclass old-editable :export t :interfaces
2233                         ("AtkImplementorIface" "GtkBuildable" "GtkEditable")
2234                         :type-initializer "gtk_text_get_type")
2235                        ((hadjustment text-hadjustment "hadjustment"
2236                          "GtkAdjustment" t t)
2237                         (vadjustment text-vadjustment "vadjustment"
2238                          "GtkAdjustment" t t)
2239                         (line-wrap text-line-wrap "line-wrap" "gboolean" t t)
2240                         (word-wrap text-word-wrap "word-wrap" "gboolean" t t)))
2241
2242 (define-g-object-class "GtkProgress" progress
2243                        (:superclass widget :export t :interfaces
2244                         ("AtkImplementorIface" "GtkBuildable")
2245                         :type-initializer "gtk_progress_get_type")
2246                        ((activity-mode progress-activity-mode "activity-mode"
2247                          "gboolean" t t)
2248                         (show-text progress-show-text "show-text" "gboolean" t
2249                          t)
2250                         (text-xalign progress-text-xalign "text-xalign"
2251                          "gfloat" t t)
2252                         (text-yalign progress-text-yalign "text-yalign"
2253                          "gfloat" t t)))
2254
2255 (define-g-object-class "GtkProgressBar" progress-bar
2256                        (:superclass progress :export t :interfaces
2257                         ("AtkImplementorIface" "GtkBuildable")
2258                         :type-initializer "gtk_progress_bar_get_type")
2259                        ((fraction progress-bar-fraction "fraction" "gdouble" t
2260                          t)
2261                         (pulse-step progress-bar-pulse-step "pulse-step"
2262                          "gdouble" t t)
2263                         (orientation progress-bar-orientation "orientation"
2264                          "GtkProgressBarOrientation" t t)
2265                         (text progress-bar-text "text" "gchararray" t t)
2266                         (ellipsize progress-bar-ellipsize "ellipsize"
2267                          "PangoEllipsizeMode" t t)
2268                         (adjustment progress-bar-adjustment "adjustment"
2269                          "GtkAdjustment" t t)
2270                         (bar-style progress-bar-bar-style "bar-style"
2271                          "GtkProgressBarStyle" t t)
2272                         (activity-step progress-bar-activity-step
2273                          "activity-step" "guint" t t)
2274                         (activity-blocks progress-bar-activity-blocks
2275                          "activity-blocks" "guint" t t)
2276                         (discrete-blocks progress-bar-discrete-blocks
2277                          "discrete-blocks" "guint" t t)))
2278
2279 (define-g-object-class "GtkRange" range
2280                        (:superclass widget :export t :interfaces
2281                         ("AtkImplementorIface" "GtkBuildable" "GtkOrientable")
2282                         :type-initializer "gtk_range_get_type")
2283                        ((update-policy range-update-policy "update-policy"
2284                          "GtkUpdateType" t t)
2285                         (adjustment range-adjustment "adjustment"
2286                          "GtkAdjustment" t t)
2287                         (inverted range-inverted "inverted" "gboolean" t t)
2288                         (lower-stepper-sensitivity
2289                          range-lower-stepper-sensitivity
2290                          "lower-stepper-sensitivity" "GtkSensitivityType" t t)
2291                         (upper-stepper-sensitivity
2292                          range-upper-stepper-sensitivity
2293                          "upper-stepper-sensitivity" "GtkSensitivityType" t t)
2294                         (show-fill-level range-show-fill-level
2295                          "show-fill-level" "gboolean" t t)
2296                         (restrict-to-fill-level range-restrict-to-fill-level
2297                          "restrict-to-fill-level" "gboolean" t t)
2298                         (fill-level range-fill-level "fill-level" "gdouble" t
2299                          t)))
2300
2301 (define-g-object-class "GtkScale" scale
2302                        (:superclass range :export t :interfaces
2303                         ("AtkImplementorIface" "GtkBuildable" "GtkOrientable")
2304                         :type-initializer "gtk_scale_get_type")
2305                        ((digits scale-digits "digits" "gint" t t)
2306                         (draw-value scale-draw-value "draw-value" "gboolean" t
2307                          t)
2308                         (value-pos scale-value-pos "value-pos"
2309                          "GtkPositionType" t t)))
2310
2311 (define-g-object-class "GtkHScale" h-scale
2312                        (:superclass scale :export t :interfaces
2313                         ("AtkImplementorIface" "GtkBuildable" "GtkOrientable")
2314                         :type-initializer "gtk_hscale_get_type")
2315                        nil)
2316
2317 (define-g-object-class "GtkVScale" v-scale
2318                        (:superclass scale :export t :interfaces
2319                         ("AtkImplementorIface" "GtkBuildable" "GtkOrientable")
2320                         :type-initializer "gtk_vscale_get_type")
2321                        nil)
2322
2323 (define-g-object-class "GtkScrollbar" scrollbar
2324                        (:superclass range :export t :interfaces
2325                         ("AtkImplementorIface" "GtkBuildable" "GtkOrientable")
2326                         :type-initializer "gtk_scrollbar_get_type")
2327                        nil)
2328
2329 (define-g-object-class "GtkHScrollbar" h-scrollbar
2330                        (:superclass scrollbar :export t :interfaces
2331                         ("AtkImplementorIface" "GtkBuildable" "GtkOrientable")
2332                         :type-initializer "gtk_hscrollbar_get_type")
2333                        nil)
2334
2335 (define-g-object-class "GtkVScrollbar" v-scrollbar
2336                        (:superclass scrollbar :export t :interfaces
2337                         ("AtkImplementorIface" "GtkBuildable" "GtkOrientable")
2338                         :type-initializer "gtk_vscrollbar_get_type")
2339                        nil)
2340
2341 (define-g-object-class "GtkRuler" ruler
2342                        (:superclass widget :export t :interfaces
2343                         ("AtkImplementorIface" "GtkBuildable" "GtkOrientable")
2344                         :type-initializer "gtk_ruler_get_type")
2345                        ((lower ruler-lower "lower" "gdouble" t t)
2346                         (upper ruler-upper "upper" "gdouble" t t)
2347                         (position ruler-position "position" "gdouble" t t)
2348                         (max-size ruler-max-size "max-size" "gdouble" t t)
2349                         (metric ruler-metric "metric" "GtkMetricType" t t)))
2350
2351 (define-g-object-class "GtkHRuler" h-ruler
2352                        (:superclass ruler :export t :interfaces
2353                         ("AtkImplementorIface" "GtkBuildable" "GtkOrientable")
2354                         :type-initializer "gtk_hruler_get_type")
2355                        nil)
2356
2357 (define-g-object-class "GtkVRuler" v-ruler
2358                        (:superclass ruler :export t :interfaces
2359                         ("AtkImplementorIface" "GtkBuildable" "GtkOrientable")
2360                         :type-initializer "gtk_vruler_get_type")
2361                        nil)
2362
2363 (define-g-object-class "GtkSeparator" separator
2364                        (:superclass widget :export t :interfaces
2365                         ("AtkImplementorIface" "GtkBuildable" "GtkOrientable")
2366                         :type-initializer "gtk_separator_get_type")
2367                        nil)
2368
2369 (define-g-object-class "GtkHSeparator" h-separator
2370                        (:superclass separator :export t :interfaces
2371                         ("AtkImplementorIface" "GtkBuildable" "GtkOrientable")
2372                         :type-initializer "gtk_hseparator_get_type")
2373                        nil)
2374
2375 (define-g-object-class "GtkVSeparator" v-separator
2376                        (:superclass separator :export t :interfaces
2377                         ("AtkImplementorIface" "GtkBuildable" "GtkOrientable")
2378                         :type-initializer "gtk_vseparator_get_type")
2379                        nil)
2380
2381 (define-g-object-class "GtkSettings" settings
2382                        (:superclass g-object :export t :interfaces nil
2383                         :type-initializer "gtk_settings_get_type")
2384                        ((gtk-double-click-time settings-gtk-double-click-time
2385                          "gtk-double-click-time" "gint" t t)
2386                         (gtk-double-click-distance
2387                          settings-gtk-double-click-distance
2388                          "gtk-double-click-distance" "gint" t t)
2389                         (gtk-cursor-blink settings-gtk-cursor-blink
2390                          "gtk-cursor-blink" "gboolean" t t)
2391                         (gtk-cursor-blink-time settings-gtk-cursor-blink-time
2392                          "gtk-cursor-blink-time" "gint" t t)
2393                         (gtk-cursor-blink-timeout
2394                          settings-gtk-cursor-blink-timeout
2395                          "gtk-cursor-blink-timeout" "gint" t t)
2396                         (gtk-split-cursor settings-gtk-split-cursor
2397                          "gtk-split-cursor" "gboolean" t t)
2398                         (gtk-theme-name settings-gtk-theme-name
2399                          "gtk-theme-name" "gchararray" t t)
2400                         (gtk-icon-theme-name settings-gtk-icon-theme-name
2401                          "gtk-icon-theme-name" "gchararray" t t)
2402                         (gtk-fallback-icon-theme
2403                          settings-gtk-fallback-icon-theme
2404                          "gtk-fallback-icon-theme" "gchararray" t t)
2405                         (gtk-key-theme-name settings-gtk-key-theme-name
2406                          "gtk-key-theme-name" "gchararray" t t)
2407                         (gtk-menu-bar-accel settings-gtk-menu-bar-accel
2408                          "gtk-menu-bar-accel" "gchararray" t t)
2409                         (gtk-dnd-drag-threshold settings-gtk-dnd-drag-threshold
2410                          "gtk-dnd-drag-threshold" "gint" t t)
2411                         (gtk-font-name settings-gtk-font-name "gtk-font-name"
2412                          "gchararray" t t)
2413                         (gtk-icon-sizes settings-gtk-icon-sizes
2414                          "gtk-icon-sizes" "gchararray" t t)
2415                         (gtk-modules settings-gtk-modules "gtk-modules"
2416                          "gchararray" t t)
2417                         (gtk-xft-antialias settings-gtk-xft-antialias
2418                          "gtk-xft-antialias" "gint" t t)
2419                         (gtk-xft-hinting settings-gtk-xft-hinting
2420                          "gtk-xft-hinting" "gint" t t)
2421                         (gtk-xft-hintstyle settings-gtk-xft-hintstyle
2422                          "gtk-xft-hintstyle" "gchararray" t t)
2423                         (gtk-xft-rgba settings-gtk-xft-rgba "gtk-xft-rgba"
2424                          "gchararray" t t)
2425                         (gtk-xft-dpi settings-gtk-xft-dpi "gtk-xft-dpi" "gint"
2426                          t t)
2427                         (gtk-cursor-theme-name settings-gtk-cursor-theme-name
2428                          "gtk-cursor-theme-name" "gchararray" t t)
2429                         (gtk-cursor-theme-size settings-gtk-cursor-theme-size
2430                          "gtk-cursor-theme-size" "gint" t t)
2431                         (gtk-alternative-button-order
2432                          settings-gtk-alternative-button-order
2433                          "gtk-alternative-button-order" "gboolean" t t)
2434                         (gtk-alternative-sort-arrows
2435                          settings-gtk-alternative-sort-arrows
2436                          "gtk-alternative-sort-arrows" "gboolean" t t)
2437                         (gtk-show-input-method-menu
2438                          settings-gtk-show-input-method-menu
2439                          "gtk-show-input-method-menu" "gboolean" t t)
2440                         (gtk-show-unicode-menu settings-gtk-show-unicode-menu
2441                          "gtk-show-unicode-menu" "gboolean" t t)
2442                         (gtk-timeout-initial settings-gtk-timeout-initial
2443                          "gtk-timeout-initial" "gint" t t)
2444                         (gtk-timeout-repeat settings-gtk-timeout-repeat
2445                          "gtk-timeout-repeat" "gint" t t)
2446                         (gtk-timeout-expand settings-gtk-timeout-expand
2447                          "gtk-timeout-expand" "gint" t t)
2448                         (gtk-color-scheme settings-gtk-color-scheme
2449                          "gtk-color-scheme" "gchararray" t t)
2450                         (gtk-enable-animations settings-gtk-enable-animations
2451                          "gtk-enable-animations" "gboolean" t t)
2452                         (gtk-touchscreen-mode settings-gtk-touchscreen-mode
2453                          "gtk-touchscreen-mode" "gboolean" t t)
2454                         (gtk-tooltip-timeout settings-gtk-tooltip-timeout
2455                          "gtk-tooltip-timeout" "gint" t t)
2456                         (gtk-tooltip-browse-timeout
2457                          settings-gtk-tooltip-browse-timeout
2458                          "gtk-tooltip-browse-timeout" "gint" t t)
2459                         (gtk-tooltip-browse-mode-timeout
2460                          settings-gtk-tooltip-browse-mode-timeout
2461                          "gtk-tooltip-browse-mode-timeout" "gint" t t)
2462                         (gtk-keynav-cursor-only settings-gtk-keynav-cursor-only
2463                          "gtk-keynav-cursor-only" "gboolean" t t)
2464                         (gtk-keynav-wrap-around settings-gtk-keynav-wrap-around
2465                          "gtk-keynav-wrap-around" "gboolean" t t)
2466                         (gtk-error-bell settings-gtk-error-bell
2467                          "gtk-error-bell" "gboolean" t t)
2468                         (color-hash settings-color-hash "color-hash"
2469                          "GHashTable" t nil)
2470                         (gtk-file-chooser-backend
2471                          settings-gtk-file-chooser-backend
2472                          "gtk-file-chooser-backend" "gchararray" t t)
2473                         (gtk-print-backends settings-gtk-print-backends
2474                          "gtk-print-backends" "gchararray" t t)
2475                         (gtk-print-preview-command
2476                          settings-gtk-print-preview-command
2477                          "gtk-print-preview-command" "gchararray" t t)
2478                         (gtk-enable-mnemonics settings-gtk-enable-mnemonics
2479                          "gtk-enable-mnemonics" "gboolean" t t)
2480                         (gtk-enable-accels settings-gtk-enable-accels
2481                          "gtk-enable-accels" "gboolean" t t)
2482                         (gtk-recent-files-limit settings-gtk-recent-files-limit
2483                          "gtk-recent-files-limit" "gint" t t)
2484                         (gtk-im-module settings-gtk-im-module "gtk-im-module"
2485                          "gchararray" t t)
2486                         (gtk-recent-files-max-age
2487                          settings-gtk-recent-files-max-age
2488                          "gtk-recent-files-max-age" "gint" t t)
2489                         (gtk-fontconfig-timestamp
2490                          settings-gtk-fontconfig-timestamp
2491                          "gtk-fontconfig-timestamp" "guint" t t)
2492                         (gtk-sound-theme-name settings-gtk-sound-theme-name
2493                          "gtk-sound-theme-name" "gchararray" t t)
2494                         (gtk-enable-input-feedback-sounds
2495                          settings-gtk-enable-input-feedback-sounds
2496                          "gtk-enable-input-feedback-sounds" "gboolean" t t)
2497                         (gtk-enable-event-sounds
2498                          settings-gtk-enable-event-sounds
2499                          "gtk-enable-event-sounds" "gboolean" t t)
2500                         (gtk-enable-tooltips settings-gtk-enable-tooltips
2501                          "gtk-enable-tooltips" "gboolean" t t)
2502                         (gtk-button-images settings-gtk-button-images
2503                          "gtk-button-images" "gboolean" t t)
2504                         (gtk-menu-bar-popup-delay
2505                          settings-gtk-menu-bar-popup-delay
2506                          "gtk-menu-bar-popup-delay" "gint" t t)
2507                         (gtk-can-change-accels settings-gtk-can-change-accels
2508                          "gtk-can-change-accels" "gboolean" t t)
2509                         (gtk-menu-popup-delay settings-gtk-menu-popup-delay
2510                          "gtk-menu-popup-delay" "gint" t t)
2511                         (gtk-menu-popdown-delay settings-gtk-menu-popdown-delay
2512                          "gtk-menu-popdown-delay" "gint" t t)
2513                         (gtk-label-select-on-focus
2514                          settings-gtk-label-select-on-focus
2515                          "gtk-label-select-on-focus" "gboolean" t t)
2516                         (gtk-menu-images settings-gtk-menu-images
2517                          "gtk-menu-images" "gboolean" t t)
2518                         (gtk-toolbar-style settings-gtk-toolbar-style
2519                          "gtk-toolbar-style" "GtkToolbarStyle" t t)
2520                         (gtk-toolbar-icon-size settings-gtk-toolbar-icon-size
2521                          "gtk-toolbar-icon-size" "GtkIconSize" t t)
2522                         (gtk-scrolled-window-placement
2523                          settings-gtk-scrolled-window-placement
2524                          "gtk-scrolled-window-placement" "GtkCornerType" t t)
2525                         (gtk-color-palette settings-gtk-color-palette
2526                          "gtk-color-palette" "gchararray" t t)
2527                         (gtk-entry-select-on-focus
2528                          settings-gtk-entry-select-on-focus
2529                          "gtk-entry-select-on-focus" "gboolean" t t)
2530                         (gtk-entry-password-hint-timeout
2531                          settings-gtk-entry-password-hint-timeout
2532                          "gtk-entry-password-hint-timeout" "guint" t t)))
2533
2534 (define-g-object-class "GtkRcStyle" rc-style
2535                        (:superclass g-object :export t :interfaces nil
2536                         :type-initializer "gtk_rc_style_get_type")
2537                        nil)
2538
2539 (define-g-object-class "GtkStyle" style
2540                        (:superclass g-object :export t :interfaces nil
2541                         :type-initializer "gtk_style_get_type")
2542                        nil)
2543
2544 (define-g-object-class "GtkTooltip" tooltip
2545                        (:superclass g-object :export t :interfaces nil
2546                         :type-initializer "gtk_tooltip_get_type")
2547                        nil)
2548
2549 (define-g-object-class "GtkAccelGroup" accel-group
2550                        (:superclass g-object :export t :interfaces nil
2551                         :type-initializer "gtk_accel_group_get_type")
2552                        ((is-locked accel-group-is-locked "is-locked" "gboolean"
2553                          t nil)
2554                         (modifier-mask accel-group-modifier-mask
2555                          "modifier-mask" "GdkModifierType" t nil)))
2556
2557 (define-g-object-class "GtkAccelMap" accel-map
2558                        (:superclass g-object :export t :interfaces nil
2559                         :type-initializer "gtk_accel_map_get_type")
2560                        nil)
2561
2562 (define-g-object-class "GtkAction" action
2563                        (:superclass g-object :export t :interfaces
2564                         ("GtkBuildable") :type-initializer
2565                         "gtk_action_get_type")
2566                        ((name action-name "name" "gchararray" t nil)
2567                         (label action-label "label" "gchararray" t t)
2568                         (short-label action-short-label "short-label"
2569                          "gchararray" t t)
2570                         (tooltip action-tooltip "tooltip" "gchararray" t t)
2571                         (stock-id action-stock-id "stock-id" "gchararray" t t)
2572                         (icon-name action-icon-name "icon-name" "gchararray" t
2573                          t)
2574                         (gicon action-gicon "gicon" "GIcon" t t)
2575                         (visible-horizontal action-visible-horizontal
2576                          "visible-horizontal" "gboolean" t t)
2577                         (visible-vertical action-visible-vertical
2578                          "visible-vertical" "gboolean" t t)
2579                         (visible-overflown action-visible-overflown
2580                          "visible-overflown" "gboolean" t t)
2581                         (is-important action-is-important "is-important"
2582                          "gboolean" t t)
2583                         (hide-if-empty action-hide-if-empty "hide-if-empty"
2584                          "gboolean" t t)
2585                         (sensitive action-sensitive "sensitive" "gboolean" t t)
2586                         (visible action-visible "visible" "gboolean" t t)
2587                         (action-group action-action-group "action-group"
2588                          "GtkActionGroup" t t)
2589                         (:cffi accel-path action-accel-path
2590                          (:string :free-from-foreign nil :free-to-foreign t)
2591                          "gtk_action_get_accel_path"
2592                          "gtk_action_set_accel_path")
2593                         (:cffi accel-group action-accel-group g-object nil
2594                          "gtk_action_set_accel_group")))
2595
2596 (define-g-object-class "GtkActionGroup" action-group
2597                        (:superclass g-object :export t :interfaces
2598                         ("GtkBuildable") :type-initializer
2599                         "gtk_action_group_get_type")
2600                        ((name action-group-name "name" "gchararray" t nil)
2601                         (sensitive action-group-sensitive "sensitive"
2602                          "gboolean" t t)
2603                         (visible action-group-visible "visible" "gboolean" t t)
2604                         (:cffi translate-function
2605                          action-group-translate-function nil nil
2606                          action-group-set-translate-func)
2607                         (:cffi translation-domain
2608                          action-group-translation-domain nil nil
2609                          gtk-action-group-set-translation-domain)))
2610
2611 (define-g-object-class "GtkBuilder" builder
2612                        (:superclass g-object :export t :interfaces nil
2613                         :type-initializer "gtk_builder_get_type")
2614                        ((translation-domain builder-translation-domain
2615                          "translation-domain" "gchararray" t t)))
2616
2617 (define-g-object-class "GtkClipboard" clipboard
2618                        (:superclass g-object :export t :interfaces nil
2619                         :type-initializer "gtk_clipboard_get_type")
2620                        nil)
2621
2622 (define-g-object-class "GtkEntryCompletion" entry-completion
2623                        (:superclass g-object :export t :interfaces
2624                         ("GtkBuildable" "GtkCellLayout") :type-initializer
2625                         "gtk_entry_completion_get_type")
2626                        ((model entry-completion-model "model" "GtkTreeModel" t
2627                          t)
2628                         (minimum-key-length entry-completion-minimum-key-length
2629                          "minimum-key-length" "gint" t t)
2630                         (text-column entry-completion-text-column "text-column"
2631                          "gint" t t)
2632                         (inline-completion entry-completion-inline-completion
2633                          "inline-completion" "gboolean" t t)
2634                         (popup-completion entry-completion-popup-completion
2635                          "popup-completion" "gboolean" t t)
2636                         (popup-set-width entry-completion-popup-set-width
2637                          "popup-set-width" "gboolean" t t)
2638                         (popup-single-match entry-completion-popup-single-match
2639                          "popup-single-match" "gboolean" t t)
2640                         (inline-selection entry-completion-inline-selection
2641                          "inline-selection" "gboolean" t t)))
2642
2643 (define-g-object-class "GtkIconFactory" icon-factory
2644                        (:superclass g-object :export t :interfaces
2645                         ("GtkBuildable") :type-initializer
2646                         "gtk_icon_factory_get_type")
2647                        nil)
2648
2649 (define-g-object-class "GtkIconTheme" icon-theme
2650                        (:superclass g-object :export t :interfaces nil
2651                         :type-initializer "gtk_icon_theme_get_type")
2652                        nil)
2653
2654 (define-g-object-class "GtkIMContext" i-m-context
2655                        (:superclass g-object :export t :interfaces nil) nil)
2656
2657 (define-g-object-class "GtkListStore" list-store
2658                        (:superclass g-object :export t :interfaces
2659                         ("GtkBuildable" "GtkTreeDragDest" "GtkTreeDragSource"
2660                          "GtkTreeModel" "GtkTreeSortable")
2661                         :type-initializer "gtk_list_store_get_type")
2662                        nil)
2663
2664 (define-g-object-class "GtkPageSetup" page-setup
2665                        (:superclass g-object :export t :interfaces nil
2666                         :type-initializer "gtk_page_setup_get_type")
2667                        nil)
2668
2669 (define-g-object-class "GtkPrintContext" print-context
2670                        (:superclass g-object :export t :interfaces nil
2671                         :type-initializer "gtk_print_context_get_type")
2672                        nil)
2673
2674 (define-g-object-class "GtkPrintOperation" print-operation
2675                        (:superclass g-object :export t :interfaces
2676                         ("GtkPrintOperationPreview") :type-initializer
2677                         "gtk_print_operation_get_type")
2678                        ((default-page-setup print-operation-default-page-setup
2679                          "default-page-setup" "GtkPageSetup" t t)
2680                         (print-settings print-operation-print-settings
2681                          "print-settings" "GtkPrintSettings" t t)
2682                         (job-name print-operation-job-name "job-name"
2683                          "gchararray" t t)
2684                         (n-pages print-operation-n-pages "n-pages" "gint" t t)
2685                         (current-page print-operation-current-page
2686                          "current-page" "gint" t t)
2687                         (use-full-page print-operation-use-full-page
2688                          "use-full-page" "gboolean" t t)
2689                         (track-print-status print-operation-track-print-status
2690                          "track-print-status" "gboolean" t t)
2691                         (unit print-operation-unit "unit" "GtkUnit" t t)
2692                         (show-progress print-operation-show-progress
2693                          "show-progress" "gboolean" t t)
2694                         (allow-async print-operation-allow-async "allow-async"
2695                          "gboolean" t t)
2696                         (export-filename print-operation-export-filename
2697                          "export-filename" "gchararray" t t)
2698                         (status print-operation-status "status"
2699                          "GtkPrintStatus" t nil)
2700                         (status-string print-operation-status-string
2701                          "status-string" "gchararray" t nil)
2702                         (custom-tab-label print-operation-custom-tab-label
2703                          "custom-tab-label" "gchararray" t t)))
2704
2705 (define-g-object-class "GtkPrintSettings" print-settings
2706                        (:superclass g-object :export t :interfaces nil
2707                         :type-initializer "gtk_print_settings_get_type")
2708                        nil)
2709
2710 (define-g-object-class "GtkRecentManager" recent-manager
2711                        (:superclass g-object :export t :interfaces nil
2712                         :type-initializer "gtk_recent_manager_get_type")
2713                        ((filename recent-manager-filename "filename"
2714                          "gchararray" t nil)
2715                         (limit recent-manager-limit "limit" "gint" t t)
2716                         (size recent-manager-size "size" "gint" t nil)))
2717
2718 (define-g-object-class "GtkSizeGroup" size-group
2719                        (:superclass g-object :export t :interfaces
2720                         ("GtkBuildable") :type-initializer
2721                         "gtk_size_group_get_type")
2722                        ((mode size-group-mode "mode" "GtkSizeGroupMode" t t)
2723                         (ignore-hidden size-group-ignore-hidden "ignore-hidden"
2724                          "gboolean" t t)))
2725
2726 (define-g-object-class "GtkStatusIcon" status-icon
2727                        (:superclass g-object :export t :interfaces nil
2728                         :type-initializer "gtk_status_icon_get_type")
2729                        ((pixbuf status-icon-pixbuf "pixbuf" "GdkPixbuf" t t)
2730                         (file status-icon-file "file" "gchararray" nil t)
2731                         (stock status-icon-stock "stock" "gchararray" t t)
2732                         (icon-name status-icon-icon-name "icon-name"
2733                          "gchararray" t t)
2734                         (gicon status-icon-gicon "gicon" "GIcon" t t)
2735                         (storage-type status-icon-storage-type "storage-type"
2736                          "GtkImageType" t nil)
2737                         (size status-icon-size "size" "gint" t nil)
2738                         (screen status-icon-screen "screen" "GdkScreen" t t)
2739                         (visible status-icon-visible "visible" "gboolean" t t)
2740                         (orientation status-icon-orientation "orientation"
2741                          "GtkOrientation" t nil)
2742                         (embedded status-icon-embedded "embedded" "gboolean" t
2743                          nil)
2744                         (blinking status-icon-blinking "blinking" "gboolean" t
2745                          t)
2746                         (has-tooltip status-icon-has-tooltip "has-tooltip"
2747                          "gboolean" t t)
2748                         (tooltip-text status-icon-tooltip-text "tooltip-text"
2749                          "gchararray" t t)
2750                         (tooltip-markup status-icon-tooltip-markup
2751                          "tooltip-markup" "gchararray" t t)))
2752
2753 (define-g-object-class "GtkTextBuffer" text-buffer
2754                        (:superclass g-object :export t :interfaces nil
2755                         :type-initializer "gtk_text_buffer_get_type")
2756                        ((tag-table text-buffer-tag-table "tag-table"
2757                          "GtkTextTagTable" t nil)
2758                         (text text-buffer-text "text" "gchararray" t t)
2759                         (has-selection text-buffer-has-selection
2760                          "has-selection" "gboolean" t nil)
2761                         (cursor-position text-buffer-cursor-position
2762                          "cursor-position" "gint" t nil)
2763                         (copy-target-list text-buffer-copy-target-list
2764                          "copy-target-list" "GtkTargetList" t nil)
2765                         (paste-target-list text-buffer-paste-target-list
2766                          "paste-target-list" "GtkTargetList" t nil)))
2767
2768 (define-g-object-class "GtkTextChildAnchor" text-child-anchor
2769                        (:superclass g-object :export t :interfaces nil
2770                         :type-initializer "gtk_text_child_anchor_get_type")
2771                        nil)
2772
2773 (define-g-object-class "GtkTextMark" text-mark
2774                        (:superclass g-object :export t :interfaces nil
2775                         :type-initializer "gtk_text_mark_get_type")
2776                        ((name text-mark-name "name" "gchararray" t nil)
2777                         (left-gravity text-mark-left-gravity "left-gravity"
2778                          "gboolean" t nil)))
2779
2780 (define-g-object-class "GtkTextTag" text-tag
2781                        (:superclass g-object :export t :interfaces nil
2782                         :type-initializer "gtk_text_tag_get_type")
2783                        ((name text-tag-name "name" "gchararray" t nil)
2784                         (background text-tag-background "background"
2785                          "gchararray" nil t)
2786                         (foreground text-tag-foreground "foreground"
2787                          "gchararray" nil t)
2788                         (background-gdk text-tag-background-gdk
2789                          "background-gdk" "GdkColor" t t)
2790                         (foreground-gdk text-tag-foreground-gdk
2791                          "foreground-gdk" "GdkColor" t t)
2792                         (background-stipple text-tag-background-stipple
2793                          "background-stipple" "GdkPixmap" t t)
2794                         (foreground-stipple text-tag-foreground-stipple
2795                          "foreground-stipple" "GdkPixmap" t t)
2796                         (font text-tag-font "font" "gchararray" t t)
2797                         (font-desc text-tag-font-desc "font-desc"
2798                          "PangoFontDescription" t t)
2799                         (family text-tag-family "family" "gchararray" t t)
2800                         (style text-tag-style "style" "PangoStyle" t t)
2801                         (variant text-tag-variant "variant" "PangoVariant" t t)
2802                         (weight text-tag-weight "weight" "gint" t t)
2803                         (stretch text-tag-stretch "stretch" "PangoStretch" t t)
2804                         (size text-tag-size "size" "gint" t t)
2805                         (size-points text-tag-size-points "size-points"
2806                          "gdouble" t t)
2807                         (scale text-tag-scale "scale" "gdouble" t t)
2808                         (pixels-above-lines text-tag-pixels-above-lines
2809                          "pixels-above-lines" "gint" t t)
2810                         (pixels-below-lines text-tag-pixels-below-lines
2811                          "pixels-below-lines" "gint" t t)
2812                         (pixels-inside-wrap text-tag-pixels-inside-wrap
2813                          "pixels-inside-wrap" "gint" t t)
2814                         (editable text-tag-editable "editable" "gboolean" t t)
2815                         (wrap-mode text-tag-wrap-mode "wrap-mode" "GtkWrapMode"
2816                          t t)
2817                         (justification text-tag-justification "justification"
2818                          "GtkJustification" t t)
2819                         (direction text-tag-direction "direction"
2820                          "GtkTextDirection" t t)
2821                         (left-margin text-tag-left-margin "left-margin" "gint"
2822                          t t)
2823                         (indent text-tag-indent "indent" "gint" t t)
2824                         (strikethrough text-tag-strikethrough "strikethrough"
2825                          "gboolean" t t)
2826                         (right-margin text-tag-right-margin "right-margin"
2827                          "gint" t t)
2828                         (underline text-tag-underline "underline"
2829                          "PangoUnderline" t t)
2830                         (rise text-tag-rise "rise" "gint" t t)
2831                         (background-full-height text-tag-background-full-height
2832                          "background-full-height" "gboolean" t t)
2833                         (language text-tag-language "language" "gchararray" t
2834                          t)
2835                         (tabs text-tag-tabs "tabs" "PangoTabArray" t t)
2836                         (invisible text-tag-invisible "invisible" "gboolean" t
2837                          t)
2838                         (paragraph-background text-tag-paragraph-background
2839                          "paragraph-background" "gchararray" nil t)
2840                         (paragraph-background-gdk
2841                          text-tag-paragraph-background-gdk
2842                          "paragraph-background-gdk" "GdkColor" t t)
2843                         (accumulative-margin text-tag-accumulative-margin
2844                          "accumulative-margin" "gboolean" t t)
2845                         (background-set text-tag-background-set
2846                          "background-set" "gboolean" t t)
2847                         (foreground-set text-tag-foreground-set
2848                          "foreground-set" "gboolean" t t)
2849                         (background-stipple-set text-tag-background-stipple-set
2850                          "background-stipple-set" "gboolean" t t)
2851                         (foreground-stipple-set text-tag-foreground-stipple-set
2852                          "foreground-stipple-set" "gboolean" t t)
2853                         (family-set text-tag-family-set "family-set" "gboolean"
2854                          t t)
2855                         (style-set text-tag-style-set "style-set" "gboolean" t
2856                          t)
2857                         (variant-set text-tag-variant-set "variant-set"
2858                          "gboolean" t t)
2859                         (weight-set text-tag-weight-set "weight-set" "gboolean"
2860                          t t)
2861                         (stretch-set text-tag-stretch-set "stretch-set"
2862                          "gboolean" t t)
2863                         (size-set text-tag-size-set "size-set" "gboolean" t t)
2864                         (scale-set text-tag-scale-set "scale-set" "gboolean" t
2865                          t)
2866                         (pixels-above-lines-set text-tag-pixels-above-lines-set
2867                          "pixels-above-lines-set" "gboolean" t t)
2868                         (pixels-below-lines-set text-tag-pixels-below-lines-set
2869                          "pixels-below-lines-set" "gboolean" t t)
2870                         (pixels-inside-wrap-set text-tag-pixels-inside-wrap-set
2871                          "pixels-inside-wrap-set" "gboolean" t t)
2872                         (editable-set text-tag-editable-set "editable-set"
2873                          "gboolean" t t)
2874                         (wrap-mode-set text-tag-wrap-mode-set "wrap-mode-set"
2875                          "gboolean" t t)
2876                         (justification-set text-tag-justification-set
2877                          "justification-set" "gboolean" t t)
2878                         (left-margin-set text-tag-left-margin-set
2879                          "left-margin-set" "gboolean" t t)
2880                         (indent-set text-tag-indent-set "indent-set" "gboolean"
2881                          t t)
2882                         (strikethrough-set text-tag-strikethrough-set
2883                          "strikethrough-set" "gboolean" t t)
2884                         (right-margin-set text-tag-right-margin-set
2885                          "right-margin-set" "gboolean" t t)
2886                         (underline-set text-tag-underline-set "underline-set"
2887                          "gboolean" t t)
2888                         (rise-set text-tag-rise-set "rise-set" "gboolean" t t)
2889                         (background-full-height-set
2890                          text-tag-background-full-height-set
2891                          "background-full-height-set" "gboolean" t t)
2892                         (language-set text-tag-language-set "language-set"
2893                          "gboolean" t t)
2894                         (tabs-set text-tag-tabs-set "tabs-set" "gboolean" t t)
2895                         (invisible-set text-tag-invisible-set "invisible-set"
2896                          "gboolean" t t)
2897                         (paragraph-background-set
2898                          text-tag-paragraph-background-set
2899                          "paragraph-background-set" "gboolean" t t)
2900                         (:cffi priority text-tag-priority :int
2901                          "gtk_text_tag_get_priority"
2902                          "gtk_text_tag_set_priority")))
2903
2904 (define-g-object-class "GtkTextTagTable" text-tag-table
2905                        (:superclass g-object :export t :interfaces nil
2906                         :type-initializer "gtk_text_tag_table_get_type")
2907                        nil)
2908
2909 (define-g-object-class "GtkTreeModelFilter" tree-model-filter
2910                        (:superclass g-object :export t :interfaces
2911                         ("GtkTreeDragSource" "GtkTreeModel") :type-initializer
2912                         "gtk_tree_model_filter_get_type")
2913                        ((child-model tree-model-filter-child-model
2914                          "child-model" "GtkTreeModel" t nil)
2915                         (virtual-root tree-model-filter-virtual-root
2916                          "virtual-root" "GtkTreePath" t nil)))
2917
2918 (define-g-object-class "GtkTreeModelSort" tree-model-sort
2919                        (:superclass g-object :export t :interfaces
2920                         ("GtkTreeDragSource" "GtkTreeModel" "GtkTreeSortable")
2921                         :type-initializer "gtk_tree_model_sort_get_type")
2922                        ((model tree-model-sort-model "model" "GtkTreeModel" t
2923                          nil)))
2924
2925 (define-g-object-class "GtkTreeSelection" tree-selection
2926                        (:superclass g-object :export t :interfaces nil
2927                         :type-initializer "gtk_tree_selection_get_type")
2928                        ((:cffi mode tree-selection-mode selection-mode
2929                          "gtk_tree_selection_get_mode"
2930                          "gtk_tree_selection_set_mode")
2931                         (:cffi select-function tree-selection-select-function
2932                          nil tree-selection-get-selection-function
2933                          tree-selection-set-select-function)))
2934
2935 (define-g-object-class "GtkTreeStore" tree-store
2936                        (:superclass g-object :export t :interfaces
2937                         ("GtkBuildable" "GtkTreeDragDest" "GtkTreeDragSource"
2938                          "GtkTreeModel" "GtkTreeSortable")
2939                         :type-initializer "gtk_tree_store_get_type")
2940                        nil)
2941
2942 (define-g-object-class "GtkUIManager" ui-manager
2943                        (:superclass g-object :export t :interfaces
2944                         ("GtkBuildable"))
2945                        ((add-tearoffs ui-manager-add-tearoffs "add-tearoffs"
2946                          "gboolean" t t)
2947                         (ui ui-manager-ui "ui" "gchararray" t nil)
2948                         (:cffi accel-group ui-manager-accel-group g-object
2949                          "gtk_ui_manager_get_accel_group" nil)))
2950
2951 (define-g-object-class "GtkWindowGroup" window-group
2952                        (:superclass g-object :export t :interfaces nil
2953                         :type-initializer "gtk_window_group_get_type")
2954                        nil)
2955
2956 (define-g-object-class "GtkToggleAction" toggle-action
2957                        (:superclass action :export t :interfaces
2958                         ("GtkBuildable") :type-initializer
2959                         "gtk_toggle_action_get_type")
2960                        ((draw-as-radio toggle-action-draw-as-radio
2961                          "draw-as-radio" "gboolean" t t)
2962                         (active toggle-action-active "active" "gboolean" t t)))
2963
2964 (define-g-object-class "GtkRecentAction" recent-action
2965                        (:superclass action :export t :interfaces
2966                         ("GtkBuildable" "GtkRecentChooser") :type-initializer
2967                         "gtk_recent_action_get_type")
2968                        ((show-numbers recent-action-show-numbers "show-numbers"
2969                          "gboolean" t t)))
2970
2971 (define-g-object-class "GtkRadioAction" radio-action
2972                        (:superclass toggle-action :export t :interfaces
2973                         ("GtkBuildable") :type-initializer
2974                         "gtk_radio_action_get_type")
2975                        ((value radio-action-value "value" "gint" t t)
2976                         (group radio-action-group "group" "GtkRadioAction" nil
2977                          t)
2978                         (current-value radio-action-current-value
2979                          "current-value" "gint" t t)))
2980
2981 (define-g-object-class "GtkItemFactory" item-factory
2982                        (:superclass gtk-object :export t :interfaces nil
2983                         :type-initializer "gtk_item_factory_get_type")
2984                        nil)
2985