There is no command to tell if a gadget is currently enabled or disabled.
Given that changing the range of a slider, or changing the value of a slider automatically enables it, and disabling it immediately afterwards makes it flicker instead of remaining disabled, this command is needed to be able to easily check if you've enabled or disabled a gadget without needing lots of global variables for tracking each gadget's current state manually.
Given that changing the range of a slider, or changing the value of a slider automatically enables it, and disabling it immediately afterwards makes it flicker instead of remaining disabled, this command is needed to be able to easily check if you've enabled or disabled a gadget without needing lots of global variables for tracking each gadget's current state manually.