3
* Copyright (C) 2002 Jasper Huijsmans (huysmans@users.sourceforge.net)
5
* This program is free software; you can redistribute it and/or modify
6
* it under the terms of the GNU General Public License as published by
7
* the Free Software Foundation; either version 2 of the License, or
8
* (at your option) any later version.
10
* This program is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
15
* You should have received a copy of the GNU General Public License
16
* along with this program; if not, write to the Free Software
17
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
20
#ifndef __XFCE_ITEMS_H
21
#define __XFCE_ITEMS_H
23
#include <panel/global.h>
26
{ PANELITEM, MENUITEM };
46
/* for panel launchers */
50
/* special menu item */
51
void create_addtomenu_item (Item * mi);
54
Item *menu_item_new (PanelPopup * pp);
56
void create_menu_item (Item * mi);
58
void menu_item_set_popup_size (Item * item, int size);
60
/* panel control interface for panel items */
61
void create_panel_item (Control * control);
63
void panel_item_class_init (ControlClass * cc);
65
/* common functions */
66
void item_free (Item * item);
68
void item_set_theme (Item * item, const char *theme);
70
void item_apply_config (Item * item);
72
void item_read_config (Item * item, xmlNodePtr node);
74
void item_write_config (Item * item, xmlNodePtr node);
76
#endif /* __XFCE_ITEMS_H */