Trouble with Tk buttons
Joseph Andrew Knapka
jknapka at earthlink.net
Tue Aug 21 12:57:36 EDT 2001
David AraSmith wrote:
>
> I have a small program that I am writing to help me
> learn Tk. Basicly, I have a frame (inside another
> frame)with grid layout that has 2 buttons on the first
> row. When you click on one button, another row of
> buttons appear (in row 2). The same thing happens when
> you click the second button but they replace the first
> second row and vice versa. My problem is that when the
> second button is pressed and the "new" second row is
> displayed, the original second row still shows if the
> text is longer.
Are you sure? Your code seems to work fine; I tried it
on Linux and Windows NT, using Python 2.1.1.
--
# Joe Knapka
# "You know how many remote castles there are along the
# gorges? You can't MOVE for remote castles!" - Lu Tze re. Uberwald
# Linux MM docs:
http://home.earthlink.net/~jknapka/linux-mm/vmoutline.html
More information about the Python-list
mailing list