How To Dynamically Add/remove Widgets From Gtk 3 Window
I am using python3 with Gtk3 and i need to basically remove some widgets from my Gtk.Window and replace them with other widgets when a Gtk.Button is clicked.I have tried using Gtk.
Solution 1:
I was baffled by this, too. It turned out the created widgets must be explicitly shown with show()
or show_all()
. In your case:
row0.show_all()
as the last statement.
Post a Comment for "How To Dynamically Add/remove Widgets From Gtk 3 Window"