wxPython: How can I get window's HANDLE in wxPython.
Paul McNett
p at ulmcnett.com
Wed Jul 2 23:55:26 EDT 2008
Leo Lee wrote:
> I need a window's handle to be passed to external c++.
> Thanks in advance
import wx
help(wx.Window.GetHandle)
"""
GetHandle(*args, **kwargs) unbound wx._core.Window method
GetHandle(self) -> long
Returns the platform-specific handle (as a long integer) of the
physical window. On wxMSW this is the win32 window handle, on wxGTK
it is the XWindow ID, and on wxMac it is the ControlRef.
"""
Paul
More information about the Python-list
mailing list