[gtkmm] ScrolledWindow: Added get/set_propagate_natural_height/width().



commit 63e5a2d7d0e9df61a83576447e1580564a860071
Author: Murray Cumming <murrayc murrayc com>
Date:   Wed Sep 14 09:30:33 2016 +0200

    ScrolledWindow: Added get/set_propagate_natural_height/width().
    
    And the properties.

 gtk/src/scrolledwindow.hg |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/gtk/src/scrolledwindow.hg b/gtk/src/scrolledwindow.hg
index ee1aa87..6c46781 100644
--- a/gtk/src/scrolledwindow.hg
+++ b/gtk/src/scrolledwindow.hg
@@ -122,6 +122,11 @@ _DEPRECATE_IFDEF_END
   _WRAP_METHOD(void set_max_content_height(int height), gtk_scrolled_window_set_max_content_height)
   _WRAP_METHOD(int get_max_content_height() const, gtk_scrolled_window_get_max_content_height)
 
+  _WRAP_METHOD(void set_propagate_natural_width(bool propagate = true), 
gtk_scrolled_window_set_propagate_natural_width)
+  _WRAP_METHOD(bool get_propagate_natural_width() const, gtk_scrolled_window_get_propagate_natural_width)
+  _WRAP_METHOD(void set_propagate_natural_height(bool propagate = true), 
gtk_scrolled_window_set_propagate_natural_height)
+  _WRAP_METHOD(bool get_propagate_natural_height() const, gtk_scrolled_window_get_propagate_natural_height)
+
   //Keybinding signals:
   _IGNORE_SIGNAL("scroll_child")
   _IGNORE_SIGNAL("move_focus_out")
@@ -143,6 +148,8 @@ _DEPRECATE_IFDEF_END
   _WRAP_PROPERTY("overlay-scrolling", bool)
   _WRAP_PROPERTY("max-content-width", int)
   _WRAP_PROPERTY("max-content-height", int)
+  _WRAP_PROPERTY("propagate-natural-width", bool)
+  _WRAP_PROPERTY("propagate-natural-height", bool)
 };
 
 } //namespace Gtk


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