1 /* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2 #ifndef __EGG_RECENT_VIEW_BONOBO_H__
3 #define __EGG_RECENT_VIEW_BONOBO_H__
5 #include <libbonoboui.h>
9 #define EGG_RECENT_VIEW_BONOBO(obj) G_TYPE_CHECK_INSTANCE_CAST (obj, egg_recent_view_bonobo_get_type (), EggRecentViewBonobo)
10 #define EGG_RECENT_VIEW_BONOBO_CLASS(klass) G_TYPE_CHECK_CLASS_CAST (klass, egg_recent_view_bonobo_get_type (), EggRecentViewBonoboClass)
11 #define EGG_IS_RECENT_VIEW_BONOBO(obj) G_TYPE_CHECK_INSTANCE_TYPE (obj, egg_recent_view_bonobo_get_type ())
13 typedef char *(*EggRecentViewBonoboTooltipFunc) (EggRecentItem *item,
16 typedef struct _EggRecentViewBonobo EggRecentViewBonobo;
18 typedef struct _EggRecentViewBonoboClass EggRecentViewBonoboClass;
20 struct _EggRecentViewBonoboClass {
21 GObjectClass parent_class;
23 void (*activate) (EggRecentViewBonobo *view, EggRecentItem *item);
26 GType egg_recent_view_bonobo_get_type (void);
28 EggRecentViewBonobo * egg_recent_view_bonobo_new (BonoboUIComponent *uic,
32 void egg_recent_view_bonobo_set_ui_component (EggRecentViewBonobo *view,
33 BonoboUIComponent *uic);
35 void egg_recent_view_bonobo_set_ui_path (EggRecentViewBonobo *view,
38 gchar * egg_recent_view_bonobo_get_ui_path (EggRecentViewBonobo *view);
39 const BonoboUIComponent *egg_recent_view_bonobo_get_ui_component (EggRecentViewBonobo *view);
41 void egg_recent_view_bonobo_show_icons (EggRecentViewBonobo *view,
44 void egg_recent_view_bonobo_show_numbers (EggRecentViewBonobo *view,
47 void egg_recent_view_bonobo_set_tooltip_func (EggRecentViewBonobo *view,
48 EggRecentViewBonoboTooltipFunc func,
51 void egg_recent_view_bonobo_set_icon_size (EggRecentViewBonobo *view,
52 GtkIconSize icon_size);
54 GtkIconSize egg_recent_view_bonobo_get_icon_size (EggRecentViewBonobo *view);
58 #endif /* __EGG_RECENT_VIEW_BONOBO_H__ */