You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
641 B

__author__ = 'Chris'
import wx
from gooey.gui.widgets.choosers import CalendarChooser
class MyFrame(wx.Frame):
def __init__(self, parent):
wx.Frame.__init__(self, parent, title="test", size=(320, 240))
self.SetBackgroundColour('#ffffff')
sizer = wx.BoxSizer(wx.VERTICAL)
f = CalendarChooser({'title':'cool title', 'help_msg':'cool help msg that is super long and intense andd has lots of words!', 'nargs': '+'})
sizer.Add(f.build(self), 0, wx.EXPAND)
self.SetSizer(sizer)
if __name__ == '__main__':
app = wx.App(False)
frame = MyFrame(None)
frame.Show(True)
app.MainLoop()