TGNumberEntry Disable (gray out)?

Good morning!

is it possible to gray out (disable) a TGNumberEntry, so that users can not change the value? I would need to connect it to a Check Button, in case that variable must be kept fixed. I just don’t find it… All I found was
SetEditable(Bool_t) which does not do what I need.

thanks.
:slight_smile:

Use SetState(kFALSE)/SetState(kTRUE) to disable/enable.