How can I set a gtk.Button
enabled or disabled in PyGTK?
my_button.set_sensitive(False)
True is enabled, False disabled. See the gtk.Widget documentation.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With