Jcorretjer
Jcorretjer

Reputation: 497

Disappear widgets without using pack or grid in Python Tkinter

Is there a way I can make a widget invisible without the use of .pack or a .grid. I'm using .place to set coordinates. If any of you need an example of my code, let me know.

Thanks.

Upvotes: 1

Views: 271

Answers (1)

mgilson
mgilson

Reputation: 309841

I believe that you are looking for the place_forget method.

This isn't too different than if you were to be using the .grid or .pack geometry managers where the methods to remove a widget are grid_forget and pack_forget respectively.

Upvotes: 3

Related Questions