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
# -*- coding: utf-8 -*- | |
import kivy | |
kivy.require('1.8.0') | |
from kivy.app import App | |
from kivy.lang import Builder | |
root = Builder.load_string(''' | |
Label: | |
text: 'durchgeführt' |
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.uix.popup import Popup | |
from twisted.internet import defer | |
class DeferredPopup(Popup): |
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') | |
import random | |
from kivy.app import App | |
from kivy.uix.boxlayout import BoxLayout | |
from kivy.uix.label import Label | |
from kivy.uix.button import Button | |
from kivy.event import EventDispatcher |
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 | |
class TestApp(App): | |
def build(self): | |
from kivy.core.window import Window | |
self.label = Label() | |
Window.bind(mouse_pos=lambda w, p: setattr(self.label, 'text', str(p))) | |
return self.label |
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
def add_widget(self, widget, **kwargs): | |
super(MyWidget, self).add_widget(widget, **kwargs) | |
self.canvas.remove(widget.canvas) | |
self.canvas.after.add(widget.canvas) |
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
#!/bin/bash | |
#VERSION_liblinphone=${VERSION_liblinphone:-0004c83} | |
VERSION_liblinphone=${VERSION_liblinphone:-2.2.1.1-git} | |
DEPS_liblinphone=() | |
RECIPE_liblinphone=$RECIPES_PATH/liblinphone | |
if [[ "$VERSION_liblinphone" == *-git ]]; then | |
VERSION_liblinphone=${VERSION_liblinphone:0:-4} | |
URL_liblinphone= |
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.uix.tabbedpanel import TabbedPanelItem | |
root = Builder.load_string(''' | |
BoxLayout: | |
TabbedPanel: |
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(''' | |
Image: | |
#source: 'Newtons_cradle_animation_book_2.gif' | |
source: 'flies2.gif' |
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
<MyWidget@BoxLayout>: | |
orientation: 'vertical' | |
my_button: btn | |
Label: | |
text: 'my text' | |
Button: | |
id: btn | |
text: 'OK' |
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
0:00:00.000124579 26334 0x1b0aa00 INFO GST_INIT gst.c:502:init_pre: Initializing GStreamer Core Library version 1.2.4 | |
0:00:00.000269073 26334 0x1b0aa00 INFO GST_INIT gst.c:503:init_pre: Using library installed in /usr/lib/x86_64-linux-gnu | |
0:00:00.000342159 26334 0x1b0aa00 INFO GST_INIT gst.c:513:init_pre: Linux ryan-lappy 3.13.0-35-lowlatency #62-Ubuntu SMP PREEMPT Fri Aug 15 02:26:48 UTC 2014 x86_64 | |
0:00:00.002408655 26334 0x1b0aa00 INFO GST_INIT gstmessage.c:123:_priv_gst_message_initialize: init messages | |
0:00:00.002708527 26334 0x1b0aa00 INFO GST_INIT gstcontext.c:77:_priv_gst_context_initialize: init contexts | |
0:00:00.003271691 26334 0x1b0aa00 INFO GST_PLUGIN_LOADING gstplugin.c:317:_priv_gst_plugin_initialize: registering 0 static plugins | |
0:00:00.003658206 26334 0x1b0aa00 INFO GST_PLUGIN_LOADING gstplugin.c:225:gst_plugin_register_static: registered static plugin "staticelements" | |
0:00:00 |