Struct orbtk::menu::Action
[−]
[src]
pub struct Action { /* fields omitted */ }
pub struct Action { /* fields omitted */ }
impl Action
[src]fn new<S: Into<String>>(text: S) -> Self
fn add_icon(self, icon: Image) -> Self
fn text_offset(self, x: i32, y: i32) -> Self
impl Click for Action
[src]fn emit_click(&self, point: Point)
fn on_click<T: Fn(&Self, Point) + 'static>(self, func: T) -> Self
impl Widget for Action
[src]fn rect(&self) -> &Cell<Rect>
fn draw(&self, renderer: &mut Renderer, _focused: bool)
fn event(&self, event: Event, _focused: bool, redraw: &mut bool) -> bool
impl Entry for Action
[src]