MCPcopy Create free account
hub / github.com/cogentcore/core / CloseReq

Method CloseReq

system/window.go:153–153  ·  view source on GitHub ↗

CloseReq is a close request, triggered either by OS or user call (e.g., via Close menu action) -- calls function previously registered by SetCloseReqFunc, which is then solely responsible for actually calling Close.

()

Source from the content-addressed store, hash-verified

151 // SetCloseReqFunc, which is then solely responsible for actually calling
152 // Close.
153 CloseReq()
154
155 // CloseClean calls the function setup in SetCloseCleanFunc and does other
156 // window cleanup -- called on way to closing.

Callers 3

OnCloseReqMethod · 0.95
closeReqMethod · 0.65
QuitCleanMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected