Skip to content

Commit

Permalink
Implements a Empty() method on all containers.
Browse files Browse the repository at this point in the history
git-svn-id: svn://cherokee-project.com/CTK/trunk@6788 5dc97367-97f1-0310-9951-d761b3857238
  • Loading branch information
alobbs committed Aug 5, 2011
1 parent 39b1de5 commit af4de96
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CTK/Container.py
Expand Up @@ -49,6 +49,9 @@ def __iadd__ (self, widget):
self.child.append (widget)
return self

def Empty (self):
self.child = []

def Render (self):
render = Widget.Render(self)

Expand Down

0 comments on commit af4de96

Please sign in to comment.