wxGridCellNumberEditor.3erl - Man Page

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

Data Types

wxGridCellNumberEditor() = wx:wx_object()


new() -> wxGridCellNumberEditor()
new(Options :: [Option]) -> wxGridCellNumberEditor()

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.

getValue(This) -> unicode:charlist()

This = wxGridCellNumberEditor()

Returns the value currently in the editor control.

setParameters(This, Params) -> ok

This = wxGridCellNumberEditor()
Params = unicode:chardata()

Parameters string format is "min,max".

destroy(This :: wxGridCellNumberEditor()) -> ok

Destroys the object.


wx 2.3.1 wxWidgets team. Erlang Module Definition