All the highlighting code. A separate class to help reduce the clutter in InspectionFrame.
__init__ |
|
AdjustRect |
|
DoHighlight |
|
DoUnhighlight |
|
FindHighlightPos |
|
FlickerTLW |
Use a timer to alternate a TLW between shown and hidded state a |
HighlightCurrentItem |
Draw a highlight rectangle around the item represented by the |
HighlightSizer |
|
HighlightSizerItem |
|
HighlightWindow |
_InspectionHighlighter
(object)¶All the highlighting code. A separate class to help reduce the clutter in InspectionFrame.
__init__
(self)¶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 hidded 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)¶