Hi wt people,

Is there any way to listen to layout events in Wt? I have been reading
about the slot-signal system but I didn't find anything about layout
events in the InteractWidget documentation.

This is what I want to do:

I have a toolbox on the left and a  HTML5 Canvas on the right, inside a
horizontal layout. I want the canvas to be able to redrawn itself (and
of course its contents) whenever I drag the handle that separates the
two sections (this is a horizLayout->setResizeable(0,true) thing)

What I am doing at least for the moment is to have a timer that locates
the container of the canvas by Id and checks if there's any change in
size and then if there is any triggers a resize operation where the
canvas is redrawn.

Of course it would be much easier if one would be able to listen to
layout events. Any ideas?

Thank you!

Diego

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to