From: Guido van Rossum Date: Thu, 10 Jun 1999 14:19:46 +0000 (+0000) Subject: Mark Hammond writes: Tim's suggestion of copying the font for the X-Git-Tag: v1.6a1~1254 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ab3b50b4296e841c14ccc96a1aafde71b19db8d4;p=thirdparty%2FPython%2Fcpython.git Mark Hammond writes: Tim's suggestion of copying the font for the CallTipWindow from the text control makes sense, and actually makes the control look better IMO. --- diff --git a/Tools/idle/CallTipWindow.py b/Tools/idle/CallTipWindow.py index 71d67554e538..cbeab8cc15fc 100644 --- a/Tools/idle/CallTipWindow.py +++ b/Tools/idle/CallTipWindow.py @@ -25,7 +25,8 @@ class CallTip: tw.wm_overrideredirect(1) tw.wm_geometry("+%d+%d" % (x, y)) label = Label(tw, text=self.text, justify=LEFT, - background="#ffffe0", relief=SOLID, borderwidth=1) + background="#ffffe0", relief=SOLID, borderwidth=1, + font = self.widget['font']) label.pack() def hidetip(self):