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

Method get_theme_icon

editor/script/text_editor.cpp:99–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97}
98
99Ref<Texture2D> TextEditor::get_theme_icon() {
100 return EditorNode::get_singleton()->get_object_icon(edited_res.ptr(), "TextFile");
101}
102
103Ref<Resource> TextEditor::get_edited_resource() const {
104 return edited_res;

Callers 7

_go_to_tabMethod · 0.45
_update_script_namesMethod · 0.45
get_drag_data_fwMethod · 0.45
_update_listMethod · 0.45
_fill_ownersMethod · 0.45
_fill_treeMethod · 0.45

Calls 2

get_object_iconMethod · 0.80
ptrMethod · 0.45

Tested by 1