wxGridCellChoiceEditor (wx v2.5.4)

Copy Markdown View Source

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

See:

This class is derived, and can use functions, from:

wxWidgets docs: wxGridCellChoiceEditor

Summary

Functions

Destroys the object

Choice cell renderer ctor.

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

Types

wxGridCellChoiceEditor()

-type wxGridCellChoiceEditor() :: wx:wx_object().

Functions

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

Destroys the object

new(Choices) ≡ new(Choices, [])

new(Choices, Options) -> Result

Types

Choices = [unicode:chardata()]
Options = [Option]
Result = wxGridCellChoiceEditor()
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.