MCPcopy
hub / github.com/lxn/walk / Contains

Method Contains

widgetlist.go:77–79  ·  view source on GitHub ↗
(item Widget)

Source from the content-addressed store, hash-verified

75}
76
77func (l *WidgetList) Contains(item Widget) bool {
78 return l.Index(item) > -1
79}
80
81func (l *WidgetList) indexHandle(handle win.HWND) int {
82 for i, widget := range l.items {

Callers 9

InsertMethod · 0.95
WriteStateMethod · 0.45
menuContainsActionFunction · 0.45
applyEnabledMethod · 0.45
PresentErrorMethod · 0.45
findWidgetFunction · 0.45

Calls 1

IndexMethod · 0.95

Tested by

no test coverage detected