Main Page - Header
Author: The Inti Development Team

Reference Manual

Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members

# menubar.h

Go to the documentation of this file.

    00001 /*  Inti: Integrated Foundation Classes
    00002  *  Copyright (C) 2002 The Inti Development Team.
    00003  *
    00004  *  This program is free software; you can redistribute it and/or modify
    00005  *  it under the terms of the GNU General Public License as published by
    00006  *  the Free Software Foundation; either version 2 of the License, or
    00007  *  (at your option) any later version.
    00008  *
    00009  *  This program is distributed in the hope that it will be useful,
    00010  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
    00011  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    00012  *  GNU Library General Public License for more details.
    00013  *
    00014  *  You should have received a copy of the GNU Library General Public License
    00015  *  along with this program; if not, write to the Free Software
    00016  *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
    00017  */
    00018
    00024
    00025 #ifndef INTI_GTK_MENU_BAR_H
    00026 #define INTI_GTK_MENU_BAR_H
    00027
    00028 #ifndef INTI_GTK_MENU_SHELL_H
    00029 #include <inti/gtk/menushell.h>
    00030 #endif
    00031
    00032 #ifndef __GTK_MENU_BAR_H__
    00033 #include <gtk/gtkmenubar.h>
    00034 #endif
    00035
    00036 namespace Inti {
    00037
    00038 namespace Gtk {
    00039
    00040 class MenuBarClass;
    00041
    00048
    00049 class MenuBar : public MenuShell
    00050 {
    00051         friend class G::Object;
    00052         friend class MenuBarClass;
    00053
    00054         MenuBar(const MenuBar&);
    00055         MenuBar& operator=(const MenuBar&);
    00056
    00057 protected:
    00060
    00061         explicit MenuBar(GtkMenuBar *menu_bar, bool reference = false);
    00068
    00070
    00071 public:
    00074
    00075         MenuBar();
    00077
    00078         virtual ~MenuBar();
    00080
    00083
    00084         GtkMenuBar* gtk_menu_bar() const { return (GtkMenuBar*)instance; }
    00086
    00087         GtkMenuBarClass* gtk_menu_bar_class() const;
    00089
    00090         operator GtkMenuBar* () const;
    00092
    00094 };
    00095
    00096 } // namespace Gtk
    00097
    00098 } // namespace Inti
    00099
    00100 #endif // INTI_GTK_MENU_BAR_H
    00101

Main Page - Footer