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
- hosts: localhost | |
gather_facts: false | |
tasks: | |
- debug: | |
msg: | |
- "ITEM ({{ item|type_debug }}): {{ item }}" | |
- "keys ( {{ _keys|type_debug }} ): {{ _keys }}" | |
loop: " {{ _keys }} " | |
vars: | |
_keys: [ 'bond0.160', 'bond0.197', 'bond1' ] |
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.core.window import Window | |
from kivy.clock import Clock | |
from kivy.uix.widget import Widget | |
class Overlay(Widget): | |
def __init__(self, *args, **kwargs): | |
self.parent_container = kwargs.pop("registered_parent", None) | |
super(Overlay, self).__init__(*args, **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.lang import Builder | |
from kivy.uix.button import Button | |
import time | |
kv = ''' | |
BoxLayout: | |
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
#:kivy 1.0.4 | |
<MyFloatLayout>: | |
canvas: | |
Color: | |
rgb: 0, 0, 0 | |
size_hint: 1.0, 1.0 | |
<MyLabel>: | |
size_hint: None, 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
import kivy | |
kivy.require('1.0.8') | |
from kivy.app import App | |
from kivy.uix.label import Label | |
from kivy.lang import Builder | |
from kivy.uix.floatlayout import FloatLayout | |
from kivy.graphics import Rectangle | |
from kivy.properties import StringProperty | |
from kivy.uix.image import Image |
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.0.4 | |
<MyScrollView>: | |
canvas: | |
Color: | |
rgb: 0.5, 0.1, 0.7 | |
Rectangle: | |
pos: self.pos | |
size: self.size | |
size_hint: None, None | |
width: 200 |
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.8') | |
from kivy.app import App | |
from kivy.uix.scrollview import ScrollView | |
from kivy.uix.stacklayout import StackLayout | |
from kivy.uix.label import Label | |
from kivy.lang import Builder | |
from kivy.uix.floatlayout import FloatLayout | |
from kivy.graphics import Rectangle |
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.8') | |
from kivy.app import App | |
from kivy.uix.scrollview import ScrollView | |
from kivy.uix.stacklayout import StackLayout | |
from kivy.uix.label import Label | |
from kivy.lang import Builder | |
from kivy.uix.floatlayout import FloatLayout |
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.8') | |
from kivy.app import App | |
from kivy.uix.scrollview import ScrollView | |
from kivy.uix.stacklayout import StackLayout | |
from kivy.uix.label import Label | |
from kivy.lang import Builder | |
from kivy.uix.floatlayout import FloatLayout |
NewerOlder