MCPcopy
hub / github.com/beeware/toga / is_expanded

Method is_expanded

qt/tests_backend/widgets/tree.py:37–39  ·  view source on GitHub ↗
(self, node)

Source from the content-addressed store, hash-verified

35 await asyncio.sleep(0.1)
36
37 def is_expanded(self, node):
38 index = self.native_model._get_index(node)
39 return self.native.isExpanded(index)
40
41 def _get_index_from_path(self, row_path=None, col=0):
42 index = QModelIndex()

Callers 4

test_selectFunction · 0.45
test_expand_collapseFunction · 0.45
_row_change_testFunction · 0.45
test_peripheral_eventsFunction · 0.45

Calls 1

_get_indexMethod · 0.80

Tested by 4

test_selectFunction · 0.36
test_expand_collapseFunction · 0.36
_row_change_testFunction · 0.36
test_peripheral_eventsFunction · 0.36