Class: Wx::GRID::GridCellTextEditor

Inherits:
GridCellEditor show all
Defined in:
lib/wx/doc/gen/grid/grid_cell_text_editor.rb

Overview

Grid cell editor for string/text data.

Category: Grid Related Classes

Instance Method Summary collapse

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.

Parameters:

  • maxChars (Integer) (defaults to: 0)

    Maximum width of text (this parameter is supported starting since wxWidgets 2.9.5).



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.

Parameters:

  • params (String)


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.

Parameters:



41
# File 'lib/wx/doc/gen/grid/grid_cell_text_editor.rb', line 41

def set_validator(validator) end