[pygtk] Document that gtk.gdk.GC coordinates are not related to allocation



commit 04889ab2e24a691a523c2b5db1da1cfa2a7c40a9
Author: Paul Pogonyshev <pogonyshev gmx net>
Date:   Sat May 9 16:12:12 2009 +0300

    Document that gtk.gdk.GC coordinates are not related to allocation
    
    See bug #581357.
---
 docs/reference/pygtk-gdkgc.xml |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/docs/reference/pygtk-gdkgc.xml b/docs/reference/pygtk-gdkgc.xml
index 17a7179..aa22eab 100644
--- a/docs/reference/pygtk-gdkgc.xml
+++ b/docs/reference/pygtk-gdkgc.xml
@@ -435,6 +435,10 @@ few of the values in the <link
 linkend="class-gdkgc"><classname>gtk.gdk.GC</classname></link>, such as the
 dash pattern, can only be set by the latter method.</para>
 
+    <para>Note that all coordinates except for clip mask and clip region are relative to
+      destination drawable (e.g. <link linkend="class-gdkwindow">gtk.gdk.Window</link>)
+      origin.  In particular, coordinates are <emphasis>not</emphasis> related to widget
+      allocation.</para>
   </refsect1>
 
  <refsect1 id="constructor-gdkgc">



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