summaryrefslogtreecommitdiff
path: root/docs/reference/pygtk-gtkmenu.xml
diff options
context:
space:
mode:
Diffstat (limited to 'docs/reference/pygtk-gtkmenu.xml')
-rw-r--r--docs/reference/pygtk-gtkmenu.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/reference/pygtk-gtkmenu.xml b/docs/reference/pygtk-gtkmenu.xml
index 16920301..fe615bd8 100644
--- a/docs/reference/pygtk-gtkmenu.xml
+++ b/docs/reference/pygtk-gtkmenu.xml
@@ -454,6 +454,16 @@ role="keyword">data</parameter>&nbsp;:</term>
the menu should be pushed in to be completely inside the screen
instead of just clamped to the size of the screen.</para>
+ <note>
+ <para>Prior to PyGTK 2.10 this method did not accept the
+ <parameter>data</parameter> parameter and the signature of
+ <parameter>func</parameter> was:</para>
+
+ <programlisting>
+ def func(menu, user_data):
+ </programlisting>
+ </note>
+
</refsect2>
<refsect2 id="method-gtkmenu--reposition">