Property methods for WidgetContainer
The WidgetContainer struct should provide getter and setter methods (depending on the widget type Button, CheckBox, ...) to directly access the properties of a widget like
fn constraint(&self) -> Constraint;
fn set_constraint<C: Into<Constraint>>(&mut self, constraint: C);