Golphi

module
v0.0.1-alpha.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 3, 2026 License: MIT

README

English | Русский

Golphi

Golphi logo

Golphi is an experimental native GUI library for Go with a Delphi VCL-inspired component model. Use Go to wire up events, or design a form on Linux, generate a Go starter and connect your own handlers.

The shared Windows and Linux API supports a single main form, buttons, labels, text fields and panels. The Linux GTK4 backend adds check boxes, drop-down lists, list boxes, multiline text fields and native file dialogs.

CGO_ENABLED=0 go run ./examples/hello

MIT license.

Directories

Path Synopsis
cmd
golphi-designer command
probe-linux command
probe-linux is an explicit GTK ABI experiment, not the Golphi runtime.
probe-linux is an explicit GTK ABI experiment, not the Golphi runtime.
probe-tree-linux command
Native characterization experiment; deliberately independent of the runtime Driver.
Native characterization experiment; deliberately independent of the runtime Driver.
probe-windows command
smoke-gtk command
smoke-gtk exercises the native driver on the process startup thread.
smoke-gtk exercises the native driver on the process startup thread.
examples
designer-hello command
Designer Hello demonstrates connecting ordinary Go handlers to an editable form.
Designer Hello demonstrates connecting ordinary Go handlers to an editable form.
designer-notes command
Designer Notes demonstrates four additional GTK4 form controls.
Designer Notes demonstrates four additional GTK4 form controls.
dynamic-tree command
Dynamic-tree uses the same public UI API on Linux and Windows.
Dynamic-tree uses the same public UI API on Linux and Windows.
hello command
Hello demonstrates the same public UI API on every supported platform.
Hello demonstrates the same public UI API on every supported platform.
windows-appearance command
Windows-appearance demonstrates manual bounds with native controls.
Windows-appearance demonstrates manual bounds with native controls.
Package forms reads and writes descriptions of Golphi forms.
Package forms reads and writes descriptions of Golphi forms.
internal
backend
Package backend defines the internal native MVP boundary.
Package backend defines the internal native MVP boundary.
backend/gtk4
Package gtk4 implements the MVP using the system GTK4 runtime.
Package gtk4 implements the MVP using the system GTK4 runtime.
backend/win32
Package win32 implements the native Windows MVP backend.
Package win32 implements the native Windows MVP backend.
designersurface
Package designersurface is the private bridge between the Golphi designer, the UI package and the native drawing area.
Package designersurface is the private bridge between the Golphi designer, the UI package and the native drawing area.
formscaffold
Package formscaffold generates editable Go application starters and typed bindings for saved Golphi forms.
Package formscaffold generates editable Go application starters and typed bindings for saved Golphi forms.
uithread
Package uithread identifies the startup OS thread reserved for native UI.
Package uithread identifies the startup OS thread reserved for native UI.
Package ui предоставляет экспериментальные компоненты Golphi.
Package ui предоставляет экспериментальные компоненты Golphi.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL