Home | History | Annotate | Download | only in idlelib

Lines Matching refs:tk

15     If so, assume that Python was built with Aqua Tcl/Tk rather than
16 X11 Tcl/Tk.
27 Returns True if IDLE is using a Carbon Aqua Tk (instead of the
28 newer Cocoa Aqua Tk).
33 'aqua' in root.tk.call('tk', 'windowingsystem') and
34 'AppKit' not in root.tk.call('winfo', 'server', '.'))
39 Returns a string warning message if the Tk version in use appears to
41 1. Apple Cocoa-based Tk 8.5.7 shipped with Mac OS X 10.6 is unusable.
42 2. Apple Cocoa-based Tk 8.5.9 in OS X 10.7 and 10.8 is better but
47 ('AppKit' in root.tk.call('winfo', 'server', '.')) ):
48 patchlevel = root.tk.call('info', 'patchlevel')
51 return (r"WARNING: The version of Tcl/Tk ({0}) in use may"
70 root.createcommand("::tk::mac::OpenDocument", doOpenFile)
74 root.tk.call('console', 'hide')
76 # Some versions of the Tk framework don't have a console object
81 Replace the Tk root menu by something that's more appropriate for
84 # The menu that is attached to the Tk root (".") is also used by AquaTk for
87 # Most annoying of those is an 'About Tck/Tk...' menu in the application
134 root.createcommand('::tk::mac::ShowPreferences', config_dialog)
138 # The binding above doesn't reliably work on all versions of Tk
144 # for Carbon AquaTk, replace the default Tk apple menu
152 tkversion = root.tk.eval('info patchlevel')
163 root.createcommand('::tk::mac::ShowHelp', help_dialog)