Keywords: LessTif

Next: 3. System Modal Dialogs Up: 2. The Grab Layer Previous: 1. Full Application Modal Contents Index

## 2. Modeless Dialogs

Although somewhat weird at a first glance, LESSTIF even installs a (non-exclusive) grab on the shells of modeless dialogs - see grab entry #3 in figure .

Figure: Entries on the grab list after a modeless dialog popped up.

The reason for this is that from LESSTIF's point of view the dialogs and their grabs don't form a cascade. Thus, if you pop up a modeless dialog whenever a full application modal dialog is already active, the new dialog should receive user input too - even if the modeless dialog is created as a child of the other dialog's parent and not as a child of the full application modal dialog.