DOKK / manpages / debian 12 / erlang-manpages / wxGridCellNumberEditor.3erl.en
wxGridCellNumberEditor(3erl) Erlang Module Definition wxGridCellNumberEditor(3erl)

wxGridCellNumberEditor - 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

wxGridCellNumberEditor() = wx:wx_object()


new() -> wxGridCellNumberEditor()



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


Types:

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()


Types:

This = wxGridCellNumberEditor()

Returns the value currently in the editor control.


setParameters(This, Params) -> ok


Types:

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

Parameters string format is "min,max".


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


Destroys the object.

wx 2.2.1 wxWidgets team.