Broke menu, navbar, statusbar, panel.notebook, and panel.welcome out of gui
[hooke.git] / hooke / ui / gui / panel / notebook.py
1 # Copyright
2
3 """Notebook panel for Hooke.
4 """
5
6 import wx.aui as aui
7
8 from .welcome import Welcome
9
10
11 class Notebook (aui.AuiNotebook):
12     def __init__(self, *args, **kwargs):
13         super(Notebook, self).__init__(*args, **kwargs)
14         self.SetArtProvider(aui.AuiDefaultTabArt())
15         #uncomment if we find a nice icon
16         #page_bmp = wx.ArtProvider.GetBitmap(wx.ART_NORMAL_FILE, wx.ART_OTHER, wx.Size(16, 16))
17         self.AddPage(
18             Welcome(
19                 parent=self,
20                 size=wx.Size(400, 300)),
21             'Welcome')