You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-09 12:50:35 +00:00
Merge pull request #100671 from bruvzg/get_menu
[MenuBar] Use PopupMenu title property as a menu name.
This commit is contained in:
@@ -303,6 +303,7 @@ void Window::set_title(const String &p_title) {
|
||||
}
|
||||
}
|
||||
}
|
||||
emit_signal("title_changed");
|
||||
}
|
||||
|
||||
String Window::get_title() const {
|
||||
@@ -3051,6 +3052,7 @@ void Window::_bind_methods() {
|
||||
ADD_SIGNAL(MethodInfo("theme_changed"));
|
||||
ADD_SIGNAL(MethodInfo("dpi_changed"));
|
||||
ADD_SIGNAL(MethodInfo("titlebar_changed"));
|
||||
ADD_SIGNAL(MethodInfo("title_changed"));
|
||||
|
||||
BIND_CONSTANT(NOTIFICATION_VISIBILITY_CHANGED);
|
||||
BIND_CONSTANT(NOTIFICATION_THEME_CHANGED);
|
||||
|
||||
Reference in New Issue
Block a user