fn on_user_event(&mut self, data: &UserEvent) {
        match data.event {
            crate::app::event::Event::InvokeRegionSelector(action) => {
                self.set_visible(true);
                self.invoke_type = action;
            }
            _ => {}
        }
    }
///
/// This can receive user event whenever the window is visible or unvisible
This can receive user event whenever the window is visible or unvisible
This can receive user event whenever the window is visible or unvisible
fn on_user_event(&mut self, data: &UserEvent) {
        match data.event {
            crate::app::event::Event::InvokeRegionSelector(action) => {
                self.set_visible(true);
                self.invoke_type = action;
            }
            _ => {}
        }
    }
fn on_user_event ( & mut self , data : & UserEvent ) { match data . event { crate :: app :: event :: Event :: InvokeRegionSelector ( action ) => { self . set_visible ( true ) ; self . invoke_type = action ; } _ => { } } }
This can receive user event whenever the window is visible or unvisible
This can receive user event whenever the window is visible or unvisible
&mut self
data
&UserEvent
&mut self
data
&UserEvent