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

Method set_text

remi/gui.py:2186–2193  ·  view source on GitHub ↗

Sets the text label for the Widget. Args: text (str): The string label of the Widget.

(self, text)

Source from the content-addressed store, hash-verified

2184 def css_direction(self): del self.style['direction']
2185
2186 def set_text(self, text):
2187 """
2188 Sets the text label for the Widget.
2189
2190 Args:
2191 text (str): The string label of the Widget.
2192 """
2193 self.add_child('text', escape(text, quote=False))
2194
2195 def get_text(self):
2196 """

Callers 1

textMethod · 0.95

Calls 1

add_childMethod · 0.80

Tested by

no test coverage detected