MCPcopy Index your code
hub / github.com/lxn/walk / Bounds

Method Bounds

widget.go:181–183  ·  view source on GitHub ↗

Bounds returns the outer bounding box rectangle of the WidgetBase, including decorations. The coordinates are relative to the parent of the Widget.

()

Source from the content-addressed store, hash-verified

179//
180// The coordinates are relative to the parent of the Widget.
181func (wb *WidgetBase) Bounds() Rectangle {
182 return wb.RectangleTo96DPI(wb.BoundsPixels())
183}
184
185// BoundsPixels returns the outer bounding box rectangle of the WidgetBase, including
186// decorations.

Callers

nothing calls this directly

Calls 2

BoundsPixelsMethod · 0.95
RectangleTo96DPIMethod · 0.80

Tested by

no test coverage detected