Hi all!
I can not find my way around disabling widgets in pygtk.
Is there one way for all type of widgets to disable them?
By disabling I mean not being able to edit an entry and it is "grayed out", or the same for a checkbox, combobox and so on.

Many thanks in advance!

Recommended Answers

All 2 Replies

Perhaps this can help: button.set_sensitive(False) Documentation

Thank you very much for your help!
I don't know how I missed it, a had already been looking at the doc for widgets but apparently missed it somehow.
Thanks again!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.