examples/

directory
v0.15.5 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2026 License: EPL-2.0

Directories

Path Synopsis
apps
chat command
Command chat is a team chat window: a sidebar with sections and avatars, a message feed with reactions and links, a thread pane on the right and a glass composer capsule with attach and send.
Command chat is a team chat window: a sidebar with sections and avatars, a message feed with reactions and links, a thread pane on the right and a glass composer capsule with attach and send.
dashboard command
Command dashboard is a metrics overview: summary cards, progress bars, a Canvas bar chart, a recent activity table and links.
Command dashboard is a metrics overview: summary cards, progress bars, a Canvas bar chart, a recent activity table and links.
editor command
Command editor is a code editor: a file tree, closable tabs, a StyledText with highlighted code in the monospace font, line numbers and a status bar.
Command editor is a code editor: a file tree, closable tabs, a StyledText with highlighted code in the monospace font, line numbers and a status bar.
files command
Command files is a file browser: a folder tree in the sidebar, a table with icons, sizes and dates, a path bar, sorting and a search field.
Command files is a file browser: a folder tree in the sidebar, a table with icons, sizes and dates, a path bar, sorting and a search field.
internal/kit
Package kit holds the small pieces the look-check apps share: fixed colours, round round avatars, pill badges and coloured dots.
Package kit holds the small pieces the look-check apps share: fixed colours, round round avatars, pill badges and coloured dots.
mail command
Command mail is a three-pane mail client: mailboxes in a sidebar, a message list with unread dots and dates, a reader and a toolbar.
Command mail is a three-pane mail client: mailboxes in a sidebar, a message list with unread dots and dates, a reader and a toolbar.
monitor command
Command monitor shows the load of the machine it runs on: CPU, per-core load, memory, network and the busiest processes.
Command monitor shows the load of the machine it runs on: CPU, per-core load, memory, network and the busiest processes.
monitor/sampler
Package sampler reads the load of the host it runs on: CPU per core, memory, network rates and the process list.
Package sampler reads the load of the host it runs on: CPU per core, memory, network rates and the process list.
settings command
Command settings is a System Settings style window: category sidebar, grouped sections of form rows with Text, Combo, Switch, Check, Radio, Slider and Spinner, and primary and destructive buttons.
Command settings is a System Settings style window: category sidebar, grouped sections of form rows with Text, Combo, Switch, Check, Radio, Slider and Spinner, and primary and destructive buttons.
tracker command
Command tracker is an issue tracker: a filter bar, tabs, a table of issues with status dots and an inspector panel with the selected issue.
Command tracker is an issue tracker: a filter bar, tabs, a table of issues with status dots and an inspector panel with the selected issue.
Command boundary shows errors in place: a Boundary replaces the widgets inside it with a fallback when they fail to build or when their bindings panic after a state change.
Command boundary shows errors in place: a Boundary replaces the widgets inside it with a fallback when they fail to build or when their bindings panic after a state change.
Command browser uses SWT's Browser widget (package browser) inside a gowt window.
Command browser uses SWT's Browser widget (package browser) inside a gowt window.
Command catalog shows one sample of every facade widget.
Command catalog shows one sample of every facade widget.
Command clipboard copies a field's text to the system clipboard and pastes it back.
Command clipboard copies a field's text to the system clipboard and pastes it back.
Hand-written glue for the translated ControlExample (tooling/j2go/manual.txt, README "Round 10 controlexample").
Hand-written glue for the translated ControlExample (tooling/j2go/manual.txt, README "Round 10 controlexample").
res
Package res embeds the ControlExample resources.
Package res embeds the ControlExample resources.
Command dialogs shows a menu bar, a context menu, a tool bar and the modal dialogs.
Command dialogs shows a menu bar, a context menu, a tool bar and the modal dialogs.
Command dnd drags a label's text onto a drop zone and accepts files dropped from a file manager.
Command dnd drags a label's text onto a drop zone and accepts files dropped from a file manager.
Command events shows callbacks, the UI thread rule and background work reporting back.
Command events shows callbacks, the UI thread rule and background work reporting back.
Command gfxcanvas puts a gfx scene in a window: two cards you can drag, pan with the trackpad or wheel, pinch to zoom.
Command gfxcanvas puts a gfx scene in a window: two cards you can drag, pan with the trackpad or wheel, pinch to zoom.
Command gfxeditor is the core of a mind-map editor on gfx: auto-layout of a topic tree, hit-testing, a selection outline and a remote cursor on the overlay, animations, dragging a topic and editing its title in place (double-click).
Command gfxeditor is the core of a mind-map editor on gfx: auto-layout of a topic tree, hit-testing, a selection outline and a remote cursor on the overlay, animations, dragging a topic and editing its title in place (double-click).
Command gfxpng renders a scene to hello.png without a window, on macOS, Linux and Windows.
Command gfxpng renders a scene to hello.png without a window, on macOS, Linux and Windows.
Command graphics draws on a Canvas and shows an Image built in memory.
Command graphics draws on a Canvas and shows an Image built in memory.
Command hello is the smallest gowt program: one window, a label and a button.
Command hello is the smallest gowt program: one window, a label and a button.
Command icons puts named system icons on buttons and tints them again when the theme changes.
Command icons puts named system icons on buttons and tints them again when the theme changes.
Command jface builds one window from gowt containers and JFace factories: the grid layout and the label, text field and button come from package jface, the status line is a gowt widget.
Command jface builds one window from gowt containers and JFace factories: the grid layout and the label, text field and button come from package jface, the status line is a gowt widget.
Command layouts shows the layouts: VBox and HBox, Grid, Flow, Form and Pages.
Command layouts shows the layouts: VBox and HBox, Grid, Flow, Form and Pages.
Command materialpanel puts a code panel under a diagram canvas as the bottom panel of a sidebar window (look.SetBottomPanel): on macOS 26 its glass and the canvas colour run on under the floating sidebar, and its StyledText paints no background of its own.
Command materialpanel puts a code panel under a diagram canvas as the bottom panel of a sidebar window (look.SetBottomPanel): on macOS 26 its glass and the canvas colour run on under the floating sidebar, and its StyledText paints no background of its own.
Command openfiles lists the files the system asks it to open: Finder, Explorer or a file manager (double click, Open With), command-line arguments, and a second launch handed to the running one.
Command openfiles lists the files the system asks it to open: Finder, Explorer or a file manager (double click, Open With), command-line arguments, and a second launch handed to the running one.
Command print prints a small gfx scene through the system print dialog and exports it as PDF.
Command print prints a small gfx scene through the system print dialog and exports it as PDF.
Command qa is a greeter written to be tested through the QA driver: see qa_test.go and README.md.
Command qa is a greeter written to be tested through the QA driver: see qa_test.go and README.md.
Command quit shows a document window that asks "Save changes?" on every way of quitting: its close button, Cmd+Q, the Dock, logout and shutdown.
Command quit shows a document window that asks "Save changes?" on every way of quitting: its close button, Cmd+Q, the Dock, logout and shutdown.
Command rows shows a table and a tree whose rows follow rx state: each tick changes a few elements, adds or drops one, and only those rows are touched; selection and expansion stay.
Command rows shows a table and a tree whose rows follow rx state: each tick changes a few elements, adds or drops one, and only those rows are touched; selection and expansion stay.
Command sidebartable shows a List and a row-with-icon list side by side in a look.SetSidebar sidebar.
Command sidebartable shows a List and a row-with-icon list side by side in a look.SetSidebar sidebar.
Command styledtext highlights words in an editor.
Command styledtext highlights words in an editor.
Command swtdirect drops from the facade to package swt for what the facade does not wrap: Unwrap gives the swt object of a widget, AsComposite the parent for a raw swt widget.
Command swtdirect drops from the facade to package swt for what the facade does not wrap: Unwrap gives the swt object of a widget, AsComposite the parent for a raw swt widget.
Command theme follows the system light/dark setting and tries the platform look options of package look.
Command theme follows the system light/dark setting and tries the platform look options of package look.
Command webview puts the system web view beside native widgets: a page served from Go over a custom scheme, a script run from a button, and messages from the page into a Label.
Command webview puts the system web view beside native widgets: a page served from Go over a custom scheme, a script run from a button, and messages from the page into a Label.
Command widgets shows the common widgets: text fields, buttons, lists, a table, a tree and ranges.
Command widgets shows the common widgets: text fields, buttons, lists, a table, a tree and ranges.

Jump to

Keyboard shortcuts

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