logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

wxGridCellNumberEditor - Functions for wxGridCellNumberEditor class

Data Types

wxGridCellNumberEditor() = wx:wx_object()

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: wxGridCellTextEditorwxGridCellEditor

       wxWidgets docs: wxGridCellNumberEditor

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.

wxWidgets team.                                     wx 2.1.1                        wxGridCellNumberEditor(3erl)

Name

       wxGridCellNumberEditor - Functions for wxGridCellNumberEditor class

return

See Also