ui.root.remove

从根面板中移除指定 widget(如果存在)。

返回已移除的 widget;如果 widget 不在根面板中,则返回 null。

用法返回
ui.root.remove(widget)对象
参数类型详细信息
widgetui.Widget要移除的 widget。