phoenix_title wx.lib.inspection._InspectionHighlighter

All the highlighting code. A separate class to help reduce the clutter in InspectionFrame.


class_hierarchy Class Hierarchy

Inheritance diagram for class _InspectionHighlighter:

method_summary Methods Summary

__init__

Initialize self. See help(type(self)) for accurate signature.

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


api Class API

class _InspectionHighlighter(object)

All the highlighting code. A separate class to help reduce the clutter in InspectionFrame.

__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 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)