Class | Fox::FXInputDialog |
In: |
rdoc-sources/FXInputDialog.rb
|
Parent: | FXDialogBox |
An FXInputDialog is a simple dialog which is used to obtain a text string, integer, or real number from the user. A "password" mode allows the key-in to remain hidden.
INPUTDIALOG_STRING: | Ask for a string |
INPUTDIALOG_INTEGER: | Ask for an integer number |
INPUTDIALOG_REAL: | Ask for a real number |
INPUTDIALOG_PASSWORD: | Do not reveal key-in |
numColumns | [RW] | Number of visible columns of text [Integer] |
text | [RW] | Input string [String] |
Prompt the user for an integer number, starting from the specified initial value. Return the input value if the user clicks OK, else return nil. The input is constrained between lo and hi.
Prompt the user for a real number, starting from the specified initial value. Return the input value if the user clicks OK, else return nil. The input is constrained between lo and hi.
Prompt the user for a string, with the text field initialized to the specified initial value. Return the input value if the user clicks OK, else return nil.
Construct input dialog box with given caption, icon, and prompt text. If owner is a window, the dialog box will float over that window. If owner is the application, the dialog box will be free-floating.