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-01-29 12:51:43 -05:00
artist The noise pattern can now be harsh 2023-01-24 18:27:36 -05:00
assets
backends/x Refactored the X backend draw code a bit 2023-01-26 18:01:39 -05:00
defaultfont
elements List relies more on the bounds insetting from theme 2023-01-29 12:51:43 -05:00
examples Overhauled the theme system 2023-01-29 01:49:01 -05:00
flow
layouts Layouts now conform to the new API 2023-01-19 16:54:49 -05:00
popups
textmanip More intelligent text editing with new textmanip system 2023-01-18 01:19:10 -05:00
theme List relies more on the bounds insetting from theme 2023-01-29 12:51:43 -05:00
backend.go Added x clipboard stub 2023-01-26 14:52:43 -05:00
canvas.go
data.go Added a little clipboard interface 2023-01-26 14:42:07 -05:00
element.go Repeated keys are detected properly 2023-01-20 17:40:28 -05:00
go.mod
go.sum
input.go
layout.go Layouts now conform to the new API 2023-01-19 16:54:49 -05:00
LICENSE
README.md
tomo.go Added x clipboard stub 2023-01-26 14:52:43 -05:00
window.go

tomo

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.