Returns: str: The text content of the Widget. You can set the text content with set_text(text).
(self)
| 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 | |
| 2889 | class Image(Widget): |
no test coverage detected