Button disable

How does one disable a button, so it’s still present, but not clickable?

In Java, I would use the setEnabled(bool) function.

setEnabled(false)?

Use the Component::setEnabled(bool) function. :slight_smile:

Well, I feel silly. I looked at Button.h but forgot about Component.

Thanks!

1 Like