Lock attempts to grab the overall window Mutex lock and returns true if the window is still open and ready for business. Otherwise, it might have been closed and any further use should be abandoned. Do this before any use of window resources (eg. rendering to the Drawer).
()
| 183 | // abandoned. Do this before any use of window resources |
| 184 | // (eg. rendering to the Drawer). |
| 185 | Lock() bool |
| 186 | |
| 187 | // Unlock unlocks the Mutex. Must be called after Lock() is done. |
| 188 | Unlock() |
no outgoing calls