[gtkmm/gtkmm-2-22] MessageDialog: Added get_message_area().



commit 1cab80baa11f3086949d238400121e0733b6dc5c
Author: Murray Cumming <murrayc murrayc com>
Date:   Mon Sep 13 16:59:50 2010 +0200

    MessageDialog: Added get_message_area().
    
    * gtk/src/messagedialog.hg: Added get_message_area().

 ChangeLog                |    6 ++++++
 gtk/src/messagedialog.hg |    8 +++++---
 2 files changed, 11 insertions(+), 3 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 0515bb1..24ee8a6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2010-09-13  Murray Cumming  <murrayc murrayc com>>
+
+	MessageDialog: Added get_message_area().
+
+	* gtk/src/messagedialog.hg: Added get_message_area().
+
 2010-09-13  Murray Cumming  <murrayc murrayc com>
 
 	gtkmm: Fix typos to really avoid documentation warnings.
diff --git a/gtk/src/messagedialog.hg b/gtk/src/messagedialog.hg
index 73f99ae..d4e7f13 100644
--- a/gtk/src/messagedialog.hg
+++ b/gtk/src/messagedialog.hg
@@ -38,7 +38,7 @@ _WRAP_ENUM(ButtonsType, GtkButtonsType)
  * of message (Error, Question, etc.) alongside some message text. It's
  * simply a convenience widget; you could construct the equivalent of
  * Gtk::MessageDialog from Gtk::Dialog without too much effort, but
- * Gtk::MessageDialog saves typing. 
+ * Gtk::MessageDialog saves typing.
  *
  * A MessageDialog looks like this:
  * @image html messagedialog1.png
@@ -67,7 +67,7 @@ public:
    */
   void set_message(const Glib::ustring& message, bool use_markup = false);
   _IGNORE()
-  
+
   /** Sets the secondary text of the message dialog.
    * Note that setting a secondary text makes the primary text become bold, unless you have provided explicit markup.
    *
@@ -79,6 +79,9 @@ public:
   void set_secondary_text(const Glib::ustring& text, bool use_markup = false);
   _IGNORE(gtk_message_dialog_format_secondary_text, gtk_message_dialog_format_secondary_markup)
 
+  _WRAP_METHOD(VBox* get_message_area(), gtk_message_dialog_get_message_area)
+  _WRAP_METHOD(const VBox* get_message_area() const, gtk_message_dialog_get_message_area, constversion)
+
   _WRAP_PROPERTY("message-type", MessageType)
   _WRAP_PROPERTY("buttons", ButtonsType)
   _WRAP_PROPERTY("text", Glib::ustring)
@@ -90,4 +93,3 @@ public:
 };
 
 } // namespace Gtk
-



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