Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #79314
| X-Received | by 10.236.16.194 with SMTP id h42mr17715894yhh.13.1413802021407; Mon, 20 Oct 2014 03:47:01 -0700 (PDT) |
|---|---|
| X-Received | by 10.182.84.136 with SMTP id z8mr1643oby.28.1413802021177; Mon, 20 Oct 2014 03:47:01 -0700 (PDT) |
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!peer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!s7no3994122qap.0!news-out.google.com!bc9ni31795igb.0!nntp.google.com!h18no7874355igc.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail |
| Newsgroups | comp.lang.python |
| Date | Mon, 20 Oct 2014 03:47:01 -0700 (PDT) |
| In-Reply-To | <mailman.14989.1413766161.18130.python-list@python.org> |
| Complaints-To | groups-abuse@google.com |
| Injection-Info | glegroupsg2000goo.googlegroups.com; posting-host=74.137.102.152; posting-account=I2szpQoAAACCkkskrLtwzAZA926i2rNR |
| NNTP-Posting-Host | 74.137.102.152 |
| References | <a876c046-18aa-4332-bc9a-b1d1181f2b4c@googlegroups.com> <mailman.14989.1413766161.18130.python-list@python.org> |
| User-Agent | G2/1.0 |
| MIME-Version | 1.0 |
| Message-ID | <45ced550-3ff2-4cc1-8592-6d1ca01caa8a@googlegroups.com> (permalink) |
| Subject | Re: OS X Menubar in Tkinter |
| From | Noble Bell <noblebell@gmail.com> |
| Injection-Date | Mon, 20 Oct 2014 10:47:01 +0000 |
| Content-Type | text/plain; charset=ISO-8859-1 |
| X-Received-Bytes | 2900 |
| X-Received-Body-CRC | 522276468 |
| Xref | csiph.com comp.lang.python:79314 |
Show key headers only | View raw
On Sunday, October 19, 2014 7:49:34 PM UTC-5, Ned Deily wrote: > In article <a876c046-18aa-4332-bc9a-b1d1181f2b4c@googlegroups.com>, > > Noble Bell <noblebell@gmail.com> wrote: > > > I am using Python 3.4 on Mac OS X and Tinter 8.5. Does anyone have any code > > > that they would share with me on how to remove the "Python" menu in the > > > menubar at the top next to the "apple'? > > > > > > I would like to have the name of my program there instead and my menu. I can > > > add menus but not sure how to do the special menubar. Any help would be > > > appreciated. > > > > The name that shows up in the menu is derived by OS X from the > > application name in the executing application bundle. If you don't > > package your program up as an OS X application bundle, defaults will be > > used; in the case of Python OS X framework builds, Python provides a > > Python.app within the framework to allow the Python process to be > > automatically promoted to a full OS X gui process. Probably the > > simplest approach is to use py2app to create a double-clickable app with > > the name you want. There's an example in an answer to a similar > > question on Stackoverflow. And there are some old but still relevant > > details documented in the Tcl/TkAqua FAQ. > > > > https://pypi.python.org/pypi/py2app > > http://stackoverflow.com/questions/8695926/remove-default-python-submenu- > > with-tkinter-menu-on-mac-osx > > http://wiki.tcl.tk/12987 > > > > -- > > Ned Deily, > > nad@acm.org Thank you. I will take a look at all that this afternoon. Seems like I might have seen that post on stack overflow but not for sure.
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
OS X Menubar in Tkinter Noble Bell <noblebell@gmail.com> - 2014-10-19 16:22 -0700
Re: OS X Menubar in Tkinter Ned Deily <nad@acm.org> - 2014-10-19 17:49 -0700
Re: OS X Menubar in Tkinter Gregory Ewing <greg.ewing@canterbury.ac.nz> - 2014-10-20 19:47 +1300
Re: OS X Menubar in Tkinter Noble Bell <noblebell@gmail.com> - 2014-10-20 03:47 -0700
Re: OS X Menubar in Tkinter Noble Bell <noblebell@gmail.com> - 2014-10-20 18:34 -0700
Re: OS X Menubar in Tkinter Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-10-21 06:58 +0100
Re: OS X Menubar in Tkinter Noble Bell <noblebell@gmail.com> - 2014-10-21 03:53 -0700
Re: OS X Menubar in Tkinter Kevin Walzer <kw@codebykevin.com> - 2014-10-23 09:25 -0400
Re: OS X Menubar in Tkinter Terry Reedy <tjreedy@udel.edu> - 2014-10-23 13:32 -0400
Re: OS X Menubar in Tkinter Chris Angelico <rosuav@gmail.com> - 2014-10-24 06:02 +1100
Re: OS X Menubar in Tkinter Simon Kennedy <sffjunkie@gmail.com> - 2014-10-28 08:47 -0700
Re: OS X Menubar in Tkinter Rustom Mody <rustompmody@gmail.com> - 2014-10-28 08:59 -0700
Re: OS X Menubar in Tkinter Chris Angelico <rosuav@gmail.com> - 2014-10-29 03:06 +1100
csiph-web