openlp/oos.py
2008-01-19 00:53:41 +00:00

31 lines
637 B
Python

"""
Order of Service panel
"""
# TODO: change this from a list box to our own custom widget to allow the
# traditional OpenLP OOS entry with an icon
import wx
class OrderOfService(wx.Panel):
"Order Of Service Panel"
def __init__(self, parent, *args, **kwargs):
"Panel constructor"
wx.Panel.__init__(self, parent, *args, **kwargs)
sizer = wx.BoxSizer(wx.VERTICAL)
self.list = wx.ListBox(self, size=wx.Size(140, 250))
self.list.Append("foo")
sizer.Add(self.list, 1, wx.BOTTOM, 10)
self.SetSizerAndFit(sizer)
# vim: autoindent shiftwidth=4 expandtab textwidth=80