pub fn child<W: Into<ControlHandle>>(mut self, m: (i32, i32), s: (i32, i32), c: W) -> DynLayoutBuilder {
        let hwnd = c.into().hwnd().expect("Child must be HWND");
        let pos = unsafe { wh::get_window_position(hwnd) };
        let size = unsafe { wh::get_window_size(hwnd) };

        self.layout.children.push(DynLayoutItem {
            control: hwnd,
            pos_init: pos,
            size_init: (size.0 as i32, size.1 as i32),
            mv: m,
            sz: s
        });

        self
    }
/// Add a children to the layout at the position `col` and `row`.
/// This is a shortcut over `child_item` for item with default span.
/// The handle must be a window object otherwise the function will panic
Add a children to the layout at the position `col` and `row`.
This is a shortcut over `child_item` for item with default span.
The handle must be a window object otherwise the function will panic
Add a children to the layout at the position ` col ` and ` row ` . This is a shortcut over ` child_item ` for item with default span . The handle must be a window object otherwise the function will panic
pub fn child<W: Into<ControlHandle>>(mut self, m: (i32, i32), s: (i32, i32), c: W) -> DynLayoutBuilder {
        let hwnd = c.into().hwnd().expect("Child must be HWND");
        let pos = unsafe { wh::get_window_position(hwnd) };
        let size = unsafe { wh::get_window_size(hwnd) };
        self.layout.children.push(DynLayoutItem {
            control: hwnd,
            pos_init: pos,
            size_init: (size.0 as i32, size.1 as i32),
            mv: m,
            sz: s
        });
        self
    }
pub fn child < W : Into < ControlHandle > > ( mut self , m : ( i32 , i32 ) , s : ( i32 , i32 ) , c : W ) -> DynLayoutBuilder { let hwnd = c . into ( ) . hwnd ( ) . expect ( " " ) ; let pos = unsafe { wh :: get_window_position ( hwnd ) } ; let size = unsafe { wh :: get_window_size ( hwnd ) } ; self . layout . children . push ( DynLayoutItem { control : hwnd , pos_init : pos , size_init : ( size . 0 as i32 , size . 1 as i32 ) , mv : m , sz : s } ) ; self }
Add a children to the layout at the position `col` and `row`.
Add a children to the layout at the position ` col ` and ` row ` .
mut self
m
(i32, i32)
s
(i32, i32)
c
W