Home | History | Annotate | Download | only in idlelib

Lines Matching refs:tk

7     Some Tk operations don't normally pass through Tkinter.  For example, if a
8 character is inserted into a Text widget by pressing a key, a default Tk
9 binding to the widget's 'insert' operation is activated, and the Tk library
13 to do is to hook the Tk 'insert' operation itself.
23 Tk widget operation.
29 self.tk = tk = widget.tk # widget's root
30 w = widget._w # widget's (full) Tk pathname
33 tk.call("rename", w, self.orig)
36 tk.createcommand(w, self.dispatch)
47 tk = widget.tk
49 tk.deletecommand(w)
51 tk.call("rename", orig, w)
73 operation through to Tk via the original Tcl function.
76 passed through to Tk. Apply the function returned by self.register()
85 return self.tk.call((self.orig, operation) + args)
95 self.tk = redir.tk
97 self.tk_call = self.tk.call
108 root = Tk()