[wxPython] Top level window

Is there a common way to get the top window (app window) of any
widget/control in wxPython?

Is there a common way to get the top window (app window) of any
widget/control in wxPython?

Use window.GetParent() in a loop until it returs None. The last one is the
top-level parent or grandparent for the window.

ยทยทยท

--
Robin Dunn
Software Craftsman
robin@AllDunn.com Java give you jitters?
http://wxPython.org Relax with wxPython!