pub fn delete_children(&mut self, c: &mut Vec<Box<Container>>) {
        for (_, child) in &mut self.children {
            child.delete_children(c);
        }

        let k: Vec<_> = self.children.keys().cloned().collect();

        for name in k {
            let bc = self.children.remove(&name).unwrap();
            c.push(bc);
        }
    }
/// unselect opertiaon:delete all children and put them to a vector(then put back to root_dlg)

unselect opertiaon:delete all children and put them to a vector(then put back to root_dlg)
unselect opertiaon : delete all children and put them to a vector ( then put back to root_dlg )
pub fn delete_children(&mut self, c: &mut Vec<Box<Container>>) {
        for (_, child) in &mut self.children {
            child.delete_children(c);
        }
        let k: Vec<_> = self.children.keys().cloned().collect();
        for name in k {
            let bc = self.children.remove(&name).unwrap();
            c.push(bc);
        }
    }
pub fn delete_children ( & mut self , c : & mut Vec < Box < Container > > ) { for ( _ , child ) in & mut self . children { child . delete_children ( c ) ; } let k : Vec < _ > = self . children . keys ( ) . cloned ( ) . collect ( ) ; for name in k { let bc = self . children . remove ( & name ) . unwrap ( ) ; c . push ( bc ) ; } }
unselect opertiaon:delete all children and put them to a vector(then put back to root_dlg)
unselect opertiaon : delete all children and put them to a vector ( then put back to root_dlg )
&mut self
c
&mut Vec<Box<Container>>
&mut self
c
&mut Vec<Box<Container>>