View Source wxGridCellNumberEditor (wx v2.4.2)

Functions for wxGridCellNumberEditor class

Grid cell editor for numeric integer data.

See: wxGridCellEditor, wxGridCellAutoWrapStringEditor (not implemented in wx), wxGridCellBoolEditor, wxGridCellChoiceEditor, wxGridCellEnumEditor (not implemented in wx), wxGridCellFloatEditor, wxGridCellTextEditor, wxGridCellDateEditor (not implemented in wx)

This class is derived (and can use functions) from: wxGridCellTextEditor wxGridCellEditor

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

Link to this type

wxGridCellNumberEditor()

View Source
-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().
-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.

Link to this function

setParameters(This, Params)

View Source
-spec setParameters(This, Params) -> ok
                 when This :: wxGridCellNumberEditor(), Params :: unicode:chardata().

Parameters string format is "min,max".