MCPcopy Index your code
hub / github.com/rawpython/remi / __init__

Method __init__

remi/gui.py:4028–4041  ·  view source on GitHub ↗

Args: text (str): kwargs: See Widget.__init__()

(self, text='', *args, **kwargs)

Source from the content-addressed store, hash-verified

4026 """TreeItem widget can contain other TreeItem."""
4027
4028 def __init__(self, text='', *args, **kwargs):
4029 """
4030 Args:
4031 text (str):
4032 kwargs: See Widget.__init__()
4033 """
4034 super(TreeItem, self).__init__(*args, **kwargs)
4035 self.sub_container = None
4036 self.type = 'li'
4037 self.set_text(text)
4038 self.treeopen = False
4039 self.attributes['treeopen'] = 'false'
4040 self.attributes['has-subtree'] = 'false'
4041 self.onclick.do(None, js_stop_propagation=True)
4042
4043 def append(self, value, key=''):
4044 if self.sub_container is None:

Callers

nothing calls this directly

Calls 3

__init__Method · 0.45
set_textMethod · 0.45
doMethod · 0.45

Tested by

no test coverage detected