Directories
¶
| Path | Synopsis |
|---|---|
|
Package appearance is the look showcase: palettes, surfaces, glyphs and the components whose subject is how they are drawn, so a change that breaks an older look shows up where you can see it.
|
Package appearance is the look showcase: palettes, surfaces, glyphs and the components whose subject is how they are drawn, so a change that breaks an older look shows up where you can see it. |
|
form
Package form demonstrates pkg/form: a vertical form with Text, Password, Select, and Confirm fields.
|
Package form demonstrates pkg/form: a vertical form with Text, Password, Select, and Confirm fields. |
|
layouts
Package layouts demonstrates that pkg/layout can describe arbitrary compositions without the caller doing "m.h-2" math.
|
Package layouts demonstrates that pkg/layout can describe arbitrary compositions without the caller doing "m.h-2" math. |
|
look
Package look is the live look picker: moving a cursor redraws the whole app in that palette (app.SetPalette) or that surface (app.SetSurface) — line border, filled card, header band, drop shadow — and the glyph picker swaps the marks this screen draws with.
|
Package look is the live look picker: moving a cursor redraws the whole app in that palette (app.SetPalette) or that surface (app.SetSurface) — line border, filled card, header band, drop shadow — and the glyph picker swaps the marks this screen draws with. |
|
pane
Package pane demonstrates pane border styles, title positions, and slot-bracket variants in a single screen.
|
Package pane demonstrates pane border styles, title positions, and slot-bracket variants in a single screen. |
|
textview
Package textview demonstrates pkg/textview: a read-only viewer for static text content with search, wrap toggle, and vim-style navigation.
|
Package textview demonstrates pkg/textview: a read-only viewer for static text content with search, wrap toggle, and vim-style navigation. |
|
Launcher: the single entry point for tuilib's examples.
|
Launcher: the single entry point for tuilib's examples. |
|
Package liveops is the live-data showcase: everything that changes while you watch, on one screen, so a change that breaks an older feature shows up where you can see it.
|
Package liveops is the live-data showcase: everything that changes while you watch, on one screen, so a change that breaks an older feature shows up where you can see it. |
|
Package navigation is the navigation showcase: how an app moves between screens, from one home, so a change that breaks an older feature shows up where you can see it.
|
Package navigation is the navigation showcase: how an app moves between screens, from one home, so a change that breaks an older feature shows up where you can see it. |
|
drilldown
Package drilldown demonstrates a master-detail screen with async fetches at both levels, plus a third level via push:
|
Package drilldown demonstrates a master-detail screen with async fetches at both levels, plus a third level via push: |
|
prescreen
Package prescreen demonstrates pushing a screen *in front of* another one on first activation, and taking a result back when it pops — the shape behind "log in before you can use this", "pick a workspace first", or "re-authenticate, that token expired".
|
Package prescreen demonstrates pushing a screen *in front of* another one on first activation, and taking a result back when it pops — the shape behind "log in before you can use this", "pick a workspace first", or "re-authenticate, that token expired". |
|
stack
Package stack demonstrates a screen stack: how screens are pushed and popped, how data flows between them, and how a screen replaces itself.
|
Package stack demonstrates a screen stack: how screens are pushed and popped, how data flows between them, and how a screen replaces itself. |
|
tabs
Package tabs demonstrates pkg/tab as the layout primitive of a host screen.
|
Package tabs demonstrates pkg/tab as the layout primitive of a host screen. |
|
Package processes is the subprocess showcase: running commands, streaming their output, handing the terminal over, and the app-wide console that keeps everything said — on one screen, so a change that breaks an older feature shows up where you can see it.
|
Package processes is the subprocess showcase: running commands, streaming their output, handing the terminal over, and the app-wide console that keeps everything said — on one screen, so a change that breaks an older feature shows up where you can see it. |
|
Command quickstart is the program the documentation's quick start builds: a filterable list of cities that opens a detail screen for the one you pick, running under the app shell.
|
Command quickstart is the program the documentation's quick start builds: a filterable list of cities that opens a detail screen for the one you pick, running under the app shell. |
|
Package remotedata is the remote-data showcase: data too large for one request, one tab per shape (rule 34), each read from demoapi over HTTP the way the real API is read.
|
Package remotedata is the remote-data showcase: data too large for one request, one tab per shape (rule 34), each read from demoapi over HTTP the way the real API is read. |
|
anchored
Package anchored demonstrates pkg/eventlog over Anchored data: a log index read the way Elasticsearch (behind ECK) is read past its first 10,000 hits — with search_after, over HTTP, against demoapi's POST /logs-app/_search.
|
Package anchored demonstrates pkg/eventlog over Anchored data: a log index read the way Elasticsearch (behind ECK) is read past its first 10,000 hits — with search_after, over HTTP, against demoapi's POST /logs-app/_search. |
|
events
Package events demonstrates pkg/eventlog over Seekable, Growing data: an AWX job's events, read over HTTP from demoapi's AWX-shaped endpoints (/api/v2/jobs/{id}/job_events/).
|
Package events demonstrates pkg/eventlog over Seekable, Growing data: an AWX job's events, read over HTTP from demoapi's AWX-shaped endpoints (/api/v2/jobs/{id}/job_events/). |
|
podlogs
Package podlogs demonstrates Streamed data: a pod's log, read the way the Kubernetes API offers it — a tail, then a follow, and nothing else.
|
Package podlogs demonstrates Streamed data: a pod's log, read the way the Kubernetes API offers it — a tail, then a follow, and nothing else. |
|
records
Package records demonstrates a table over a real paged HTTP API, bound with pkg/remote: the screen writes the HTTP call and nothing else.
|
Package records demonstrates a table over a real paged HTTP API, bound with pkg/remote: the screen writes the HTTP call and nothing else. |
|
Package workbench is the local-data showcase: every row component on one screen, cooperating, so a change that breaks an older feature shows up where you can see it.
|
Package workbench is the local-data showcase: every row component on one screen, cooperating, so a change that breaks an older feature shows up where you can see it. |
Click to show internal directories.
Click to hide internal directories.