开源软件名称(OpenSource Name):andlabs/ui开源软件地址(OpenSource Url):https://github.com/andlabs/ui开源编程语言(OpenSource Language):Go 59.1%开源软件介绍(OpenSource Introduction):ui: platform-native GUI library for GoThis is a library that aims to provide simple GUI software development in Go. It is based on my libui, a simple cross-platform library that does the same thing, but written in C. It runs on/requires:
It also requires Go 1.8 or newer. It currently aligns to libui's Alpha 4.1, with only a small handful of functions not available. StatusPackage ui is currently mid-alpha software. Much of what is currently present runs stabily enough for the examples and perhaps some small programs to work, but the stability is still a work-in-progress, much of what is already there is not feature-complete, some of it will be buggy on certain platforms, and there's a lot of stuff missing. The libui README has more information. InstallationOnce you have the dependencies installed, a simple
should suffice. DocumentationThe in-code documentation is sufficient to get started, but needs improvement. Some simple example programs are in the Windows manifestsPackage ui requires a manifest that specifies Common Controls v6 to run on Windows. It should at least also state as supported Windows Vista and Windows 7, though to avoid surprises with other packages (or with Go itself; see this issue) you should state compatibility with higher versions of Windows too. The simplest option is provided as a subpackage import _ "github.com/andlabs/ui/winmanifest" You do not have to worry about importing this in non-Windows-only files; it does nothing on non-Windows platforms. If you wish to use your own manifest instead, you can use the one in
You may also be interested in the Note that if you choose to ship a manifest as a separate macOS program executionIf you run a macOS program binary directly from the command line, it will start in the background. This is intentional; see this for more details. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论