Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

egg-recent-view-gtk.h

Go to the documentation of this file.
00001 /* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
00002 #ifndef __EGG_RECENT_VIEW_GTK_H__
00003 #define __EGG_RECENT_VIEW_GTK_H__
00004 
00005 G_BEGIN_DECLS
00006 
00007 #include <gtk/gtk.h>
00008 #include "egg-recent-item.h"
00009 
00010 #define EGG_RECENT_VIEW_GTK(obj)                G_TYPE_CHECK_INSTANCE_CAST (obj, egg_recent_view_gtk_get_type (), EggRecentViewGtk)
00011 #define EGG_RECENT_VIEW_GTK_CLASS(klass)        G_TYPE_CHECK_CLASS_CAST (klass, egg_recent_view_gtk_get_type (), EggRecentViewGtkClass)
00012 #define EGG_IS_RECENT_VIEW_GTK(obj)             G_TYPE_CHECK_INSTANCE_TYPE (obj, egg_recent_view_gtk_get_type ())
00013 
00014 typedef void (*EggRecentViewGtkTooltipFunc) (GtkTooltips *tooltips,
00015                                              GtkWidget *menu,
00016                                              EggRecentItem *item,
00017                                              gpointer user_data);
00018 
00019 typedef struct _EggRecentViewGtk EggRecentViewGtk;
00020 
00021 typedef struct _EggRecentViewGtkClass EggRecentViewGtkClass;
00022 
00023 struct _EggRecentViewGtkClass {
00024         GObjectClass parent_class;
00025         
00026         void (*activate) (EggRecentViewGtk *view, EggRecentItem *item);
00027 };
00028 
00029 GType        egg_recent_view_gtk_get_type (void);
00030 
00031 EggRecentViewGtk * egg_recent_view_gtk_new (GtkWidget *menu,
00032                                             GtkWidget *start_menu_item);
00033 
00034 void egg_recent_view_gtk_set_menu            (EggRecentViewGtk *view,
00035                                                 GtkWidget *menu);
00036 GtkWidget * egg_recent_view_gtk_get_menu     (EggRecentViewGtk *view);
00037 
00038 
00039 void egg_recent_view_gtk_set_start_menu_item (EggRecentViewGtk *view,
00040                                               GtkWidget *menu_item);
00041 GtkWidget *egg_recent_view_gtk_get_start_menu_item     (EggRecentViewGtk *view);
00042 
00043 void egg_recent_view_gtk_set_leading_sep     (EggRecentViewGtk *view,
00044                                                 gboolean val);
00045 
00046 void egg_recent_view_gtk_set_trailing_sep    (EggRecentViewGtk *view,
00047                                                 gboolean val);
00048 
00049 void egg_recent_view_gtk_show_icons          (EggRecentViewGtk *view,
00050                                               gboolean show);
00051 void egg_recent_view_gtk_show_numbers        (EggRecentViewGtk *view,
00052                                               gboolean show);
00053 
00054 void egg_recent_view_gtk_set_tooltip_func    (EggRecentViewGtk *view,
00055                                               EggRecentViewGtkTooltipFunc func,
00056                                               gpointer user_data);
00057 
00058 void egg_recent_view_gtk_set_icon_size       (EggRecentViewGtk *view,
00059                                               GtkIconSize icon_size);
00060 GtkIconSize egg_recent_view_gtk_get_icon_size (EggRecentViewGtk *view);
00061 
00062 G_END_DECLS
00063 
00064 #endif /* __EGG_RECENT_VIEW_GTK_H__ */

Generated on Tue Jan 4 19:00:08 2005 for bakery by  doxygen 1.3.9.1