Scroll to navigation

wxGridCellNumberEditor(3erl) Erlang Module Definition wxGridCellNumberEditor(3erl)

NAME

wxGridCellNumberEditor - Functions for wxGridCellNumberEditor class

DESCRIPTION

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

EXPORTS


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.4 wxWidgets team.