summaryrefslogtreecommitdiff
path: root/libs/gtkmm2/gtk/src/menubar.hg
diff options
context:
space:
mode:
Diffstat (limited to 'libs/gtkmm2/gtk/src/menubar.hg')
-rw-r--r--libs/gtkmm2/gtk/src/menubar.hg51
1 files changed, 51 insertions, 0 deletions
diff --git a/libs/gtkmm2/gtk/src/menubar.hg b/libs/gtkmm2/gtk/src/menubar.hg
new file mode 100644
index 0000000000..a47a952f65
--- /dev/null
+++ b/libs/gtkmm2/gtk/src/menubar.hg
@@ -0,0 +1,51 @@
+/* $Id: menubar.hg,v 1.2 2003/11/17 18:19:00 murrayc Exp $ */
+
+
+/* menubar.h
+ *
+ * Copyright (C) 1998-2002 The gtkmm Development Team
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library 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
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the Free
+ * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
+#include <gtkmm/menushell.h>
+#include <gtkmm/menuitem.h>
+_DEFS(gtkmm,gtk)
+_PINCLUDE(gtkmm/private/menushell_p.h)
+
+
+namespace Gtk
+{
+
+/** A standard menu bar which usually holds Gtk::Menu submenu items.
+ * The useful methods are in the base class - Gtk::MenuShell.
+ * @ingroup Widgets
+ * @ingroup Menus
+ */
+class MenuBar : public MenuShell
+{
+ _CLASS_GTKOBJECT(MenuBar,GtkMenuBar,GTK_MENU_BAR,Gtk::MenuShell,GtkMenuShell)
+
+public:
+ MenuBar();
+
+ // append, prepend and insert are defined in menushell
+
+private:
+ void init_accels_handler_(void);
+};
+
+} // namespace Gtk
+