David Robillard
35fc31a1de
Update libraries to latest stable released version (except gnomecanvasmm, which is strangely packaged...). Fixes building (at least here). git-svn-id: svn://localhost/ardour2/trunk@2790 d708f5d6-7413-0410-9779-e7cbd77b26cf
52 lines
1.4 KiB
Plaintext
52 lines
1.4 KiB
Plaintext
/* $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
|
|
|