Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2015-10-20 07:41:13 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-10-20 07:42:30 +0300
commit8bcc68b21c7b6a3ffbaa777416360cbb9737a597 (patch)
tree77a4b09b044988f52c0dfd5fc742f4b0b3f3f8cb /source/blender/windowmanager/wm_window.h
parent0173116117858ae60fb33bf37707278f1721f980 (diff)
Add operator to close a window
Useful for Python scripts, which could duplicate but not close windows.
Diffstat (limited to 'source/blender/windowmanager/wm_window.h')
-rw-r--r--source/blender/windowmanager/wm_window.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/windowmanager/wm_window.h b/source/blender/windowmanager/wm_window.h
index 75ccca1a5ec..c106f9d7851 100644
--- a/source/blender/windowmanager/wm_window.h
+++ b/source/blender/windowmanager/wm_window.h
@@ -77,6 +77,7 @@ void wm_window_IME_end (wmWindow *win);
#endif
/* *************** window operators ************** */
+int wm_window_close_exec(bContext *C, struct wmOperator *op);
int wm_window_duplicate_exec(bContext *C, struct wmOperator *op);
int wm_window_fullscreen_toggle_exec(bContext *C, struct wmOperator *op);