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
'''folder: root/bhv''' | |
from kivy.lang import Builder | |
from kivy.uix.widget import Widget | |
from kivy.properties import ListProperty | |
KV = ''' | |
<CanvasBeforeRect> | |
canvas_color: [0.5,0.5,0.5,1.] | |
canvas.before: |
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.label import Label | |
from kivy.properties import AliasProperty | |
from kivy.animation import Animation as A | |
KV = """ | |
BoxLayout | |
orientation: 'vertical' |
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
'''root.recycleview''' | |
""" | |
RecycleView | |
=========== | |
.. versionadded:: 1.10.0 | |
The RecycleView provides a flexible model for viewing selected sections of | |
large data sets. It aims to prevent the performance degradation that can occur |
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.label import Label | |
from kivy.properties import StringProperty, ObjectProperty | |
from kivy.animation import Animation | |
from functools import partial |
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
[WARNING] [Factory ] Ignored class "FileListEntry" re-declaration. Current - module: None, cls: functools.partial(<bound method BuilderBase.template of <kivy.lang.builder.BuilderBase object at 0x7febd1754978>>, 'FileListEntry'), baseclass: None, filename: None. Ignored - module: None, cls: functools.partial(<bound method BuilderBase.template of <lang.builder.BuilderBase object at 0x7febc8eb5a58>>, 'FileListEntry'), baseclass: None, filename: None. | |
[WARNING] [Factory ] Ignored class "FileIconEntry" re-declaration. Current - module: None, cls: functools.partial(<bound method BuilderBase.template of <kivy.lang.builder.BuilderBase object at 0x7febd1754978>>, 'FileIconEntry'), baseclass: None, filename: None. Ignored - module: None, cls: functools.partial(<bound method BuilderBase.template of <lang.builder.BuilderBase object at 0x7febc8eb5a58>>, 'FileIconEntry'), baseclass: None, filename: None. | |
[WARNING] [Factory ] Ignored class "AccordionItemTitle" re-declaration. Current - module: None, cls: fu |
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.builder import Builder | |
from kivy.context import get_current_context | |
from copy import copy | |
from my_builder import MyBuilder | |
KV = """ | |
BoxLayout | |
Button *2 |
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.label import Label | |
def before(self, *_): | |
self.bind(**{'on_touch_down' : test}) | |
def test(*_): | |
print ('cool!') |
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 sys import modules as sys_modules | |
import inspect | |
from os import path | |
from called_from_here_bhv import CalledFromHereBhv | |
from SkipWith import SkipWith | |
from dict_utils import get_by_val_attr |
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 inspect import currentframe, getouterframes | |
class CalledFromHereBhv: | |
def __init__(self): | |
curframe = currentframe() | |
self.called_from_module_fn,\ | |
self.called_from_start_line =\ |
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 shared import Shared | |
Shared.x = 'a' | |
class Shared: | |
pass |
OlderNewer