[gtkmm] TextView: Wrap monospace property



commit c80edc00c98a82f92b55043b5445686686645731
Author: Juan R. GarcĂ­a Blanco <juanrgar gmail com>
Date:   Mon Dec 15 21:53:41 2014 +0100

    TextView: Wrap monospace property

 gtk/src/textview.hg |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/gtk/src/textview.hg b/gtk/src/textview.hg
index 31be83d..7391194 100644
--- a/gtk/src/textview.hg
+++ b/gtk/src/textview.hg
@@ -198,6 +198,9 @@ public:
   _WRAP_METHOD(void set_input_hints(InputHints hints), gtk_text_view_set_input_hints)
   _WRAP_METHOD(InputHints get_input_hints() const, gtk_text_view_get_input_hints)
 
+  _WRAP_METHOD(void set_monospace(bool monospace = true), gtk_text_view_set_monospace)
+  _WRAP_METHOD(bool get_monospace() const, gtk_text_view_get_monospace)
+
   //TODO: This signal now takes a GtkWidget* instead of just a GtkMenu*,
   //so change that when we can break ABI.
   //See https://git.gnome.org/browse/gtk+/commit/?id=88623b98a7ca0afca08ac21bc3aa662c6ed3ab7f
@@ -242,6 +245,7 @@ public:
   _WRAP_PROPERTY("input-purpose", InputPurpose)
   _WRAP_PROPERTY("input-hints", InputHints)
   _WRAP_PROPERTY("populate-all", bool)
+  _WRAP_PROPERTY("monospace", bool)
 };
 
 } //namespace Gtk


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