Go to main content

man pages section 3: Extended Library Functions, Volume 1

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

wxGridCellChoiceEditor (3erl)

Name

wxGridCellChoiceEditor - Functions for wxGridCellChoiceEditor class

Synopsis

Please see following description for synopsis

Description

wxGridCellChoiceEditor(3)  Erlang Module Definition  wxGridCellChoiceEditor(3)



NAME
       wxGridCellChoiceEditor - Functions for wxGridCellChoiceEditor class

DESCRIPTION
       Grid  cell  editor  for  string data providing the user a choice from a
       list of strings.

       See: wxGridCellEditor, wxGridCellAutoWrapStringEditor (not  implemented
       in  wx), wxGridCellBoolEditor, wxGridCellEnumEditor (not implemented in
       wx), wxGridCellFloatEditor, wxGridCellNumberEditor,  wxGridCellTextEdi-
       tor, wxGridCellDateEditor (not implemented in wx)

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

       wxWidgets docs: wxGridCellChoiceEditor

DATA TYPES
       wxGridCellChoiceEditor() = wx:wx_object()

EXPORTS
       new(Choices) -> wxGridCellChoiceEditor()

              Types:

                 Choices = [unicode:chardata()]

       new(Choices, Options :: [Option]) -> wxGridCellChoiceEditor()

              Types:

                 Choices = [unicode:chardata()]
                 Option = {allowOthers, boolean()}

              Choice cell renderer ctor.

       setParameters(This, Params) -> ok

              Types:

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

              Parameters string format is "item1[,item2[...,itemN]]".

              This  method  can  be  called  before the editor is used for the
              first time, or later, in which case it replaces  the  previously
              specified strings with the new ones.

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

              Destroys the object.



wxWidgets team.                    wx 2.1.1          wxGridCellChoiceEditor(3)