Hello,
Is there any easy way to build layered application?
Like to plase buttons above bitmap...
For example i want place StaticText on the top of the
HTMLWindow, but without StaticText background.(i have tried
style=wx.TRANSPARENT it is not working, setbackgroundcolor seems
to be waiting for wxColour instance)
And also i want it always to stay on top of the htmlwindow.
(when i try to select text in htmlwindow, it seems it recieves
some king if focus and static text goes behind htmlwindow)
Also would be great to see an example of making transparent
top frame (i have made a simple (like self.Bind(wx.EVT_ERASE_BACKGROUND, lambda evt: None)
) but when i move it - the background do not changes, it only
changes when window is maximized).
Where i can find documentation on wx.EVT_* ??
There is a whole bunch of them, but no docs of when do they
happen and in what order.
Also is there any simple way to see pending events?
I have Noel Rappin "wxPython in Action" read first few chapters.
Hmm.. creating my own Event (TwoButtonClick in book) seemed to
me some kind odd and strange. I wasnt able to rearrage it creaty
my event to ERASE_BACKGROUND by hand. For example tried to
process ERASE_BACKGROUND in OnMove handler:
self.Bind(wx.EVT_MOVE,self.OnMove)
...
def OnMove(self,evt):
self.GetEventHandler().ProcessEvent(wx.EVT_ERASE_BACKGROUND)
this gives me an error:
TypeError: argument number 2: a 'wxEvent *' is expected,
'PyEventBinder(<wx._core.PyEventBinder object at 0x012CE330>)' is received
Huh.. any good articles on layering and event
processing/creation?
···
--
Best regards,
Norman mailto:NormanTindall@zdisk.net