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
<Button>: | |
foo: '3' | |
<MyButton@Button>: | |
foo: '33' | |
text: str(self.foo) + '\n' + str(root.foo) | |
<MyBox>: | |
MyButton | |
MyButton |
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
<MyButton@Button>: | |
on_release: print('foo') | |
text: 'Foo button' | |
<MainLayout@FloatLayout> | |
MainLayout: | |
MyButton |
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.uix.label import Label | |
from kivy.uix.slider import Slider | |
from kivy.uix.boxlayout import BoxLayout | |
from kivy.uix.gridlayout import GridLayout | |
from kivy.uix.floatlayout import FloatLayout | |
from kivy.lang import Builder | |
class MyApp(App): | |
def build(self): |
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
$ cat mystate.sls | |
Failed state: | |
test.fail_without_changes | |
Ok state: | |
test.succeed_without_changes | |
Main state: | |
cmd.run: | |
- name: uname |
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
# Maintainer: James Crompton DonJaime at freenet de | |
# forked from cewe-fotobuch, originally by Jozef Riha, updated by Manuel Conzelmann | |
declare -a prg_data | |
# leave only a single line uncommented, comment out the rest | |
prg_data=(German 24441 'CEWE Fotowelt' 'CEWE Fotowelt' 'CEWE Fotowelt' de_DE) | |
# prg_data=(Slovak 31916 'CEWE fotosvet' 'CEWE fotosvet' 'CEWE Fotosvet' sk_SK) | |
# prg_data=(Czech 4860 'CEWE fotosvet' 'CEWE fotosvet' 'CEWE fotosvet' cs_CZ) | |
# prg_data=(French 7884 'Logiciel de creation CEWE' 'Logiciel de création CEWE' 'CEWE photo' fr_FR) | |
# prg_data=(Polish 29241 'CEWE Fotoswiat' 'CEWE Fotoswiat' 'CEWE foto' pl_PL) |