maxfish / GoNativeUI-core

Pure Go graphic user interface. Bare bone, no dependecies, cross-platform

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Go Maintainability Test Coverage

Heavily WIP / Not yet ready for use

GoNativeUI

Pure Go, no dependencies, cross-platform, bare bone, retained-mode GUI. The primary goal of the library is to provide a simple-to-use GUI for cross-platform desktop app/tools.

These are not goals of this project:

  • Create a GUI which can be set up with a couple of lines of code
  • Target Javascript, Electron, mobile phones, ...
  • Provide an extensive set of Layouts, or a complete widgets set similar to QT, GTK, ...

Core

The core repository contains the logic code of the GUI and it does not contain any rendering code.

Widgets

  • Label
  • Button
  • Toggle button
  • Checkbox
  • Radio button
  • Input fields

Layout

The only container available is Box. It allows creating complex layouts by applying very simple rules.

The layout is inspired by the The Box Model from Mozilla XUL (now defunct).

Other ToDo

  • Button action callbacks
  • Widget content alignment
  • Widget alignment within containers (only stretch is supported right now)
  • Containers padding
  • Grid container / Property grid

About

Pure Go graphic user interface. Bare bone, no dependecies, cross-platform

License:MIT License


Languages

Language:Go 100.0%