1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
/* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
#ifndef __EGG_RECENT_VIEW_BONOBO_H__
#define __EGG_RECENT_VIEW_BONOBO_H__
#include <libbonoboui.h>
G_BEGIN_DECLS
#define EGG_RECENT_VIEW_BONOBO(obj) G_TYPE_CHECK_INSTANCE_CAST (obj, egg_recent_view_bonobo_get_type (), EggRecentViewBonobo)
#define EGG_RECENT_VIEW_BONOBO_CLASS(klass) G_TYPE_CHECK_CLASS_CAST (klass, egg_recent_view_bonobo_get_type (), EggRecentViewBonoboClass)
#define EGG_IS_RECENT_VIEW_BONOBO(obj) G_TYPE_CHECK_INSTANCE_TYPE (obj, egg_recent_view_bonobo_get_type ())
typedef char *(*EggRecentViewBonoboTooltipFunc) (EggRecentItem *item,
gpointer user_data);
typedef struct _EggRecentViewBonobo EggRecentViewBonobo;
typedef struct _EggRecentViewBonoboClass EggRecentViewBonoboClass;
struct _EggRecentViewBonoboClass {
GObjectClass parent_class;
void (*activate) (EggRecentViewBonobo *view, EggRecentItem *item);
};
GType egg_recent_view_bonobo_get_type (void);
EggRecentViewBonobo * egg_recent_view_bonobo_new (BonoboUIComponent *uic,
const gchar *path);
void egg_recent_view_bonobo_set_ui_component (EggRecentViewBonobo *view,
BonoboUIComponent *uic);
void egg_recent_view_bonobo_set_ui_path (EggRecentViewBonobo *view,
const gchar *path);
gchar * egg_recent_view_bonobo_get_ui_path (EggRecentViewBonobo *view);
const BonoboUIComponent *egg_recent_view_bonobo_get_ui_component (EggRecentViewBonobo *view);
void egg_recent_view_bonobo_show_icons (EggRecentViewBonobo *view,
gboolean show);
void egg_recent_view_bonobo_show_numbers (EggRecentViewBonobo *view,
gboolean show);
void egg_recent_view_bonobo_set_tooltip_func (EggRecentViewBonobo *view,
EggRecentViewBonoboTooltipFunc func,
gpointer user_data);
void egg_recent_view_bonobo_set_icon_size (EggRecentViewBonobo *view,
GtkIconSize icon_size);
GtkIconSize egg_recent_view_bonobo_get_icon_size (EggRecentViewBonobo *view);
G_END_DECLS
#endif /* __EGG_RECENT_VIEW_BONOBO_H__ */
|