diff options
| author | Juan Linietsky <juan@godotengine.org> | 2020-03-04 16:03:30 -0300 |
|---|---|---|
| committer | Juan Linietsky <reduzio@gmail.com> | 2020-03-26 15:49:39 +0100 |
| commit | f51fdc6eef636eba7bf43d313995e708f690c782 (patch) | |
| tree | a635d1415aa12b6797e9a5fb0d5418e207cf5d3a /servers/display_server.cpp | |
| parent | 8e6960a69e0202cb1e6f3b3dc9f9bb34e1c1d889 (diff) | |
| download | redot-engine-f51fdc6eef636eba7bf43d313995e708f690c782.tar.gz | |
Support for transient windows
Diffstat (limited to 'servers/display_server.cpp')
| -rw-r--r-- | servers/display_server.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/servers/display_server.cpp b/servers/display_server.cpp index f764e3b528..102012f6d4 100644 --- a/servers/display_server.cpp +++ b/servers/display_server.cpp @@ -299,6 +299,8 @@ void DisplayServer::_bind_methods() { ClassDB::bind_method(D_METHOD("window_move_to_foreground", "window_id"), &DisplayServer::window_move_to_foreground, DEFVAL(MAIN_WINDOW_ID)); ClassDB::bind_method(D_METHOD("window_can_draw", "window_id"), &DisplayServer::window_can_draw, DEFVAL(MAIN_WINDOW_ID)); + ClassDB::bind_method(D_METHOD("window_set_transient", "window_id", "parent_window_id"), &DisplayServer::window_set_transient); + ClassDB::bind_method(D_METHOD("window_set_ime_active", "active", "window_id"), &DisplayServer::window_set_ime_active, DEFVAL(MAIN_WINDOW_ID)); ClassDB::bind_method(D_METHOD("window_set_ime_position", "position", "window_id"), &DisplayServer::window_set_ime_position, DEFVAL(MAIN_WINDOW_ID)); |
