Waiting for a Signal
- From: "Jonathan Doh" <jonathan_doh hotmail com>
- To: gtk-app-devel-list gnome org
- Subject: Waiting for a Signal
- Date: Sat, 25 Aug 2001 14:27:33 -0500
Hello,
Is there a way to "wait until a signal is emitted" within a function?
I have a modal dialog, which I need to wait to get a user's selection from
before returning from a function, and am wondering how to do this...
In other words, how could I do something like this:
int function()
{
pop_up_some_modal_dialog_box(); // this is easy to code
// wait until the user presses 'ok', or 'cancel', or the close box
return what_the_user_chose(); // this is easy to code
}
Thanks,
Jonathan
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]