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

Method set_value

remi/gui.py:2275–2283  ·  view source on GitHub ↗

Sets the text content. Args: text (str): The string content that have to be appended as standard child identified by the key 'text'

(self, text)

Source from the content-addressed store, hash-verified

2273 {'emitter_identifier': str(self.identifier), 'event_name': Widget.EVENT_ONCHANGE}
2274
2275 def set_value(self, text):
2276 """Sets the text content.
2277
2278 Args:
2279 text (str): The string content that have to be appended as standard child identified by the key 'text'
2280 """
2281 if self.single_line:
2282 text = text.replace('\n', '')
2283 self.set_text(text)
2284
2285 def get_value(self):
2286 """

Callers 2

__init__Method · 0.95
onchangeMethod · 0.95

Calls 1

set_textMethod · 0.45

Tested by

no test coverage detected