Sha256: 41784b2fc1b9b2e9820421f45b542dd2f4b26a2e564ec21c929c9faeb89b8d4e

Contents?: true

Size: 1.48 KB

Versions: 4

Compression:

Stored size: 1.48 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 
  # 
  # 
  class GridCellEnumRenderer < GridCellStringRenderer
  
    # Enum renderer ctor.
    # @param choices [String]  Comma separated string parameters "item1[,item2[...,itemN]]".
    # @return [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

4 entries across 4 versions & 1 rubygems

Version Path
wxruby3-0.9.0.pre.rc.2-x64-mingw-ucrt lib/wx/doc/gen/grid/grid_cell_enum_renderer.rb
wxruby3-0.9.0.pre.rc.1-x64-mingw-ucrt lib/wx/doc/gen/grid/grid_cell_enum_renderer.rb
wxruby3-0.9.0.pre.beta.14-x64-mingw-ucrt lib/wx/doc/gen/grid/grid_cell_enum_renderer.rb
wxruby3-0.9.0.pre.beta.13-x64-mingw-ucrt lib/wx/doc/gen/grid/grid_cell_enum_renderer.rb