pub fn Press(_: PressProps) -> ElementExpand description
One control that raises one command.
It raises the command’s name: what that comes to is resolved by the call
it reaches, against the session as it then stands. says is the control’s
own sentence; the keys that do the same thing are read off the binding
table and appended, so a tooltip cannot promise a key nothing binds.
raises is for the one control whose press means something other than
what it stands for — the armed rail cell, which is still labelled the
tool it holds while a press of it returns to Select.
§Props
For details, see the props struct definition.