2
* Copyright (C) 2009 Rodney Cryderman <rcryderman@gmail.com>
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.
28
#define AWN_TYPE_CAIRO_MENU cairo_menu_get_type()
30
#define AWN_CAIRO_MENU(obj) \
31
(G_TYPE_CHECK_INSTANCE_CAST ((obj), AWN_TYPE_CAIRO_MENU, CairoMenu))
33
#define AWN_CAIRO_MENU_CLASS(klass) \
34
(G_TYPE_CHECK_CLASS_CAST ((klass), AWN_TYPE_CAIRO_MENU, CairoMenuClass))
36
#define AWN_IS_CAIRO_MENU(obj) \
37
(G_TYPE_CHECK_INSTANCE_TYPE ((obj), AWN_TYPE_CAIRO_MENU))
39
#define AWN_IS_CAIRO_MENU_CLASS(klass) \
40
(G_TYPE_CHECK_CLASS_TYPE ((klass), AWN_TYPE_CAIRO_MENU))
42
#define AWN_CAIRO_MENU_GET_CLASS(obj) \
43
(G_TYPE_INSTANCE_GET_CLASS ((obj), AWN_TYPE_CAIRO_MENU, CairoMenuClass))
50
GtkMenuClass parent_class;
53
GType cairo_menu_get_type (void);
55
GtkWidget* cairo_menu_new (void);
59
#endif /* _CAIRO_MENU */