Skip to content Skip to sidebar Skip to footer

Update A Gtk.vbox Dynamically

I have been using this website pretty often in order to solve small issues that I have while programming in Python. This time, somehow I could not find a suitable solution for my s

Solution 1:

The new check button is there, but not visible until you call show() on it:

def AddCheckButton(self, button):
    button = gtk.CheckButton("CheckButton")
    self.vBox.pack_start(button, True, True, 1)
    button.show()
    print "adding checkbox..."

Post a Comment for "Update A Gtk.vbox Dynamically"