mirror of
https://github.com/godotengine/godot.git
synced 2025-10-25 10:44:26 +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:
parent
4808d01b2b
commit
ef5b9a06a9
85 changed files with 468 additions and 463 deletions
|
|
@ -3712,7 +3712,7 @@ ScriptEditor::ScriptEditor() {
|
|||
|
||||
members_overview_alphabeta_sort_button = memnew(Button);
|
||||
members_overview_alphabeta_sort_button->set_flat(true);
|
||||
members_overview_alphabeta_sort_button->set_tooltip(TTR("Toggle alphabetical sorting of the method list."));
|
||||
members_overview_alphabeta_sort_button->set_tooltip_text(TTR("Toggle alphabetical sorting of the method list."));
|
||||
members_overview_alphabeta_sort_button->set_toggle_mode(true);
|
||||
members_overview_alphabeta_sort_button->set_pressed(EditorSettings::get_singleton()->get("text_editor/script_list/sort_members_outline_alphabetically"));
|
||||
members_overview_alphabeta_sort_button->connect("toggled", callable_mp(this, &ScriptEditor::_toggle_members_overview_alpha_sort));
|
||||
|
|
@ -3858,14 +3858,14 @@ ScriptEditor::ScriptEditor() {
|
|||
site_search->set_text(TTR("Online Docs"));
|
||||
site_search->connect("pressed", callable_mp(this, &ScriptEditor::_menu_option).bind(SEARCH_WEBSITE));
|
||||
menu_hb->add_child(site_search);
|
||||
site_search->set_tooltip(TTR("Open Godot online documentation."));
|
||||
site_search->set_tooltip_text(TTR("Open Godot online documentation."));
|
||||
|
||||
help_search = memnew(Button);
|
||||
help_search->set_flat(true);
|
||||
help_search->set_text(TTR("Search Help"));
|
||||
help_search->connect("pressed", callable_mp(this, &ScriptEditor::_menu_option).bind(SEARCH_HELP));
|
||||
menu_hb->add_child(help_search);
|
||||
help_search->set_tooltip(TTR("Search the reference documentation."));
|
||||
help_search->set_tooltip_text(TTR("Search the reference documentation."));
|
||||
|
||||
menu_hb->add_child(memnew(VSeparator));
|
||||
|
||||
|
|
@ -3874,14 +3874,14 @@ ScriptEditor::ScriptEditor() {
|
|||
script_back->connect("pressed", callable_mp(this, &ScriptEditor::_history_back));
|
||||
menu_hb->add_child(script_back);
|
||||
script_back->set_disabled(true);
|
||||
script_back->set_tooltip(TTR("Go to previous edited document."));
|
||||
script_back->set_tooltip_text(TTR("Go to previous edited document."));
|
||||
|
||||
script_forward = memnew(Button);
|
||||
script_forward->set_flat(true);
|
||||
script_forward->connect("pressed", callable_mp(this, &ScriptEditor::_history_forward));
|
||||
menu_hb->add_child(script_forward);
|
||||
script_forward->set_disabled(true);
|
||||
script_forward->set_tooltip(TTR("Go to next edited document."));
|
||||
script_forward->set_tooltip_text(TTR("Go to next edited document."));
|
||||
|
||||
tab_container->connect("tab_changed", callable_mp(this, &ScriptEditor::_tab_changed));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue