Is there a way to get the display id for a wx.Window or is it the same as the window id?
The GetHandle()
method should do the job.
https://wxpython.org/Phoenix/docs/html/wx.Window.html#wx.Window.GetHandle
P.S.: Be aware that a wx window may consist of more than one native window.
E.g wx.grid.Grid — wxPython Phoenix 4.1.2a1 documentation
Thanks for the answer!