View Source wxGridCellNumberEditor (wx v2.4.3)
Grid cell editor for numeric integer data.
See:
This class is derived, and can use functions, from:
wxWidgets docs: wxGridCellNumberEditor
Summary
Functions
Destroys the object
Returns the value currently in the editor control.
Allows you to specify the range for acceptable data.
Parameters string format is "min,max".
Types
-type wxGridCellNumberEditor() :: wx:wx_object().
Functions
-spec destroy(This :: wxGridCellNumberEditor()) -> ok.
Destroys the object
-spec getValue(This) -> unicode:charlist() when This :: wxGridCellNumberEditor().
Returns the value currently in the editor control.
-spec new() -> wxGridCellNumberEditor().
Equivalent to new([])
.
-spec new([Option]) -> wxGridCellNumberEditor() when Option :: {min, integer()} | {max, integer()}.
Allows you to specify the range for acceptable data.
Values equal to -1 for both min
and max
indicate that no range checking should be
done.
-spec setParameters(This, Params) -> ok when This :: wxGridCellNumberEditor(), Params :: unicode:chardata().
Parameters string format is "min,max".