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?

Thanks,
Dan

You can do so by setting button[“state”] to DGG.DISABLED:
discourse.panda3d.org/viewtopic.php?t=3121

Thanks! That should really be in the manual somewhere.

Done, added.