From: David Z. <kr...@kr...> - 2014-12-16 14:53:57
|
Le 16 déc. 2014 à 00:54, Trevor Williams <pha...@me...> a écrit : > Does anyone know how to associate the About... menu with either a custom about window or get my application-specific about information to appear? I have the Info.plist file in the Contents directory to only contain my information and the name of the application in the About... menu is correct; however, clicking on this menu reveals an About window for Tcl/Tk itself. If I grep for one of the strings in the Tcl/Tk About window, the only files containing a match are the wish and tclsh executables. > > I am using version 8.5.15. Anyone have any ideas? On my scripts I do that: if {[tk windowingsystem] eq "aqua"} { menu .menu menu .menu.apple -tearoff 0 .menu add cascade -label "Apple" -menu .menu.apple .menu.apple add command -label "About $::appname" -command ::tk::mac::standardAboutPanel # This line must be at the end to work with recent Tk versions: . configure -menu .menu } -- 👤 David Zolli 📧 kr...@kr... |