typedef builtin UIContainer;
UIContainer ccd_ui_create();
Create a window
void ccd_ui_attach(UIContainer view, AutoTree window);
Add components tree to window. Specially, If current code running in desktop widget mode, calling this method will render the widget directly and Never Return
void ccd_ui_show(UIContainer window, UIShowType type);
Display the window
void ccd_ui_close(UIContainer window);
Dismiss the window
void ccd_ui_destroy(UIContainer window);
Destroy the window
typedef builtin UIContainer;
UIContainer ccd_ui_create();
创建一个窗口区域
void ccd_ui_attach(UIContainer view, AutoTree window);
将组件树附加到窗口区域,特别的,如果当前以桌面小组件形式运行代码,则不论view参数如何,使用给定的window参数渲染组件树,并且当前进程在此函数永不返回
void ccd_ui_show(UIContainer window, UIShowType type);
展示窗口
void ccd_ui_close(UIContainer window);
关闭窗口
void ccd_ui_destroy(UIContainer window);
销毁窗口