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_POPUP_H__
21
#define __XFCE_POPUP_H__
23
#include <libxml/tree.h>
24
#include <panel/global.h>
42
GtkWidget *tearoff_button;
45
GList *items; /* type Item */
49
PanelPopup *create_panel_popup (void);
50
void panel_popup_free (PanelPopup * pp);
52
void panel_popup_pack (PanelPopup * pp, GtkBox * box);
53
void panel_popup_unpack (PanelPopup * pp);
55
void panel_popup_add_item (PanelPopup * pp, Item * mi);
56
void panel_popup_remove_item (PanelPopup * pp, Item * mi);
58
void panel_popup_set_size (PanelPopup * pp, int size);
59
void panel_popup_set_popup_position (PanelPopup * pp, int position);
60
void panel_popup_set_layer (PanelPopup * pp, int layer);
61
void panel_popup_set_theme (PanelPopup * pp, const char *theme);
62
void panel_popup_set_arrow_type (PanelPopup * pp, GtkArrowType type);
64
void hide_current_popup_menu (void);
66
void panel_popup_set_from_xml (PanelPopup * pp, xmlNodePtr node);
67
void panel_popup_write_xml (PanelPopup * pp, xmlNodePtr root);
69
#endif /* __XFCE_POPUP_H__ */