Lines Matching full:tk
36 root = tkinter.Tk()
37 ws = root.tk.call('tk', 'windowingsystem')
42 elif 'AppKit' in root.tk.call('winfo', 'server', '.'):
53 Returns True if IDLE is using a native OS X Tk (Cocoa or Carbon).
61 Returns True if IDLE is using a Carbon Aqua Tk (instead of the
62 newer Cocoa Aqua Tk).
70 Returns True if IDLE is using a Cocoa Aqua Tk.
78 Returns True if IDLE is using an OS X X11 Tk.
132 root.createcommand("::tk::mac::OpenDocument", doOpenFile)
136 root.tk.call('console', 'hide')
138 # Some versions of the Tk framework don't have a console object
143 Replace the Tk root menu by something that is more appropriate for
144 IDLE with an Aqua Tk.
146 # The menu that is attached to the Tk root (".") is also used by AquaTk for
149 # Most annoying of those is an 'About Tck/Tk...' menu in the application
218 root.createcommand('::tk::mac::ShowPreferences', config_dialog)
222 # The binding above doesn't reliably work on all versions of Tk
228 # for Carbon AquaTk, replace the default Tk apple menu
241 root.createcommand('::tk::mac::ShowHelp', help_dialog)
258 Called from pyshell.main() after initial calls to Tk()
260 There are currently three major versions of Tk in use on OS X:
261 1. Aqua Cocoa Tk (native default since OS X 10.6)
262 2. Aqua Carbon Tk (original native, 32-bit only, deprecated)