I’m trying and trying and trying every possible combination (because the first one is not working)…
When I do it step, by step starting from:
var_MyMiniFrame=MyMiniFrame("Mini frame", -1, style=wx.DEFAULT_FRAME_STYLE | wx.TINY_CAPTION_HORIZ)
So that first argument becomes “parent”
var_MyMiniFrame=MyMiniFrame(parent, "Mini frame", -1, style=wx.DEFAULT_FRAME_STYLE | wx.TINY_CAPTION_HORIZ)
and the parent of a Frame needs to be either Frame…
parent.var_MyMiniFrame=MyMiniFrame(parent, "Mini frame", -1, style=wx.DEFAULT_FRAME_STYLE | wx.TINY_CAPTION_HORIZ)
I’m not sure about the last one, but I’ve checked also other scripts/codes I’ve seen before. But the most common Error I receive is:
in method ‘new_miniframe’, expected argument 1 of type ‘xwindow *’
or that this 'parent is not defined.
My solutions have finished. I don’t know what else I could do.
Is it difficult, not intuitive? I don’t have any problems with php, javascript, ajax though…
Maybe I need more of short and simple expamples, like frame.py (which I haven’t seen before) - has anyone got a *.zip file containing lot’s of them (I have a demo.py already), please?
dryhay