Initial import of ephy (rev# 7126) from svn
[ephy-soc.git] / src / bookmarks / ephy-topics-palette.h
blob5126d62e846451bd959222d76ffe7d126ec79c47
1 /*
2 * Copyright © 2002 Marco Pesenti Gritti <mpeseng@tin.it>
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 Street, Fifth Floor, Boston, MA 02110-1301, USA.
18 * $Id: ephy-topics-palette.h 6952 2007-03-11 19:42:02Z chpe $
21 #ifndef EPHY_TOPICS_PALETTE_H
22 #define EPHY_TOPICS_PALETTE_H
24 #include "ephy-bookmarks.h"
25 #include <gtk/gtk.h>
27 G_BEGIN_DECLS
29 #define EPHY_TYPE_TOPICS_PALETTE (ephy_topics_palette_get_type ())
30 #define EPHY_TOPICS_PALETTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), EPHY_TYPE_TOPICS_PALETTE, EphyTopicsPalette))
31 #define EPHY_TOPICS_PALETTE_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), EPHY_TYPE_TOPICS_PALETTE, EphyTopicsPaletteClass))
32 #define EPHY_IS_TOPICS_PALETTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), EPHY_TYPE_TOPICS_PALETTE))
33 #define EPHY_IS_TOPICS_PALETTE_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), EPHY_TYPE_TOPICS_PALETTE))
34 #define EPHY_TOPICS_PALETTE_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), EPHY_TYPE_TOPICS_PALETTE, EphyTopicsPaletteClass))
36 typedef struct _EphyTopicsPalettePrivate EphyTopicsPalettePrivate;
38 typedef struct
40 GtkTreeView parent;
42 /*< private >*/
43 EphyTopicsPalettePrivate *priv;
44 } EphyTopicsPalette;
46 typedef struct
48 GtkTreeViewClass parent;
49 } EphyTopicsPaletteClass;
51 GType ephy_topics_palette_get_type (void);
53 GtkWidget *ephy_topics_palette_new (EphyBookmarks *bookmarks,
54 EphyNode *bookmark);
56 void ephy_topics_palette_new_topic (EphyTopicsPalette *palette);
58 G_END_DECLS
60 #endif /* EPHY_TOPICS_PALETTE_H */