Default cell renderer, that can handles the common scenarios.
Returns size of the image in front of the editable area. |
|
Returns |
wx.propgrid.
PGDefaultRenderer
(PGCellRenderer)¶Default cell renderer, that can handles the common scenarios.
GetImageSize
(self, property, column, item)¶Returns size of the image in front of the editable area.
property (wx.propgrid.PGProperty) –
column (int) –
item (int) –
Size
Note
If property is None
, then this call is for a custom value. In that case the item is index to wx.propgrid.PropertyGrid’s custom values.
Render
(self, dc, rect, propertyGrid, property, column, item, flags)¶Returns True
if rendered something in the foreground (text or bitmap.
rect (wx.Rect) – Box reserved for drawing.
propertyGrid (wx.propgrid.PropertyGrid) – Property grid in which property is displayed.
property (wx.propgrid.PGProperty) – Property to be rendered.
column (int) – Property cell column.
item (int) – Index of chosen item if combo popup is drawn, -1 otherwise.
flags (int) – See list of render flags.
bool