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
2023-03-30 18:05:29 -04:00
artist Created a convenience constructor for Inset 2023-03-23 18:05:30 -04:00
assets
backends Temporary redirect to patched xgbutil that will only work on my machine 2023-03-30 18:05:29 -04:00
canvas Default elements compile 2023-02-26 22:20:17 -05:00
config Made the default handle width an odd number 2023-03-17 02:05:22 -04:00
data This should have been several separate commits 2023-03-29 00:50:23 -04:00
defaultfont
dirs Added package summaries to more packages 2023-03-16 01:10:59 -04:00
elements This should have been several separate commits 2023-03-29 00:50:23 -04:00
examples X backend clipboard properly negotiates data type with owner 2023-03-29 02:55:12 -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
layouts Did the same thing for the vertical layout 2023-03-16 23:04:33 -04:00
popups Popups package uses the new modal system 2023-03-24 00:47:04 -04:00
shatter Added package summaries to more packages 2023-03-16 01:10:59 -04:00
textdraw Implemented all text alignment methods 2023-03-16 20:24:33 -04:00
textmanip Keyboard text selection is now no longer broken lmao 2023-02-16 14:09:23 -05:00
theme This should have been several separate commits 2023-03-29 00:50:23 -04:00
xcf Large icons in the default set! 2023-03-10 18:53:27 -05:00
backend.go You can fcucking PASTE now!!! 2023-03-27 20:44:39 -04:00
go.mod Temporary redirect to patched xgbutil that will only work on my machine 2023-03-30 18:05:29 -04:00
go.sum We now have an untested lone scrollbar element 2023-03-09 18:15:52 -05:00
LICENSE
README.md Added link to github mirror 2023-02-02 17:57:56 -05:00
tomo.go Changed the clipboard API so that it will work with X 2023-03-25 13:32:48 -04:00

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.