[gtkmm] AccelLabel: Add set_accel().



commit a904c73bfc1906fceeb614ada34b3151be468bb2
Author: Murray Cumming <murrayc murrayc com>
Date:   Mon Mar 25 11:09:47 2013 +0100

    AccelLabel: Add set_accel().
    
        * gtk/src/accellable.hg: Wrap the new
        gtk_accel_label_set_accel() function.

 ChangeLog             |    7 +++++++
 gtk/src/accellabel.hg |    2 ++
 2 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 2196da0..1ac464f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2013-03-07  Murray Cumming  <murrayc murrayc com>
+
+       AccelLabel: Add set_accel().
+       
+       * gtk/src/accellable.hg: Wrap the new
+       gtk_accel_label_set_accel() function.
+
 3.7.12 (unstable):
 
 2013-03-07  Murray Cumming  <murrayc murrayc com>
diff --git a/gtk/src/accellabel.hg b/gtk/src/accellabel.hg
index 62ea9f5..eb97696 100644
--- a/gtk/src/accellabel.hg
+++ b/gtk/src/accellabel.hg
@@ -57,6 +57,8 @@ public:
   _WRAP_METHOD(guint get_accel_width() const, gtk_accel_label_get_accel_width)
   _WRAP_METHOD(bool refetch(), gtk_accel_label_refetch)
 
+  _WRAP_METHOD(void set_accel(guint accelerator_key, Gdk::ModifierType accelerator_mods), 
gtk_accel_label_set_accel)
+
   //_WRAP_PROPERTY("accel-closure", Glib::Object) //GClosure
   _WRAP_PROPERTY("accel-widget", Gtk::Widget*)
 };


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