Set the horizontal alignment to one of Parameters ---------- align : {'center', 'right', 'left'}
(self, align)
| 972 | self.stale = True |
| 973 | |
| 974 | def set_horizontalalignment(self, align): |
| 975 | """ |
| 976 | Set the horizontal alignment to one of |
| 977 | |
| 978 | Parameters |
| 979 | ---------- |
| 980 | align : {'center', 'right', 'left'} |
| 981 | """ |
| 982 | legal = ('center', 'right', 'left') |
| 983 | if align not in legal: |
| 984 | raise ValueError('Horizontal alignment must be one of %s' % |
| 985 | str(legal)) |
| 986 | self._horizontalalignment = align |
| 987 | self.stale = True |
| 988 | |
| 989 | def set_multialignment(self, align): |
| 990 | """ |
no outgoing calls
no test coverage detected