Function wx_rs::set_status_text

source ·
pub fn set_status_text(text: &str)
Examples found in repository?
examples/hello.rs (line 13)
10
11
12
13
14
15
16
17
extern "C" fn handle_event(event: *const c_void) {
    match wx_rs::get_event_type(event) {
        e if e != wx_rs::EventType::Timer => {
            wx_rs::set_status_text(&format!("Got event: {:?}", e));
        }
        _ => (),
    }
}