Directories
¶
| Path | Synopsis |
|---|---|
|
Package animation provides frame-driven value transitions.
|
Package animation provides frame-driven value transitions. |
|
cmd
|
|
|
goui
command
Command goui builds binaries and prepares platform application resources.
|
Command goui builds binaries and prepares platform application resources. |
|
goui-base
command
Command goui-base produces, verifies and consumes native support components.
|
Command goui-base produces, verifies and consumes native support components. |
|
goui-link
command
Command goui-link adapts Go external-link arguments to the embedded Go linker or a verified LLVM linker.
|
Command goui-link adapts Go external-link arguments to the embedded Go linker or a verified LLVM linker. |
|
goui/internal/androidres
Package androidres encodes the small Android resource set used by GOUI apps.
|
Package androidres encodes the small Android resource set used by GOUI apps. |
|
goui/internal/applecerts
Code generated by go generate; DO NOT EDIT.
|
Code generated by go generate; DO NOT EDIT. |
|
goui/internal/mobileassets
Package mobileassets contains the versioned native inputs embedded in goui.
|
Package mobileassets contains the versioned native inputs embedded in goui. |
|
svgpng
command
Command svgpng rasterizes SVG files into PNG files of several sizes with icon/svg, so the output matches what goui Icon renders.
|
Command svgpng rasterizes SVG files into PNG files of several sizes with icon/svg, so the output matches what goui Icon renders. |
|
core
|
|
|
bits
Package bits provides small, allocation-free bit-set helpers built on Go's fixed-width integer types.
|
Package bits provides small, allocation-free bit-set helpers built on Go's fixed-width integer types. |
|
colors
Package colors provides small, dependency-free helpers for working with image/color values: equality, and later standard color constants and hex parsing.
|
Package colors provides small, dependency-free helpers for working with image/color values: equality, and later standard color constants and hex parsing. |
|
optional
Package optional provides a small generic container that distinguishes "a value is present" from "no value", so a zero value (0, "", nil, ...) can be told apart from an unset one.
|
Package optional provides a small generic container that distinguishes "a value is present" from "no value", so a zero value (0, "", nil, ...) can be told apart from an unset one. |
|
example
|
|
|
demo
command
GOUI widget and feature gallery.
|
GOUI widget and feature gallery. |
|
demo/resource
Package resource contains display text and initial samples, not IDs or user edits.
|
Package resource contains display text and initial samples, not IDs or user edits. |
|
modern
command
Modern theme showcase.
|
Modern theme showcase. |
|
Package gui implements GOUI's imperative widget kernel.
|
Package gui implements GOUI's imperative widget kernel. |
|
dev
Package dev is GOUI's opt-in local development protocol server, for tools and AI agents that inspect snapshots, dispatch platform events and commit text.
|
Package dev is GOUI's opt-in local development protocol server, for tools and AI agents that inspect snapshots, dispatch platform events and commit text. |
|
diagnostics
Package diagnostics provides optional GUI-thread CPU-frame and resource captures.
|
Package diagnostics provides optional GUI-thread CPU-frame and resource captures. |
|
textedit
Package textedit provides plain-text documents, edit history, preedit projections, measured fragments, paragraph height indexes and Cluster-based editing geometry.
|
Package textedit provides plain-text documents, edit history, preedit projections, measured fragments, paragraph height indexes and Cluster-based editing geometry. |
|
textformat
Package textformat parses Label text into plain UTF-8 text and named style ranges.
|
Package textformat parses Label text into plain UTF-8 text and named style ranges. |
|
Package icon provides reusable implementations of gui.IconSource.
|
Package icon provides reusable implementations of gui.IconSource. |
|
draw
Package draw adapts offscreen Software drawing to gui.IconSource.
|
Package draw adapts offscreen Software drawing to gui.IconSource. |
|
svg
Package svg supplies static SVG implementations of gui.IconSource.
|
Package svg supplies static SVG implementations of gui.IconSource. |
|
internal
|
|
|
diagnostic
Package diagnostic contains opt-in operation counters shared by the GUI and native backends.
|
Package diagnostic contains opt-in operation counters shared by the GUI and native backends. |
|
identity
Package identity provides reference checks for declarative adapters.
|
Package identity provides reference checks for declarative adapters. |
|
nativegen
Package nativegen writes maintainer-only native sources embedded in Go generators.
|
Package nativegen writes maintainer-only native sources embedded in Go generators. |
|
resource
Package resource contains framework-owned presentation text, not application content, stable semantic identifiers, diagnostics or native system dialogs.
|
Package resource contains framework-owned presentation text, not application content, stable semantic identifiers, diagnostics or native system dialogs. |
|
Package mlang provides language-aware text resources independent of GUI widgets.
|
Package mlang provides language-aware text resources independent of GUI widgets. |
|
Package platform provides low-level bindings for windows, event loops, graphics, typography, and other operating-system services.
|
Package platform provides low-level bindings for windows, event loops, graphics, typography, and other operating-system services. |
|
dragdrop
Package dragdrop contains the portable facts exchanged by native drag and drop backends.
|
Package dragdrop contains the portable facts exchanged by native drag and drop backends. |
|
graphics/internal/boxshadow
Package boxshadow contains the backend-independent geometry and opacity semantics for graphics.BoxShadow.
|
Package boxshadow contains the backend-independent geometry and opacity semantics for graphics.BoxShadow. |
|
graphics/internal/offscreen
Package offscreen holds the common allocation contract for image rendering.
|
Package offscreen holds the common allocation contract for image rendering. |
|
graphics/internal/pixelsnap
Package pixelsnap aligns axis-aligned UI primitives to the device pixel grid.
|
Package pixelsnap aligns axis-aligned UI primitives to the device pixel grid. |
|
graphics/test
command
|
|
|
internal/desktopopen
Package desktopopen contains shared input rules for desktop open requests.
|
Package desktopopen contains shared input rules for desktop open requests. |
|
internal/fileaccess
Package fileaccess implements desktop path access and private credential encoding shared by native dialog backends.
|
Package fileaccess implements desktop path access and private credential encoding shared by native dialog backends. |
|
internal/mobileentry
Package mobileentry coordinates native entry and the application Go thread.
|
Package mobileentry coordinates native entry and the application Go thread. |
|
internal/workarea
Package workarea contains geometry shared by native desktop observations.
|
Package workarea contains geometry shared by native desktop observations. |
|
internal/xerrors
Package xerrors scopes expected X errors to requests on the owning thread.
|
Package xerrors scopes expected X errors to requests on the owning thread. |
|
linux/internal/portal
Package portal implements Linux desktop portal requests without a GUI event loop.
|
Package portal implements Linux desktop portal requests without a GUI event loop. |
|
mobile
Package mobile contains application registration used by mobile build tools.
|
Package mobile contains application registration used by mobile build tools. |
|
mobile/base
Package base manages versioned native support inputs for Go builds.
|
Package base manages versioned native support inputs for Go builds. |
|
typography/internal/typographytest
Package typographytest contains shared native typography test fixtures.
|
Package typographytest contains shared native typography test fixtures. |
|
tests
|
|
|
window/graphics/alpha
command
预乘颜色窗口验证
|
预乘颜色窗口验证 |
|
window/graphics/clear_path
command
ClearPath 原生绘制与透明提交验收。
|
ClearPath 原生绘制与透明提交验收。 |
|
window/graphics/corner_radius
command
独立四角、透明环带和盒形阴影的三后端验收。
|
独立四角、透明环带和盒形阴影的三后端验收。 |
|
window/graphics/image_update
command
Image.Update 帧内时序及原生像素验收。
|
Image.Update 帧内时序及原生像素验收。 |
|
window/gui/animation
command
帧信号与数值动画窗口验收。
|
帧信号与数值动画窗口验收。 |
|
window/gui/border_box
command
BorderBox 自绘窗口边框验收,不使用 DevServer。
|
BorderBox 自绘窗口边框验收,不使用 DevServer。 |
|
window/gui/border_sides
command
可选择边框的跨后端桌面验收。
|
可选择边框的跨后端桌面验收。 |
|
window/gui/button_groups
command
按钮分组窗口验收,需要真实桌面、系统字体和绘图后端,不使用 DevServer。
|
按钮分组窗口验收,需要真实桌面、系统字体和绘图后端,不使用 DevServer。 |
|
window/gui/commands
command
Command、菜单实时状态与快捷键列的窗口验证。
|
Command、菜单实时状态与快捷键列的窗口验证。 |
|
window/gui/corner_radius
command
四角样式消费者的桌面验收。
|
四角样式消费者的桌面验收。 |
|
window/gui/dev
command
DevServer 引用、文本及 Popover 窗口验证。
|
DevServer 引用、文本及 Popover 窗口验证。 |
|
window/gui/diagnostics
command
可选绘制/资源诊断验证;诊断自身不依赖 DevServer。
|
可选绘制/资源诊断验证;诊断自身不依赖 DevServer。 |
|
window/gui/drag_handoff
command
栏内拖动交给原生 DnD 的独立窗口验证;不使用 DevServer。
|
栏内拖动交给原生 DnD 的独立窗口验证;不使用 DevServer。 |
|
window/gui/dragdrop
command
GUI Drag and Drop 窗口验证;不使用 DevServer。
|
GUI Drag and Drop 窗口验证;不使用 DevServer。 |
|
window/gui/drawable
command
非显示区域绘制与续帧验证。
|
非显示区域绘制与续帧验证。 |
|
window/gui/file_access
command
文件访问凭据验收,使用公开 GUI 接口,不依赖 DevServer。
|
文件访问凭据验收,使用公开 GUI 接口,不依赖 DevServer。 |
|
window/gui/file_dialog
command
原生文件对话框的窗口模态、事件循环及 owner 生命周期验收;不使用 DevServer。
|
原生文件对话框的窗口模态、事件循环及 owner 生命周期验收;不使用 DevServer。 |
|
window/gui/integrated_layout
command
Linux Integrated 完整内容与独立缩放边缘验证。
|
Linux Integrated 完整内容与独立缩放边缘验证。 |
|
window/gui/interactions
command
上下文菜单、公开树行组合、拖放观察与自动滚动的原生窗口验收。
|
上下文菜单、公开树行组合、拖放观察与自动滚动的原生窗口验收。 |
|
window/gui/label
command
Label 格式化文本窗口验收,不依赖 DevServer。
|
Label 格式化文本窗口验收,不依赖 DevServer。 |
|
window/gui/label_cache
command
Label 排版与文字图片复用回归。
|
Label 排版与文字图片复用回归。 |
|
window/gui/menu_group
command
MenuButtonGroup 与非模态菜单的窗口回归,需要真实桌面、字体及原生绘图后端。
|
MenuButtonGroup 与非模态菜单的窗口回归,需要真实桌面、字体及原生绘图后端。 |
|
window/gui/menu_pointer
command
菜单统一活动项、离开清理与键盘接管的窗口回归。
|
菜单统一活动项、离开清理与键盘接管的窗口回归。 |
|
window/gui/modal
command
通用 ModalScope 桌面验收,不使用 DevServer。
|
通用 ModalScope 桌面验收,不使用 DevServer。 |
|
window/gui/popup_sizing
command
弹窗物理尺寸对齐回归。
|
弹窗物理尺寸对齐回归。 |
|
window/gui/render_widget
command
RenderWidget 窗口验证;不使用 DevServer。
|
RenderWidget 窗口验证;不使用 DevServer。 |
|
window/gui/scroll_layout
command
ScrollView 方向与布局窗口验收。
|
ScrollView 方向与布局窗口验收。 |
|
window/gui/tab_navigation
command
Tab 焦点导航与 FocusVisible 窗口验证,不使用 DevServer。
|
Tab 焦点导航与 FocusVisible 窗口验证,不使用 DevServer。 |
|
window/gui/taskbar
command
SkipTaskbar 窗口验收,不使用 DevServer。
|
SkipTaskbar 窗口验收,不使用 DevServer。 |
|
window/gui/text_caret
command
超长行补充:加 -file /outside/repo/long.json -width 800,验证只读文件的冷 End 后直接正向拖选。
|
超长行补充:加 -file /outside/repo/long.json -width 800,验证只读文件的冷 End 后直接正向拖选。 |
|
window/gui/text_sizing
command
文本尺寸及单行正文像素回归。
|
文本尺寸及单行正文像素回归。 |
|
window/gui/textinput
command
单行遮蔽与两类编辑控件的输入策略验证,不使用 DevServer。
|
单行遮蔽与两类编辑控件的输入策略验证,不使用 DevServer。 |
|
window/gui/textplaceholder
command
TextInput/TextView 占位提示窗口验证。
|
TextInput/TextView 占位提示窗口验证。 |
|
window/gui/textview
command
TextView 窗口验证,逐项记录通过、失败与未执行的场景。
|
TextView 窗口验证,逐项记录通过、失败与未执行的场景。 |
|
window/gui/tooltip
command
Tooltip 窗口验证,需要真实桌面、窗口管理器、字体及原生排版。
|
Tooltip 窗口验证,需要真实桌面、窗口管理器、字体及原生排版。 |
|
window/gui/widget_state
command
Widget 组合状态、Box 样式与外部自定义 Widget 验收,不使用 DevServer。
|
Widget 组合状态、Box 样式与外部自定义 Widget 验收,不使用 DevServer。 |
|
window/gui/window_lifecycle
command
原生宿主终止与初始居中降级验收,不使用 DevServer。
|
原生宿主终止与初始居中降级验收,不使用 DevServer。 |
|
window/gui/window_min_size
command
显式窗口最小尺寸与内容布局隔离验证,不使用 DevServer。
|
显式窗口最小尺寸与内容布局隔离验证,不使用 DevServer。 |
|
window/gui/window_position
command
窗口客户区定位验收,不使用 DevServer。
|
窗口客户区定位验收,不使用 DevServer。 |
|
window/gui/window_show
command
Window.Show 窗口唤起验收,不使用 DevServer。
|
Window.Show 窗口唤起验收,不使用 DevServer。 |
|
window/platform/android_gui
command
|
|
|
window/platform/android_text
command
|
|
|
window/platform/clipboard
command
原生剪贴板结果回归,必须显式运行,不由 go test 启动。
|
原生剪贴板结果回归,必须显式运行,不由 go test 启动。 |
|
window/platform/clipboard/owner
command
X11 剪贴板外部所有者,只在独立、可丢弃的 X server 中启动。
|
X11 剪贴板外部所有者,只在独立、可丢弃的 X server 中启动。 |
|
window/platform/ffi_events
command
Xlib FFI pointer regression.
|
Xlib FFI pointer regression. |
|
window/platform/input_trace
command
三平台原生输入与 GOUI 事件对照记录;不使用 DevServer。
|
三平台原生输入与 GOUI 事件对照记录;不使用 DevServer。 |
|
window/platform/keydefault
command
|
|
|
window/platform/message_reentry
command
Windows 消息绑定的 Go -> Win32 -> Go 重入回归,不使用 DevServer。
|
Windows 消息绑定的 Go -> Win32 -> Go 重入回归,不使用 DevServer。 |
|
window/platform/mobile_build
command
移动端验收维护工具,不属于面向应用开发者的打包接口。
|
移动端验收维护工具,不属于面向应用开发者的打包接口。 |
|
window/platform/mobile_paint
command
|
|
|
window/platform/mobile_start
command
|
|
|
window/platform/mobile_std
command
Go 官方标准库移动验收工程生成器,不依赖桌面。
|
Go 官方标准库移动验收工程生成器,不依赖桌面。 |
|
window/platform/mobile_surface
command
|
|
|
window/platform/modifiers
command
左右修饰键原生事件回归。
|
左右修饰键原生事件回归。 |
|
window/platform/repaint
command
Native repaint invalidation regression; requires an interactive desktop.
|
Native repaint invalidation regression; requires an interactive desktop. |
|
window/platform/window_chrome
command
Windows Native/Integrated/None 客户区尺寸与顶部圆角验证。
|
Windows Native/Integrated/None 客户区尺寸与顶部圆角验证。 |
|
window/platform/window_position
command
macOS 普通窗口默认位置验收,不使用 DevServer。
|
macOS 普通窗口默认位置验收,不使用 DevServer。 |
|
window/tools/packaging
command
构建资源与应用打包的真实桌面验收,不依赖 DevServer。
|
构建资源与应用打包的真实桌面验收,不依赖 DevServer。 |
|
window/ui/animation
command
声明式动画窗口验收。
|
声明式动画窗口验收。 |
|
window/ui/binding
command
声明式自动读取追踪、局部更新与属性绑定窗口验收,不依赖 DevServer。
|
声明式自动读取追踪、局部更新与属性绑定窗口验收,不依赖 DevServer。 |
|
window/ui/clear_path
command
自定义圆角窗口、Root.AfterPaint 与 UI 重建验收。
|
自定义圆角窗口、Root.AfterPaint 与 UI 重建验收。 |
|
window/ui/commands
command
声明式 CommandGroup、菜单与快捷键的窗口验证。
|
声明式 CommandGroup、菜单与快捷键的窗口验证。 |
|
window/ui/composition
command
组合节点与普通对象的真实窗口验证,不依赖 DevServer。
|
组合节点与普通对象的真实窗口验证,不依赖 DevServer。 |
|
window/ui/dragdrop
command
声明式 Drag and Drop 窗口验证;不使用 DevServer。
|
声明式 Drag and Drop 窗口验证;不使用 DevServer。 |
|
window/ui/drawing_area
command
DrawingArea 软件绘图、缓存和 UI 协调窗口验收;需要真实桌面及字体,不使用 DevServer。
|
DrawingArea 软件绘图、缓存和 UI 协调窗口验收;需要真实桌面及字体,不使用 DevServer。 |
|
window/ui/enabled
command
Widget 禁用、父子状态、焦点、文字输入与声明式恢复验收;不依赖 DevServer。
|
Widget 禁用、父子状态、焦点、文字输入与声明式恢复验收;不依赖 DevServer。 |
|
window/ui/icon
command
Icon 窗口验证:样式驱动的矢量/自定义绘制,通过 Software 生成并缓存位图,不使用 DevServer。
|
Icon 窗口验证:样式驱动的矢量/自定义绘制,通过 Software 生成并缓存位图,不使用 DevServer。 |
|
window/ui/label
command
声明式 Label 格式化窗口验收,不使用 DevServer。
|
声明式 Label 格式化窗口验收,不使用 DevServer。 |
|
window/ui/label_selection
command
Label 可选择文本与声明式选区绑定验收,不使用 DevServer。
|
Label 可选择文本与声明式选区绑定验收,不使用 DevServer。 |
|
window/ui/mlang
command
多语言资源、命令式翻译与声明式自动协调验收;不依赖 DevServer。
|
多语言资源、命令式翻译与声明式自动协调验收;不依赖 DevServer。 |
|
window/ui/mlang/resource
Package resource is this example's text and prepared icon bundle.
|
Package resource is this example's text and prepared icon bundle. |
|
window/ui/modal
command
OverlayItem.Modal 声明式窗口验收,不使用 DevServer。
|
OverlayItem.Modal 声明式窗口验收,不使用 DevServer。 |
|
window/ui/modifiers
command
任意 View 通用修饰的窗口验收,不依赖 DevServer。
|
任意 View 通用修饰的窗口验收,不依赖 DevServer。 |
|
window/ui/pixel_snap
command
平直边缘与窗口关闭图标的像素对齐回归,不使用 DevServer。
|
平直边缘与窗口关闭图标的像素对齐回归,不使用 DevServer。 |
|
window/ui/shortcuts
command
快捷键与键盘布局窗口验证。
|
快捷键与键盘布局窗口验证。 |
|
window/ui/svgicon
command
SVG Icon 窗口验证(不使用 DevServer)。
|
SVG Icon 窗口验证(不使用 DevServer)。 |
|
window/ui/textediting
command
UI 文本编辑窗口验证:共享多行模型、独立单行编辑和声明式重建。
|
UI 文本编辑窗口验证:共享多行模型、独立单行编辑和声明式重建。 |
|
window/ui/textinput_obscure
command
密码末字素短暂显露与声明式重建验收,不使用 DevServer。
|
密码末字素短暂显露与声明式重建验收,不使用 DevServer。 |
|
window/ui/themes
command
默认 Basic 与可选 Modern 样式窗口验收,不依赖 DevServer。
|
默认 Basic 与可选 Modern 样式窗口验收,不依赖 DevServer。 |
|
window/ui/timer
command
UI Timer 原生事件循环验收,不使用 DevServer。
|
UI Timer 原生事件循环验收,不使用 DevServer。 |
|
window/ui/tooltip
command
声明式 Tooltip 手工验收,不依赖 DevServer,不自动模拟输入。
|
声明式 Tooltip 手工验收,不依赖 DevServer,不自动模拟输入。 |
|
window/ui/window_center
command
窗口初始居中与声明式创建选项验收,不使用 DevServer。
|
窗口初始居中与声明式创建选项验收,不使用 DevServer。 |
|
window/ui/wrap
command
WrapBox 桌面验证(无 DevServer 依赖)。
|
WrapBox 桌面验证(无 DevServer 依赖)。 |
|
window/widgets/check_button
command
CheckButton 三态、互斥组、按钮式外观与声明协调窗口验收,不依赖 DevServer。
|
CheckButton 三态、互斥组、按钮式外观与声明协调窗口验收,不依赖 DevServer。 |
|
window/widgets/dialog_toast
command
Dialog / Toast 及声明绑定桌面验收,不使用 DevServer。
|
Dialog / Toast 及声明绑定桌面验收,不使用 DevServer。 |
|
window/widgets/drop_down
command
DropDown 原生浮窗、真实内容、键鼠选择和声明式协调验收,不依赖 DevServer。
|
DropDown 原生浮窗、真实内容、键鼠选择和声明式协调验收,不依赖 DevServer。 |
|
window/widgets/progress_bar
command
ProgressBar 命令式窗口验收,不依赖 DevServer。
|
ProgressBar 命令式窗口验收,不依赖 DevServer。 |
|
window/widgets/split_view
command
SplitView 两区/嵌套布局与输入验收,不使用 DevServer。
|
SplitView 两区/嵌套布局与输入验收,不使用 DevServer。 |
|
window/widgets/switch
command
Switch 两态、点击/拖动、短动画及声明协调窗口验收,不依赖 DevServer。
|
Switch 两态、点击/拖动、短动画及声明协调窗口验收,不依赖 DevServer。 |
|
window/widgets/tab_detach
command
TabView 拖出创建新窗口验收,不使用 DevServer。
|
TabView 拖出创建新窗口验收,不使用 DevServer。 |
|
window/widgets/tab_transfer
command
TabView 跨窗口页面移交验收,不使用 DevServer。
|
TabView 跨窗口页面移交验收,不使用 DevServer。 |
|
window/widgets/table
command
TableView 多列记录、虚拟化、声明协调与现代外观验收,不使用 DevServer。
|
TableView 多列记录、虚拟化、声明协调与现代外观验收,不使用 DevServer。 |
|
window/widgets/tabs
command
TabBar/TabView 基础交互与外观窗口验证,不使用 DevServer。
|
TabBar/TabView 基础交互与外观窗口验证,不使用 DevServer。 |
|
window/widgets/tree_view
command
TreeView 模型、虚拟化、键盘交互和声明绑定验收,不使用 DevServer。
|
TreeView 模型、虚拟化、键盘交互和声明绑定验收,不使用 DevServer。 |
|
window/widgets/ui_progress_bar
command
ProgressBar 声明式窗口验收,不依赖 DevServer。
|
ProgressBar 声明式窗口验收,不依赖 DevServer。 |
|
window/widgets/ui_tab_transfer
command
UI TabView 跨窗口子树移交验收,不使用 DevServer。
|
UI TabView 跨窗口子树移交验收,不使用 DevServer。 |
|
theme
|
|
|
basic
Package basic provides the fallback appearance for GOUI widgets.
|
Package basic provides the fallback appearance for GOUI widgets. |
|
modern
Package modern builds an explicitly enabled, platform-independent stylesheet.
|
Package modern builds an explicitly enabled, platform-independent stylesheet. |
|
Package ui implements GOUI's declarative view layer.
|
Package ui implements GOUI's declarative view layer. |
|
Package widgets contains composite controls built on the gui Widget kernel.
|
Package widgets contains composite controls built on the gui Widget kernel. |
|
style
Package style preserves the legacy widget fallback rule entry point.
|
Package style preserves the legacy widget fallback rule entry point. |
|
ui
Package ui adapts composite widgets to GOUI's declarative View layer.
|
Package ui adapts composite widgets to GOUI's declarative View layer. |
Click to show internal directories.
Click to hide internal directories.