Ebitengine tool kit for creating graphical user interfaces
Find a file
2024-10-09 16:36:56 -07:00
examples Do not import a default font 2024-07-22 01:49:09 -07:00
kibodo Remove usage of runtime/debug 2024-07-22 02:31:50 -07:00
messeji Remove usage of runtime/debug 2024-07-22 02:31:50 -07:00
.gitignore Move kibodo into etk 2024-01-16 12:52:24 -08:00
box.go Add Widget.Cursor 2024-09-11 22:13:07 -07:00
button.go Add border to Input 2024-09-19 23:20:03 -07:00
checkbox.go Add border to Input 2024-09-19 23:20:03 -07:00
doc.go Add border to Input 2024-09-19 23:20:03 -07:00
flex.go Fix expanding Flex children 2024-01-18 19:33:56 -08:00
frame.go Add Frame.SetMaxWidth and Frame.SetMaxHeight 2024-09-21 20:49:52 -07:00
game.go Update list offset when selection overflows 2024-10-09 16:36:56 -07:00
go.mod Add List.SetConfirmedFunc 2024-10-09 13:21:50 -07:00
go.sum Add List.SetConfirmedFunc 2024-10-09 13:21:50 -07:00
grid.go Add List 2023-12-19 12:24:44 -08:00
input.go Add border to Input 2024-09-19 23:20:03 -07:00
keybind.go Add List.SetConfirmedFunc 2024-10-09 13:21:50 -07:00
keyboard.go Add Widget.Cursor 2024-09-11 22:13:07 -07:00
LICENSE Update LICENSE 2024-01-16 12:59:02 -08:00
list.go Update list offset when selection overflows 2024-10-09 16:36:56 -07:00
README.md Update list offset when selection overflows 2024-10-09 16:36:56 -07:00
select.go Add border to Input 2024-09-19 23:20:03 -07:00
sprite.go Update list offset when selection overflows 2024-10-09 16:36:56 -07:00
style.go Add border to Input 2024-09-19 23:20:03 -07:00
text.go Add Sprite 2024-09-18 19:41:36 -07:00
widget.go Add Widget.Cursor 2024-09-11 22:13:07 -07:00
window.go Allow fonts to be specified directly 2024-04-23 13:05:39 -07:00

etk - Ebitengine Tool Kit

GoDoc Donate via LiberaPay

Ebitengine tool kit for creating graphical user interfaces

Note: This library is still in development. Breaking changes may be made until v1.0 is released.

Features

  • Simplifies GUI development:
    • Propagates layout changes.
    • Propagates user input.
    • Propagates focus.
  • Extensible by design:
    • The Box widget is provided as a building block for custom widgets.
    • Widgets may be nested within each other efficiently.
  • Tools in the kit:
    • Box: Building block for creating custom widgets.
    • Button: Clickable button.
    • Flex: Flexible stack-based layout. Each Flex widget may be oriented horizontally or vertically.
    • Frame: Widget container. All child widgets are displayed at once. Child widgets are not repositioned by default.
    • Grid: Highly customizable cell-based layout. Each widget added to the Grid may span multiple cells.
    • Input: Text input widget. The Input widget is simply a Text widget that also accepts user input.
    • List: List of widgets as selectable items.
    • Sprite: Resizable image.
    • Text: Text display widget.
    • Window: Widget paging mechanism. Only one widget added to a window is displayed at a time.

Demo

Boxcars uses etk extensively and is available at https://play.bgammon.org

Screenshot

Examples

See the examples folder.

Documentation

Documentation is available via godoc.

Support

Please share issues and suggestions here.