2
* Copyright (c) 2008-2009 Mike Massonnet <mmassonnet@xfce.org>
4
* This program is free software; you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License as published by
6
* the Free Software Foundation; either version 2 of the License, or
7
* (at your option) any later version.
9
* This program is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
* GNU General Public License for more details.
14
* You should have received a copy of the GNU General Public License
15
* along with this program; if not, write to the Free Software
16
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19
#ifndef __CLIPMAN_MENU_H__
20
#define __CLIPMAN_MENU_H__
22
#include <glib-object.h>
25
#define CLIPMAN_TYPE_MENU (clipman_menu_get_type())
27
#define CLIPMAN_MENU(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CLIPMAN_TYPE_MENU, ClipmanMenu))
28
#define CLIPMAN_MENU_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CLIPMAN_TYPE_MENU, ClipmanMenuClass))
30
#define CLIPMAN_IS_MENU(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CLIPMAN_TYPE_MENU))
31
#define CLIPMAN_IS_MENU_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CLIPMAN_TYPE_MENU))
33
#define CLIPMAN_MENU_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CLIPMAN_TYPE_MENU, ClipmanMenuClass))
35
typedef struct _ClipmanMenuClass ClipmanMenuClass;
36
typedef struct _ClipmanMenu ClipmanMenu;
37
typedef struct _ClipmanMenuPrivate ClipmanMenuPrivate;
39
struct _ClipmanMenuClass
41
GtkMenuClass parent_class;
49
ClipmanMenuPrivate *priv;
52
GType clipman_menu_get_type ();
54
GtkWidget * clipman_menu_new ();
56
#endif /* !__CLIPMAN_MENU_H__ */