Re: Subclasses

Ephrem Boudonnet <[email protected]> Mon, 06 Feb 2006 14:54:03 +0100
Newsgroups gmane.lisp.clg.devel
Message-ID <[email protected]>
Hi Espen,

Thanx again for your time. The last CVS version, at the moment, doesn't 
seem to work on my computer, so I'm trying the composition, as you've 
told me to do.
But I'm trying now to add a slot in a gtk::window.
Can I do that in the file gtktypes.lisp, in the function 
define-types-by-introspection?

Something like:

...

("GtkWindow"
  :slots
  ((focus-widget
    :allocation :virtual
    :getter "gtk_window_get_focus"
    :setter "gtk_window_set_focus"
    :accessor window-focus-widget
    :initarg :focus-widget
    :type widget)
(myslot
    :allocation :virtual
    :getter "my_slot_getter"
    :setter "my_slot_setter"
    :accessor myslot
    :initarg 1
    :type integer)

...

Any idea?

Ephrem

ps: Sorry again.



-------------------------------------------------------
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