Class: Wx::GRID::GridCellDateTimeRenderer
- Inherits:
-
GridCellDateRenderer
- Object
- GridCellRenderer
- GridCellStringRenderer
- GridCellDateRenderer
- Wx::GRID::GridCellDateTimeRenderer
- Defined in:
- lib/wx/doc/gen/grid/grid_cell_date_time_renderer.rb
Overview
This class may be used to format a date/time data in a cell.
The class DateTime is used internally to display the local date/time or to parse the string date entered in the cell thanks to the defined format.
Category: Grid Related Classes
Instance Method Summary collapse
-
#initialize(outformat = Wx::DEFAULT_DATE_TIME_FORMAT, informat = Wx::DEFAULT_DATE_TIME_FORMAT) ⇒ Wx::GRID::GridCellDateTimeRenderer
constructor
Date/time renderer constructor.
Methods inherited from GridCellDateRenderer
Methods inherited from GridCellRenderer
#clone, #draw, #get_best_height, #get_best_size, #get_best_width, #get_max_best_size
Constructor Details
#initialize(outformat = Wx::DEFAULT_DATE_TIME_FORMAT, informat = Wx::DEFAULT_DATE_TIME_FORMAT) ⇒ Wx::GRID::GridCellDateTimeRenderer
Date/time renderer constructor.
33 |
# File 'lib/wx/doc/gen/grid/grid_cell_date_time_renderer.rb', line 33 def initialize(outformat=Wx::DEFAULT_DATE_TIME_FORMAT, informat=Wx::DEFAULT_DATE_TIME_FORMAT) end |