Class: Wx::GRID::GridCellChoiceEditor
- Inherits:
-
GridCellEditor
- Object
- GridCellEditor
- Wx::GRID::GridCellChoiceEditor
- Defined in:
- lib/wx/doc/gen/grid/grid_cell_choice_editor.rb
Overview
Grid cell editor for string data providing the user a choice from a list of strings.
Category: Grid Related Classes
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(choices, allowOthers = false) ⇒ Wx::GRID::GridCellChoiceEditor
constructor
Choice cell renderer ctor.
-
#set_parameters(params) ⇒ void
(also: #parameters=)
Parameters string format is “item1[,item2]”.
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, allowOthers = false) ⇒ Wx::GRID::GridCellChoiceEditor
Choice cell renderer ctor.
31 |
# File 'lib/wx/doc/gen/grid/grid_cell_choice_editor.rb', line 31 def initialize(choices, allowOthers=false) end |
Instance Method Details
#set_parameters(params) ⇒ void Also known as: parameters=
This method returns an undefined value.
Parameters string format is “item1[,item2]”.
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.
38 |
# File 'lib/wx/doc/gen/grid/grid_cell_choice_editor.rb', line 38 def set_parameters(params) end |