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

pbarcellrenderer.h

Go to the documentation of this file.
00001 /*
00002  * $Id: pbarcellrenderer.h,v 1.4 2005/07/19 18:38:44 cbiere Exp $
00003  *
00004  * Copyright (c) 2004, Russell Francis
00005  *
00006  *----------------------------------------------------------------------
00007  * This file is part of gtk-gnutella.
00008  *
00009  *  gtk-gnutella is free software; you can redistribute it and/or modify
00010  *  it under the terms of the GNU General Public License as published by
00011  *  the Free Software Foundation; either version 2 of the License, or
00012  *  (at your option) any later version.
00013  *
00014  *  gtk-gnutella is distributed in the hope that it will be useful,
00015  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00016  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00017  *  GNU General Public License for more details.
00018  *
00019  *  You should have received a copy of the GNU General Public License
00020  *  along with gtk-gnutella; if not, write to the Free Software
00021  *  Foundation, Inc.:
00022  *      59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00023  *----------------------------------------------------------------------
00024  */
00025 
00058 #ifndef _gtk2_pbarcellrenderer_h_
00059 #define _gtk2_pbarcellrenderer_h_
00060 
00061 #include <gtk/gtkcellrenderer.h>
00062 #include "gtk/gui.h"
00063 
00064 #if !defined(GTK_TYPE_CELL_RENDERER_PROGRESS)
00065 #define USING_CUSTOM_TYPE_CELL_RENDERER_PROGRESS
00066 
00067 /*
00068  * This widget is included in GTK+ since 2.5.0
00069  */
00070 
00071 G_BEGIN_DECLS
00072 
00073 #define GTK_TYPE_CELL_RENDERER_PROGRESS (gtk_cell_renderer_get_type ())
00074 #define GTK_CELL_RENDERER_PROGRESS(obj) \
00075     (G_TYPE_CHECK_INSTANCE_CAST ((obj), \
00076     GTK_TYPE_CELL_RENDERER_PROGRESS, GtkCellRendererProgress))
00077 
00078 typedef struct _GtkCellRendererProgress      GtkCellRendererProgress;
00079 typedef struct _GtkCellRendererProgressClass GtkCellRendererProgressClass;
00080 typedef struct _GtkCellRendererProgressPriv  GtkCellRendererProgressPriv;
00081 
00082 struct _GtkCellRendererProgress {
00083     GtkCellRenderer parent_instance;
00084     GtkCellRendererProgressPriv* priv;
00085 };
00086 
00087 struct _GtkCellRendererProgressClass{
00088     GtkCellRendererClass parent_class;
00089 };
00090 
00091 GtkType gtk_cell_renderer_progress_get_type (void) G_GNUC_CONST;
00092 GtkCellRenderer* gtk_cell_renderer_progress_new(void);
00093 
00094 G_END_DECLS
00095 
00096 #endif /* !USING_CUSTOM_TYPE_CELL_RENDERER_PROGRESS */
00097 #endif  /* _gtk2_pbarcellrenderer_h_ */

Generated on Sun Feb 12 10:49:57 2006 for Gtk-Gnutella by doxygen 1.3.6