When you create buttons, they are active by default. You can set the state of buttons (sensitive or not sensitive) using the method setSensitive: or sensitive:. If the argument is true, then the button will be active. If the argument is false, then the button will be deactivated (greyed out).
|