#
cp.ui.RadioButton
Radio Button Module.
This represents an hs.axuielement with a AXRadioButton role.
It allows checking and modifying the checked status like so:
myButton:checked() == true -- happens to be checked already
myButton:checked(false) == false -- update to unchecked.
myButton.checked:toggle() == true -- toggled back to being checked.
You can also call instances of RadioButton as a function, which will return
the checked status:
myButton() == true -- still true
myButton(false) == false -- now false
#
API Overview
Functions - API calls offered directly by the extension
matches
Fields - Variables which can only be accessed from an object returned by a constructor
checked
Methods - API calls which can only be made on an object returned by a constructor
doCheck doLayout doPress doToggle doUncheck loadLayout press RadioButton saveLayout toggle
#
API Documentation
#
Functions
#
matches
#
Fields
#
checked
#
Methods
#
doCheck
#
doLayout
#
doPress
#
doToggle
#
doUncheck
#
loadLayout
#
press
#
RadioButton
#
saveLayout
#
toggle
See also
Module
Provides access to the 'Captions' section of the Timeline Index
Extends IndexSection
The collection of RadioButtons that allow filtering by Video/Audio/Title.
Provides access to the 'Roles' section of the Timeline Index
An abstract base class for sections inside the Index. This contains common methods and other definitions that apply for all sections.
Provides access to the 'Tags' section of the Timeline Index
The collection of RadioButtons that allow filtering by Video/Audio/Title.
Extends Timeline
Timeline Toolbar
A RadioGroup that contains buttons to show or hide the Effects and Transitions Browsers.