Skip to content

Instantly share code, notes, and snippets.

View HeaTTheatR's full-sized avatar
🕶️
Python Developer

Yuri Ivanov HeaTTheatR

🕶️
Python Developer
View GitHub Profile
"""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):
@HeaTTheatR
HeaTTheatR / asynckivy.py
Created May 25, 2019 23:47 — forked from gottadiveintopython/readme.txt
async/await in Kivy
# -*- 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', ))