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
| from kivy.uix.recycleview import RecycleView | |
| from kivy.clock import Clock | |
| from kivy.properties import OptionProperty, BooleanProperty, ObjectProperty, NumericProperty, ListProperty | |
| from kivy.animation import Animation | |
| from kivymd.uix.behaviors import StencilBehavior, SpecificBackgroundColorBehavior | |
| from kivymd.uix.boxlayout import MDBoxLayout | |
| from kivy.uix.widget import Widget | |
| from Components.effects import LowerScrollEffect, LowerDampedScrollEffect |
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
| ''' | |
| Custom Behaviors are defined in this module. | |
| ''' | |
| from kivy.app import App | |
| from kivy.animation import Animation | |
| from kivy.lang import Builder | |
| from kivy.clock import Clock | |
| from kivy.config import Config |
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
| from kivy.uix.floatlayout import FloatLayout | |
| from kivy.lang import Builder | |
| from kivy.properties import StringProperty, NumericProperty, ListProperty | |
| from kivy.clock import Clock | |
| from kivy.animation import Animation | |
| from random import randint | |
| from kivy.metrics import dp | |
| Builder.load_string( |
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
| """For this to work, WobblyEffect should be parent to WobblyScatter. | |
| """ | |
| from kivy.clock import Clock | |
| from kivy.uix.effectwidget import AdvancedEffectBase, EffectWidget | |
| from kivy.uix.scatter import Scatter | |
| from itertools import product | |
| FRICTION = .95 | |
| K = 8 |
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
| """TODO: ctrl + left/right (move past word), ctrl + backspace/del (del word), shift + del (del line) | |
| ...: Smart movement through leading indentation. | |
| ...: Except for first line, up/down to work normally on multi-line console input. | |
| """ | |
| from code import InteractiveConsole | |
| from collections import deque | |
| from dataclasses import dataclass | |
| from io import StringIO | |
| from itertools import chain, takewhile | |
| from more_itertools import ilen |
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
| from copy import copy | |
| from kivy.app import App | |
| from kivy.clock import triggered | |
| from kivy.lang import Builder | |
| from kivy.animation import Animation | |
| from kivy.factory import Factory as F | |
| from kivy.properties import ( | |
| ObjectProperty, ListProperty | |
| ) |
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
| from datetime import datetime | |
| from kivy.app import App | |
| from kivy.lang import Builder | |
| from kivy.factory import Factory | |
| from kivy.properties import NumericProperty | |
| from kivy.clock import Clock | |
| KV = ''' | |
| #:import rgba kivy.utils.rgba |
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
| from random import sample, randint | |
| from string import ascii_lowercase | |
| from time import asctime | |
| from kivy.app import App | |
| from kivy.factory import Factory | |
| from kivy.lang import Builder | |
| from kivy.properties import NumericProperty, ListProperty | |
| from kivy.clock import Clock |
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
| from array import array | |
| from kivy.app import App | |
| from kivy.lang import Builder | |
| from kivy.graphics.fbo import Fbo | |
| from kivy.graphics.texture import Texture | |
| from kivy.uix.widget import Widget | |
| from kivy.properties import ListProperty, ObjectProperty | |
| KV = ''' |
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
| from kivy.app import App | |
| from kivy.lang import Builder | |
| from kivy.clock import Clock | |
| from kivy.properties import ListProperty | |
| from kivy.animation import Animation | |
| KV = ''' | |
| #:import RGBA kivy.utils.rgba | |
| <ImageButton@ButtonBehavior+Image>: |
NewerOlder