-(define-foreign accel-group-new () accel-group)
-
-(define-foreign accel-group-get-default () accel-group)
-
-(deftype-method alien-ref accel-group (type-spec)
- (declare (ignore type-spec))
- '%accel-group-ref)
-
-(deftype-method alien-unref accel-group (type-spec)
- (declare (ignore type-spec))
- '%accel-group-unref)
-
-(define-foreign %accel-group-ref () accel-group
- (accel-group (or accel-group pointer)))
-
-(define-foreign %accel-group-unref () nil
- (accel-group (or accel-group pointer)))
-
-(define-foreign accel-group-activate (accel-group key modifiers) boolean
- (accel-group accel-group)
- ((gdk:keyval-from-name key) unsigned-int)
- (modifiers gdk:modifier-type))
-
-(define-foreign accel-groups-activate (object key modifiers) boolean
- (object object)
- ((gdk:keyval-from-name key) unsigned-int)
- (modifiers gdk:modifier-type))
-
-(define-foreign accel-group-attach () nil
- (accel-group accel-group)
- (object object))
-
-(define-foreign accel-group-detach () nil
- (accel-group accel-group)
- (object object))
-
-(define-foreign accel-group-lock () nil
- (accel-group accel-group))
-
-(define-foreign accel-group-unlock () nil
- (accel-group accel-group))
-
-
-;;; Accelerator Groups Entries
-
-(define-foreign accel-group-get-entry (accel-group key modifiers) accel-entry
- (accel-group accel-group)
- ((gdk:keyval-from-name key) unsigned-int)
- (modifiers gdk:modifier-type))
-
-(define-foreign accel-group-lock-entry (accel-group key modifiers) nil
- (accel-group accel-group)
- ((gdk:keyval-from-name key) unsigned-int)
- (modifiers gdk:modifier-type))
-
-(define-foreign accel-group-unlock-entry (accel-group key modifiers) nil
- (accel-group accel-group)
- ((gdk:keyval-from-name key) unsigned-int)
- (modifiers gdk:modifier-type))
-
-(define-foreign accel-group-add
- (accel-group key modifiers flags object signal) nil
- (accel-group accel-group)
- ((gdk:keyval-from-name key) unsigned-int)
- (modifiers gdk:modifier-type)
- (flags accel-flags)
- (object object)
- ((name-to-string signal) string))
-
-(define-foreign accel-group-add (accel-group key modifiers object) nil
- (accel-group accel-group)
- ((gdk:keyval-from-name key) unsigned-int)
- (modifiers gdk:modifier-type)
- (object object))
-
-
-;;; Accelerator Signals
-
-(define-foreign accel-group-handle-add
- (object signal-id accel-group key modifiers flags) nil
- (object object)
- (signal-id unsigned-int)
- (accel-group accel-group)
- ((gdk:keyval-from-name key) unsigned-int)
- (modifiers gdk:modifier-type)
- (flags accel-flags))
-
-(define-foreign accel-group-handle-remove
- (object accel-group key modifiers) nil
- (object object)
- (accel-group accel-group)
- ((gdk:keyval-from-name key) unsigned-int)
- (modifiers gdk:modifier-type))
-
-
-
-;;; Style
-
-; (define-foreign style-new () style)
-
-; (define-foreign style-copy () style
-; (style style))
-
-; (define-foreign style-ref () style
-; (style style))
-
-; (define-foreign style-unref () nil
-; (style style))
-
-; (define-foreign style-get-color () gdk:color
-; (style style)
-; (color-type color-type)
-; (state-type state-type))
-
-; (define-foreign
-; ("gtk_style_set_color" style-set-color-from-color) () gdk:color
-; (style style)
-; (color-type color-type)
-; (state-type state-type)
-; (color gdk:color))
-
-; (defun style-set-color (style color-type state-type color)
-; (gdk:with-colors ((color color))
-; (style-set-color-from-color style color-type state-type color)))
-
-; (define-foreign ("gtk_style_get_font" style-font) () gdk:font
-; (style style))
-
-; (define-foreign style-set-font () gdk:font
-; (style style)
-; (font gdk:font))
-
-; (defun (setf style-font) (font style)
-; (let ((font (gdk:ensure-font font)))
-; (gdk:font-unref (style-font style))
-; (style-set-font style font)))
-
-; (defun style-fg (style state)
-; (style-get-color style :foreground state))
-
-; (defun (setf style-fg) (color style state)
-; (style-set-color style :foreground state color))
-
-; (defun style-bg (style state)
-; (style-get-color style :background state))
-
-; (defun (setf style-bg) (color style state)
-; (style-set-color style :background state color))
-
-; (defun style-text (style state)
-; (style-get-color style :text state))
-
-; (defun (setf style-text) (color style state)
-; (style-set-color style :text state color))
-
-; (defun style-base (style state)
-; (style-get-color style :base state))
-
-; (defun (setf style-base) (color style state)
-; (style-set-color style :base state color))
-
-; (defun style-white (style)
-; (style-get-color style :white :normal))
-
-; (defun (setf style-white) (color style)
-; (style-set-color style :white :normal color))
-
-; (defun style-black (style)
-; (style-get-color style :black :normal))