Re: socket and gtk problem, help!
- From: Havoc Pennington <hp redhat com>
- To: huangjnb legend com cn
- Cc: gtk-devel-list redhat com, gnome-devel-list gnome org
- Subject: Re: socket and gtk problem, help!
- Date: 02 Aug 2000 10:33:45 -0400
huangjnb@legend.com.cn writes:
> there, gtk_main(); was put in BuildGUI. The program suspend when it goes
> to gtk_main(), so the do-while loop does not take effect .I know that
> gtk_main() raise a message loop and do-while is another loop . How can I
> make them work together? MultiThread program maybe a way to go and I tried
> but failed when i put some gtk-about code in DoSomething(). How should I
> do then?
>
Use gdk_input_add() to add the socket file descriptor to the main
loop.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]