1
/* baobab-cell-renderer-progress.h
3
* Copyright (C) 2006 Paolo Borelli
5
* This library is free software; you can redistribute it and/or
6
* modify it under the terms of the GNU Library General Public
7
* License as published by the Free Software Foundation; either
8
* version 2 of the License, or (at your option) any later version.
10
* This library is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
* Library General Public License for more details.
15
* You should have received a copy of the GNU Library General Public
16
* License along with this library; if not, write to the
17
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18
* Boston, MA 02111-1307, USA.
21
#ifndef __BAOBAB_CELL_RENDERER_PROGRESS_H__
22
#define __BAOBAB_CELL_RENDERER_PROGRESS_H__
24
#include <gtk/gtkcellrenderer.h>
28
#define BAOBAB_TYPE_CELL_RENDERER_PROGRESS (baobab_cell_renderer_progress_get_type ())
29
#define BAOBAB_CELL_RENDERER_PROGRESS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BAOBAB_TYPE_CELL_RENDERER_PROGRESS, BaobabCellRendererProgress))
30
#define BAOBAB_CELL_RENDERER_PROGRESS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BAOBAB_TYPE_CELL_RENDERER_PROGRESS, BaobabCellRendererProgressClass))
31
#define BAOBAB_IS_CELL_RENDERER_PROGRESS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BAOBAB_TYPE_CELL_RENDERER_PROGRESS))
32
#define BAOBAB_IS_CELL_RENDERER_PROGRESS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BAOBAB_TYPE_CELL_RENDERER_PROGRESS))
33
#define BAOBAB_CELL_RENDERER_PROGRESS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BAOBAB_TYPE_CELL_RENDERER_PROGRESS, BaobabCellRendererProgressClass))
35
typedef struct _BaobabCellRendererProgress BaobabCellRendererProgress;
36
typedef struct _BaobabCellRendererProgressClass BaobabCellRendererProgressClass;
37
typedef struct _BaobabCellRendererProgressPrivate BaobabCellRendererProgressPrivate;
39
struct _BaobabCellRendererProgress
41
GtkCellRenderer parent_instance;
44
BaobabCellRendererProgressPrivate *priv;
47
struct _BaobabCellRendererProgressClass
49
GtkCellRendererClass parent_class;
52
GType baobab_cell_renderer_progress_get_type (void) G_GNUC_CONST;
53
GtkCellRenderer* baobab_cell_renderer_progress_new (void);
57
#endif /* __BAOBAB_CELL_RENDERER_PROGRESS_H__ */