Class: Wx::PG::PGCell

Inherits:
Object
  • Object
show all
Defined in:
lib/wx/doc/gen/pg/pg_cell.rb

Overview

Base class for PropertyGrid cell information.

Category: PropertyGrid

Requires:

  • USE_PROPGRID

Direct Known Subclasses

PGChoiceEntry

Instance Method Summary collapse

Methods inherited from Object

#clone, #dup, #is_same_as, #un_share

Constructor Details

#initializeWx::PG::PGCell #initialize(other) ⇒ Wx::PG::PGCell #initialize(text, bitmap = (Wx::BitmapBundle.new()), fgCol = Wx::NULL_COLOUR, bgCol = Wx::NULL_COLOUR) ⇒ Wx::PG::PGCell

Returns a new instance of PGCell.

Overloads:



29
# File 'lib/wx/doc/gen/pg/pg_cell.rb', line 29

def initialize(*args) end

Instance Method Details

#get_bg_colWx::Colour, ... Also known as: bg_col

Returns:



101
# File 'lib/wx/doc/gen/pg/pg_cell.rb', line 101

def get_bg_col; end

#get_bitmapWx::BitmapBundle Also known as: bitmap

Returns:



86
# File 'lib/wx/doc/gen/pg/pg_cell.rb', line 86

def get_bitmap; end

#get_dataWx::PG::PGCellData Also known as: data

Returns:



32
# File 'lib/wx/doc/gen/pg/pg_cell.rb', line 32

def get_data; end

#get_fg_colWx::Colour, ... Also known as: fg_col

Returns:



90
# File 'lib/wx/doc/gen/pg/pg_cell.rb', line 90

def get_fg_col; end

#get_fontWx::Font, Wx::FontInfo Also known as: font

Returns font of the cell.

If no specific font is set for this cell, then the font will be invalid.

Returns:



97
# File 'lib/wx/doc/gen/pg/pg_cell.rb', line 97

def get_font; end

#get_textWx::String Also known as: text

Returns:

  • (Wx::String)


82
# File 'lib/wx/doc/gen/pg/pg_cell.rb', line 82

def get_text; end

#has_textBoolean Also known as: has_text?

Returns true if this cell has custom text stored within.

Returns:

  • (Boolean)


37
# File 'lib/wx/doc/gen/pg/pg_cell.rb', line 37

def has_text; end

#merge_from(srcCell) ⇒ void

This method returns an undefined value.

Merges valid data from srcCell into this.

Parameters:



47
# File 'lib/wx/doc/gen/pg/pg_cell.rb', line 47

def merge_from(srcCell) end

#set_bg_col(col) ⇒ void Also known as: bg_col=

This method returns an undefined value.

Parameters:



78
# File 'lib/wx/doc/gen/pg/pg_cell.rb', line 78

def set_bg_col(col) end

#set_bitmap(bitmap) ⇒ void Also known as: bitmap=

This method returns an undefined value.

Parameters:



56
# File 'lib/wx/doc/gen/pg/pg_cell.rb', line 56

def set_bitmap(bitmap) end

#set_empty_datavoid

This method returns an undefined value.

Sets empty but valid data to this cell object.



42
# File 'lib/wx/doc/gen/pg/pg_cell.rb', line 42

def set_empty_data; end

#set_fg_col(col) ⇒ void Also known as: fg_col=

This method returns an undefined value.

Parameters:



61
# File 'lib/wx/doc/gen/pg/pg_cell.rb', line 61

def set_fg_col(col) end

#set_font(font) ⇒ void Also known as: font=

This method returns an undefined value.

Sets font of the cell.

Remark:

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.

Parameters:



73
# File 'lib/wx/doc/gen/pg/pg_cell.rb', line 73

def set_font(font) end

#set_text(text) ⇒ void Also known as: text=

This method returns an undefined value.

Parameters:

  • text (String)


51
# File 'lib/wx/doc/gen/pg/pg_cell.rb', line 51

def set_text(text) end