[gtkmm-documentation] Wrapping Section: Also mention gmmproc's new caps for _WRAP_CREATE().



commit 8a524c61457ea1ed533bc910d45f40c706b4c88f
Author: José Alburquerque <jaalburqu svn gnome org>
Date:   Sun Jun 12 20:25:32 2011 -0400

    Wrapping Section: Also mention gmmproc's new caps for _WRAP_CREATE().
    
    	* docs/tutorial/C/gtkmm-tutorial-in.xml: Include a sentence about
    	_WRAP_CREATE() also being able to process optional parameters and
    	reordering of parameters like _WRAP_CTOR() and _WRAP_METHOD().

 ChangeLog                             |    8 ++++++++
 docs/tutorial/C/gtkmm-tutorial-in.xml |   18 ++++++++++++------
 2 files changed, 20 insertions(+), 6 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index de70584..c14ad46 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
 2011-06-12  José Alburquerque  <jaalburqu svn gnome org>
 
+	Wrapping Section: Also mention gmmproc's new caps for _WRAP_CREATE().
+
+	* docs/tutorial/C/gtkmm-tutorial-in.xml: Include a sentence about
+	_WRAP_CREATE() also being able to process optional parameters and
+	reordering of parameters like _WRAP_CTOR() and _WRAP_METHOD().
+
+2011-06-12  José Alburquerque  <jaalburqu svn gnome org>
+
 	Wrapping Section: Describe gmmproc's new parameter processing caps.
 
 	* docs/tutorial/C/gtkmm-tutorial-in.xml: Describe gmmproc's new
diff --git a/docs/tutorial/C/gtkmm-tutorial-in.xml b/docs/tutorial/C/gtkmm-tutorial-in.xml
index 8b0738a..cc7d597 100644
--- a/docs/tutorial/C/gtkmm-tutorial-in.xml
+++ b/docs/tutorial/C/gtkmm-tutorial-in.xml
@@ -8744,6 +8744,12 @@ public:
     WRAP_CTOR(ToolButton(const Glib::ustring&amp; label{.}, Widget&amp; icon_widget{.}), gtk_tool_button_new)
   </programlisting>
 </para>
+<para>
+  This same optional parameter syntax and parameter reordering is available for
+  <function>_WRAP_CREATE()</function>.  Additional
+  <function>create()</function> overloads would be generated by gmmproc without
+  the specified optional parameters.
+</para>
 </sect3>
 
 <sect3 id="gmmproc-ctor-manual">
@@ -8830,12 +8836,12 @@ _WRAP_METHOD(void set_text(const Glib::ustring&amp; text), gtk_entry_set_text)
   would generate a method overload without that parameter.
 </para>
 <para>
-  Also, as with <function>_WRAP_CTOR()</function>, it is also possible to
-  reorder the parameters of the C++ method by using gmmproc's C++ to C
-  parameter mapping functionality.  Using this functionality, it is possible to
-  map a C++ parameter to a C paramter by specifying the C parameter name.  For
-  example, if the <function>gtk_widget_set_device_events()</function>
-  declaration is the following:
+  Also, as with <function>_WRAP_CTOR()</function>, it is possible to reorder
+  the parameters of the C++ method by using gmmproc's C++ to C parameter
+  mapping functionality.  Using this functionality, it is possible to map a C++
+  parameter to a C paramter by specifying the C parameter name.  For example,
+  if the <function>gtk_widget_set_device_events()</function> declaration is the
+  following:
   <programlisting>
     void gtk_widget_set_device_events(GtkWidget* widget, GdkDevice* device, GdkEventMask events);
   </programlisting>



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