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
<?xml version="1.0" encoding="utf-8" standalone="yes"?> | |
<semantic:definitions xmlns:semantic="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns1="http://activiti.org/bpmn" exporter="ProcessCraft" exporterVersion="1.1.0" targetNamespace="http://www.omg.org/spec/BPMN/20100524/MODEL"> | |
<semantic:process id="PC13404743931" name="my vacation request process" isClosed="false"> | |
<semantic:startEvent ns1:initiator="employeeName" id="PC13404743932" name="Request" parallelMultiple="false" isInterrupting="true"> | |
<semantic:extensionElements> | |
<ns1:formProperty name="First day of vacations (dd-MM-yyyy)" variable="startDate" datePattern="dd-MM-yyyy hh:mm" type="date" id="PC134047439321"/> | |
<ns1:formProperty name="Number of days" variable="numberOfDays" type="long" id="PC |
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
<?xml version="1.0" encoding="utf-8" standalone="yes"?> | |
<semantic:definitions xmlns:semantic="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns1="http://activiti.org/bpmn" exporter="ProcessCraft" exporterVersion="1.1.0" targetNamespace="http://www.omg.org/spec/BPMN/20100524/MODEL"> | |
<semantic:process id="PC134048561132" name="vacation request" isClosed="false"> | |
<semantic:startEvent ns1:initiator="employeeName" id="PC134048561133" name="request" parallelMultiple="false" isInterrupting="true"> | |
<semantic:extensionElements> | |
<ns1:formProperty name="First day of vacations" variable="startDate" datePattern="dd-MM-yyyy hh:mm" type="date" id="PC134048561149"/> | |
<ns1:formProperty name="Number of days" variable="numberOfDays" type="long" id="PC134048561150"/> | |
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
#!/usr/bin/env python | |
from kivy.app import App | |
from kivy.core.audio import SoundLoader | |
from kivy.uix.floatlayout import FloatLayout | |
from kivy.uix.slider import Slider | |
class MyWidget(FloatLayout): | |
def __init__(self): | |
super(MyWidget, self).__init__() |
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
#!/usr/bin/env python | |
from kivy.app import App | |
from kivy.core.audio import SoundLoader | |
from kivy.uix.floatlayout import FloatLayout | |
from kivy.uix.slider import Slider | |
from functools import partial | |
def test(sound, *args): | |
print args[1] |
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
# -*- encoding: UTF-8 -*- | |
from kivy.app import App | |
from kivy.uix.button import Button | |
from kivy.uix.widget import Widget | |
#kivy.require(’1.0.6’) | |
from kivy.graphics import Quad | |
from kivy.uix.gridlayout import GridLayout |
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
with self.canvas: | |
Color(.5, .5, .5, .5) | |
self.quad = Quad(points=points) |
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.0.7') | |
from kivy.app import App | |
from kivy.factory import Factory | |
#Factory.register("Bejoto", Bejoto) | |
class BejotoApp(App): | |
icon = 'icon.png' | |
title = 'Bejoto Coffe System 0.1 beta' |
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.uix.gridlayout import GridLayout as MyGridLayout | |
from kivy.uix.scrollview import ScrollView as MyScrollView | |
from kivy.uix.label import Label as YourWidget | |
from kivy.core.window import Window | |
from kivy.app import App | |
class Pathways(Widget): | |
def __init__(self, **kwargs): |
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.factory import Factory | |
from kivy.config import Config | |
class BejotoApp(App): | |
icon = 'icon.png' | |
title = 'Test icon' | |
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
from kivy.app import App | |
from kivy.factory import Factory | |
from kivy.config import Config | |
from kivy.clock import Clock | |
from functools import partial | |
def callback(instance, *args): | |
print 'icon change' | |
instance.icon = 'icon2.png' |