cpython/Lib/lib-tk
Guido van Rossum 61d3637ff8 SF patch #491183 (Jeff Epler): ScrolledText.grid() doesn't work
Using grid methods on ScrolledText widgets does not
work as expected. It either fails to pack a widget, or
can even cause Tk to lock up.

The problem is that the .grid method is being called on
the text widget, not the frame widget. This can lead
to the well-known lockup in Tk when a frame's children
are managed by both the pack and grid managers. Even
if it doesn't lock up, the frame is never placed within
the intended widget.

Program fragment:
>>> import ScrolledText
>>> s = ScrolledText.ScrolledText()
>>> s.grid(row=0, column=0, rowspan=2)

The following patch uses the same hack to copy the
'grid' and 'place' geometry manager methods to the
ScrolledText instance as is already used for the 'pack'
manager.
2001-12-10 16:42:43 +00:00
..
Canvas.py The lower() and tkraise() methods were calling the Canvas widget 2001-04-10 21:13:06 +00:00
Dialog.py Make reindent.py happy (convert everything to 4-space indents!). 2000-10-23 18:31:14 +00:00
FileDialog.py
FixTk.py Suggestion from SF patch #470433 to avoid clobbering TCL_LIBRARY et 2001-10-12 15:34:29 +00:00
ScrolledText.py SF patch #491183 (Jeff Epler): ScrolledText.grid() doesn't work 2001-12-10 16:42:43 +00:00
SimpleDialog.py
Tix.py Properly set static options for tixBalloon and tixResizeHandle. 2001-11-25 14:50:56 +00:00
Tkconstants.py
Tkdnd.py Make reindent.py happy (convert everything to 4-space indents!). 2000-10-23 18:31:14 +00:00
Tkinter.py Move grid_location into Misc. Fixes bug #426892. 2001-10-13 09:33:51 +00:00
tkColorChooser.py
tkCommonDialog.py Make reindent.py happy (convert everything to 4-space indents!). 2000-10-23 18:31:14 +00:00
tkFileDialog.py Merge directory chooser into tkFileDialog. 2001-11-08 17:51:33 +00:00
tkFont.py String method conversion. 2001-02-09 11:51:27 +00:00
tkMessageBox.py
tkSimpleDialog.py Be more careful about accessing attributes of the parent: if Tk has not been 2001-12-06 16:51:41 +00:00
turtle.py Applied SF patch #438424 by Josh Cogliati: 2001-08-09 16:42:07 +00:00