[gtkmm] ProgressBar and CellRendererProgress: Add properties.



commit ccfeb727d12b82984ceb57d51f87c7ab469547ef
Author: Murray Cumming <murrayc murrayc com>
Date:   Thu Jul 21 09:51:24 2011 +0200

    ProgressBar and CellRendererProgress: Add properties.
    
    	* gtk/src/cellrendererprogress.hg: Add inverted property.
    	* gtk/src/progressbar.hg: Add show-text and inverted properties.

 ChangeLog                       |    7 +++++++
 gtk/src/cellrendererprogress.hg |    1 +
 gtk/src/progressbar.hg          |    2 ++
 3 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index b40951e..94e7096 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2011-07-21  Murray Cumming  <murrayc murrayc com>
+
+	ProgressBar and CellRendererProgress: Add properties.
+
+	* gtk/src/cellrendererprogress.hg: Add inverted property.
+	* gtk/src/progressbar.hg: Add show-text and inverted properties.
+
 2011-07-20  Jonathon Jongsma  <jonathon jongsma collabora co uk>
 
   Tooltip: Add unset_*() methods.
diff --git a/gtk/src/cellrendererprogress.hg b/gtk/src/cellrendererprogress.hg
index c2d6927..ac19bd9 100644
--- a/gtk/src/cellrendererprogress.hg
+++ b/gtk/src/cellrendererprogress.hg
@@ -45,6 +45,7 @@ public:
   _WRAP_PROPERTY("pulse", int)
   _WRAP_PROPERTY("text-xalign", float)
   _WRAP_PROPERTY("text-yalign", float)
+  _WRAP_PROPERTY("inverted", bool)
   
   virtual Glib::PropertyProxy_Base _property_renderable();
 };
diff --git a/gtk/src/progressbar.hg b/gtk/src/progressbar.hg
index 5bcbb84..c67ad84 100644
--- a/gtk/src/progressbar.hg
+++ b/gtk/src/progressbar.hg
@@ -97,6 +97,8 @@ public:
   _WRAP_PROPERTY("pulse-step", double)
   _WRAP_PROPERTY("text", Glib::ustring)
   _WRAP_PROPERTY("ellipsize", bool)
+  _WRAP_PROPERTY("show-text", bool)
+  _WRAP_PROPERTY("inverted", bool)
 };
 
 } // namespace Gtk



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]