RE: [Boa Constr] Moving controls around
Status: Beta
Brought to you by:
riaan
From: Riaan B. <ri...@tb...> - 2003-01-09 09:59:57
|
> Hi all, > > I am using the latest Boa on Redhat Linux 7.2 with python 2.2 and wxPython > 2.3.4. > > I am trying to move a control to a different position on a frame but > whenever the mouse, during the move, goes over another control on > the frame, > the control being moved moves to the top left corner of the > frame. This did > not happen with previous versions of Boa and wxPython 2.3.2. It happens > especially with buttons and static text. Yes, since 2.3.3 a few controls on wxGTK report their positions differently from the mouse event. > Is there a workaround for this > stange behaviour? No, unfortunately in the mouse event, the sender of the event is reported as the control parent, but the position is reported relative to the child. From this conflicting infomation Boa cannot work out the correct position info. These are definitely bugs in wxGTK/wxWindows (in my opinion), and I've commited myself to writing complete report of which controls misbehave and how (I think) they should behave. Unfortunately I've not written this report yet (no time) so I doubt anybody is fixing anything yet. Sorry, Riaan. |