[][src]Trait pushrod::widget::widget::InjectableCustomEvents

pub trait InjectableCustomEvents {
    fn inject_custom_event(&mut self, _widget_id: i32) -> Option<CallbackEvent> { ... }
}

Provided methods

fn inject_custom_event(&mut self, _widget_id: i32) -> Option<CallbackEvent>

Injects an event into the run loop. This can be a timer event, a refresh event, or whatever the Widget wants to inject. These should be custom events, not system events. This method only gets called if injects_events returns true.

Loading content...

Implementors

impl InjectableCustomEvents for BoxWidget[src]

impl InjectableCustomEvents for CheckboxWidget[src]

impl InjectableCustomEvents for ImageButtonWidget[src]

impl InjectableCustomEvents for ImageWidget[src]

impl InjectableCustomEvents for ProgressWidget[src]

impl InjectableCustomEvents for PushButtonWidget[src]

impl InjectableCustomEvents for RadioButtonWidget[src]

impl InjectableCustomEvents for TextWidget[src]

impl InjectableCustomEvents for TimerWidget[src]

impl InjectableCustomEvents for ToggleButtonWidget[src]

impl InjectableCustomEvents for CanvasWidget[src]

Loading content...