I have a toolbar that has the typical buttons: new, save, save as, etc. Is there a way to gray out/disable/make unavailable icons that are not useful?
For instance, if nothing has been changed, disable and gray out the save button, then re-enabled it when something has changed that requires a save.
Thanks for the help!
myButton.set_sensitive(True)    # make button available
myButton.set_sensitive(False)    # make button unavailable
Make a pygtk stock icon "unavailable"