On Mon, 4 Aug 2008, Chris Young wrote:
I can monitor for window refresh events and call it then, but won't this miss drawing the page when it is first loaded? I've added content_redraw() to the gui_window_refresh_window() function for now.
What happens is that, once the content reaches the READY or DONE state, the core calls gui_window_redraw_window() on the window containing the content.
The implementor of that function must do whatever is necessary to cause the window to be redrawn in full. This basically involves interacting with the window manager to ask it to send a redraw/window expose event, which is then handled by the normal redraw infrastructure, effecting the redraw.
J.
