Set the vertical alignment Parameters ---------- align : {'center', 'top', 'bottom', 'baseline', 'center_baseline'}
(self, align)
| 1161 | self.stale = True |
| 1162 | |
| 1163 | def set_verticalalignment(self, align): |
| 1164 | """ |
| 1165 | Set the vertical alignment |
| 1166 | |
| 1167 | Parameters |
| 1168 | ---------- |
| 1169 | align : {'center', 'top', 'bottom', 'baseline', 'center_baseline'} |
| 1170 | """ |
| 1171 | legal = ('top', 'bottom', 'center', 'baseline', 'center_baseline') |
| 1172 | if align not in legal: |
| 1173 | raise ValueError('Vertical alignment must be one of %s' % |
| 1174 | str(legal)) |
| 1175 | |
| 1176 | self._verticalalignment = align |
| 1177 | self.stale = True |
| 1178 | |
| 1179 | def set_text(self, s): |
| 1180 | """ |
no outgoing calls
no test coverage detected