[−][src]Trait kas::class::SetAccel
Set a control label
Control labels do not support rich-text formatting but do support
accelerator keys, identified via a &
prefix (e.g. &File
).
Required methods
pub fn set_accel_string(&mut self, accel: AccelString) -> TkAction
[src]
Set accel string
Provided methods
pub fn set_accel<T: Into<AccelString>>(&mut self, accel: T) -> TkAction where
Self: Sized,
[src]
Self: Sized,
Set text
This method supports AccelString
, String
and &str
as input.
The latter are parsed for accel keys identified by &
prefix.