A GUI toolkit written in pure Go.
This repository has been archived on 2023-08-08. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
Sasha Koshka ac58a43220 Half-done implementation of file elements 2023-04-18 18:37:50 -04:00
artist Fixed the Texture pattern 2023-04-02 22:37:38 -04:00
assets Added simple readme 2023-01-11 16:01:06 -05:00
backends Child draw bounds are properly clipped 2023-04-18 03:07:06 -04:00
canvas Default elements compile 2023-02-26 22:20:17 -05:00
data Added more package-level comments 2023-03-31 13:50:26 -04:00
default Some theming tweaks 2023-04-18 03:12:36 -04:00
dirs Added package summaries to more packages 2023-03-16 01:10:59 -04:00
elements Half-done implementation of file elements 2023-04-18 18:37:50 -04:00
examples Half-done implementation of file elements 2023-04-18 18:37:50 -04:00
fixedutil Added fixed precision point utilities 2023-02-15 18:41:03 -05:00
flow Added package summaries to more packages 2023-03-16 01:10:59 -04:00
input Added package summaries to more packages 2023-03-16 01:10:59 -04:00
popups Element methods are now more consistent and have less bool flags 2023-04-18 13:14:10 -04:00
shatter Added package summaries to more packages 2023-03-16 01:10:59 -04:00
textdraw Oh my god 2023-03-31 21:14:40 -04:00
textmanip TextBox has double-click to select word 2023-03-31 20:28:53 -04:00
xcf Added a whole bunch of new icons 2023-04-02 17:55:24 -04:00
LICENSE Added license 2023-01-11 17:57:29 -05:00
README.md Added link to github mirror 2023-02-02 17:57:56 -05:00
backend.go Redid the entity system a bit to make it more reliable 2023-04-15 01:14:36 -04:00
config.go Added double click delay to config 2023-03-31 14:02:56 -04:00
element.go Made this crazy selection system 2023-04-17 02:05:53 -04:00
entity.go Made this crazy selection system 2023-04-17 02:05:53 -04:00
go.mod Grid stub 2023-04-05 02:12:17 -04:00
go.sum Upgraded xgbutil 2023-04-03 16:09:13 -04:00
theme.go Half-done implementation of file elements 2023-04-18 18:37:50 -04:00
tomo.go Redid the entity system a bit to make it more reliable 2023-04-15 01:14:36 -04:00
window.go Basic support in X backend for new API 2023-04-14 00:25:05 -04:00

README.md

tomo

This repository is mirrored on GitHub.

Please note: Tomo is in early development. Some features may not work properly, and its API may change without notice.

Tomo is a retro-looking GUI toolkit written in pure Go. It is designed with these goals in mind:

  • Modularity: the core of Tomo is mostly composed of interfaces—and the overwhelming majority of its code resides in pluggable modules. If you don't need it, then dont import it—and you can be assured it won't be there.
  • Extendability: during the design of Tomo's API, use cases such as creating custom backends, elements, and layouts were given just as much importance as normal application building. Your custom element is a first-class citizen.
  • Independence: Tomo is minimally dependent on code outside of the Go standard library. Because of this, the file size of a compiled Tomo application is typically very small.
  • Frugality: Tomo foregoes things like animations and anti-aliasing in order to use a minimal amount of system resources without even having to touch the GPU.
  • Consistency: Tomo's design is not only consistent within itself, but also with the Go standard library. If you've worked with Go in the past, Tomo will feel pleasantly familliar.

You can find out more about how to use it by visiting the examples directory, or pull up its documentation by running godoc within the repository. You can also view it on the web on pkg.go.dev.