Disable DirectButton?

The manual tells you how to set text, geom, etc. for a DirectButton’s “disabled” state, but as far as I can tell it doesn’t say how you go about disabling a button… How do I do that?


You can do so by setting button[“state”] to DGG.DISABLED:

Thanks! That should really be in the manual somewhere.

Done, added.