Re: no secuencial ?=?iso-8859-1?q?=BF?=?



guigtk <guigtk ole com> writes:
When i press a button the program call to a funtion to do:
{
  gtk_widget_hide(window1);
  Display_list();
  gdk_beep();
}
but first does Display_list() and then gtk_widget_hide(window1).


Remember that the X server is involved. gtk_widget_hide() just asks
the X server to hide the window, then things become asynchronous.
 
How can I do this in secuential order???

You could try a gdk_flush() after the gtk_widget_hide(),
perhaps. Otherwise maybe just sleep(1)?

Havoc



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