summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/sidebar.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/idlelib/sidebar.py')
-rw-r--r--Lib/idlelib/sidebar.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/idlelib/sidebar.py b/Lib/idlelib/sidebar.py
index 166c043..8e7eae5 100644
--- a/Lib/idlelib/sidebar.py
+++ b/Lib/idlelib/sidebar.py
@@ -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)
on value='bug_3564735'>bug_3564735 Tcl is a high-level, general-purpose, interpreted, dynamic programming language. It was designed with the goal of being very simple but powerful.
summaryrefslogtreecommitdiffstats
path: root/win
ModeNameSize
-rw-r--r--README6670logstatsplain
-rw-r--r--README.binary17632logstatsplain
-rw-r--r--cat.c655logstatsplain
-rw-r--r--makefile.vc17945logstatsplain
-rw-r--r--mkd.bat294logstatsplain
-rw-r--r--rmd.bat361logstatsplain
-rw-r--r--stub16.c5635logstatsplain
-rw-r--r--tcl.rc1212logstatsplain
-rw-r--r--tcl16.rc1093logstatsplain
-rw-r--r--tclAppInit.c6604logstatsplain
-rw-r--r--tclWin16.c11712logstatsplain
-rw-r--r--tclWin32Dll.c17196logstatsplain
-rw-r--r--tclWinChan.c28894logstatsplain
-rw-r--r--tclWinConsole.c34073logstatsplain
-rw-r--r--tclWinDde.c35458logstatsplain
-rw-r--r--tclWinError.c10900logstatsplain
-rw-r--r--tclWinFCmd.c48740logstatsplain
-rw-r--r--tclWinFile.c25503logstatsplain
-rw-r--r--tclWinInit.c21907logstatsplain
-rw-r--r--tclWinInt.h3774logstatsplain
-rw-r--r--tclWinLoad.c4356logstatsplain
-rw-r--r--tclWinMtherr.c1202logstatsplain
-rw-r--r--tclWinNotify.c12406logstatsplain