Trait winsafe::prelude::GuiWindowText

source ·
pub trait GuiWindowText: GuiWindow {
    // Provided methods
    fn set_text(&self, text: &str) { ... }
    fn text(&self) -> String { ... }
}
Available on crate features kernel and gui only.
Expand description

Any window which can get/set text.

Prefer importing this trait through the prelude:

use winsafe::prelude::*;

Provided Methods§

source

fn set_text(&self, text: &str)

Sets the text by calling HWND::SetWindowText.

source

fn text(&self) -> String

Retrieves the text by calling HWND::GetWindowText.

Implementors§