MCPcopy
hub / github.com/g3n/engine / SetImageVisible

Method SetImageVisible

gui/imagelabel.go:84–90  ·  view source on GitHub ↗

SetImageVisible sets the image visibility

(vis bool)

Source from the content-addressed store, hash-verified

82
83// SetImageVisible sets the image visibility
84func (il *ImageLabel) SetImageVisible(vis bool) {
85
86 if il.image == nil {
87 return
88 }
89 il.image.SetVisible(vis)
90}
91
92// ImageVisible returns the image visibility
93func (il *ImageLabel) ImageVisible() bool {

Callers

nothing calls this directly

Calls 1

SetVisibleMethod · 0.65

Tested by

no test coverage detected