- (state
- :allocation :virtual
- :location ("gtk_widget_get_state" "gtk_widget_set_state")
- :accessor widget-state
- :initarg :state
- :type state-type)
- (window
- :allocation :virtual
- :location "gtk_widget_get_window"
- :reader widget-window
- :type gdk:window)
- (colormap
- :allocation :virtual
- :location "gtk_widget_get_colormap"
- :reader widget-colormap
- :type gdk:colormap)
- (visual
- :allocation :virtual
- :location "gtk_widget_get_visual"
- :reader widget-visual
- :type gdk:visual))
- (:metaclass object-class)
- (:alien-name "GtkWidget"))
-
-
-
-(defclass accel-label (label)
- (width
- :allocation :virtual
- :location "gtk_accel_label_get_accel_width"
- :reader width
- :type unsigned-int))
- (:metaclass widget-class)
- (:alien-name "GtkAccelLabel"))
-
-
-(defclass container (widget)
- (children
- :allocation :virtual
- :location container-children)
- (focus-child
- :allocation :virtual
- :location ("gtk_container_get_focus_child" "gtk_container_set_focus_child")
- :accessor container-focus-child
- :initarg :focus-child
- :type widget)
- (focus-hadjustment
- :allocation :virtual
- :location (nil "gtk_container_set_focus_hadjustment")
- :writer (setf container-focus-hadjustment)
- :initarg :focus-hadjustment
- :type adjustment)
- (focus-vadjustment
- :allocation :virtual
- :location (nil "gtk_container_set_focus_vadjustment")
- :writer (setf container-focus-vadjustment)
- :initarg :focus-vadjustment
- :type adjustment))
- (:metaclass widget-class)
- (:alien-name "GtkContainer"))
-
-
-
-(defclass bin (container)
- ((child
- :allocation :virtual
- :location bin-child
- :type widget))
- (:metaclass container-class)
- (:alien-name "GtkBin"))
-
-
-
-(defclass radio-button (check-button)
- ((group
- :allocation :virtual
- :location ("gtk_radio_button_group")
- :reader radio-button-group
- :type (static (gslist widget))))
- (:metaclass container-class)
- (:alien-name "GtkRadioButton"))
+ (parent-window
+ :allocation :virtual
+ :getter "gtk_widget_get_parent_window"
+ :setter "gtk_widget_set_parent_window"
+ :accessor widget-parent-window
+ :type gdk:window)
+ (window
+ :allocation :virtual
+ :getter "gtk_widget_get_window"
+ :reader widget-window
+ :type gdk:window)
+ (state
+ :allocation :virtual
+ :getter "gtk_widget_get_state"
+ :setter "gtk_widget_set_state"
+ :accessor widget-state
+ :initarg :state
+ :type state-type)
+ (colormap
+ :allocation :virtual
+ :getter "gtk_widget_get_colormap"
+ :setter "gtk_widget_set_colormap"
+ :initarg :colormap
+ :accessor widget-colormap
+ :type gdk:colormap)
+ (visual
+ :allocation :virtual
+ :getter "gtk_widget_get_visual"
+ :reader widget-visual
+ :type gdk:visual)
+ (direction
+ :allocation :virtual
+ :getter "gtk_widget_get_direction"
+ :setter "gtk_widget_set_direction"
+ :accessor widget-direction
+ :initarg :direction
+ :type text-direction)
+ (composite-name
+ :allocation :virtual
+ :getter "gtk_widget_get_composite_name"
+ :setter "gtk_widget_set_composite_name"
+ :accessor widget-composite-name
+ :initarg :composite-name
+ :type string)
+ (settings
+ :allocation :virtual
+ :getter "gtk_widget_get_settings"
+ :accessor widget-settings
+ :type settings)
+ (child-visible
+ :allocation :virtual
+ :getter "gtk_widget_get_child_visible"
+ :setter "gtk_widget_set_child_visible"
+ :accessor widget-child-visible-p
+ :initarg :child-visible
+ :type boolean)))
+
+ ("GtkContainer"
+ :slots
+ ((child
+ :ignore t)
+ (children
+ :allocation :virtual
+ :getter container-children
+ :setter (setf container-children))
+ (focus-child
+ :allocation :virtual
+ :getter "gtk_container_get_focus_child"
+ :setter "gtk_container_set_focus_child"
+ :accessor container-focus-child
+ :initarg :focus-child
+ :type widget)
+ (focus-chain
+ :allocation :virtual
+ :getter container-focus-chain
+ :setter (setf container-focus-chain))
+ (focus-hadjustment
+ :allocation :virtual
+ :getter "gtk_container_get_focus_hadjustment"
+ :setter "gtk_container_set_focus_hadjustment"
+ :accessor container-focus-hadjustment
+ :initarg :focus-hadjustment
+ :type adjustment)
+ (focus-vadjustment
+ :allocation :virtual
+ :getter "gtk_container_get_focus_vadjustment"
+ :setter "gtk_container_set_focus_vadjustment"
+ :accessor container-focus-vadjustment
+ :initarg :focus-vadjustment
+ :type adjustment)))
+
+ ("GtkBin"
+ :slots
+ ((child
+ :allocation :virtual
+ :getter "gtk_bin_get_child"
+ :setter (setf bin-child)
+ :reader bin-child
+ :type widget)))
+
+ ("GtkWindow"
+ :slots
+ ((gravity
+ :allocation :virtual
+ :getter "gtk_window_get_gravity"
+ :setter "gtk_window_set_gravity"
+ :accessor window-gravity
+ :initarg :gravity
+ :type gdk:gravity)
+ (focus-widget
+ :allocation :virtual
+ :getter "gtk_window_get_focus"
+ :setter "gtk_window_set_focus"
+ :accessor window-focus-widget
+ :initarg :focus-widget
+ :type widget)
+ (default-widget
+ :allocation :virtual
+ :getter "gtk_window_get_default"
+ :setter "gtk_window_set_default"
+ :accessor window-default-widget
+ :initarg :default-widget
+ :type widget)
+ (decorated
+ :allocation :virtual
+ :getter "gtk_window_get_decorated"
+ :setter "gtk_window_set_decorated"
+ :accessor window-decorated-p
+ :initarg :decorated
+ :type boolean)
+ (has-frame
+ :allocation :virtual
+ :getter "gtk_window_get_has_frame"
+ :setter "gtk_window_set_has_frame"
+ :accessor window-has-frame-p
+ :initarg :has-frame
+ :type boolean)
+ (role
+ :allocation :virtual
+ :getter "gtk_window_get_role"
+ :setter "gtk_window_set_role"
+ :accessor window-role
+ :initarg :role
+ :type string)
+ (type-hint
+ :allocation :virtual
+ :getter "gtk_window_get_type_hint"
+ :setter "gtk_window_set_type_hint"
+ :accessor window-type-hint
+ :initarg :type-hint
+ :type gdk:window-type-hint)
+ (icon
+ :allocation :virtual
+ :getter window-icon
+ :setter (setf window-icon)
+ :initarg :icon)
+ (mnemonic-modifier
+ :allocation :virtual
+ :getter "gtk_window_get_mnemonic_modifier"
+ :setter "gtk_window_set_mnemonic_modifier"
+ :accessor window-mnemonic-modifier
+ :initarg :mnemonic-modifier
+ :type gdk:modifier-type)
+ (transient-for
+ :allocation :virtual
+ :getter "gtk_window_get_transient_for"
+ :setter "gtk_window_set_transient_for"
+ :accessor window-transient-for
+ :initarg :transient-for
+ :type window)
+
+
+ ))
+
+ ("GtkTooltips"
+ :slots
+ ((enabled
+ :allocation :virtual
+ :getter "gtk_tooltips_get_enabled"
+ :setter (setf tooltips-enabled-p)
+ :reader tooltips-enabled-p
+ :initarg :enabled
+ :type boolean)))
+
+ ("GtkOptionMenu"
+ :slots
+ ((menu
+ :allocation :virtual
+ :getter "gtk_option_menu_get_menu"
+ :setter (setf option-menu-menu)
+ :reader option-menu-menu
+ :initarg :menu
+ :type widget)
+ (history
+ :allocation :virtual
+ :getter "gtk_option_menu_get_history"
+ :setter "gtk_option_menu_set_history"
+ :accessor option-menu-history
+ :initarg :history
+ :type unsigned-int)))
+
+ ("GtkMenuItem"
+ :slots
+ ((label
+ :allocation :virtual
+ :setter menu-item-label
+ :initarg :label
+ :type string)
+ (submenu
+ :allocation :virtual
+ :getter "gtk_menu_item_get_submenu"
+ :setter (setf menu-item-submenu)
+ :reader menu-item-submenu
+ :initarg :submenu
+ :type menu-item)
+ (placement
+ :allocation :virtual
+ :getter "gtk_menu_item_get_placement"
+ :setter "_gtk_menu_item_set_placement" ; why underscore?
+ :accessor menu-item-placement
+ :initarg :placement
+ :type submenu-placement)
+ (submenu-indicator
+ :allocation :virtual
+ :getter "gtk_menu_item_get_show_submenu"
+ :setter "gtk_menu_item_set_show_submenu"
+ :accessor menu-item-submenu-indicator-p
+ :initarg :submenu-indicator
+ :type boolean)))
+
+ ("GtkColorSelectionDialog"
+ :slots
+ ((colorsel
+ :allocation :alien
+ :reader color-selection-dialog-colorsel
+ :type widget)
+ (ok-button
+ :allocation :alien
+ :reader color-selection-dialog-ok-button
+ :type widget)
+ (cancel-button
+ :allocation :alien
+ :reader color-selection-dialog-cancel-button
+ :type widget)
+ (help-button
+ :allocation :alien
+ :reader color-selection-dialog-help-button
+ :type widget)))
+
+ ("GtkScrolledWindow"
+ :slots
+ ((hscrollbar
+ :allocation :alien
+ :reader scrolled-window-hscrollbar
+ :type widget)
+ (vscrollbar
+ :allocation :alien
+ :reader scrolled-window-vscrollbar
+ :type widget)))