diff options
Diffstat (limited to 'Lib/idlelib/ToolTip.py')
-rw-r--r-- | Lib/idlelib/ToolTip.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Lib/idlelib/ToolTip.py b/Lib/idlelib/ToolTip.py index e7bc81e..964107e 100644 --- a/Lib/idlelib/ToolTip.py +++ b/Lib/idlelib/ToolTip.py @@ -87,8 +87,9 @@ def _tooltip(parent): button2 = Button(root, text="Button 2") button1.pack() button2.pack() - ToolTip(button1, "This is calltip text for button1.") - ListboxToolTip(button2, ["This is","calltip text","for button2"]) + ToolTip(button1, "This is tooltip text for button1.") + ListboxToolTip(button2, ["This is","multiple line", + "tooltip text","for button2"]) root.mainloop() if __name__ == '__main__': |