You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-12 13:20:55 +00:00
Rename hint_tooltip to tooltip_text & setget
`hint_tooltip` -> `tooltip_text` `set_tooltip` -> `set_tooltip_text` `_get_tooltip` -> `get_tooltip_text` Updates documentation, too.
This commit is contained in:
@@ -150,14 +150,14 @@ void EditorPath::update_path() {
|
||||
}
|
||||
|
||||
current_object_label->set_text(" " + name); // An extra space so the text is not too close of the icon.
|
||||
set_tooltip(obj->get_class());
|
||||
set_tooltip_text(obj->get_class());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void EditorPath::clear_path() {
|
||||
set_disabled(true);
|
||||
set_tooltip("");
|
||||
set_tooltip_text("");
|
||||
|
||||
current_object_label->set_text("");
|
||||
current_object_icon->set_texture(nullptr);
|
||||
@@ -231,5 +231,5 @@ EditorPath::EditorPath(EditorSelectionHistory *p_history) {
|
||||
sub_objects_menu->connect("about_to_popup", callable_mp(this, &EditorPath::_about_to_show));
|
||||
sub_objects_menu->connect("id_pressed", callable_mp(this, &EditorPath::_id_pressed));
|
||||
|
||||
set_tooltip(TTR("Open a list of sub-resources."));
|
||||
set_tooltip_text(TTR("Open a list of sub-resources."));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user