Is this a correct way to put visual "objects" on visual containers/frames/windows ?

Robin Dunn wrote:

Stef Mientki wrote:

And the other other question, is it valid to search upwards for parents until a frame is found ?

Yes. In fact it is done so often that there is a function for it:

    top = wx.GetTopLevelParent(child)

I also added a Python-only convenience method to wx.Window, so you can use this syntax too:

    top = child.GetTopLevelParent()

thanks Robin,
these small facts are often of more value to me, than the fact that a program "seems" to work correctly !

cheers,
Stef

···