There is a setModal(true) call to enable the window as a modal dialog.
The line you paste simply adds the button click -> open window
functionality.
Rob
________________________________
From: aditya siram [mailto:[email protected]]
Sent: Thursday, September 03, 2009 10:19 AM
To: qooxdoo Development
Subject: [qooxdoo-devel] Modal Dialogs and blocking the
background
Hi all,
I am trying to how the Window Demo [1] is able to disable other
widgets in the modal dialogs. For example, if one clicks "Open Modal
Dialog" in the window entitled "Third Window", it opens up a dialog
window and disables every other widget. How does it do that? I don't see
a setEnabled(false) anywhere?
The only difference I see is the somewhat mysterious line:
btn1.addListener("execute", wm1.open, wm1);
Is this what does it?
thanks ...
-deech
[1]
http://demo.qooxdoo.org/current/demobrowser/#widget~Window.html
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel