


Typically this command is used to wrap a specific own preferences command, which pops up a preferences window. The application menu “Preferences” menu item is only enabled when this proc is defined. ::tk::mac::ShowPreferences The default Apple Event handler for kAEShowPreferences, “pref”. These events are mapped by Tk to calls to commands in the ::tk::mac namespace unless otherwise noted, if the command is absent, no action will be taken.

::tk::mac::iconBitmap name width height -kind valueĮvent handler callbacks The Aqua/Mac OS X application environment defines a number of additional events that applications should respond to. ::tk::mac::useCompatibilityMetrics boolean ::tk::mac::Quit ::tk::mac::OnHide ::tk::mac::OnShow ::tk::mac::ShowHelp ADDITIONAL DIALOGS ::tk::mac::standardAboutPanel SYSTEM CONFIGURATION ::tk::mac::useCompatibilityMetrics boolean ::tk::mac::CGAntialiasLimit limit ::tk::mac::antialiasedtext number ::tk::mac::useThemedToplevel boolean SUPPORT COMMANDS ::tk::mac::iconBitmap name width height -kind value -file -fileType -osType -systemType -namedImage -imageFile SEE ALSO KEYWORDS Name tk::mac - Access Mac-Specific Functionality on OS X from Tk Synopsis ::tk::mac::ShowPreferences Tk_mac NAME tk::mac - Access Mac-Specific Functionality on OS X from Tk SYNOPSIS EVENT HANDLER CALLBACKS ::tk::mac::ShowPreferences ::tk::mac::OpenApplication ::tk::mac::ReopenApplication ::tk::mac::OpenDocument file.
