Mercurial > boomslang
diff pyntnclick/widgets/listbox.py @ 639:fdc63049b08c pyntnclick
Add game_description to the widgets,, since it looks a useful thing to do
author | Neil Muller <neil@dip.sun.ac.za> |
---|---|
date | Sun, 12 Feb 2012 01:31:14 +0200 |
parents | 1aac5a3b17e1 |
children | efa58c92b304 |
line wrap: on
line diff
--- a/pyntnclick/widgets/listbox.py Sun Feb 12 01:27:53 2012 +0200 +++ b/pyntnclick/widgets/listbox.py Sun Feb 12 01:31:14 2012 +0200 @@ -5,8 +5,8 @@ class ListBox(Box): - def __init__(self, rect, text, widget_list, page_length=8): - super(ListBox, self).__init__(rect) + def __init__(self, rect, gd, text, widget_list, page_length=8): + super(ListBox, self).__init__(rect, gd) self.message = TextWidget(rect, text) self.toolbar = ToolListWidget(rect, widget_list, page_length) self.prepare()