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

Method __init__

remi/gui.py:3176–3189  ·  view source on GitHub ↗

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

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

Source from the content-addressed store, hash-verified

3174 """item widget for the TableRow."""
3175
3176 def __init__(self, text='', *args, **kwargs):
3177 """
3178 Args:
3179 text (str):
3180 kwargs: See Container.__init__()
3181 """
3182 super(TableEditableItem, self).__init__(*args, **kwargs)
3183 self.type = 'td'
3184 self.editInput = TextInput()
3185 self.append(self.editInput)
3186 self.editInput.onchange.connect(self.onchange)
3187 self.get_text = self.editInput.get_text
3188 self.set_text = self.editInput.set_text
3189 self.set_text(text)
3190
3191 @decorate_set_on_listener("(self, emitter, new_value)")
3192 @decorate_event

Callers

nothing calls this directly

Calls 5

TextInputClass · 0.85
connectMethod · 0.80
__init__Method · 0.45
appendMethod · 0.45
set_textMethod · 0.45

Tested by

no test coverage detected