const (
// WindowTitled is the standard titled window with traffic lights.
WindowTitled WindowMode = iota
// WindowFrameless hides all window chrome including traffic lights.
WindowFrameless
// WindowCustomTitlebar keeps traffic lights but extends content full
// height behind a transparent titlebar. The window is moved from the move
// regions the page declares (ui.Canvas.MoveRegion, flex Box.MovesWindow),
// and from nowhere else.
WindowCustomTitlebar
// WindowPanel is a transient popup beside a status item: no chrome, above
// other windows, taking keyboard focus without bringing the rest of the
// application forward. Set Config.Anchor to the StatusClick's anchor. It
// closes itself when it loses focus; OnClosed reports that, and OnCloseRequest
// is not asked.
WindowPanel
)类型 WindowMode
API 文档由 Go 源码生成,内容为英文。
type WindowMode uint8WindowMode selects native window chrome.