Sets the text label for the Widget. Args: text (str): The string label of the Widget.
(self, text)
| 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 | """ |