[][src]Trait kas::HasText

pub trait HasText {
    fn get_text(&self) -> &str;
fn set_text(&mut self, tk: &dyn TkWidget, text: &str); }

Functionality for widgets with visible text

Required methods

fn get_text(&self) -> &str

Get the widget's text.

fn set_text(&mut self, tk: &dyn TkWidget, text: &str)

Set the widget's text.

Loading content...

Implementors

impl HasText for Text
[src]

impl<H> HasText for TextButton<H>
[src]

impl<H> HasText for Entry<H>
[src]

Loading content...