help with create menu in wxpython

franciscodg franciscodg at gmail.com
Wed Jul 18 13:39:21 EDT 2007


hi group:

I have the following code:

......
......
     #MENU
        menuFile = wx.Menu()
        menuFile.Append(14, "E&xit","Sale del programa")

        menuHelp = wx.Menu()
        menuHelp.Append(41, "&about Mutamatic","Informacion de
Mutamatic")

	menuBar = wx.MenuBar()
	menuBar.Append(menuFile, "&File")
	menuBar.Append(menuHelp, "&Help") #THIS IR IS THE PROBLEM!!!

        self.SetMenuBar(menuBar)
	self.sb = self.CreateStatusBar(1, wx.ST_SIZEGRIP)

	#menu help
	self.Bind(wx.EVT_MENU, self.OnAbout, id=41)
.....
....
....


The question is the following: how can 	put the menu "HELP" in right
part of the window?

for example:

-------------------------------------
|FILE|                            |HELP|
-------------------------------------
|                windows              |
|                                            |
-------------------------------------

Exist some attribute or function that does it??


thank you very much...

greeting




More information about the Python-list mailing list