1 /* $Id: cellrendererprogress.hg,v 1.3 2006/05/10 20:59:27 murrayc Exp $ */
3 /* Copyright (C) 2004 The gtkmm Development Team
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 Free
17 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20 #include <gtkmm/cellrenderer.h>
22 _PINCLUDE(gtkmm/private/cellrenderer_p.h)
28 /** Renders numbers as progress bars.
33 class CellRendererProgress : public CellRenderer
35 _CLASS_GTKOBJECT(CellRendererProgress, GtkCellRendererProgress, GTK_CELL_RENDERER_PROGRESS, Gtk::CellRenderer, GtkCellRenderer)
39 _WRAP_PROPERTY("value", int)
40 _WRAP_PROPERTY("text", Glib::ustring)
41 _WRAP_PROPERTY("pulse", int)
42 _WRAP_PROPERTY("text-xalign", float)
43 _WRAP_PROPERTY("text-yalign", float)
45 #ifdef GLIBMM_PROPERTIES_ENABLED
46 virtual Glib::PropertyProxy_Base _property_renderable();
48 virtual Glib::ustring _property_renderable();