Skip to content

Instantly share code, notes, and snippets.

View NBNGaming's full-sized avatar

Batychko Nikolai NBNGaming

  • Rostov-on-Don
View GitHub Profile
@NBNGaming
NBNGaming / hvspinner.py
Last active November 29, 2021 02:48 — forked from zeeMonkeez/hvspinner.py
Ported to Python 3 and Kivy 2.0 (no text_autoupdate functionality)
from kivy.factory import Factory
from kivy.compat import string_types
from kivy.uix.spinner import Spinner, SpinnerOption
from kivy.properties import ListProperty, ObjectProperty, StringProperty
from kivy.logger import Logger
class HVSpinnerOption(SpinnerOption):
"""Represents an option in HVSpinner. It adds :attr:`value` to represent a hidden value not shown to user."""
value = ObjectProperty(None)