* Better widget names when using the declarative syntax * Add ratio.get_ratio to avoid using the private API * Also support `set_widget` when swapping widgets