MCPcopy Create free account
hub / github.com/Redot-Engine/redot-engine / _notification

Method _notification

editor/gui/code_editor.cpp:101–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99}
100
101void GotoLinePopup::_notification(int p_what) {
102 switch (p_what) {
103 case NOTIFICATION_VISIBILITY_CHANGED: {
104 if (!is_visible()) {
105 text_editor->set_preview_navigation_change(false);
106 }
107 } break;
108 }
109}
110
111void GotoLinePopup::_input_from_window(const Ref<InputEvent> &p_event) {
112 if (p_event->is_action_pressed(SNAME("ui_cancel"), false, true)) {

Callers

nothing calls this directly

Calls 14

TTRFunction · 0.85
vformatFunction · 0.85
keycode_get_stringFunction · 0.85
ED_GET_SHORTCUTFunction · 0.85
set_button_iconMethod · 0.80
is_visible_in_treeMethod · 0.45
is_visibleMethod · 0.45
set_tooltip_textMethod · 0.45

Tested by

no test coverage detected