put a changed - signal handler to all entries..
    this handler can set a boolean for each entry to TRUE..
    in this changed signal handler, if all booleans become TRUE,  do the 
necessary processing..

Sijin

David Aliaga wrote:

>Hello. This is a beginners question, and I would
>appreciate if someone answer it.
>
>I have create a window with GTK with some entry
>widgets in it.I want to use them to initialize some
>parameters in a program I am writing.
>
>So in my program I have:
>
>main()
>{
>// some other things...
>
> create_window(); // the function that creates the
>widgets
>
>//INITIALIZE PARAMETERS ALPHA,BETA HERE
>
>// Some processing
>
>}
>
>My question is how do I "stop" the execution of the
>program until the values in the entry widgets have
>been set? 
>
>I tried to put a variable "set" and to wait in an
>infinite loop until this is set to 1( which would be
>set in a function connected to a signal) but this just
>makes my window turn black. 
>
>Any ideas?
>
>Dave
>
>
>__________________________________________________
>Do You Yahoo!?
>Yahoo! - Official partner of 2002 FIFA World Cup
>http://fifaworldcup.yahoo.com
>_______________________________________________
>gtk-list mailing list
>[EMAIL PROTECTED]
>http://mail.gnome.org/mailman/listinfo/gtk-list
>
>




_________________________________________________________
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

Reply via email to