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

Method Events

core/widgetevents.go:24–29  ·  view source on GitHub ↗

Events returns the higher-level core event manager for this [Widget]'s [Scene].

()

Source from the content-addressed store, hash-verified

22// Events returns the higher-level core event manager
23// for this [Widget]'s [Scene].
24func (wb *WidgetBase) Events() *Events {
25 if wb.Scene == nil {
26 return nil
27 }
28 return &wb.Scene.Events
29}
30
31// SystemEvents returns the lower-level system event
32// manager for this [Widget]'s [Scene].

Callers 10

ClipboardMethod · 0.95
handleWidgetMagnifyMethod · 0.95
SetFocusMethod · 0.95
SetFocusEventMethod · 0.95
focusNextMethod · 0.95
focusPrevMethod · 0.95
focusClearMethod · 0.95
StartFocusMethod · 0.95
ContainsFocusMethod · 0.95
TestWidgetEventManagerFunction · 0.95

Calls

no outgoing calls

Tested by 1

TestWidgetEventManagerFunction · 0.76