wx.lib.inspection._InspectionHighlighter¶
All the highlighting code. A separate class to help reduce the clutter in InspectionFrame.
Class Hierarchy¶
Methods Summary¶
Initialize self. See help(type(self)) for accurate signature. |
|
Use a timer to alternate a TLW between shown and hidden state a |
|
Draw a highlight rectangle around the item represented by the |
|
Class API¶
- class _InspectionHighlighter(object)¶
All the highlighting code. A separate class to help reduce the clutter in InspectionFrame.
Methods¶
- __init__(self)¶
Initialize self. See help(type(self)) for accurate signature.
- AdjustRect(self, tlw, win, rect)¶
- DoHighlight(self, tlw, rect, colour, penWidth=2)¶
- DoUnhighlight(self, tlw, rect)¶
- FindHighlightPos(self, tlw, pos)¶
- FlickerTLW(self, tlw)¶
Use a timer to alternate a TLW between shown and hidden state a few times. Use to highlight a TLW since drawing and clearing an outline is trickier.
- HighlightCurrentItem(self, tree)¶
Draw a highlight rectangle around the item represented by the current tree selection.
- HighlightSizer(self, sizer)¶
- HighlightSizerItem(self, item, sizer, penWidth=2)¶
- HighlightWindow(self, win)¶