component: cl-gtk2
release: "0.1"
reporter: Kalyanov Dmitry <Kalyanov.Dmitry@gmail.com>
-status: :unstarted
-disposition:
+status: :closed
+disposition: :fixed
creation_time: 2009-10-03 00:58:04.994858 Z
references: []
- Kalyanov Dmitry <Kalyanov.Dmitry@gmail.com>
- created
- ""
+- - 2009-10-10 11:44:29.875448 Z
+ - Kalyanov Dmitry <Kalyanov.Dmitry@gmail.com>
+ - closed with disposition fixed
+ - ""
(property-name :string)
(value (:pointer g-value)))
+(defcfun gtk-container-class-find-child-property :pointer
+ (class :pointer)
+ (property-name :string))
+
+(defun container-child-property-info (type property-name)
+ (let ((class (g-type-class-ref type)))
+ (unwind-protect
+ (let ((g-param-spec (gtk-container-class-find-child-property class property-name)))
+ (parse-g-param-spec g-param-spec))
+ (g-type-class-unref class))))
+
+(export 'container-child-property-info)
+
(defun container-call-get-property (container child property-name type)
(with-foreign-object (gvalue 'g-value)
(g-value-unset gvalue)
(g-value-unset gvalue)
(values)))
+(export '(container-call-get-property container-call-set-property))
+
(defmacro define-child-property (container-type property-name property-gname property-type readable writable export)
(when (stringp container-type) (setf container-type (registered-object-type-by-name container-type)))
`(progn
(event (g-boxed-foreign event)))
(export 'container-propagate-expose)
-
-; TODO: gtk_container_get_focus_chain
-
-; TODO: gtk_container_set_focus_chain
-
-; TODO: gtk_container_unset_focus_chain
-