Answers the requested width of this string. If None, no width is defined, therefore no wrapping is done and `self.tw` will just answer the original width of the string.
(self, w)
| 186 | return self._w # Can be None |
| 187 | |
| 188 | def _set_w(self, w): |
| 189 | """Answers the requested width of this string. If None, no width is |
| 190 | defined, therefore no wrapping is done and `self.tw` will just answer |
| 191 | the original width of the string.""" |
| 192 | self._w = units(w) |
| 193 | self.reset() # Force context wrapping for self.tw to be recalculated. |
| 194 | |
| 195 | w = property(_get_w, _set_w) |
| 196 |