pub trait WTextTrait: WTextTraitConst + Widget2DTrait {
    fn as_raw_mut_WText(&mut self) -> *mut c_void;

    fn set_text(&mut self, text: &str) -> Result<()> { ... }
}

Required Methods§

Provided Methods§

Sets the text content of the widget.

Parameters
  • text: Text content of the widget.

Implementors§