Class: Wx::GRID::GridCellNumberEditor

Inherits:
GridCellTextEditor show all
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

Methods inherited from GridCellTextEditor

#set_validator

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.

Parameters:

  • min (Integer) (defaults to: -1,)
  • max (Integer) (defaults to: -1))


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”.

Parameters:

  • params (String)


38
# File 'lib/wx/doc/gen/grid/grid_cell_number_editor.rb', line 38

def set_parameters(params) end