path: root/PySide/QtGui/typesystem_gui_common.xml
diff options
authorHugo Parente Lima <>2011-01-12 12:31:59 -0200
committerHugo Parente Lima <>2011-01-13 13:59:02 -0200
commita78108efe3a4815226e2fe26713cd0f495d655b7 (patch)
treeb148e5ba02fe40dc48dd391965ee35db768fa270 /PySide/QtGui/typesystem_gui_common.xml
parent7e1b76e05485ee3ae8712cee148d0a647b5c2f2c (diff)
Fix documentation for QWidget.winId()
Diffstat (limited to 'PySide/QtGui/typesystem_gui_common.xml')
1 files changed, 13 insertions, 0 deletions
diff --git a/PySide/QtGui/typesystem_gui_common.xml b/PySide/QtGui/typesystem_gui_common.xml
index 1d1ea01..37ffb89 100644
--- a/PySide/QtGui/typesystem_gui_common.xml
+++ b/PySide/QtGui/typesystem_gui_common.xml
@@ -3475,6 +3475,19 @@
<parent index="1" action="add"/>
+ <modify-function signature="winId()const">
+ <inject-documentation mode="replace" format="target">
+ Returns the window system identifier of the widget.
+ Portable in principle, but if you use it you are probably about to do something non-portable. Be careful.
+ If a widget is non-native (alien) and winId() is invoked on it, that widget will be provided a native handle.
+ On X11 the type returned is long, on other platforms it's a PyCObject.
+ This value may change at run-time. An event with type PySide.QtCore.QEvent.WinIdChange will be sent to the widget following a change in window system identifier.
+ </inject-documentation>
+ </modify-function>
<object-type name="QMessageBox">
<enum-type name="ButtonRole"/>