equal
deleted
inserted
replaced
28 |
28 |
29 TOOLTIP_MAX_CHARACTERS = 30 # Maximum number of characters by line in ToolTip |
29 TOOLTIP_MAX_CHARACTERS = 30 # Maximum number of characters by line in ToolTip |
30 TOOLTIP_MAX_LINE = 5 # Maximum number of line in ToolTip |
30 TOOLTIP_MAX_LINE = 5 # Maximum number of line in ToolTip |
31 TOOLTIP_WAIT_PERIOD = 0.5 # Wait period before displaying tooltip in second |
31 TOOLTIP_WAIT_PERIOD = 0.5 # Wait period before displaying tooltip in second |
32 |
32 |
33 #------------------------------------------------------------------------------- |
33 # ------------------------------------------------------------------------------- |
34 # Custom ToolTip |
34 # Custom ToolTip |
35 #------------------------------------------------------------------------------- |
35 # ------------------------------------------------------------------------------- |
36 |
36 |
37 |
37 |
38 class CustomToolTip(wx.PopupWindow): |
38 class CustomToolTip(wx.PopupWindow): |
39 """ |
39 """ |
40 Class that implements a custom tool tip |
40 Class that implements a custom tool tip |