py_cui icon indicating copy to clipboard operation
py_cui copied to clipboard

A way to destroy/forget widgets

Open WardBrian opened this issue 5 years ago • 0 comments

Is your feature request related to a problem? Please describe. I want to redraw just a small part of the screen I've created. In something like Tk, I would use either .destroy() or pack_forget, etc.

Trying to manually delete items from _widgets causes an error in the draw method.

Describe the solution you'd like Either attach a destroy method to the overall widget class, or add something like a remove(widget-id) function to the py-cui and widgetset classes

WardBrian avatar Jul 18 '20 23:07 WardBrian