diff --git a/Lib/vanilla/vanillaBase.py b/Lib/vanilla/vanillaBase.py index 1a1aed8..a14d15d 100644 --- a/Lib/vanilla/vanillaBase.py +++ b/Lib/vanilla/vanillaBase.py @@ -325,6 +325,12 @@ def setShowFocusRing(self, value): value = NSFocusRingTypeNone self._nsObject.setFocusRingType_(value) + def setToolTip(self, toolTipMessage): + """ + Add tool tip message to the object when hover over it with the cursor. + """ + self._nsObject.setToolTip_(toolTipMessage) + # ------------ # Base Control # ------------