2
* A GtkImageMenuItem subclass that handles menu items that are
3
* intended to represent launchable applications.
5
* Copyright (c) 2004,2009 Brian Tarricone <bjt23@cornell.edu>
7
* This library is free software; you can redistribute it and/or
8
* modify it under the terms of the GNU Lesser General Public
9
* License as published by the Free Software Foundation; either
10
* version 2 of the License, or (at your option) any later version.
12
* This library is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15
* Lesser General Public License for more details.
17
* You should have received a copy of the GNU Lesser General Public
18
* License along with this library; if not, write to the
19
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
20
* Boston, MA 02111-1307, USA.
23
#ifndef __XFDESKTOP_APP_MENU_ITEM_H__
24
#define __XFDESKTOP_APP_MENU_ITEM_H__
26
#include <glib-object.h>
27
#include <garcon/garcon.h>
31
#define XFDESKTOP_TYPE_APP_MENU_ITEM (xfdesktop_app_menu_item_get_type())
32
#define XFDESKTOP_APP_MENU_ITEM(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), XFDESKTOP_TYPE_APP_MENU_ITEM, XfdesktopAppMenuItem))
33
#define XFDESKTOP_APP_MENU_ITEM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), XFDESKTOP_TYPE_APP_MENU_ITEM, XfdesktopAppMenuItemClass))
34
#define XFCE_IS_APP_MENU_ITEM(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), XFDESKTOP_TYPE_APP_MENU_ITEM))
35
#define XFCE_IS_APP_MENU_ITEM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), XFDESKTOP_TYPE_APP_MENU_ITEM))
36
#define XFDESKTOP_APP_MENU_ITEM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), XFDESKTOP_TYPE_APP_MENU_ITEM, XfdesktopAppMenuItemClass))
38
typedef struct _XfdesktopAppMenuItem XfdesktopAppMenuItem;
40
GType xfdesktop_app_menu_item_get_type (void) G_GNUC_CONST;
42
GtkWidget *xfdesktop_app_menu_item_new (GarconMenuItem *item);
44
void xfdesktop_app_menu_item_set_show_icon (gboolean show_icon);
48
#endif /* !def __XFDESKTOP_APP_MENU_ITEM_H__ */