![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
![]() |
#include <FXInputDialog.h>
Inheritance diagram for FX::FXInputDialog:
Public Methods | |
FXInputDialog (FXWindow *owner, const FXString &caption, const FXString &label, FXIcon *ic=NULL, FXuint opts=INPUTDIALOG_STRING, FXint x=0, FXint y=0, FXint w=0, FXint h=0) | |
Construct input dialog box with given caption, icon, and prompt text. | |
FXString | getText () const |
Get input string. | |
void | setText (const FXString &text) |
Set input string. | |
void | setNumColumns (FXint num) |
Change number of visible columns of text. | |
FXint | getNumColumns () const |
Return number of visible columns of text. | |
void | setLimits (FXdouble lo, FXdouble hi) |
Change limits. | |
void | getLimits (FXdouble &lo, FXdouble &hi) |
Return limits. | |
virtual FXuint | execute (FXuint placement=PLACEMENT_CURSOR) |
Run modal invocation of the dialog. | |
Static Public Methods | |
FXbool | getString (FXString &result, FXWindow *owner, const FXString &caption, const FXString &label, FXIcon *ic=NULL) |
FXbool | getInteger (FXint &result, FXWindow *owner, const FXString &caption, const FXString &label, FXIcon *ic=NULL, FXint lo=1, FXint hi=0) |
FXbool | getReal (FXdouble &result, FXWindow *owner, const FXString &caption, const FXString &label, FXIcon *ic=NULL, FXdouble lo=1.0, FXdouble hi=0.0) |
See also:
|
Prompt for a string, start with the initial value. Return TRUE if the new value is accepted, and false otherwise. |
|
Prompt for an integer number, start with the given initial value. Return TRUE if the new value is accepted, and false otherwise. The input is constrained between lo and hi, unless lo>hi, in which case the input can be any number. |
|
Prompt for an real number, start with the given initial value. Return TRUE if the new value is accepted, and false otherwise. The input is constrained between lo and hi, unless lo>hi, in which case the input can be any number. |