Button disable


#1

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

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


#2

setEnabled(false)?


#3

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


#4

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

Thanks!


#5