issue in menubar display in wxpython in ubuntu 12.04 Topic is solved

This forum can be used to talk about general design strategies, new ideas and questions in general related to wxWidgets. If you feel your questions doesn't fit anywhere, put it here.
Post Reply
User avatar
pikkip
Knows some wx things
Knows some wx things
Posts: 37
Joined: Mon Sep 26, 2016 6:08 am

issue in menubar display in wxpython in ubuntu 12.04

Post by pikkip » Tue Nov 08, 2016 10:55 am

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 37 times

PB
Part Of The Furniture
Part Of The Furniture
Posts: 2020
Joined: Sun Jan 03, 2010 5:45 pm

Re: issue in menubar display in wxpython in ubuntu 12.04

Post by PB » Tue Nov 08, 2016 11:13 am

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.

User avatar
pikkip
Knows some wx things
Knows some wx things
Posts: 37
Joined: Mon Sep 26, 2016 6:08 am

Re: issue in menubar display in wxpython in ubuntu 12.04

Post by pikkip » Tue Nov 08, 2016 11:18 am

Sure I will do that :)

User avatar
pikkip
Knows some wx things
Knows some wx things
Posts: 37
Joined: Mon Sep 26, 2016 6:08 am

Re: issue in menubar display in wxpython in ubuntu 12.04

Post by pikkip » Tue Nov 08, 2016 11:26 am

I got the solution for the issue. Set export UBUNTU_MENUPROXY=0 before running the code :D

Post Reply