summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/statusbar.py
diff options
context:
space:
mode:
authorMiss Skeleton (bot) <31488909+miss-islington@users.noreply.github.com>2020-10-22 19:58:30 (GMT)
committerGitHub <noreply@github.com>2020-10-22 19:58:30 (GMT)
commit06c9e01c651c35c2e058eca0f7073dd405578f78 (patch)
tree796d063da279c789592ed55ef094ceeece98359c /Lib/idlelib/statusbar.py
parent5d8bc65ba5be5742b3a4cc470dfd990512bdaa93 (diff)
downloadcpython-06c9e01c651c35c2e058eca0f7073dd405578f78.zip
cpython-06c9e01c651c35c2e058eca0f7073dd405578f78.tar.gz
cpython-06c9e01c651c35c2e058eca0f7073dd405578f78.tar.bz2
bpo-33987: IDLE: Use ttk Frame on doc window and statusbar (GH-11433) (GH-22900)
(cherry picked from commit facb522d44fceaf15de6bc95de1cd680c4621c2a) Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
Diffstat (limited to 'Lib/idlelib/statusbar.py')
-rw-r--r--Lib/idlelib/statusbar.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/Lib/idlelib/statusbar.py b/Lib/idlelib/statusbar.py
index c071f89..ae52a56 100644
--- a/Lib/idlelib/statusbar.py
+++ b/Lib/idlelib/statusbar.py
@@ -1,4 +1,5 @@
-from tkinter import Frame, Label
+from tkinter import Label
+from tkinter.ttk import Frame
class MultiStatusBar(Frame):
@@ -20,7 +21,8 @@ class MultiStatusBar(Frame):
def _multistatus_bar(parent): # htest #
- from tkinter import Toplevel, Frame, Text, Button
+ from tkinter import Toplevel, Text
+ from tkinter.ttk import Frame, Button
top = Toplevel(parent)
x, y = map(int, parent.geometry().split('+')[1:])
top.geometry("+%d+%d" %(x, y + 175))