Hi there! or rather...  Hello world!

  I'm new to Wt, but [strong]very[/strong] impressed so far.  I've
been doing some OpenGL for the past few years so I'm obviously
interested by the graphic stuff...  I'm currently playing with the
WPaintedWidget and I think a nice addition to my program would be a
means to redraw at every N seconds to make an animation.

  I tried a loop with WPaintedWidget::update() + sleeps and got a
"Loading..." forever, which makes sense...

  I guess I would need to emit a signal every N seconds, and this
signal would trigger the update on my WPaintedWidget.

  I looked and didn't find means to deal with time, timeouts and
intervals.  Like a simple setInterval( 1000, myObjCallbackFunc) like
in javascript would be awesome (for now)!

Anyone can help?

Thanks!
  Simon

------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to