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 6a3f45a2e0 Set transient for on panels
This makes panels behave as expected. It feels incredibly wrong but
shotcut does it, it can't be that bad.
2023-03-24 22:49:53 -04:00
artist Created a convenience constructor for Inset 2023-03-23 18:05:30 -04:00
assets Added simple readme 2023-01-11 16:01:06 -05:00
backends Set transient for on panels 2023-03-24 22:49:53 -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 Atomized the functionality of the base tomo package 2023-02-02 01:47:01 -05:00
defaultfont Initial commit 2023-01-09 01:03:19 -05:00
dirs Added package summaries to more packages 2023-03-16 01:10:59 -04:00
elements Added the ability to make different window types 2023-03-24 00:34:25 -04:00
examples Terrible discovery (panels don't work properly) 2023-03-24 17:38:21 -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 Created a convenience constructor for Inset 2023-03-23 18:05:30 -04:00
xcf Large icons in the default set! 2023-03-10 18:53:27 -05: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 Added the ability to make different window types 2023-03-24 00:34:25 -04:00
go.mod We now have an untested lone scrollbar element 2023-03-09 18:15:52 -05:00
go.sum We now have an untested lone scrollbar element 2023-03-09 18:15:52 -05:00
tomo.go Terrible discovery (panels don't work properly) 2023-03-24 17:38:21 -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.