Determines if a button acts as a two-state toggle.

Property of

PushButton

Description

Set toggle to true to have a PushButton object behave like a two-state toggle button that stays down when clicked. Clicking the button again makes it pop back up.

To check the state of a toggle button, check its value property.