Skip to content

Instantly share code, notes, and snippets.

# 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)
$ cat mystate.sls
Failed state:
test.fail_without_changes
Ok state:
test.succeed_without_changes
Main state:
cmd.run:
- name: uname
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):
<MyButton@Button>:
on_release: print('foo')
text: 'Foo button'
<MainLayout@FloatLayout>
MainLayout:
MyButton
<Button>:
foo: '3'
<MyButton@Button>:
foo: '33'
text: str(self.foo) + '\n' + str(root.foo)
<MyBox>:
MyButton
MyButton