Re: Widget Update before gtkmain()



Pisanu Prasertnopakun wrote:
Hello list,

I write a long gtk code and can't wait till "gtkmain()" to update my widget. How can I update my widgets immeadiately before "gtkmain()"? I read from FAQ of GTK.ORG.. they told about "g_main_context_iteration()", but I don't really understand how. Thanks in advance.

Something like:
  gtk_widget_queue_draw(drawing_area);
  gdk_window_process_updates(drawing_area->window,TRUE);




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