• Stars
    star
    167
  • Rank 226,635 (Top 5 %)
  • Language
    Go
  • License
    MIT License
  • Created about 6 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Windows GUI library for Go (Golang). Comes with a graphical UI designer.

Version 2

Please go to Version 2 of this library for the latest version.

Windows GUI Library

This is a pure Go library to create native Windows GUIs.

The godoc.org documentation is broken for some reason and the pkg.go.dev documentation has issues with the license for some versions, I am not sure what the problems are. Until I find a way to generate nice HTML documentation inside this repo itself and can link to that, just run

go doc -all github.com/gonutz/wui

to see the documentation as text. You can add a > doc.txt to save it to a file, or a | clip to copy it to the clipboard and paste it into your editor. The godoc command will also display it for you, in nice HTML, but it takes a while to start.

Minimal Example

This is all the code you need to create a window (which does not do much).

package main

import "github.com/gonutz/wui"

func main() {
	wui.NewWindow().Show()
}

The Designer

I am currently working on a graphical designer. It is located under cmd/designer.

At the moment it lets you place widgets graphically and generate a Go main file from it (using the Save menu). You can also run a preview with Ctrl+R.

There is no way to read the generated code back in at the moment. Right now it is a tool to place things and generate code from it.

More Repositories

1

d3d9

Direct3D9 wrapper for Go.
Go
150
star
2

prototype

Simple 2D game prototyping framework.
Go
82
star
3

framebuffer

Go library for accessing the framebuffer under Raspbian as a Go Image.
Go
37
star
4

ide

Go IDE written in Go; currently Windows-only desktop application
Go
11
star
5

no-brain-jogging

Game written in Go, shoot Zombies with Mathematics
Go
7
star
6

go-sdl2-dll

Go wrapper for SDL2 - this is for Windows only and uses the DLL, no need for CGo
Go
5
star
7

dsp

Digital signal processing functions in Go
Go
3
star
8

ftp-client

Go implementation of the FTP protocol (RFC 959)
Go
3
star
9

auto

Go library for Windows automation
Go
3
star
10

dfm

Go library to parse/modify/generate Delphi DFM files
Go
2
star
11

tic

Simple timing output for Go functions
Go
2
star
12

aoc22

https://adventofcode.com/2022
Go
2
star
13

payload

Append a data file to your executable and read it back in at runtime.
Go
2
star
14

pas

Delphi parser written in Go, work in progress
Go
2
star
15

ds

DirectSound wrapper for Go.
Go
1
star
16

mbw

Monospaced black and white fonts
Go
1
star
17

cgo

Obsolete Go wrappers that use CGo on Windows but now have pure Go counterparts
Go
1
star
18

jolina

A little two-day game created with my friend Jolina
Go
1
star
19

blob

Go library for building binary blob files, mapping string IDs to byte data.
Go
1
star
20

expr

Arithmetic expression parser
Go
1
star
21

zoom_thumbs_up

Windows tool to click the thumbs up reaction in the Zoom client.
Go
1
star
22

ld41

Ludum Dare 41 Entry - Combine Two Incompatible Genres
Go
1
star
23

gif2pngs

Convert a GIF image to PNG frames
Go
1
star
24

checkmark

Windows tool that copies a checkmark character βœ“ into the clipboard
Go
1
star
25

work

Work time tracking GUI tool for Windows, written in Go
Go
1
star
26

dfm_clear_explicit_zeros

Go tool to remove unnecessary Explicit properties from Delphi DFM files.
Go
1
star
27

usbreset

Go tool that does what the C version of usbreset does - reset USB devices
Go
1
star
28

getmp3

Linux script to load Youtube videos as mp3s into your Music folder
Shell
1
star
29

volume

Windows tools for volume up/down/mute written in Go
Go
1
star
30

sdl2

Pure Go SDL2 wrapper for Windows, no CGo
Go
1
star
31

ico

Go library and command line tool to generate .ico files from image
Go
1
star
32

sdl2-dll-issue

This is an issue on 32 bit Windows when calling the SDL2.dll
Go
1
star
33

tile_screen

Windows program to move a window on a tiled screen
Go
1
star
34

zoom_emote

Windows program to click Zoom emojis with keyboard shortcuts
Go
1
star