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.
19
/* cairo-menu-applet.h */
21
#ifndef _CAIRO_AUX_ICON
22
#define _CAIRO_AUX_ICON
24
#include <libawn/libawn.h>
25
#include <glib-object.h>
29
#define AWN_TYPE_CAIRO_AUX_ICON cairo_aux_icon_get_type()
31
#define AWN_CAIRO_AUX_ICON(obj) \
32
(G_TYPE_CHECK_INSTANCE_CAST ((obj), AWN_TYPE_CAIRO_AUX_ICON, CairoAuxIcon))
34
#define AWN_CAIRO_AUX_ICON_CLASS(klass) \
35
(G_TYPE_CHECK_CLASS_CAST ((klass), AWN_TYPE_CAIRO_AUX_ICON, CairoMainAuxClass))
37
#define AWN_IS_CAIRO_AUX_ICON(obj) \
38
(G_TYPE_CHECK_INSTANCE_TYPE ((obj), AWN_TYPE_CAIRO_AUX_ICON))
40
#define AWN_IS_CAIRO_AUX_ICON_CLASS(klass) \
41
(G_TYPE_CHECK_CLASS_TYPE ((klass), AWN_TYPE_CAIRO_AUX_ICON))
43
#define AWN_CAIRO_AUX_ICON_GET_CLASS(obj) \
44
(G_TYPE_INSTANCE_GET_CLASS ((obj), AWN_TYPE_CAIRO_AUX_ICON, CairoMainAuxClass))
51
AwnThemedIconClass parent_class;
54
GType cairo_aux_icon_get_type (void);
56
GtkWidget* cairo_aux_icon_new (AwnApplet * applet, gchar * menu_name,gchar * display_name, gchar * icon_name);