mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
bpo-33987: IDLE: Use ttk Frame on doc window and statusbar (GH-11433) (GH-22899)
(cherry picked from commit facb522d44
)
Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
This commit is contained in:
parent
f22f874a66
commit
25687bbe0d
2 changed files with 9 additions and 5 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue