[xgap] 7.3 Dialogs

[Up] [Previous] [Next] [Index]

# 7.3 Dialogs

- `Dialog(` type`,` text`) O`

  creates a dialog box and returns a GAP object describing it. There are currently two types of dialogs: A file selector dialog (called `Filename`) and a dialog type called `OKcancel`. text is a text that appears as a title in the dialog box.

- `Query(` obj`) O`
- `Query(` obj`,` default`) O`

  Puts a dialog on screen. Returns `false` if the user clicks ``Cancel'' and a string value or filename, if the user clicks ``OK'', depending on the type of dialog. default is an optional initialization value for the string.

  [Up] [Previous] [Next] [Index]