How can I set a gtk.Button enabled or disabled in PyGTK?
If you don't want to see the object then you could button.set_visible(False) to hide it or button.set_visible(True) to show it. This will prevent users from seeing the button.
Enable or disable gtk.Button in PyGTK