MCPcopy Index your code
hub / github.com/g3n/engine / SetResizable

Method SetResizable

gui/window.go:94–97  ·  view source on GitHub ↗

SetResizable sets whether the window is resizable.

(state bool)

Source from the content-addressed store, hash-verified

92
93// SetResizable sets whether the window is resizable.
94func (w *Window) SetResizable(state bool) {
95
96 w.resizable = state
97}
98
99// SetCloseButton sets whether the window has a close button on the top right.
100func (w *Window) SetCloseButton(state bool) {

Callers 1

buildWindowFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected