nana::gui::drawing and nana::gui::API::update_window

May 26, 2013 at 2:14 PM
Hi Jinhao!
I have a question:
If we have a widget with drawing,and we call update_window for this widget,
should update_window call drawing::update or not?
Coordinator
May 26, 2013 at 6:10 PM
update_window() does not redraw the widget, it only updates the buffer to the screen. If you want to redraw(also drawing will take effect) the widget, please call refresh_window()
May 26, 2013 at 7:13 PM
Thank you,understood.