mirror of
https://github.com/godotengine/godot.git
synced 2024-11-27 09:16:35 +08:00
Merge pull request #77288 from puchik/expose_get_window_id
Expose get_window_id() from Window class
This commit is contained in:
commit
012541763d
@ -194,6 +194,12 @@
|
||||
See [method Control.get_theme_color] for details.
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_window_id" qualifiers="const">
|
||||
<return type="int" />
|
||||
<description>
|
||||
Returns the ID of the window.
|
||||
</description>
|
||||
</method>
|
||||
<method name="grab_focus">
|
||||
<return type="void" />
|
||||
<description>
|
||||
|
@ -2478,6 +2478,8 @@ void Window::_bind_methods() {
|
||||
ClassDB::bind_method(D_METHOD("set_title", "title"), &Window::set_title);
|
||||
ClassDB::bind_method(D_METHOD("get_title"), &Window::get_title);
|
||||
|
||||
ClassDB::bind_method(D_METHOD("get_window_id"), &Window::get_window_id);
|
||||
|
||||
ClassDB::bind_method(D_METHOD("set_initial_position", "initial_position"), &Window::set_initial_position);
|
||||
ClassDB::bind_method(D_METHOD("get_initial_position"), &Window::get_initial_position);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user