To operate on a toggle object and based on your requirement, you can use any of these functions
click - Click on a toggle button
enterstring - Generate keyboard event as if user keys-in
press - Toggle's the button state
verifytoggled - Verify whether the button is in toggled state
Linux Desktop Testing Project