1 2 3 4 5 6 7 8 9 10 11 12 | class VLine(Line):
def __getattribute__(self, name):
if name == 'right':
return self.left
return super(VLine, self).__getattribute__(name)
class HLine(Line):
def __getattribute__(self, name):
if name == 'bottom':
return self.top
return super(HLine, self).__getattribute__(name)
|
More like this
- Unit Test Profiling by justquick 3 years ago
- Allow editing of the selected object of the filter_vertical/filter_horizontal widget with jquery by jpic 3 years, 4 months ago
- Widget for DateTime values on Geraldo Reports by marinho 2 years, 9 months ago
- Widget for Money values on Geraldo Reports by marinho 2 years, 9 months ago
- Anticollate? Disinterleave? by lemonlaug 2 years ago
Comments