Base class for wx.propgrid.PropertyGrid cell information.
Returns font of the cell. |
|
Returns |
|
Merges valid data from srcCell into this. |
|
Sets empty but valid data to this cell object. |
|
Sets font of the cell. |
|
See |
|
Possible constructors:
PGCell() -> None
PGCell(other : PGCell) -> None
PGCell(text : str, bitmap: BitmapBundle=BitmapBundle(), fgCol:
Colour=NullColour, bgCol: Colour=NullColour) -> None
Base class for PropertyGrid cell information.
__init__ (self)
None
__init__ (self, other : PGCell)
other (wx.propgrid.PGCell)
None
__init__ (self, text : str, bitmap: BitmapBundle=BitmapBundle(), fgCol: Colour=NullColour, bgCol: Colour=NullColour)
text (string)
bitmap (wx.BitmapBundle)
fgCol (wx.Colour)
bgCol (wx.Colour)
None
Colour
BitmapBundle
Colour
Returns font of the cell.
If no specific font is set for this cell, then the font will be invalid.
str
Returns True
if this cell has custom text stored within.
bool
Merges valid data from srcCell into this.
srcCell (wx.propgrid.PGCell)
None
bitmap (wx.BitmapBundle)
None
Sets empty but valid data to this cell object.
None
Sets font of the cell.
font (wx.Font)
None
Note
Because wx.propgrid.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.propgrid.PropertyGrid.GetFont
or wx.propgrid.PropertyGrid.GetCaptionFont
as a basis for the font that, after modifications, is passed to this member function.
text (string)
None