forked from openlp/openlp
ef646e6411
bzr-revno: 2
31 lines
637 B
Python
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
|