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

Method Dispose

toolbar.go:80–89  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

78}
79
80func (tb *ToolBar) Dispose() {
81 tb.WidgetBase.Dispose()
82
83 tb.actions.Clear()
84
85 if tb.imageList != nil {
86 tb.imageList.Dispose()
87 tb.imageList = nil
88 }
89}
90
91func (tb *ToolBar) applyFont(font *Font) {
92 tb.WidgetBase.applyFont(font)

Callers

nothing calls this directly

Calls 2

DisposeMethod · 0.65
ClearMethod · 0.45

Tested by

no test coverage detected