cp.ui.Toolbar.matches(element) -> boolean
element
is a Button
, returning true
if so.hs._asm.axuielement
to check.true
if the element
is a Button
, or false
if not.cp.ui.Toolbar(parent, uiFinder) -> cp.ui.Toolbar
Toolbar
instance, given the specified parent
and uiFinder
cp.prop
or function
that finds the hs._asm.axuielement
that represents the Toolbar
.Toolbar
instance.cp.ui.Toolbar.overflowButton <cp.ui.Button>
cp.ui.Toolbar.selectedTitle <cp.prop: string; read-only>
cp.ui.Toolbar:doSelect(title) -> Statement
Statement
that will select the toolbar item with the specified title.Statement
that when executed returns true
if the item was found and selected, otherwise false
.