MCPcopy
hub / github.com/mum4k/termdash / Mouse

Method Mouse

widgetapi/widgetapi.go:187–187  ·  view source on GitHub ↗

Mouse is called with every mouse event whose scope the widget registered for. The argument meta is guaranteed to be valid (i.e. non-nil).

(m *terminalapi.Mouse, meta *EventMeta)

Source from the content-addressed store, hash-verified

185 //
186 // The argument meta is guaranteed to be valid (i.e. non-nil).
187 Mouse(m *terminalapi.Mouse, meta *EventMeta) error
188
189 // Options returns registration options for the widget.
190 // This is how the widget indicates to the infrastructure whether it is

Callers 15

prepareEvTargetsMethod · 0.65
TestMirrorFunction · 0.65
DrawWithMirrorFunction · 0.65
TestMouseFunction · 0.65
TestMouseScrollFunction · 0.65
TestMouseClickWithLockFunction · 0.65
TestMouseScrollClampingFunction · 0.65
TestKeyboardAndMouseFunction · 0.65
TestMouseWheelScrollsFunction · 0.65
MouseMethod · 0.65

Implementers 15

explorerTabPreviewtermdashdemo/termdashdemo.go
Mirrorprivate/fakewidget/fakewidget.go
HeatMapwidgets/heatmap/heatmap.go
SegmentDisplaywidgets/segmentdisplay/segmentdisplay.
TreeViewwidgets/treeview/treeview.go
Checkboxwidgets/checkbox/checkbox.go
Timelinewidgets/timeline/timeline.go
TimeRangePickerwidgets/timeline/timerangepicker.go
BarChartwidgets/barchart/barchart.go
FocusEffectWidgetwidgets/fx/focus.go
framedTestWidgetwidgets/fx/framed_test.go
EffectWidgetwidgets/fx/fx.go

Calls

no outgoing calls

Tested by 15

TestMirrorFunction · 0.52
TestMouseFunction · 0.52
TestMouseScrollFunction · 0.52
TestMouseClickWithLockFunction · 0.52
TestMouseScrollClampingFunction · 0.52
TestKeyboardAndMouseFunction · 0.52
TestMouseWheelScrollsFunction · 0.52
TestKeyboardAndMouseFunction · 0.52
TestKeyboardAndMouseFunction · 0.52