Type (Path CDEnvC Header / ccdui.h)

UIContainer

typedef builtin UIContainer;

Representation a window that support add components on it

Article - About this type


Using In

  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

类型 (属于 CDEnvC拓展 / ccdui.h)

UIContainer

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);
    销毁窗口