Dialogs
dlg_ask(Prompt,ButtonList,Result)
Prompts user for a Yes/No response.
Prompt contains the text that is displayed in the dialog.
ButtonList must not be empty. The first three strings are used to specify the texts in the buttons, others (if exist) are ignored. If a string is empty, the corresponding button is invisible. If one or two strings are specified, then only one or two buttons are displayed.
Result returns the user choice.
dlg_term(Term)
Read the term througn dialog exactly as read/1 does.
dlg_str(Prompt,InitStr,Result)
A dialog to prompt the user for a string response
Returns user string response if the OK button is pressed. The InitStr is the initial contents of the string. The title Prompt must be given but it may be an empty string.
dlg_note(Title,Msg)
Pop up a box containing a message Msg and OK button. Default title is "Note" if Title is an empty string.
dlg_openfilename(Title,FileType,FileExt,FileName)
dlg_savefilename(Title,FileType,FileExt,FileName)
Activates dialog box to select a filename.
Title Specifies the title of the dialog.
FileType Specifies the file type description (for example, "Prolog Files").
FileExt Specifies the file extension (for example "*.PRO").
FileName Contains the choosen filename, if the OK button is pressed