Hi, I wrote a tool to edit config files: A widget table with rows of one label (the variable name) + one entry widget (the value) each.
I've made a load_table() function which destroys and re-loads the widget table according to the rows of the config file: It does gtk_widget_destroy() and then ..._pack() the widgets again into the parent. load_table() works a. if it is called from a button's click event b. if it is called from a thread -- however, only if the table was never shown before. I don't understand b. If I once open the top level window with my table and then let the thread call the same load_table() function it hangs at gtk_widget_destroy(). Some additional hint: I beleve I took care of gdk_threads_enter()/leave () everywhere where needed. I use the Tor's lastest win32 version of gtk and glib. So, I wonder what's the difference between a widget never shown/once shown? What's special about the button click callback? I'd be glad about any help... Felix _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list