Browse files

Example 32: Add a method that replaces the contents of the root widge…

…t with a BuddyList.

Not currently called. Since BuddyList is just an empty box layout right now, even if it was called, it would just blank the screen.
  • Loading branch information...
Dusty Phillips
Dusty Phillips committed Jul 7, 2013
1 parent 75c8d66 commit 80e57bbf6836dc75e35e8ef3506311f28b5382ac
Showing with 4 additions and 1 deletion.
  1. +4 −1 orkiv/
@@ -65,7 +65,10 @@ class BuddyList(BoxLayout):
class OrkivRoot(BoxLayout):
- pass
+ def show_buddy_list(self):
+ self.clear_widgets()
+ self.buddy_list = BuddyList()
+ self.add_widget(self.buddy_list)
class Orkiv(App):

0 comments on commit 80e57bb

Please sign in to comment.