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. |
|
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 控件与功能展厅,使用 ui 与 widgets/ui 的公开接口。
|
GOUI 控件与功能展厅,使用 ui 与 widgets/ui 的公开接口。 |
|
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 样式展示。
|
Modern 样式展示。 |
|
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. |
|
textedit
Package textedit provides plain-text documents, edit history, preedit projections, paragraph height indexes and Cluster-based editing geometry.
|
Package textedit provides plain-text documents, edit history, preedit projections, paragraph height indexes and Cluster-based editing geometry. |
|
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
|
|
|
identity
Package identity provides reference checks for declarative adapters.
|
Package identity provides reference checks for declarative adapters. |
|
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/workarea
Package workarea contains geometry shared by native desktop observations.
|
Package workarea contains geometry shared by native desktop observations. |
|
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/gui/animation
command
帧信号与数值动画窗口验收。
|
帧信号与数值动画窗口验收。 |
|
window/gui/border_box
command
BorderBox 自绘窗口边框验收,不使用 DevServer。
|
BorderBox 自绘窗口边框验收,不使用 DevServer。 |
|
window/gui/dev
command
DevServer 引用、文本及 Popover 窗口验证。
|
DevServer 引用、文本及 Popover 窗口验证。 |
|
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/file_access
command
文件访问凭据验收,使用公开 GUI 接口,不依赖 DevServer。
|
文件访问凭据验收,使用公开 GUI 接口,不依赖 DevServer。 |
|
window/gui/integrated_layout
command
Linux Integrated 四边布局避让验证。
|
Linux Integrated 四边布局避让验证。 |
|
window/gui/interactions
command
上下文菜单、公开树行组合、拖放观察与自动滚动的原生窗口验收。
|
上下文菜单、公开树行组合、拖放观察与自动滚动的原生窗口验收。 |
|
window/gui/menu_pointer
command
Menu pointer/keyboard highlight regression.
|
Menu pointer/keyboard highlight regression. |
|
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/textplaceholder
command
TextInput/TextView 占位提示窗口验证。
|
TextInput/TextView 占位提示窗口验证。 |
|
window/gui/textview
command
TextView 窗口验证(C 切片,逐项记录实际通过与未执行的场景)。
|
TextView 窗口验证(C 切片,逐项记录实际通过与未执行的场景)。 |
|
window/platform/clipboard
command
原生剪贴板结果回归,必须显式运行,不由 go test 启动。
|
原生剪贴板结果回归,必须显式运行,不由 go test 启动。 |
|
window/platform/clipboard/owner
command
X11 剪贴板外部所有者,只在独立、可丢弃的 X server 中启动。
|
X11 剪贴板外部所有者,只在独立、可丢弃的 X server 中启动。 |
|
window/platform/keydefault
command
|
|
|
window/platform/message_reentry
command
Windows 消息绑定的 Go -> Win32 -> Go 重入回归,不使用 DevServer。
|
Windows 消息绑定的 Go -> Win32 -> Go 重入回归,不使用 DevServer。 |
|
window/platform/modifiers
command
左右修饰键原生事件回归。
|
左右修饰键原生事件回归。 |
|
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/dragdrop
command
声明式 Drag and Drop 窗口验证;不使用 DevServer。
|
声明式 Drag and Drop 窗口验证;不使用 DevServer。 |
|
window/ui/enabled
command
Widget 禁用、父子状态、焦点、文字输入与声明式恢复验收;不依赖 DevServer。
|
Widget 禁用、父子状态、焦点、文字输入与声明式恢复验收;不依赖 DevServer。 |
|
window/ui/icon
command
Icon 窗口验证:样式驱动的矢量/自定义绘制,通过 Software 生成并缓存位图,不使用 DevServer。
|
Icon 窗口验证:样式驱动的矢量/自定义绘制,通过 Software 生成并缓存位图,不使用 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/shortcuts
command
快捷键与键盘布局窗口验证。
|
快捷键与键盘布局窗口验证。 |
|
window/ui/svgicon
command
SVG Icon 窗口验证(不使用 DevServer)。
|
SVG Icon 窗口验证(不使用 DevServer)。 |
|
window/ui/textediting
command
UI 文本编辑窗口验证:共享多行模型、独立单行编辑和声明式重建。
|
UI 文本编辑窗口验证:共享多行模型、独立单行编辑和声明式重建。 |
|
window/ui/themes
command
默认 Basic 与可选 Modern 样式窗口验收,不依赖 DevServer。
|
默认 Basic 与可选 Modern 样式窗口验收,不依赖 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/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.