first commit
This commit is contained in:
commit
417e54da96
5696 changed files with 900003 additions and 0 deletions
Binary file not shown.
9
kivy_venv/share/kivy-examples/includes/button.kv
Normal file
9
kivy_venv/share/kivy-examples/includes/button.kv
Normal file
|
@ -0,0 +1,9 @@
|
|||
#:kivy 1.8.0
|
||||
|
||||
<SpecialButton>:
|
||||
canvas:
|
||||
Color:
|
||||
rgba: 1.0, 0.0, 0.0, 1.0
|
||||
Rectangle:
|
||||
pos: self.pos
|
||||
size: (self.size[0]/4, self.size[1]/4)
|
6
kivy_venv/share/kivy-examples/includes/layout.kv
Normal file
6
kivy_venv/share/kivy-examples/includes/layout.kv
Normal file
|
@ -0,0 +1,6 @@
|
|||
#:kivy 1.8.1
|
||||
#:include button.kv
|
||||
|
||||
<CustomLayout>:
|
||||
SpecialButton:
|
||||
text: 'Includes!'
|
19
kivy_venv/share/kivy-examples/includes/main.py
Normal file
19
kivy_venv/share/kivy-examples/includes/main.py
Normal file
|
@ -0,0 +1,19 @@
|
|||
from kivy.app import App
|
||||
from kivy.uix.boxlayout import BoxLayout
|
||||
from kivy.uix.button import Button
|
||||
|
||||
|
||||
class SpecialButton(Button):
|
||||
pass
|
||||
|
||||
|
||||
class CustomLayout(BoxLayout):
|
||||
pass
|
||||
|
||||
|
||||
class TestApp(App):
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
TestApp().run()
|
5
kivy_venv/share/kivy-examples/includes/test.kv
Normal file
5
kivy_venv/share/kivy-examples/includes/test.kv
Normal file
|
@ -0,0 +1,5 @@
|
|||
#:kivy 1.8.1
|
||||
#:include layout.kv
|
||||
#:include force button.kv
|
||||
|
||||
CustomLayout:
|
Loading…
Add table
Add a link
Reference in a new issue