MCPcopy Create free account
hub / github.com/cogentcore/core / WindowPos

Method WindowPos

events/event.go:76–76  ·  view source on GitHub ↗

WindowPos returns the original window-based position in raw display dots (pixels) where event took place.

()

Source from the content-addressed store, hash-verified

74 // WindowPos returns the original window-based position in raw display dots
75 // (pixels) where event took place.
76 WindowPos() image.Point
77
78 // SetLocalOff sets the offset subtracted from window-based positions
79 // to compute Local versions of positions, which are updated.

Callers 8

ContextMenuPosMethod · 0.65
ContextMenuPosMethod · 0.65
InitMethod · 0.65
popupHandleEventMethod · 0.65
handlePosEventMethod · 0.65
handleLongMethod · 0.65
dragStartMethod · 0.65
dragMoveMethod · 0.65

Implementers 2

Baseevents/base.go
_cogentcore_org_core_events_Eventyaegicore/symbols/cogentcore_org-core-

Calls

no outgoing calls

Tested by

no test coverage detected