• Home
  • Raw
  • Download

Lines Matching full:tk

25     Initializes OS X Tk variant values for
30 ws = root.tk.call('tk', 'windowingsystem')
35 elif 'AppKit' in root.tk.call('winfo', 'server', '.'):
44 Returns True if IDLE is using a native OS X Tk (Cocoa or Carbon).
51 Returns True if IDLE is using a Carbon Aqua Tk (instead of the
52 newer Cocoa Aqua Tk).
59 Returns True if IDLE is using a Cocoa Aqua Tk.
66 Returns True if IDLE is using an OS X X11 Tk.
73 Returns a string warning message if the Tk version in use appears to
75 1. Apple Cocoa-based Tk 8.5.7 shipped with Mac OS X 10.6 is unusable.
76 2. Apple Cocoa-based Tk 8.5.9 in OS X 10.7 and 10.8 is better but
81 patchlevel = root.tk.call('info', 'patchlevel')
84 return (r"WARNING: The version of Tcl/Tk ({0}) in use may"
103 root.createcommand("::tk::mac::OpenDocument", doOpenFile)
107 root.tk.call('console', 'hide')
109 # Some versions of the Tk framework don't have a console object
114 Replace the Tk root menu by something that is more appropriate for
115 IDLE with an Aqua Tk.
117 # The menu that is attached to the Tk root (".") is also used by AquaTk for
120 # Most annoying of those is an 'About Tck/Tk...' menu in the application
184 root.createcommand('::tk::mac::ShowPreferences', config_dialog)
188 # The binding above doesn't reliably work on all versions of Tk
194 # for Carbon AquaTk, replace the default Tk apple menu
203 tkversion = root.tk.eval('info patchlevel')
213 root.createcommand('::tk::mac::ShowHelp', help_dialog)
220 Called from PyShell.main() after initial calls to Tk()
222 There are currently three major versions of Tk in use on OS X:
223 1. Aqua Cocoa Tk (native default since OS X 10.6)
224 2. Aqua Carbon Tk (original native, 32-bit only, deprecated)