Subclasses

Ephrem Boudonnet <[email protected]> Wed, 25 Jan 2006 12:11:54 +0100
Newsgroups gmane.lisp.clg.devel
Message-ID <[email protected]>
Thanx for your work.
I'm using clg for a project running with SBCL 0.9. (You've ever heard of 
it, it's Open Music)
My first question would be:
Is it possible in my lisp code to define subclasses for "gtk classes", 
for example a subclass for window, and to make instances of this class.  
For the moment, I make it work using the "change-class" function on my 
"gtk instance". (I know, it's quite not "beautiful") :

(defclass my-window (gtk::window) ())
(make-instance 'my-window)

 >Type not registered: my-window
 > [Condition of type simple-error]

I hope this question is not too "easy".
Thanx anyway.

Ephrem


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642