pub fn window_under<P: Into<Point<f64, Logical>>>(&self, point: P) -> Option<&Window> {
        let point = point.into();
        self.windows.iter().rev().find(|w| {
            let bbox = window_rect(w, &self.id);
            bbox.to_f64().contains(point)
        })
    }
/// Get a reference to the window under a given point, if any
Get a reference to the window under a given point, if any
Get a reference to the window under a given point if any
pub fn window_under<P: Into<Point<f64, Logical>>>(&self, point: P) -> Option<&Window> {
        let point = point.into();
        self.windows.iter().rev().find(|w| {
            let bbox = window_rect(w, &self.id);
            bbox.to_f64().contains(point)
        })
    }
pub fn window_under < P : Into < Point < f64 , Logical > > > ( & self , point : P ) -> Option < & Window > { let point = point . into ( ) ; self . windows . iter ( ) . rev ( ) . find ( | w | { let bbox = window_rect ( w , & self . id ) ; bbox . to_f64 ( ) . contains ( point ) } ) }
Get a reference to the window under a given point, if any
Get a reference to the window under a given point if any
&self
point
P
&self
point
P