Class: Wx::GRID::GridCellNumberEditor
- Inherits:
-
GridCellTextEditor
- Object
- GridCellEditor
- GridCellTextEditor
- Wx::GRID::GridCellNumberEditor
- Defined in:
- lib/wx/doc/gen/grid/grid_cell_number_editor.rb
Overview
Grid cell editor for numeric integer data.
Category: Grid Related Classes
Instance Method Summary collapse
-
#initialize(min = -1,, max = -1)) ⇒ Wx::GRID::GridCellNumberEditor
constructor
Allows you to specify the range for acceptable data.
-
#set_parameters(params) ⇒ void
(also: #parameters=)
Parameters string format is “min,max”.
Methods inherited from GridCellTextEditor
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(min = -1,, max = -1)) ⇒ Wx::GRID::GridCellNumberEditor
Allows you to specify the range for acceptable data.
Values equal to -1 for both min and max indicate that no range checking should be done.
33 |
# File 'lib/wx/doc/gen/grid/grid_cell_number_editor.rb', line 33 def initialize(min=-1, max=-1) end |
Instance Method Details
#set_parameters(params) ⇒ void Also known as: parameters=
This method returns an undefined value.
Parameters string format is “min,max”.
38 |
# File 'lib/wx/doc/gen/grid/grid_cell_number_editor.rb', line 38 def set_parameters(params) end |