Class: Wx::GRID::GridCellTextEditor
- Inherits:
-
GridCellEditor
- Object
- GridCellEditor
- Wx::GRID::GridCellTextEditor
- Defined in:
- lib/wx/doc/gen/grid/grid_cell_text_editor.rb
Overview
Grid cell editor for string/text data.
Category: Grid Related Classes
Direct Known Subclasses
GridCellAutoWrapStringEditor, GridCellFloatEditor, GridCellNumberEditor
Instance Method Summary collapse
-
#initialize(maxChars = 0) ⇒ Wx::GRID::GridCellTextEditor
constructor
Text cell editor constructor.
-
#set_parameters(params) ⇒ void
(also: #parameters=)
The parameters string format is ānā where n is a number representing the maximum width.
-
#set_validator(validator) ⇒ void
(also: #validator=)
Set validator to validate user input.
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(maxChars = 0) ⇒ Wx::GRID::GridCellTextEditor
Text cell editor constructor.
30 |
# File 'lib/wx/doc/gen/grid/grid_cell_text_editor.rb', line 30 def initialize(maxChars=0) end |
Instance Method Details
#set_parameters(params) ⇒ void Also known as: parameters=
This method returns an undefined value.
The parameters string format is ānā where n is a number representing the maximum width.
35 |
# File 'lib/wx/doc/gen/grid/grid_cell_text_editor.rb', line 35 def set_parameters(params) end |
#set_validator(validator) ⇒ void Also known as: validator=
This method returns an undefined value.
Set validator to validate user input.
41 |
# File 'lib/wx/doc/gen/grid/grid_cell_text_editor.rb', line 41 def set_validator(validator) end |