controls/CustomToolTip.py
changeset 1782 5b6ad7a7fd9d
parent 1771 f68a105000be
child 1847 6198190bc121
equal deleted inserted replaced
1781:b112bfdde5cc 1782:5b6ad7a7fd9d
    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