[cl-gtk2-devel] let-ui find the class at macroexpansion

Kalyanov Dmitry kalyanov.dmitry at gmail.com
Thu Aug 19 03:20:08 UTC 2010


Hi,

On Wed, 2010-08-18 at 15:34 +0200, David Vázquez wrote:
> It works well if when you compile run, pb class is defined. However, if
> previous code is in a single file and you use compile-file, it fails. I
> hope it was helpful.
> 
> It should be delayed at runtime I think.
> Thanks! 

Thanks for the report!

I've though about it and came to the same conclusion that I've been
doing too much things at compile-time. let-ui macro tries to resolve
class by class name at compile time to determine which function should
be used for adding children. But the same thing is better done with
generic function dispatched on container widget and having keyword
arguments.

Unfortunately, I'm having difficulties with my time (aside from my job
I'm trying to add Windows threads to SBCL which leaves me no free time
for other projects), so it'll take some time for me to actually
implement it. But if I'll have a ready-to-merge patch, I'll gladly
accept it.





More information about the cl-gtk2-devel mailing list