On Sat, 2008-12-06 at 23:53 +0800, BC Zhu wrote:
> When i drawing something in one timer, error occoured.
> glibmm:error: Unhandled exception(type std::exception) in signal handler.
> I used following code to reproduce the error.
> I am wondering about the reason of this error.Could someone help me?

you don't draw in a timer. you also should not attempt to cache cairo
contexts. if you want to draw, call Widget::queue_draw() which will
eventually call your expose event handler. create a new cairo context
there and draw with it and then release it.





_______________________________________________
gtkmm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkmm-list

Reply via email to