UI::OpenDialog — Opens a Dialog with options
boolean
OpenDialog
( | term | options , |
term | widget
) ; |
Same as the OpenDialog with one argument, but you can specify options with a term of the form `opt
.
The option `defaultsize
makes the dialog be resized to the default size, for example for the Qt interface the -geometry option is honored and for ncurses the dialog fills the whole window.
The option `centered
centers the dialog to the desktop. This has no effect for popup dialogs that are a child of a `defaultsize dialog that is currently visible.
The option `decorated
add a window border around the dialog, which comes in handy if no window manager is running. This option may be ignored in non-graphical UIs.
`smallDecorations
tells the window manager to use only minimal decorations - in particular, no title bar. This is useful for very small popups (like only a one line label and no button). Don't overuse this. This option is ignored for `defaultsize dialogs.
The option `warncolor
displays the entire dialog in a bright warning color.
The option `infocolor
is a less intrusive color.