Re: How to wait on a modal dialog
- From: Tristan Van Berkom <tvb gnome org>
- To: jonathan hayward pobox com
- Cc: gtk-list gnome org
- Subject: Re: How to wait on a modal dialog
- Date: Tue, 02 Aug 2005 10:49:16 -0400
Jonathan Hayward wrote:
In converting a non-event-driven application which works off of being able
to wait for user input before continuing, I want to put up a modal dialog,
and continue when I have the user's input. I have interpreted this as:
Display the modal dialog, wait for an answer (using usleep), and return a
value. (Is the best approach?)
Um,
in gtk+ try gtk_dialog_run();
(this will return when the dialog is finished,
it will also not lockup your application)
Cheers,
-Tristan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]