Stav 23.06.2026

This commit is contained in:
2026-06-23 15:20:56 +02:00
commit 6d91e83e8c
5670 changed files with 1145969 additions and 0 deletions
@@ -0,0 +1,33 @@
'''
Show border
===========
Shows widget's border.
The idea was taken from
http://robertour.com/2013/10/02/easy-way-debugging-kivy-interfaces/
'''
__all__ = ('start', 'stop')
from kivy.lang import Builder
KV_CODE = '''
<Widget>:
canvas.after:
Color:
rgba: 1, 1, 1, 1
Line:
rectangle: self.x + 1, self.y + 1, self.width - 1, self.height - 1
dash_offset: 5
dash_length: 3
'''
def start(win, ctx):
Builder.load_string(KV_CODE, filename=__file__)
def stop(win, ctx):
Builder.unload_file(__file__)