>
> I understand that "Modal windows prevent interaction with other windows in
> the same application... ", but I assumed it will also block the normal code
> execution until the dialog returns/closes.
>
> I also understand that I could use a callback to call a function to execute
> the remaining code, but it would make things more complex. Essentially, all I
> want to do is:
>
> myfunc() {
> // setup and initialize a lot of stuff here
> ...
> // get some user input from my modified simple_dialog
> simple_dialog(...);
> // continue executing with the new user input
> ...
> }
> Having a blocking dialog here would be the easiest solution. But I guess if
> its not possible, then a callback is the only way. Thanks for your help on
> this!
>
>
<snip>
See the gtk function "gtk_dialog_run"; I think this may meet your needs.
See capture_file_dlg.c as an example.
Bill