[PyQt] QWidget.windowHandle()

Phil Thompson phil at riverbankcomputing.com
Wed Nov 20 08:26:16 GMT 2013


On Wed, 20 Nov 2013 00:35:29 +0100, "Philipp A." <flying-sheep at web.de>
wrote:
> so how am i supposed to get the QWindow of some .show()n widget?

I don't know. Try and find out why the function is experimental and
when/if it will be finalised.

Phil

> 2013/11/19 Phil Thompson <phil at riverbankcomputing.com>
> 
>> On Tue, 19 Nov 2013 22:06:09 +0100, "Philipp A." <flying-sheep at web.de>
>> wrote:
>> > hi, i need that method in order to get a reference to a widget’s
>> platform
>> > window.
>> >
>> > http://qt-project.org/doc/qt-5.0/qtwidgets/qwidget.html#windowHandle
>> >
>> > unfortunately, it’s not available.
>> >
>> > is there another way, or can the method be added?
>>
>> The method is marked as preliminary which is why it is not implemented.
>>
>> Phil
>>


More information about the PyQt mailing list