# 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**: 2026-01-12 ## 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 go run .\Basic\SimpleWindow\ ``` ## 示例图片 ### 可视化 UI 设计器 [![uidesigner](https://txc.gtimg.com/data/300444/2026/0109/11f9f3550c34a7803b6dc6c81c46f2f1.webp)](https://github.com/twgh/xcgui-example/tree/main/Basic/uidesigner) ### UI 展示 [![HouTai017](https://txc.gtimg.com/data/300444/2026/0109/c2624dc17eb063923f20ee23f0e6e5a3.webp)](https://github.com/twgh/xcgui-example/tree/main/HUMUI/HouTai017) [![YanZheng018](https://txc.gtimg.com/data/300444/2026/0109/ce2eacf8dce2b67ef40383b4ef25c181.webp)](https://github.com/twgh/xcgui-example/tree/main/HUMUI/YanZheng018) ### WebView 例子 [![Chart](https://txc.gtimg.com/data/300444/2026/0109/6c1cfb7e0fd69569ba460d74a43ccaa7.webp)](https://github.com/twgh/xcgui-example/tree/main/webview/Chart) [![EmbedAssets](https://txc.gtimg.com/data/300444/2026/0109/4456299756a2e076b632d0aad8095427.webp)](https://github.com/twgh/xcgui-example/tree/main/webview/EmbedAssets) [![CreateByLayoutEle](https://s41.ax1x.com/2026/01/09/pZ0Evxf.jpg)](https://github.com/twgh/xcgui-example/tree/main/webview/CreateByLayoutEle) [![VueAndVite](https://txc.gtimg.com/data/300444/2026/0109/3098867d087c044558df961147cb4e2b.webp)](https://github.com/twgh/xcgui-example/tree/main/webview/VueAndVite)