Class: Wx::GRID::GridCellFloatEditor
- Inherits:
-
GridCellTextEditor
- Object
- GridCellEditor
- GridCellTextEditor
- Wx::GRID::GridCellFloatEditor
- Defined in:
- lib/wx/doc/gen/grid/grid_cell_float_editor.rb
Overview
The editor for floating point numbers data.
Category: Grid Related Classes
Instance Method Summary collapse
-
#initialize(width = -1,, precision = -1,, format = Wx::GRID::GridCellFloatFormat::GRID_FLOAT_FORMAT_DEFAULT) ⇒ Wx::GRID::GridCellFloatEditor
constructor
Float cell editor ctor.
-
#set_parameters(params) ⇒ void
(also: #parameters=)
The parameters string format is “width[,precision]” where format should be chosen between f|e|g|E|G (f is used by default).
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(width = -1,, precision = -1,, format = Wx::GRID::GridCellFloatFormat::GRID_FLOAT_FORMAT_DEFAULT) ⇒ Wx::GRID::GridCellFloatEditor
Float cell editor ctor.
32 |
# File 'lib/wx/doc/gen/grid/grid_cell_float_editor.rb', line 32 def initialize(width=-1, precision=-1, format=Wx::GRID::GridCellFloatFormat::GRID_FLOAT_FORMAT_DEFAULT) end |
Instance Method Details
#set_parameters(params) ⇒ void Also known as: parameters=
This method returns an undefined value.
The parameters string format is “width[,precision]” where format should be chosen between f|e|g|E|G (f is used by default)
37 |
# File 'lib/wx/doc/gen/grid/grid_cell_float_editor.rb', line 37 def set_parameters(params) end |