inheriting from containers

"Walter C. Pelissero" <[email protected]> Thu, 6 Mar 2008 17:22:47 +0100
Newsgroups gmane.lisp.clg.devel
Message-ID <[email protected]>
I've noticed that although I'm allowed to do things like:

  (defclass my-box (v-box)
    ()
    (:metaclass glib:gobject-class))

  (container-add (make-instance 'my-box) some-widget)

I'm not allowed to do:

  (container-add (make-instance 'my-box) some-widget :expand nil)

In fact INIT-CHILD-SLOTS is not able to find the right child container
to instantiate.

Did I totally fail to understand how to inherit from a CLG class?
When I define a new container do I also have to define its children
type? (How?)

-- 
walter pelissero
http://www.pelissero.de

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/