pub fn has_child<W: Into<ControlHandle>>(&self, c: W) -> bool {
        let inner = self.inner.borrow();
        if inner.base.is_null() {
            panic!("Flexbox layout is not yet initialized!");
        }

        let handle = c.into().hwnd().expect("Control must be window like (HWND handle)");
        inner.children.iter().any(|child| child.is_item() && child.as_item().control == handle)
    }
/**
        Check if the selected control is a children in the layout.
        Does not check in the sublayouts

        Panic:
        * If the control is not a window-like control.
        * If the layout was not initialized
    */
Check if the selected control is a children in the layout.
Does not check in the sublayouts

If the control is not a window-like control.
If the layout was not initialized
Check if the selected control is a children in the layout . Does not check in the sublayouts If the control is not a window - like control . If the layout was not initialized
pub fn has_child<W: Into<ControlHandle>>(&self, c: W) -> bool {
        let inner = self.inner.borrow();
        if inner.base.is_null() {
            panic!("Flexbox layout is not yet initialized!");
        }
        let handle = c.into().hwnd().expect("Control must be window like (HWND handle)");
        inner.children.iter().any(|child| child.is_item() && child.as_item().control == handle)
    }
pub fn has_child < W : Into < ControlHandle > > ( & self , c : W ) -> bool { let inner = self . inner . borrow ( ) ; if inner . base . is_null ( ) { panic ! ( " " ) ; } let handle = c . into ( ) . hwnd ( ) . expect ( " " ) ; inner . children . iter ( ) . any ( | child | child . is_item ( ) && child . as_item ( ) . control == handle ) }
Check if the selected control is a children in the layout.
Check if the selected control is a children in the layout .
&self
c
W