;; License along with this library; if not, write to the Free Software
;; Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-;; $Id: gdktypes.lisp,v 1.12 2005-02-03 23:09:07 espen Exp $
+;; $Id: gdktypes.lisp,v 1.18 2005-03-11 16:48:08 espen Exp $
(in-package "GDK")
(eval-when (:compile-toplevel :load-toplevel :execute)
(init-types-in-library #.(concatenate 'string
(pkg-config:pkg-variable "gtk+-2.0" "libdir")
- "/libgdk-x11-2.0.so") :prefix "gdk_")
- (init-types-in-library #.(concatenate 'string
- (pkg-config:pkg-variable "gtk+-2.0" "libdir")
- "/libgdk-x11-2.0.so") :prefix "_gdk_")
+ "/libgdk-x11-2.0.so") :prefix ("gdk_" "_gdk_"))
(init-types-in-library #.(concatenate 'string
(pkg-config:pkg-variable "gtk+-2.0" "libdir")
"/libgdk_pixbuf-2.0.so") :prefix "gdk_"))
:allocation :alien
:accessor color-blue
:type unsigned-short))
- (:metaclass boxed-class)
- (:alien-name "GdkColor"))
+ (:metaclass boxed-class))
(deftype point () '(vector int 2))
:accessor rectangle-height
:initarg :height
:type int))
- (:metaclass boxed-class)
- (:alien-name "GdkRectangle"))
+ (:metaclass boxed-class))
(define-types-by-introspection "Gdk"
("GdkRectngle" :ignore t)
("GdkCursor" :ignore t)
("GdkFont" :ignore t) ; deprecated
-
+ ("GdkEventMask" :ignore t) ; manually defined
+
+ ("GdkDisplay"
+ :slots
+ ((name
+ :allocation :virtual
+ :getter "gdk_display_get_name"
+ :reader display-name
+ :type (copy-of string))
+ (screens
+ :allocation :virtual
+ :getter display-screens)
+ (devices
+ :allocation :virtual
+ :getter "gdk_display_list_devices"
+ :reader display-devices
+ :type (copy-of (glist device)))))
+
("GdkDrawable"
:slots
((display
:getter "gdk_cursor_get_display"
:reader cursor-display
:type display))
- (:metaclass boxed-class)
- (:alien-name "GdkColor"))
+ (:metaclass boxed-class))
(defclass geometry (struct)