Re: can't create and show GtkWidget in thread
- From: Paul Davis <pbd Op Net>
- To: "Leon Tsai" <leon740727 yahoo com tw>
- Cc: gtk-list gnome org
- Subject: Re: can't create and show GtkWidget in thread
- Date: Wed, 19 Sep 2001 09:08:25 -0400
>I want to create and show a dialog in another thread.
>This thread keep listening to a socket. when remote
>server close connect, it will popup a dialog to tell user.
>But I can't do it, always get error.
>Can thread create and show a widget?
1) yes, it can.
2) read the FAQ's answer to questions about threads. unless
you use locks and initialize the glib thread system,
only a single thread can use GTK+ functions.
--p
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]