1 /* gtkcellrendererprogress.h
2 * Taken from Gaim 0.77.
4 * Gaim is the legal property of its developers, whose names are too numerous
5 * to list here. Please refer to the COPYRIGHT file distributed with this
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
24 #ifndef __GTK_CELL_RENDERER_PROGRESS_H__
25 #define __GTK_CELL_RENDERER_PROGRESS_H__
27 #include <gtk/gtkcellrenderer.h>
31 #endif /* __cplusplus */
34 #define GTK_TYPE_CELL_RENDERER_PROGRESS (gtk_cell_renderer_progress_get_type())
35 #define GTK_CELL_RENDERER_PROGRESS(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_CELL_RENDERER_PROGRESS, GtkCellRendererProgress))
36 #define GTK_CELL_RENDERER_PROGRESS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_CELL_RENDERER_PROGRESS, GtkCellRendererProgressClass))
37 #define GTK_IS_CELL_PROGRESS_PROGRESS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_CELL_RENDERER_PROGRESS))
38 #define GTK_IS_CELL_PROGRESS_PROGRESS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_CELL_RENDERER_PROGRESS))
39 #define GTK_CELL_RENDERER_PROGRESS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_CELL_RENDERER_PROGRESS, GtkCellRendererProgressClass))
41 typedef struct _GtkCellRendererProgress GtkCellRendererProgress
;
42 typedef struct _GtkCellRendererProgressClass GtkCellRendererProgressClass
;
44 struct _GtkCellRendererProgress
{
45 GtkCellRenderer parent
;
52 struct _GtkCellRendererProgressClass
{
53 GtkCellRendererClass parent_class
;
56 GType
gtk_cell_renderer_progress_get_type (void);
57 GtkCellRenderer
*gtk_cell_renderer_progress_new (void);
62 #endif /* __cplusplus */
64 #endif /* __GTK_CELL_RENDERER_PROGRESS_H__ */