Main Page | Modules | Data Structures | File List | Data Fields | Globals | Related Pages

gtask-cell-renderer-progress.h

Go to the documentation of this file.
00001 #ifndef GTASK_CELL_RENDERER_PROGRESS_H
00002 #define GTASK_CELL_RENDERER_PROGRESS_H
00003 
00004 #include <gtk/gtkcellrenderer.h>
00005 
00006 #include <gtask/gtask-generic-task.h>
00007 
00010 /* @{ */
00011 
00012 typedef struct _GTaskCellRendererProgress        GTaskCellRendererProgress;
00013 typedef struct _GTaskCellRendererProgressClass   GTaskCellRendererProgressClass;
00014 typedef struct _GTaskCellRendererProgressPrivate GTaskCellRendererProgressPrivate;
00015 
00017 #define GTASK_CELL_RENDERER_PROGRESS_TYPE \
00018                                        (gtask_cell_renderer_progress_get_type())
00019 
00021 #define GTASK_CELL_RENDERER_PROGRESS(obj) (G_TYPE_CHECK_INSTANCE_CAST( (obj), \
00022                                            GTASK_CELL_RENDERER_PROGRESS_TYPE, \
00023                                            GTaskCellRendererProgress ))
00024 
00026 #define GTASK_CELL_RENDERER_PROGRESS_CLASS(klass) \
00027                                           (G_TYPE_CHECK_CLASS_CAST( (klass), \
00028                                            GTASK_CELL_RENDERER_PROGRESS_TYPE, \
00029                                            GTaskCellRendererProgressClass ))
00030 
00035 #define GTASK_IS_CELL_RENDERER_PROGRESS(obj) \
00036                                         (G_TYPE_CHECK_INSTANCE_TYPE( (obj), \
00037                                          GTASK_CELL_RENDERER_PROGRESS_TYPE ))
00038 
00043 #define GTASK_IS_CELL_RENDERER_PROGRESS_CLASS(klass) \
00044                                         (G_TYPE_CHECK_CLASS_TYPE( (klass), \
00045                                          GTASK_CELL_RENDERER_PROGRESS_TYPE ))
00046 
00047 #define GTASK_CELL_RENDERER_PROGRESS_GET_CLASS(obj) \
00048                                         (G_TYPE_INSTANCE_GET_CLASS( (obj), \
00049                                          GTASK_CELL_RENDERER_PROGRESS_TYPE, \
00050                                          GTaskCellRendererProgressClass ))
00051 
00052 
00053 struct _GTaskCellRendererProgress {
00054         GtkCellRenderer                   parent;
00055         GTaskCellRendererProgressPrivate *private;
00056 };
00057 
00058 struct _GTaskCellRendererProgressPrivate {
00059     gfloat             value;
00060     GTaskActivityState activity_state;
00061 };
00062 
00063 struct _GTaskCellRendererProgressClass {
00064         GtkCellRendererClass parent;
00065 };
00066 
00067 GtkType gtask_cell_renderer_progress_get_type( void );
00068 
00069 GtkCellRenderer *
00070 gtask_cell_renderer_progress_new( void );
00071 
00072 /* @} */
00073 
00074 #endif

Generated on Mon Feb 2 21:33:25 2004 for libgtask-ui by doxygen 1.3.4