Logo Search packages:      
Sourcecode: file-browser-applet version File versions  Download package

panel-menu-bar.h

/*
 * File:                      panel-menu-bar.h
 * Created:                   October 2007
 * Created by:                Axel von Bertoldi
 * Last Modified:       August 2008
 * Last Modified by:    Axel von Bertoldi
 * (C) 2005-2008        Axel von Bertoldi
 *
 * This program is free software; you can redistribute it and/or modify it
 * under the terms of the GNU General Public License as published by the Free
 * Software Foundation; either version 2 of the License, or (at your option)
 * any later version.
 *
 * This program 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 General Public License for
 * more details.
 *
 * You should have received a copy of the GNU General Public License along with
 * this program; if not, write to:
 * The Free Software Foundation, Inc.,
 * 51 Franklin Street, Fifth Floor
 * Boston, MA 02110-1301, USA.
 */

#ifndef __PANEL_MENU_BAR_H__
#define __PANEL_MENU_BAR_H__

#include <glib-object.h>
#include <gtk/gtk.h>
#include <panel-applet.h>

#include "config.h"

G_BEGIN_DECLS

#define TYPE_PANEL_MENU_BAR (panel_menu_bar_get_type ())
#define PANEL_MENU_BAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_PANEL_MENU_BAR, PanelMenuBar))
#define PANEL_MENU_BAR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_PANEL_MENU_BAR, PanelMenuBarClass))
#define IS_PANEL_MENU_BAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_PANEL_MENU_BAR))
#define IS_PANEL_MENU_BAR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_PANEL_MENU_BAR))
#define PANEL_MENU_BAR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_PANEL_MENU_BAR, PanelMenuBarClass))

typedef struct _PanelMenuBar PanelMenuBar;
typedef struct _PanelMenuBarClass PanelMenuBarClass;
typedef struct _PanelMenuBarPrivate PanelMenuBarPrivate;

struct _PanelMenuBar {
      GtkMenuBar parent;
      PanelMenuBarPrivate *priv;
};
struct _PanelMenuBarClass {
      GtkMenuBarClass parent;
};

PanelMenuBar* panel_menu_bar_new (PanelApplet* applet);
GType panel_menu_bar_get_type (void);
void panel_menu_bar_edit_prefs (PanelMenuBar *menu_bar);

G_END_DECLS

#endif

Generated by  Doxygen 1.6.0   Back to index