bpo-33987: IDLE: Use ttk Frame on doc window and statusbar (GH-11433)

This commit is contained in:
Cheryl Sabella 2020-10-22 15:14:35 -04:00 committed by GitHub
parent e76b8fc815
commit facb522d44
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 5 deletions

View file

@ -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))