# :stopdoc: # This file is automatically generated by the WXRuby3 documentation # generator. Do not alter this file. # :startdoc: module Wx::PG # Base class for {Wx::PG::PropertyGrid} cell information. # === # # Category: {Wx::PG::PropertyGrid} # class PGCell < Object # @overload initialize() # @return [Wx::PG::PGCell] # @overload initialize(other) # @param other [Wx::PG::PGCell] # @return [Wx::PG::PGCell] # @overload initialize(text, bitmap=(Wx::BitmapBundle.new()), fgCol=Wx::NULL_COLOUR, bgCol=Wx::NULL_COLOUR) # @param text [String] # @param bitmap [Wx::BitmapBundle,Wx::Bitmap,Wx::Icon,Wx::Image] # @param fgCol [Wx::Colour,String,Symbol] # @param bgCol [Wx::Colour,String,Symbol] # @return [Wx::PG::PGCell] def initialize(*args) end # @return [Wx::PG::PGCellData] def get_data; end alias_method :data, :get_data # Returns true if this cell has custom text stored within. # @return [Boolean] def has_text; end alias_method :has_text?, :has_text # Sets empty but valid data to this cell object. # @return [void] def set_empty_data; end # Merges valid data from srcCell into this. # @param srcCell [Wx::PG::PGCell] # @return [void] def merge_from(srcCell) end # @param text [String] # @return [void] def set_text(text) end alias_method :text=, :set_text # @param bitmap [Wx::BitmapBundle,Wx::Bitmap,Wx::Icon,Wx::Image] # @return [void] def set_bitmap(bitmap) end alias_method :bitmap=, :set_bitmap # @param col [Wx::Colour,String,Symbol] # @return [void] def set_fg_col(col) end alias_method :fg_col=, :set_fg_col # Sets font of the cell. # Because {Wx::PG::PropertyGrid} does not support rows of different height, it makes little sense to change size of the font. Therefore it is recommended to use return value of {Wx::PG::PropertyGrid#get_font} or {Wx::PG::PropertyGrid#get_caption_font} as a basis for the font that, after modifications, is passed to this member function. # @param font [Wx::Font,Wx::FontInfo] # @return [void] def set_font(font) end alias_method :font=, :set_font # @param col [Wx::Colour,String,Symbol] # @return [void] def set_bg_col(col) end alias_method :bg_col=, :set_bg_col # @return [Wx::String] def get_text; end alias_method :text, :get_text # @return [Wx::BitmapBundle] def get_bitmap; end alias_method :bitmap, :get_bitmap # @return [Wx::Colour,String,Symbol] def get_fg_col; end alias_method :fg_col, :get_fg_col # Returns font of the cell. # If no specific font is set for this cell, then the font will be invalid. # @return [Wx::Font,Wx::FontInfo] def get_font; end alias_method :font, :get_font # @return [Wx::Colour,String,Symbol] def get_bg_col; end alias_method :bg_col, :get_bg_col end # PGCell # # === # # Category: {Wx::PG::PropertyGrid} # class PGCellData < ::Object # @return [Wx::PG::PGCellData] def initialize; end # @param text [String] # @return [void] def set_text(text) end alias_method :text=, :set_text # @param bitmap [Wx::BitmapBundle,Wx::Bitmap,Wx::Icon,Wx::Image] # @return [void] def set_bitmap(bitmap) end alias_method :bitmap=, :set_bitmap # @param col [Wx::Colour,String,Symbol] # @return [void] def set_fg_col(col) end alias_method :fg_col=, :set_fg_col # @param col [Wx::Colour,String,Symbol] # @return [void] def set_bg_col(col) end alias_method :bg_col=, :set_bg_col # @param font [Wx::Font,Wx::FontInfo] # @return [void] def set_font(font) end alias_method :font=, :set_font end # PGCellData # Data of a single {Wx::PG::PGChoices} choice. # # class PGChoiceEntry < PGCell # @overload initialize() # @return [Wx::PG::PGChoiceEntry] # @overload initialize(other) # @param other [Wx::PG::PGChoiceEntry] # @return [Wx::PG::PGChoiceEntry] # @overload initialize(label, value=Wx::PG::PG_INVALID_VALUE) # @param label [String] # @param value [Integer] # @return [Wx::PG::PGChoiceEntry] def initialize(*args) end # @param value [Integer] # @return [void] def set_value(value) end alias_method :value=, :set_value # @return [Integer] def get_value; end alias_method :value, :get_value end # PGChoiceEntry end