(x :int)
(y :int)
(layout (g-object pango-layout)))
+
+(defcfun gdk-atom-name (glib:g-string :free-from-foreign t)
+ (atom gdk-atom))
+
+(defcfun gdk-atom-intern gdk-atom
+ (name :string)
+ (only-if-exists :boolean))
\ No newline at end of file
(defctype gdk-atom :pointer)
+(define-foreign-type gdk-atom-as-string-type ()
+ ()
+ (:actual-type :pointer)
+ (:simple-parser gdk-atom-as-string))
+
+(defmethod translate-from-foreign (value (type gdk-atom-as-string-type))
+ (gdk-atom-name value))
+
+(defmethod translate-to-foreign (value (type gdk-atom-as-string-type))
+ (gdk-atom-intern value nil))
+
(define-g-boxed-class nil event-property ((event type :property-notify))
(atom gdk-atom)
(time :uint32)