Re: Wait for input
- From: Clemens Kirchgatterer <clemens root at>
- To: Ed Symanzik <zik msu edu>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Wait for input
- Date: Fri, 16 Feb 2001 18:52:24 +0100
Ed Symanzik wrote:
Let's say I had a app with a button or menu item to connect to a
server. I can catch that signal and open the connection.
However, if the user has not identified the server, I should
popup a window and get that information. How do I wait until
they have set that value?
connect_button_pressed()
if (no_server)
server_popup();
connect_to_server(server);
start a seperat gtk_main() loop and when the value has been entered call
gtk_main_quit().
clemens
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]