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
|
|
@ -77,9 +77,9 @@ void EditorRunNative::_notification(int p_what) {
|
|||
mb->get_popup()->clear();
|
||||
mb->show();
|
||||
if (dc == 1) {
|
||||
mb->set_tooltip(eep->get_option_tooltip(0));
|
||||
mb->set_tooltip_text(eep->get_option_tooltip(0));
|
||||
} else {
|
||||
mb->set_tooltip(eep->get_options_tooltip());
|
||||
mb->set_tooltip_text(eep->get_options_tooltip());
|
||||
for (int i = 0; i < dc; i++) {
|
||||
mb->get_popup()->add_icon_item(eep->get_option_icon(i), eep->get_option_label(i));
|
||||
mb->get_popup()->set_item_tooltip(-1, eep->get_option_tooltip(i));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue