I try this yestoday, but I just can't call gtk_widget_show()
to a top level window in another threads. I saw the source
code, gtk seem to show a widget by emit a signal to the
widget. I guess the problem is here, is it?
Leon
> >Thanks for your help. I have seen the FAQ, the example code just
> >call the gtk_label_set_text() in thread, but I want to call
> >gtk_widget_show()
> >in thread, can I? Is the gtk_widget_show a GTK+ functions? thanks
>
> "GTK+" functions are named "gtk_something".
> If its called
> gtk_*
> gdk_*
> g_*
> then you should consider it necessary to surround the calls to it/them
> with a lock acquisition and release. i'm not totally sure about the
> g_* functions, but i think this is true even there.
>
> [ for newish readers: this only applies when there are multiple
> threads that make calls to functions from GTK/GDK/GLIB ]
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list