Re: Dialog-like window?
- From: Allin Cottrell <cottrell wfu edu>
- To: Fabricio Rocha <rocha_fabricio yahoo com br>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Dialog-like window?
- Date: Tue, 19 Dec 2006 21:21:46 -0500 (EST)
On Tue, 19 Dec 2006, Fabricio Rocha wrote:
Is there a way of creating a window which, when shown, will cause
the caller function to sit and wait until it gives a result?
Blocking? If I'm understanding you right, you can do that by
making a secondary call to gtk_main() -- then call gtk_main_quit()
when you're good and ready. The function that calls gtk_main()
will not return till gtk_main_quit() is called.
If you want to prevent user interation in the meantime you'll also
have to make the dialog-like window modal, though that is a
separate issue.
--
Allin Cottrell
Department of Economics
Wake Forest University, NC
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]