Class: Wx::GRID::GridCellEnumEditor

Inherits:
GridCellChoiceEditor show all
Defined in:
lib/wx/doc/gen/grid/grid_cell_enum_editor.rb

Overview

Grid cell editor which displays an enum number as a textual equivalent (e.g.

data in cell is 0,1,2 … n the cell could be displayed as “John”,“Fred”…“Bob” in the combo choice box).

Category: Grid Related Classes

Instance Method Summary collapse

Methods inherited from GridCellChoiceEditor

#set_parameters

Methods inherited from GridCellEditor

#apply_edit, #begin_edit, #clone, #create, #destroy, #do_activate, #end_edit, #get_control, #get_value, #get_window, #handle_return, #is_accepted_key, #is_created, #paint_background, #reset, #set_control, #set_size, #set_window, #show, #starting_click, #starting_key, #try_activate

Constructor Details

#initialize(choices = ('')) ⇒ Wx::GRID::GridCellEnumEditor

Enum cell editor ctor.

Parameters:

  • choices (String) (defaults to: (''))

    Comma separated choice parameters “item1[,item2]”.



32
# File 'lib/wx/doc/gen/grid/grid_cell_enum_editor.rb', line 32

def initialize(choices=('')) end