wx.propgrid.PGCell¶Base class for wx.propgrid.PropertyGrid cell information.
Class Hierarchy¶
Inheritance diagram for class PGCell:

Known Subclasses¶
Methods Summary¶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. |
|
Properties Summary¶See |
|
Class API¶wx.propgrid.PGCell(Object)¶Possible constructors:
PGCell()
PGCell(other)
PGCell(text, bitmap=BitmapBundle(), fgCol=NullColour, bgCol=NullColour)
Base class for PropertyGrid cell information.
__init__(self, *args, **kw)¶__init__ (self)
__init__ (self, other)
other (wx.propgrid.PGCell) –
__init__ (self, text, bitmap=BitmapBundle(), fgCol=NullColour, bgCol=NullColour)
text (string) –
bitmap (wx.BitmapBundle) –
fgCol (wx.Colour) –
bgCol (wx.Colour) –
GetBgCol(self)¶Colour
GetBitmap(self)¶BitmapBundle
GetData(self)¶GetFgCol(self)¶Colour
GetFont(self)¶Returns font of the cell.
If no specific font is set for this cell, then the font will be invalid.
GetText(self)¶string
HasText(self)¶Returns True if this cell has custom text stored within.
bool
MergeFrom(self, srcCell)¶Merges valid data from srcCell into this.
srcCell (wx.propgrid.PGCell) –
SetBitmap(self, bitmap)¶bitmap (wx.BitmapBundle) –
SetEmptyData(self)¶Sets empty but valid data to this cell object.
SetFont(self, font)¶Sets font of the cell.
font (wx.Font) –
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.
SetText(self, text)¶text (string) –