aboutsummaryrefslogtreecommitdiff
path: root/src/client/lua_api/gui/iguiwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/lua_api/gui/iguiwindow.cpp')
-rw-r--r--src/client/lua_api/gui/iguiwindow.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/lua_api/gui/iguiwindow.cpp b/src/client/lua_api/gui/iguiwindow.cpp
index fde8cf1..236fd5d 100644
--- a/src/client/lua_api/gui/iguiwindow.cpp
+++ b/src/client/lua_api/gui/iguiwindow.cpp
@@ -30,6 +30,8 @@ Creates a new gui window .
@tparam string title_text The text to show in the title bar of the window
@tparam ?iguielement parent The parent element of the window.
@treturn iguiwindow The window element
+
+In return to the usual gui element calls, IGUI window may call a `onClose()` callback.
*/
//new({{sx,sy},{ex,ey}},"title"[,{guielement=parent}]) :: {guielement}
static int newiguiwindow(lua_State* L){