Permalink
Browse files

Example 37: Add a BuddyListItem class.

This will eventually render a bunch of different properties, but for now we just
give it a text property so the default arg_converter will work.
  • Loading branch information...
1 parent f57cdbe commit f373817b19501d7b4203b8b2f816c38cc0f42dfc Dusty Phillips committed Jul 10, 2013
Showing with 5 additions and 0 deletions.
  1. +5 −0 orkiv/__main__.py
View
@@ -1,6 +1,7 @@
from kivy.app import App
from kivy.uix.anchorlayout import AnchorLayout
from kivy.properties import ObjectProperty
+from kivy.properties import StringProperty
from sleekxmpp import ClientXMPP
from sleekxmpp.exceptions import XMPPError
from sleekxmpp.jid import InvalidJID
@@ -61,6 +62,10 @@ def login(self):
modal.open()
+class BuddyListItem(BoxLayout):
+ text = StringProperty()
+
+
class BuddyList(BoxLayout):
list_view = ObjectProperty()

0 comments on commit f373817

Please sign in to comment.