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
__author__ = 'Cheaterman' | |
from kivy.app import App | |
from kivy.uix.screenmanager import ScreenManager | |
from kivy.lang import Builder | |
kv = """ | |
<TestWidget>: |
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.graphics import Color, Rectangle | |
from kivy.properties import ObjectProperty | |
from kivy.uix.behaviors import ButtonBehavior | |
from kivy.uix.screenmanager import ScreenManager, Screen | |
from kivy.uix.floatlayout import FloatLayout | |
from kivy.uix.scrollview import ScrollView |
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
diff --git a/distribute.sh b/distribute.sh | |
index e891d66..2c3b0e6 100755 | |
--- a/distribute.sh | |
+++ b/distribute.sh | |
@@ -6,6 +6,9 @@ | |
# | |
#------------------------------------------------------------------------------ | |
+# Automatically export all variables/functions for subshells | |
+set -a |
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
import kivy | |
kivy.require('1.8.1') | |
from kivy.app import App | |
from kivy.lang import Builder | |
root = Builder.load_string(''' | |
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
import kivy | |
kivy.require('1.8.0') | |
from kivy.app import App | |
from kivy.lang import Builder | |
from kivy.clock import Clock | |
from kivy.properties import NumericProperty | |
class TestApp(App): | |
value = NumericProperty(0) |
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
import kivy | |
kivy.require('1.8.1') | |
from kivy.app import App | |
from kivy.lang import Builder | |
from kivy.clock import Clock | |
from kivy.properties import NumericProperty | |
class TestApp(App): | |
value = NumericProperty(0) |
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
import kivy | |
kivy.require('1.8.1') | |
from kivy.app import App | |
from kivy.lang import Builder | |
root = Builder.load_string(''' | |
Widget: | |
canvas: | |
Color: |
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
import kivy | |
kivy.require('1.8.1') | |
from kivy.app import App | |
from kivy.lang import Builder | |
root = Builder.load_string(''' | |
Button: | |
text: 'hi' | |
size_hint_y: None |
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.uix.widget import Widget | |
from kivy.properties import BoundedNumericProperty, ListProperty | |
from kivy.lang import Builder | |
Builder.load_string(''' | |
<Circle>: | |
r: 100 | |
color: 0, 0, 1, 1 | |
canvas: | |
Color: |
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
#:kivy 1.8 | |
Label: | |
text: 'durchgeführt' |