[gtkmm-documentation] Dialogs chapter: get_vbox() returns a Box, not a VBox.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm-documentation] Dialogs chapter: get_vbox() returns a Box, not a VBox.
- Date: Sat, 4 Jun 2011 12:28:48 +0000 (UTC)
commit 25827189864429c8b955810b426a58d1168316fa
Author: Murray Cumming <murrayc murrayc com>
Date: Sat Jun 4 14:28:29 2011 +0200
Dialogs chapter: get_vbox() returns a Box, not a VBox.
* docs/tutorial/C/gtkmm-tutorial-in.xml: And more importantly,
we forgot to rename this to get_content_area(). We will deprecate
get_vbox() and add get_content_area() for gtkmm 3.2.
Bug #651846 (Jean-Yves Pellé)
ChangeLog | 10 ++++++++++
docs/tutorial/C/gtkmm-tutorial-in.xml | 3 ++-
2 files changed, 12 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index e048aec..1670cec 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2011-06-04 Murray Cumming <murrayc murrayc com>
+
+ Dialogs chapter: get_vbox() returns a Box, not a VBox.
+
+ * docs/tutorial/C/gtkmm-tutorial-in.xml: And more importantly,
+ we forgot to rename this to get_content_area(). We will deprecate
+ get_vbox() and add get_content_area() for gtkmm 3.2.
+
+ Bug #651846 (Jean-Yves Pellé)
+
2011-05-12 Murray Cumming <murrayc murrayc com>
Abstract: Mention David King as an author.
diff --git a/docs/tutorial/C/gtkmm-tutorial-in.xml b/docs/tutorial/C/gtkmm-tutorial-in.xml
index 8fe4930..1c4c3e0 100644
--- a/docs/tutorial/C/gtkmm-tutorial-in.xml
+++ b/docs/tutorial/C/gtkmm-tutorial-in.xml
@@ -4001,8 +4001,9 @@ class to provide more complex functionality.
</para>
<para>
+<!-- TODO: Mention get_content_area() instead of get_vbox() for gtkmm 3.2 -->
To pack widgets into a custom dialog, you should pack them into the
-<classname>Gtk::VBox</classname>, available via
+<classname>Gtk::Box</classname>, available via
<methodname>get_vbox()</methodname>. To just add a <classname>Button</classname>
to the bottom of the <classname>Dialog</classname>, you could use the
<methodname>add_button()</methodname> method.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]