## XCGUI Examples

English | [简体中文](./README.md)

[https://github.com/twgh/xcgui](https://github.com/twgh/xcgui) Examples

## Usage

### 1. Clone project to local

#### (1) git clone

```bash
git clone https://github.com/twgh/xcgui-example
```

#### (2) If you don't have git, you can download the source zip and decompress it locally.

[download](https://codeload.github.com/twgh/xcgui-example/zip/refs/heads/main)

### 2. Execute commands in the project directory

```go
go mod tidy
go run .\Basic\SimpleWindow\
```

## Example Image

#### Visualization UI Designer

[![uidesigner](https://z3.ax1x.com/2021/09/15/4Vmh9S.png)](https://github.com/twgh/xcgui-example/blob/main/Basic/uidesigner)

### UI Show

[![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 Examples

[![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)
