mirror of
https://github.com/python/cpython.git
synced 2025-11-25 21:11:09 +00:00
Refine geometry of idlelib htests (and a few other fix-ups).
This commit is contained in:
parent
cd5e388c39
commit
a748032653
19 changed files with 52 additions and 58 deletions
|
|
@ -417,8 +417,8 @@ def MultiCallCreator(widget):
|
|||
def _multi_call(parent): # htest #
|
||||
top = tkinter.Toplevel(parent)
|
||||
top.title("Test MultiCall")
|
||||
width, height, x, y = list(map(int, re.split('[x+]', parent.geometry())))
|
||||
top.geometry("+%d+%d"%(x, y + 150))
|
||||
x, y = map(int, parent.geometry().split('+')[1:])
|
||||
top.geometry("+%d+%d" % (x, y + 175))
|
||||
text = MultiCallCreator(tkinter.Text)(top)
|
||||
text.pack()
|
||||
def bindseq(seq, n=[0]):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue