mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
gh-66819: More IDLE htest updates(2) (#112642)
Examine and update spec -- callable pairs. Revise run method.
This commit is contained in:
parent
a9574c68f0
commit
3855b45874
9 changed files with 70 additions and 69 deletions
|
@ -516,13 +516,13 @@ class ShellSidebar(BaseSideBar):
|
|||
def _linenumbers_drag_scrolling(parent): # htest #
|
||||
from idlelib.idle_test.test_sidebar import Dummy_editwin
|
||||
|
||||
toplevel = tk.Toplevel(parent)
|
||||
text_frame = tk.Frame(toplevel)
|
||||
top = tk.Toplevel(parent)
|
||||
text_frame = tk.Frame(top)
|
||||
text_frame.pack(side=tk.LEFT, fill=tk.BOTH, expand=True)
|
||||
text_frame.rowconfigure(1, weight=1)
|
||||
text_frame.columnconfigure(1, weight=1)
|
||||
|
||||
font = idleConf.GetFont(toplevel, 'main', 'EditorWindow')
|
||||
font = idleConf.GetFont(top, 'main', 'EditorWindow')
|
||||
text = tk.Text(text_frame, width=80, height=24, wrap=tk.NONE, font=font)
|
||||
text.grid(row=1, column=1, sticky=tk.NSEW)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue