• Main Page
  • Related Pages
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

ev_UnixMenuBar.h

Go to the documentation of this file.
00001 /* -*- mode: C++; tab-width: 4; c-basic-offset: 4; -*- */
00002 /* AbiSource Program Utilities
00003  * Copyright (C) 1998-2000 AbiSource, Inc.
00004  *
00005  * This program is free software; you can redistribute it and/or
00006  * modify it under the terms of the GNU General Public License
00007  * as published by the Free Software Foundation; either version 2
00008  * of the License, or (at your option) any later version.
00009  *
00010  * This program is distributed in the hope that it will be useful,
00011  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00012  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013  * GNU General Public License for more details.
00014  *
00015  * You should have received a copy of the GNU General Public License
00016  * along with this program; if not, write to the Free Software
00017  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
00018  * 02110-1301 USA.
00019  */
00020 
00021 #ifndef EV_UNIXMENUBAR_H
00022 #define EV_UNIXMENUBAR_H
00023 
00024 #include "ev_UnixMenu.h"
00025 
00026 class AV_View;
00027 class XAP_UnixApp;
00028 class XAP_UnixFrame;
00029 
00030 
00031 /*****************************************************************/
00032 
00033 class EV_UnixMenuBar : public EV_UnixMenu
00034 {
00035 public:
00036     EV_UnixMenuBar(XAP_UnixApp * pUnixApp,
00037                XAP_Frame * pFrame,
00038                const char * szMenuLayoutName,
00039                const char * szMenuLabelSetName);
00040     virtual ~EV_UnixMenuBar();
00041 
00042     virtual bool        synthesizeMenuBar();
00043     virtual bool        rebuildMenuBar();
00044     virtual bool        refreshMenu(AV_View * pView);
00045     virtual void        destroy(void);
00046 
00047     GtkWidget *         getMenuBar(void) const {return m_wMenuBar;}
00048 
00049 protected:
00050     GtkWidget *     m_wMenuBar;
00051 };
00052 
00053 #endif /* EV_UNIXMENUBAR_H */

Generated on Sun Feb 14 2021 for AbiWord by  doxygen 1.7.1