MCPcopy Create free account
hub / github.com/lxn/walk / MaxSizePixels

Method MaxSizePixels

window.go:176–176  ·  view source on GitHub ↗

MaxSizePixels returns the maximum allowed outer size for the Window, including decorations. For child windows, this is only relevant when the parent of the Window has a Layout. RootWidgets, like *MainWindow and *Dialog, also honor this.

()

Source from the content-addressed store, hash-verified

174 // For child windows, this is only relevant when the parent of the Window
175 // has a Layout. RootWidgets, like *MainWindow and *Dialog, also honor this.
176 MaxSizePixels() Size
177
178 // MinSize returns the minimum allowed outer size for the Window, including
179 // decorations.

Callers 1

Implementers 1

WindowBasewindow.go

Calls

no outgoing calls

Tested by

no test coverage detected