[gtkmm/gtkmm-2-24] Range: Added get/set_round_digits() and property.



commit fe4ee82b4c8c0965e27dd6b8ac23a0a850fbf79a
Author: Murray Cumming <murrayc murrayc com>
Date:   Tue Jan 18 09:33:41 2011 +0100

    Range: Added get/set_round_digits() and property.
    
    * gtk/src/range.hg: This API Is new in GTK+ in git master.

 ChangeLog        |    6 ++++++
 gtk/src/range.hg |    3 +++
 2 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 9f5178f..31301d2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2011-01-18  Murray Cumming  <murrayc murrayc com>
+
+	Range: Added get/set_round_digits() and property.
+
+	* gtk/src/range.hg: This API Is new in GTK+ in git master.
+
 2.23.90:
 
 2011-01-15  Murray Cumming  <murrayc murrayc com>
diff --git a/gtk/src/range.hg b/gtk/src/range.hg
index 2d38a1f..6fd55db 100644
--- a/gtk/src/range.hg
+++ b/gtk/src/range.hg
@@ -94,6 +94,8 @@ public:
   _WRAP_METHOD(bool get_restrict_to_fill_level() const, gtk_range_get_restrict_to_fill_level)
   _WRAP_METHOD(void set_fill_level(double fill_level), gtk_range_set_fill_level)
   _WRAP_METHOD(double get_fill_level() const, gtk_range_get_fill_level)
+  _WRAP_METHOD(void set_round_digits(int round_digits), gtk_range_set_round_digits)
+  _WRAP_METHOD(int get_round_digits() const, gtk_range_get_round_digits)
 
   _WRAP_SIGNAL(void value_changed(), "value_changed")
   _WRAP_SIGNAL(void adjust_bounds(double new_value), "adjust_bounds")
@@ -132,6 +134,7 @@ public:
   _WRAP_PROPERTY("show-fill-level", bool)
   _WRAP_PROPERTY("restrict-to-fill-level", bool)
   _WRAP_PROPERTY("fill-level", double)
+  _WRAP_PROPERTY("round-digits", int)
   
 protected:
 #m4 _CONVERSION(`Gtk::Border*',`GtkBorder*',($3))



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