[gtkmm] InfoBar: Add get/set_show_close_button().



commit 9d51d71a8749a2d27d4d8950c17cfb80993068bc
Author: Murray Cumming <murrayc murrayc com>
Date:   Fri Jul 26 10:26:28 2013 +0200

    InfoBar: Add get/set_show_close_button().
    
    And the property.

 gtk/src/infobar.hg |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/gtk/src/infobar.hg b/gtk/src/infobar.hg
index 239048e..1febc54 100644
--- a/gtk/src/infobar.hg
+++ b/gtk/src/infobar.hg
@@ -78,12 +78,16 @@ public:
   _WRAP_METHOD(void set_message_type(MessageType message_type), gtk_info_bar_set_message_type)
   _WRAP_METHOD(MessageType get_message_type() const, gtk_info_bar_get_message_type)
 
+  _WRAP_METHOD(void set_show_close_button(bool setting = true), gtk_info_bar_set_show_close_button)
+  _WRAP_METHOD(bool get_show_close_button() const, gtk_info_bar_get_show_close_button)
+
 
   _IGNORE_SIGNAL("close")
 
   _WRAP_SIGNAL(void response(int response_id), "response")
 
   _WRAP_PROPERTY("message-type", MessageType)
+  _WRAP_PROPERTY("show-close-button", bool)
 };
 
 } // namespace Gtk


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