# xcgui-example **Repository Path**: twgh/xcgui-example ## Basic Information - **Project Name**: xcgui-example - **Description**: xcgui examples - **Primary Language**: Go - **License**: MIT - **Default Branch**: main - **Homepage**: https://github.com/twgh/xcgui - **GVP Project**: No ## Statistics - **Stars**: 6 - **Forks**: 5 - **Created**: 2021-09-18 - **Last Updated**: 2025-09-21 ## Categories & Tags **Categories**: Uncategorized **Tags**: xcgui, Go语言, GUI, Windows ## README ## XCGUI例子 [English](./README-en.md) | 简体中文 [https://github.com/twgh/xcgui](https://github.com/twgh/xcgui) 的例子 ## 用法 ### 一、克隆项目到本地 #### (1)git 克隆 ```bash git clone https://github.com/twgh/xcgui-example ``` #### (2)没有 git 的可以下载源码 zip 到本地后解压 [点击下载](https://codeload.github.com/twgh/xcgui-example/zip/refs/heads/main) ### 二、在项目根目录里执行命令 ```bash go mod tidy cd SimpleWindow && go run . ``` ## 示例图片 ### 可视化 UI 设计器 [![uidesigner](https://z3.ax1x.com/2021/09/15/4Vmh9S.png)](https://github.com/twgh/xcgui-example/tree/main/uidesigner) ### UI 展示 [![HouTai017](https://gitee.com/twgh/image/raw/master/xcgui-example/HouTai017.jpg)](https://github.com/twgh/xcgui-example/tree/main/HUMUI/HouTai017) [![YanZheng018](https://gitee.com/twgh/image/raw/master/xcgui-example/YanZheng018.jpg)](https://github.com/twgh/xcgui-example/tree/main/HUMUI/YanZheng018) ### WebView 例子 [![Chart](https://gitee.com/twgh/image/raw/master/xcgui-example/chart.jpg)](https://github.com/twgh/xcgui-example/tree/main/webview/Chart) [![EmbedAssets](https://gitee.com/twgh/image/raw/master/xcgui-example/EmbedAssets.jpg)](https://github.com/twgh/xcgui-example/tree/main/webview/EmbedAssets) [![](https://gitee.com/twgh/image/raw/master/xcgui-example/CreateByLayoutEle.jpg)](https://github.com/twgh/xcgui-example/tree/main/webview/CreateByLayoutEle)