Re: [wxPython-users] Create one menu for whole program
by Robin Dunn other posts by this author
Dec 12 2004 8:33AM messages near this date
[wxPython-users] Create one menu for whole program
|
[wxPython-users] Basics of drawing on a wx.Panel
Andrew Bouchard wrote:
> I would like to creat one menu to use throughout my program. However, i
> can't seem to figure out how to change the menubar within each window to
> use the standard menubar that I created. Anyone have any ideas?
Create a function that builds the menubar and returns it. Then each
frame can call that function and use SetMenuBar with the return value.
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@[...].org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org
Thread:
Andrew Bouchard
Robin Dunn
|