[gtkmm] Gtk::Entry: add new symbols as for 3.11.7



commit 62835a03b16d4f95528665e6b89f72349dc4af09
Author: Juan R. GarcĂ­a Blanco <juanrgar gmail com>
Date:   Mon Feb 17 03:37:43 2014 +0100

    Gtk::Entry: add new symbols as for 3.11.7
    
        * Add ::max-width-chars object property
        * Add ::max-width-chars getter/setter object methods

 gtk/src/entry.hg |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gtk/src/entry.hg b/gtk/src/entry.hg
index 59cb9ca..ae0d750 100644
--- a/gtk/src/entry.hg
+++ b/gtk/src/entry.hg
@@ -104,6 +104,8 @@ public:
   _WRAP_METHOD(gboolean get_activates_default() const, gtk_entry_get_activates_default)
   _WRAP_METHOD(void set_width_chars(int n_chars), gtk_entry_set_width_chars)
   _WRAP_METHOD(int get_width_chars() const, gtk_entry_get_width_chars)
+  _WRAP_METHOD(void set_max_width_chars(int n_chars), gtk_entry_set_max_width_chars)
+  _WRAP_METHOD(int get_max_width_chars() const, gtk_entry_get_max_width_chars)
   _WRAP_METHOD(void set_text(const Glib::ustring &text), gtk_entry_set_text)
   _WRAP_METHOD(Glib::ustring get_text() const, gtk_entry_get_text)
   _WRAP_METHOD(Glib::RefPtr<Pango::Layout> get_layout(), gtk_entry_get_layout, refreturn)
@@ -260,6 +262,7 @@ public:
   _WRAP_PROPERTY("invisible-char-set", bool)
   _WRAP_PROPERTY("activates-default", bool)
   _WRAP_PROPERTY("width-chars", int)
+  _WRAP_PROPERTY("max-width-chars", int)
   _WRAP_PROPERTY("scroll-offset", int)
   _WRAP_PROPERTY("shadow-type", ShadowType)
   _WRAP_PROPERTY("text", Glib::ustring)


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