Documentation ¶
Rendered for windows/amd64
Overview ¶
Package windows windows 平台实现
Index ¶
Constants ¶
View Source
const ( WSOverlapped Style = 0x00000000 WSMaximizeBox = 0x00010000 WSThickFrame = 0x00040000 WSCaption = 0x00C00000 WSSysMenu = 0x00080000 WSMinimizeBox = 0x00020000 WSOverlappedWindow = (WSOverlapped | WSCaption | WSSysMenu | WSThickFrame | WSMinimizeBox | WSMaximizeBox) )
窗口样式定义,可参考官方文档
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct { // Debug 调试模式 Debug bool // DataPath 指定 webview 的数据路径 DataPath string // AutoFocus 当窗口获得焦点时组件自动获取焦点 AutoFocus bool // Title 标题 Title string // Position 初始位置 Position webview.Point // Size 初始大小 Size webview.Size // Style 窗口样式 Style Style // Error 错误日志输出 // // 部分非致命的错误经由此输出,如果为空,则采用 log.Default() 。 Error *log.Logger }
Options 初始 webview 的选项
Click to show internal directories.
Click to hide internal directories.