Sha256: c375bfbd0afa89beb28008590603e076835b03af1575b1c8caec7e1420e6838f
Contents?: true
Size: 1.51 KB
Versions: 2
Compression:
Stored size: 1.51 KB
Contents
# :stopdoc: # This file is automatically generated by the WXRuby3 documentation # generator. Do not alter this file. # :startdoc: module Wx::GRID # This class may be used to render in a cell a number as a textual equivalent. # # The corresponding text strings are specified as comma-separated items in the string passed to this renderer ctor or {Wx::GRID::GridCellEnumRenderer#set_parameters} method. For example, if this string is <code>"John,Fred,Bob"</code> the cell will be rendered as "John", "Fred" or "Bob" if its contents is 0, 1 or 2 respectively. # # Category: Grid Related Classes # @see Wx::GRID::GridCellRenderer # @see Wx::GRID::GridCellAutoWrapStringRenderer # @see Wx::GRID::GridCellBoolRenderer # @see Wx::GRID::GridCellDateTimeRenderer # @see Wx::GRID::GridCellFloatRenderer # @see Wx::GRID::GridCellNumberRenderer # @see Wx::GRID::GridCellStringRenderer # # # @wxrb_require USE_GRID class GridCellEnumRenderer < GridCellStringRenderer # Enum renderer ctor. # @param choices [String] Comma separated string parameters "item1[,item2[...,itemN]]". # @return [Wx::GRID::GridCellEnumRenderer] def initialize(choices=('')) end # Sets the comma separated string content of the enum. # @param params [String] Comma separated string parameters "item1[,item2[...,itemN]]". # @return [void] def set_parameters(params) end alias_method :parameters=, :set_parameters end # GridCellEnumRenderer end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
wxruby3-0.9.5-x64-mingw-ucrt | lib/wx/doc/gen/grid/grid_cell_enum_renderer.rb |
wxruby3-0.9.4-x64-mingw-ucrt | lib/wx/doc/gen/grid/grid_cell_enum_renderer.rb |