gtkmm-documentation r46 - in trunk: . docs/tutorial/C
- From: hub svn gnome org
- To: svn-commits-list gnome org
- Subject: gtkmm-documentation r46 - in trunk: . docs/tutorial/C
- Date: Mon, 19 May 2008 03:49:03 +0000 (UTC)
Author: hub
Date: Mon May 19 03:49:02 2008
New Revision: 46
URL: http://svn.gnome.org/viewvc/gtkmm-documentation?rev=46&view=rev
Log:
* Add a note about non GType enums.
Modified:
trunk/ChangeLog
trunk/docs/tutorial/C/gtkmm-tut.xml
Modified: trunk/docs/tutorial/C/gtkmm-tut.xml
==============================================================================
--- trunk/docs/tutorial/C/gtkmm-tut.xml (original)
+++ trunk/docs/tutorial/C/gtkmm-tut.xml Mon May 19 03:49:02 2008
@@ -9251,6 +9251,11 @@
_WRAP_ENUM(WindowType, GdkWindowType)
</programlisting>
</para>
+<para>If the enum is not a <classname>GType</classname>, you must pass a third parameter NO_GTYPE. For example:
+<programlisting>
+_WRAP_ENUM(IconLookupFlags, GtkIconLookupFlags, NO_GTYPE)
+</programlisting>
+</para>
</sect3>
<sect3 id="gmmproc-wrap-gerror">
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]