feature: A new API::set_parent_window.
bugfix: Some issues of children widget in reset of parent.