controls/CustomToolTip.py
changeset 1737 a39c2918c015
parent 1736 7e61baa047f0
child 1744 69dfdb26f600
equal deleted inserted replaced
1736:7e61baa047f0 1737:a39c2918c015
    24 
    24 
    25 import wx
    25 import wx
    26 
    26 
    27 from controls.CustomStyledTextCtrl import faces
    27 from controls.CustomStyledTextCtrl import faces
    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