Trait winsafe::prelude::GuiNativeControlEvents

source ·
pub trait GuiNativeControlEvents<E> {
    // Required method
    fn on(&self) -> &E;
}
Available on crate features kernel and gui only.
Expand description

Events of a native control.

Prefer importing this trait through the prelude:

use winsafe::prelude::*;

Required Methods§

source

fn on(&self) -> &E

Exposes the specific control events.

§Panics

Panics if the control is already created. Events must be set before control creation.

Implementors§