Modal dialog example
- From: "Bryan W. Headley" <bwheadley earthlink net>
- To: gtk-devel-list gnome org
- Subject: Modal dialog example
- Date: Wed, 13 Mar 2002 12:45:07 -0600
Can somebody point me to an example in gtk+1.2 or Gtk-- that
demonstrates a blocking modal panel?
E.g.,
void
mainWindow::handleCallback()
{
GetSomethingPanel dialog = new GetSomethingPanel();
// Blocks until the user presses a button to trigger
// panel closing
dialog.runAsModal();
string result = dialog.getUserResponse();
// Do something with result
...
}
Everything I see is akin to setting up slots to pass data from one
object to another on callback. Much like global variables...
--
____ .:. ____
Bryan W. Headley - bwheadley earthlink net
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]