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