Mercurial > libervia-desktop-kivy
comparison cagou/core/utils.py @ 312:772c170b47a9
Python3 port:
/!\ Cagou now runs with Python 3.6+
Port has been done in the same way as for backend (check backend commit b2d067339de3
message for details).
author | Goffi <goffi@goffi.org> |
---|---|
date | Tue, 13 Aug 2019 19:14:22 +0200 |
parents | 1b835bcfa663 |
children | 4d660b252487 |
comparison
equal
deleted
inserted
replaced
311:a0d978d3ce84 | 312:772c170b47a9 |
---|---|
26 class FilterBehavior(object): | 26 class FilterBehavior(object): |
27 """class to handle items filtering with animation""" | 27 """class to handle items filtering with animation""" |
28 | 28 |
29 def __init__(self, *args, **kwargs): | 29 def __init__(self, *args, **kwargs): |
30 super(FilterBehavior, self).__init__(*args, **kwargs) | 30 super(FilterBehavior, self).__init__(*args, **kwargs) |
31 self._filter_last = u'' | 31 self._filter_last = '' |
32 self._filter_anim = Animation(width = 0, | 32 self._filter_anim = Animation(width = 0, |
33 height = 0, | 33 height = 0, |
34 opacity = 0, | 34 opacity = 0, |
35 d = 0.5) | 35 d = 0.5) |
36 | 36 |