# :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 "John,Fred,Bob" 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 # # # # @note This class is untracked and should not be derived from nor instances extended! # @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