Force refresh/exposure




I've got a dialog box which just contain a label.
After showing the dialog box I'm calling 'waitpid', so the contents of
the label isn't shown.

Before 'waitpid' i've tried to do:
-  while (gtk_events_pending())
        gtk_main_iteration();
   but it doesn't work
- and to force the exposure by a 
  gtk_signal_emit_by_name(GTK_OBJECT(label), "expose_event");
  but it does a segmentation fault.

So, how could I force the exposure?

Hope, everybody understand the english(?) of a little frenchie

Manu

PS: yes i've done a gtk_widget_show (somebody tried to help me
telling me this "trick")



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