ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> wxPython-users
wxPython-users
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

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved