On Apr 30, 5:45 pm, Brian <cavanaug...@[EMAIL PROTECTED]
> wrote:
> Help! I've built a GUI and I want to call it from a main function.
> The problem I'm running into is that it builds the GUI then keeps on
> going and doesn't wait for me to do anything with the GUI. Is there a
> way to make the program pause until I have entered my user data?
>
> Thanks,
> Brian
If I understand you correctly, I ran into this same problem recently.
When you register the program with XManager, try setting the "noblock"
keyword to 0 (create a blocking widget). The commandline will be
blocked, but you can do what you want with the GUI and no further
processing will happen. When the GUI is destroyed, everything will
continue on as normal.
-Loren


|