wx.EVT_MOVE event does not work

21 views
Skip to first unread message

Fabio Spadaro

unread,
Dec 18, 2009, 5:08:49 AM12/18/09
to wxPytho...@googlegroups.com
Hi all.
I attached test main for issue about wx.EVT_MOVE event that does not work
My application consist of frame with menu and toolbar using
wx.lib.agw.aui but if you move the frame not intercept wx.EVT_MOVE
event.

--
Fabio Spadaro
www.fabiospadaro.com

table2.gif
menu2.py
main.py

Andrea Gavana

unread,
Dec 18, 2009, 6:56:28 AM12/18/09
to wxpytho...@googlegroups.com
Hi,

2009/12/18 Fabio Spadaro:


> Hi all.
> I attached test main for issue about wx.EVT_MOVE event that does not work
> My application consist of frame with menu and toolbar using
> wx.lib.agw.aui but if you move the frame not intercept wx.EVT_MOVE
> event.

You are not using wx.lib.agw.aui in your main.py, but wx.aui, while in
the other file you are using it. You can not mix wx.lib.agw.aui and
wx.aui. Plus, you are using the aui.AUI_NB_TAB_MOVE style for
AuiManager, which has nothing to do with it (it's for AuiNotebook).
Please look at the docs here:

http://xoomer.virgilio.it/infinity77/AGW_Docs/aui_module.html

and please let us know what you are trying to accomplish with the
sample you sent. It's not clear to me.

Andrea.

"Imagination Is The Only Weapon In The War Against Reality."
http://xoomer.alice.it/infinity77/
http://thedoomedcity.blogspot.com/

Fabio Spadaro

unread,
Dec 18, 2009, 7:57:01 AM12/18/09
to wxpytho...@googlegroups.com
hi

2009/12/18 Andrea Gavana <andrea...@gmail.com>:

> --
> To unsubscribe, send email to wxPython-user...@googlegroups.com
> or visit http://groups.google.com/group/wxPython-users?hl=en

Is it possible to use wx.lib.agw.aui both or wx.aui both ?
whith wx.lib.agw.aui both does not work.

--
Fabio Spadaro
www.fabiospadaro.com

Andrea Gavana

unread,
Dec 18, 2009, 9:36:16 AM12/18/09
to wxpytho...@googlegroups.com
Hi,

2009/12/18 Fabio Spadaro:

You can use wx.aui or wx.lib.agw.aui, but only one of them: their
components and classes are not interchangeable.

> whith wx.lib.agw.aui both does not work.

"Does not work" is not enough as explanation:

1) Platform, Python and wxPython version;
2) Try with the SVN version of wx.lib.agw.aui
(http://svn.wxwidgets.org/svn/wx/wxPython/3rdParty/AGW/);
3) If it still doesn't work, please describe what are you trying to do;
4) Post a small, runnable and *correct* (style-wise and
syntactically-wise) sample which demonstrates the problem.

Reply all
Reply to author
Forward
0 new messages