MCPcopy Create free account
hub / github.com/lxn/walk / Add

Method Add

graphicseffects.go:203–209  ·  view source on GitHub ↗
(effect WidgetGraphicsEffect)

Source from the content-addressed store, hash-verified

201}
202
203func (l *WidgetGraphicsEffectList) Add(effect WidgetGraphicsEffect) error {
204 if effect == nil {
205 return newError("effect == nil")
206 }
207
208 return l.Insert(len(l.items), effect)
209}
210
211func (l *WidgetGraphicsEffectList) At(index int) WidgetGraphicsEffect {
212 return l.items[index]

Callers

nothing calls this directly

Calls 2

InsertMethod · 0.95
newErrorFunction · 0.85

Tested by

no test coverage detected