py_cui
py_cui copied to clipboard
A way to destroy/forget widgets
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