Re: Subclasses

Espen S Johnsen <[email protected]> 23 Jun 2006 15:15:17 +0200
Newsgroups gmane.lisp.clg.devel
Message-ID <[email protected]>
Marco Gidde <[email protected]> writes:

> In some places the C structs are created from raw memory, I found that
> e.g. in %MAKE-TREE-PATH and %WITH-TREE-PATH. Of course the alignment
> rules have to be applied there too. Above function and macro are
> probably the reason why the inspector triggers memory faults when an
> item is clicked for the first time.

This should be fixed now, but there may still be some places where the
alignment is broken.

> And while you work on gtktree.lisp;-): the TOGGLED signal sent by
> CELL-RENDERER-TOGGLE calls its slot for some reason with the string
> representation of a TREE-PATH. This is Gtk, so it should not be
> changed, but a binding for gtk_tree_path_new_from_string would be
> quite useful. Or did I oversee it somewhere?

For consistency all tree paths in clg should be vectors, but currently
it is not possible to convert paths represented by strings in signal
handlers automatically. I may add some mechanism to do this later, but
as a temporary solution I've added a functions called ensure-tree-path
which takes a path as a string (or vector) and returns it as a vector.

-- 
Espen

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642