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

Method get_button_count

scene/gui/tree.cpp:1362–1365  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1360}
1361
1362int TreeItem::get_button_count(int p_column) const {
1363 ERR_FAIL_INDEX_V(p_column, cells.size(), -1);
1364 return cells[p_column].buttons.size();
1365}
1366
1367Ref<Texture2D> TreeItem::get_button(int p_column, int p_index) const {
1368 ERR_FAIL_INDEX_V(p_column, cells.size(), Ref<Texture2D>());

Callers 3

update_scene_treeMethod · 0.80
_update_nodeMethod · 0.80

Calls 1

sizeMethod · 0.65

Tested by

no test coverage detected