Add menu title hotkeys to the GUI.
[hooke.git] / hooke / ui / gui / navbar.py
index c10f6a1629cfb7d321320aead8b411c7f2ffd040..64e5895c597acf7434f935a3df493ec078602f23 100644 (file)
@@ -1,10 +1,28 @@
-# Copyright
+# Copyright (C) 2010 W. Trevor King <wking@drexel.edu>
+#
+# This file is part of Hooke.
+#
+# Hooke is free software: you can redistribute it and/or modify it
+# under the terms of the GNU Lesser General Public License as
+# published by the Free Software Foundation, either version 3 of the
+# License, or (at your option) any later version.
+#
+# Hooke is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+# or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General
+# Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with Hooke.  If not, see
+# <http://www.gnu.org/licenses/>.
 
 """Navigation bar for Hooke.
 """
 
 import wx
 
+from ...util.callback import callback, in_callback
+
 
 class NavBar (wx.ToolBar):
     def __init__(self, callbacks, *args, **kwargs):