issue in menubar display in wxpython in ubuntu 12.04 Topic is solved
issue in menubar display in wxpython in ubuntu 12.04
I am learning wxPython from a textbook 'wxPython in action'. I went through the code to display menus in Python. I tried out the sample code in my system but no menu came.When I went through possible reasons for this problem, they say that its due to some bug in Ubuntu. I dint understand what it is. I attach the code along with this post. Can someone help me out???
- Attachments
-
- test.py
- contains the code for menu display
- (536 Bytes) Downloaded 109 times
Re: issue in menubar display in wxpython in ubuntu 12.04
Sorry, I know nothing about Python or Linux but the general advice still applies: If you want to know whether the issue is in your code or in wxWidgets/OS, check the most similar scenario in a bundled sample. I trust there is a sample bundled with your wxPython distribution that uses the menubar.
Re: issue in menubar display in wxpython in ubuntu 12.04
Sure I will do that
Re: issue in menubar display in wxpython in ubuntu 12.04
I got the solution for the issue. Set export UBUNTU_MENUPROXY=0 before running the code