RE: Forcing the GUI to update



On Thu, 2002-08-22 at 09:13, "Seisdedos Nuñez, Monserrat" wrote:
> Insert these lines in your code:
> 
> while (g_main_pending())
>   g_main_iteration(FALSE);

Thanks. That works fine.
 
> 
> > -----Mensaje original-----
> > De: gtk-list-admin gnome org 
> > [mailto:gtk-list-admin gnome org]En nombre
> > de Murray Cumming
> > Enviado el: jueves 22 de agosto de 2002 10:22
> > Para: gtk-list
> > Asunto: Forcing the GUI to update
> > 
> > 
> > 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.
> >  
> > -- 
> > Murray Cumming
> > murrayc usa net
> > www.murrayc.com
> > 
> > _______________________________________________
> > gtk-list mailing list
> > gtk-list gnome org
> > http://mail.gnome.org/mailman/listinfo/gtk-list
> > 
> 
-- 
Murray Cumming
murrayc usa net
www.murrayc.com




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