Re: Forcing the GUI to update


Murray Cumming <murrayc usa net> writes:

> Can anyone tell me how to force GTK+ to update the GUI?
> For instance, my signal handler does a lot of processing, so I want to
> change the cursor to the "watch" cursor (with gdk_window_set_cursor()).
> But that doesn't actually happen until after the signal handler has
> finished.

while (gdk_events_pending()) gtk_main_iteration();

Salut, Sven

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]