Class: Wx::PG::PGCell
Overview
Base class for PropertyGrid cell information.
Category: PropertyGrid
Direct Known Subclasses
Instance Method Summary collapse
- #get_bg_col ⇒ Wx::Colour, ... (also: #bg_col)
- #get_bitmap ⇒ Wx::BitmapBundle (also: #bitmap)
- #get_data ⇒ Wx::PG::PGCellData (also: #data)
- #get_fg_col ⇒ Wx::Colour, ... (also: #fg_col)
-
#get_font ⇒ Wx::Font, Wx::FontInfo
(also: #font)
Returns font of the cell.
- #get_text ⇒ Wx::String (also: #text)
-
#has_text ⇒ Boolean
(also: #has_text?)
Returns true if this cell has custom text stored within.
-
#initialize(*args) ⇒ PGCell
constructor
A new instance of PGCell.
-
#merge_from(srcCell) ⇒ void
Merges valid data from srcCell into this.
- #set_bg_col(col) ⇒ void (also: #bg_col=)
- #set_bitmap(bitmap) ⇒ void (also: #bitmap=)
-
#set_empty_data ⇒ void
Sets empty but valid data to this cell object.
- #set_fg_col(col) ⇒ void (also: #fg_col=)
-
#set_font(font) ⇒ void
(also: #font=)
Sets font of the cell.
- #set_text(text) ⇒ void (also: #text=)
Methods inherited from Object
#clone, #dup, #is_same_as, #un_share
Constructor Details
#initialize ⇒ Wx::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.
29 |
# File 'lib/wx/doc/gen/pg/pg_cell.rb', line 29 def initialize(*args) end |
Instance Method Details
#get_bg_col ⇒ Wx::Colour, ... Also known as: bg_col
101 |
# File 'lib/wx/doc/gen/pg/pg_cell.rb', line 101 def get_bg_col; end |
#get_bitmap ⇒ Wx::BitmapBundle Also known as: bitmap
86 |
# File 'lib/wx/doc/gen/pg/pg_cell.rb', line 86 def get_bitmap; end |
#get_data ⇒ Wx::PG::PGCellData Also known as: data
32 |
# File 'lib/wx/doc/gen/pg/pg_cell.rb', line 32 def get_data; end |
#get_fg_col ⇒ Wx::Colour, ... Also known as: fg_col
90 |
# File 'lib/wx/doc/gen/pg/pg_cell.rb', line 90 def get_fg_col; end |
#get_font ⇒ Wx::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.
97 |
# File 'lib/wx/doc/gen/pg/pg_cell.rb', line 97 def get_font; end |
#get_text ⇒ Wx::String Also known as: text
82 |
# File 'lib/wx/doc/gen/pg/pg_cell.rb', line 82 def get_text; end |
#has_text ⇒ Boolean Also known as: has_text?
Returns true if this cell has custom text stored within.
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.
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.
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.
56 |
# File 'lib/wx/doc/gen/pg/pg_cell.rb', line 56 def set_bitmap(bitmap) end |
#set_empty_data ⇒ void
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.
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.
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.
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.
51 |
# File 'lib/wx/doc/gen/pg/pg_cell.rb', line 51 def set_text(text) end |