From: Kevin W. <kw...@co...> - 2013-03-05 11:28:01
|
On 3/5/13 2:15 AM, Zbigniew Diaczyszyn wrote: > Is there a Tk way to post an additional entry into the application's menu? > > I would like to have an entry "Check for Update" after the Preferences > entry. > > .mbar.apple add command -label "Check for Update" -command bell > > or > > .mbar.apple insert 2 command -label "Check for Update" -command bell > > fails. I don't think it can be added after the "preferences" item--that stuff is hard-coded by Apple. But you can add it before: menu .mb.apple .mb.apple add command -label "About FileMorph" -command tkAboutDialog .mb.apple add command -label "Check for Updates" -command checkUpdate .mb.apple add separator .mb add cascade -label "FileMorph" -menu .mb.apple -- Kevin Walzer Code by Kevin/Mobile Code by Kevin http://www.codebykevin.com http://www.wtmobilesoftware.com |