editor

command
v0.0.0-...-f254331 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Example editor opens a window of MyGo native UI that shows the sidebar, togglegroup, tooltip and menu components together in a note editor. The sidebar chooses the file being edited, the toggles restyle its text, tips name the controls, and the file menu opens a file or saves.

go run ./examples/editor                open the window
go test ./examples/editor/...           render and check it headless
go run ./examples/editor/cmd/snapshot   write editor.png, editor-style.png and editor-dark.png

Directories

Path Synopsis
cmd
snapshot command
Command snapshot renders the editor example headless into PNG files, so the components can be seen without opening a window:
Command snapshot renders the editor example headless into PNG files, so the components can be seen without opening a window:
Package view builds the editor example: a window of MyGo native UI that shows the sidebar, togglegroup, tooltip and menu components together in a note editor.
Package view builds the editor example: a window of MyGo native UI that shows the sidebar, togglegroup, tooltip and menu components together in a note editor.

Jump to

Keyboard shortcuts

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