fn do_event(&mut self, event: Event, win_ctx: &mut dyn WinCtx) -> bool {
        AppState::<T>::new().do_event(self.window_id, event, win_ctx) ////
        /* ////
            let result = self
                .app_state
                .borrow_mut()
                .do_event(self.window_id, event, win_ctx);
            self.process_commands(win_ctx);
            result
        */ ////
    }
/// Send an event to the widget hierarchy.
///
/// Returns `true` if the event produced an action.
///
/// This is principally because in certain cases (such as keydown on Windows)
/// the OS needs to know if an event was handled.
Send an event to the widget hierarchy.
Returns `true` if the event produced an action.

This is principally because in certain cases (such as keydown on Windows)
the OS needs to know if an event was handled.
Send an event to the widget hierarchy . Returns ` true ` if the event produced an action . This is principally because in certain cases ( such as keydown on Windows ) the OS needs to know if an event was handled .
fn do_event(&mut self, event: Event, win_ctx: &mut dyn WinCtx) -> bool {
        AppState::<T>::new().do_event(self.window_id, event, win_ctx) ////
        /* ////
            let result = self
                .app_state
                .borrow_mut()
                .do_event(self.window_id, event, win_ctx);
            self.process_commands(win_ctx);
            result
        */ ////
    }
fn do_event ( & mut self , event : Event , win_ctx : & mut dyn WinCtx ) -> bool { AppState :: < T > :: new ( ) . do_event ( self . window_id , event , win_ctx ) //// /* ////
            let result = self
                .app_state
                .borrow_mut()
                .do_event(self.window_id, event, win_ctx);
            self.process_commands(win_ctx);
            result
        */ //// }
Send an event to the widget hierarchy.
Send an event to the widget hierarchy .
&mut self
event
Event
win_ctx
&mut dyn WinCtx
&mut self
event
Event
win_ctx
&mut dyn WinCtx