This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """Hoverable Behaviour (changing when the mouse is on the widget by O. Poyen. | |
| License: LGPL | |
| """ | |
| __author__ = 'Olivier POYEN' | |
| from kivy.properties import BooleanProperty, ObjectProperty | |
| from kivy.core.window import Window | |
| class HoverBehavior(object): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # -*- coding: utf-8 -*- | |
| __all__ = ('start', 'sleep', 'event', ) | |
| import types | |
| from functools import partial | |
| from collections import namedtuple | |
| from kivy.clock import Clock | |
| CallbackParameter = namedtuple('CallbackParameter', ('args', 'kwargs', )) |