This file contains 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.properties import DictProperty | |
from kivy.uix.effectwidget import AdvancedEffectBase, EffectWidget | |
from kivy.properties import NumericProperty, ListProperty | |
from kivy.lang import Builder | |
from kivy.uix.label import Label | |
KV = """ | |
BoxLayout: |
This file contains 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.clock import Clock | |
from kivy.uix.floatlayout import FloatLayout | |
from kivy.graphics import Line, Color | |
from kivy.vector import Vector | |
from kivy.core.window import Window | |
from functools import partial | |
from random import randint | |
import threading |
This file contains 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.uix.recycleview import RecycleView | |
from kivy.uix.boxlayout import BoxLayout | |
from kivy.uix.recycleview.views import RecycleDataViewBehavior | |
from kivy.properties import BooleanProperty | |
KV = ''' | |
<Row>: | |
active: cb.active |
This file contains 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.uix.boxlayout import BoxLayout | |
from kivy.uix.textinput import TextInput | |
from kivy.graphics import Line, Ellipse, Color | |
from kivy.properties import ListProperty, StringProperty, NumericProperty | |
from kivy.core.window import Window | |
import numpy as np |
This file contains 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.uix.boxlayout import BoxLayout | |
KV = """ | |
#:import Calendar calendar.Calendar | |
<Day@Button>: | |
datepicker: self.parent.datepicker | |
color: [1,1,1,1] |
This file contains 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.uix.recycleview import RecycleView | |
from kivy.uix.boxlayout import BoxLayout | |
from kivy.uix.recycleview.views import RecycleDataViewBehavior | |
from kivy.uix.label import Label | |
from kivy.properties import BooleanProperty | |
from kivy.uix.recycleboxlayout import RecycleBoxLayout | |
from kivy.uix.behaviors import FocusBehavior | |
from kivy.uix.recycleview.layout import LayoutSelectionBehavior |
This file contains 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
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
import sqlite3 as lite | |
con = lite.connect('test.db') | |
cur = con.cursor() | |
try: | |
with con: |
This file contains 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.properties import ListProperty | |
from kivy.lang import Builder | |
long_text = 'This is an example to output a very long file as labels in a recycleboxlayout with line numbers and proper line breakings\n' * 1000 + " END" | |
KV = ''' | |
<MyLabel@Label>: | |
halign: "left" |
This file contains 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.properties import ListProperty | |
from kivy.lang import Builder | |
long_text = 'This is an example to output a very long file as labels in a recycleboxlayout with line numbers and proper line breakings\n' * 1000 + " END" | |
KV = ''' | |
<MyLabel@Label>: | |
halign: "left" |
This file contains 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.properties import ListProperty | |
from kivy.lang import Builder | |
long_text = 'This is an example to output a very long file as labels in a recycleboxlayout with line numbers and proper line breakings\n' * 1000 + " END" | |
KV = ''' | |
<MyLabel@Label>: | |
halign: "left" |
NewerOlder