[Tutor] Re: Killing Buttons! (in Tk)

andy surany mongo57a@comcast.net
Sat Nov 2 21:37:04 2002


Thanks. I ended up using "destroy".
-----Original Message-----
From: Andres Rosado <arosado@softhome.net>
To: tutor@python.org <tutor@python.org>
Date: Saturday, November 02, 2002 7:25 PM
Subject: [Tutor] Re: Killing Buttons! (in Tk)


>At 12:00 PM 10/28/2002 -0500, you wrote:
>>Now that I have buttons created - and working, how do I get rid of
them?
>>In the application, the buttons change based on the function. Do I
just
>>destroy the widget? If so, how? Or do I have to disable and hide the
>>buttons? Anyone have an example??
>
>widget.grid_forget() if you're using the grid layout.
>
>
>--
>Andres Rosado
>Email: andresr@despammed.com
>ICQ: 66750646
>Homepage: http://andres980.tripod.com/
>
>What's the use of a good quotation if you can't change it?
>                 -- Dr. Who
>
>
>_______________________________________________
>Tutor maillist  -  Tutor@python.org
>http://mail.python.org/mailman/listinfo/tutor