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

Method get_text

remi/gui.py:2879–2886  ·  view source on GitHub ↗

Returns: str: The text content of the Widget. You can set the text content with set_text(text).

(self)

Source from the content-addressed store, hash-verified

2877 self.children['text'] = self.children['text'].replace(' ', ' ')
2878
2879 def get_text(self):
2880 """
2881 Returns:
2882 str: The text content of the Widget. You can set the text content with set_text(text).
2883 """
2884 if 'text' not in self.children.keys():
2885 return ''
2886 return unescape(self.get_child('text').replace(' ', ' '))
2887
2888
2889class Image(Widget):

Callers 15

confirm_valueMethod · 0.45
textMethod · 0.45
textMethod · 0.45
textMethod · 0.45
get_valueMethod · 0.45
confirm_valueMethod · 0.45
get_valueMethod · 0.45
_update_first_rowMethod · 0.45
textMethod · 0.45
get_textMethod · 0.45
get_valueMethod · 0.45
dir_go_backMethod · 0.45

Calls 1

get_childMethod · 0.80

Tested by

no test coverage detected