diff options
author | Cheryl Sabella <cheryl.sabella@gmail.com> | 2020-10-22 19:14:35 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-22 19:14:35 (GMT) |
commit | facb522d44fceaf15de6bc95de1cd680c4621c2a (patch) | |
tree | 387478639d68887e81a2d1143fea290b7c4434ae /Lib/idlelib/statusbar.py | |
parent | e76b8fc8155fac5dafa6b531d2b679c90c39748d (diff) | |
download | cpython-facb522d44fceaf15de6bc95de1cd680c4621c2a.zip cpython-facb522d44fceaf15de6bc95de1cd680c4621c2a.tar.gz cpython-facb522d44fceaf15de6bc95de1cd680c4621c2a.tar.bz2 |
bpo-33987: IDLE: Use ttk Frame on doc window and statusbar (GH-11433)
Diffstat (limited to 'Lib/idlelib/statusbar.py')
-rw-r--r-- | Lib/idlelib/statusbar.py | 6 |
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)) |