Make setting the parent of a widget more understandable