Sha256: 1426b2ef1ea61a050ca4d53bc9263cc396bd7daefd46a8369c63d51baf4344ab

Contents?: true

Size: 1.49 KB

Versions: 6

Compression:

Stored size: 1.49 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=Wx::EMPTY_STRING) 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

6 entries across 6 versions & 1 rubygems

Version Path
wxruby3-0.9.0.pre.beta.11-x64-mingw-ucrt lib/wx/doc/gen/grid/grid_cell_enum_renderer.rb
wxruby3-0.9.0.pre.beta.10-x64-mingw-ucrt lib/wx/doc/gen/grid/grid_cell_enum_renderer.rb
wxruby3-0.9.0.pre.beta.9-x64-mingw-ucrt lib/wx/doc/gen/grid/grid_cell_enum_renderer.rb
wxruby3-0.9.0.pre.beta.8-x64-mingw-ucrt lib/wx/doc/gen/grid/grid_cell_enum_renderer.rb
wxruby3-0.9.0.pre.beta.2-x64-mingw-ucrt-3.2-3.2.2 lib/wx/doc/gen/grid/grid_cell_enum_renderer.rb
wxruby3-0.9.0.pre.beta.1-x64-mingw-ucrt-3.2 lib/wx/doc/gen/grid/grid_cell_enum_renderer.rb