new function MwWindowShouldClose
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
This commit is contained in:
parent
f260c3c11e
commit
b20a54fb76
2 changed files with 21 additions and 0 deletions
|
|
@ -27,6 +27,19 @@ MwInline void MwWindowMakeBorderless(MwWidget handle, int toggle) {
|
|||
MwVaWidgetExecute(handle, "mwWindowMakeBorderless", NULL, toggle);
|
||||
}
|
||||
|
||||
|
||||
/*!
|
||||
* @brief Whether the window should close
|
||||
* @param handle Widget
|
||||
* @return bool
|
||||
*/
|
||||
MwInline MwBool MwWindowShouldClose(MwWidget handle) {
|
||||
MwBool res = MwFALSE;
|
||||
MwVaWidgetExecute(handle, "mwWindowShouldClose", NULL, &res);
|
||||
return res;
|
||||
}
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue