Home | History | Annotate | Download | only in lib-tk

Lines Matching defs:TK

107 import Tkinter as TK
353 class ScrolledCanvas(TK.Frame):
361 TK.Frame.__init__(self, master, width=width, height=height)
366 self._canvas = TK.Canvas(master, width=width, height=height,
367 bg=self.bg, relief=TK.SUNKEN, borderwidth=2)
368 self.hscroll = TK.Scrollbar(master, command=self._canvas.xview,
369 orient=TK.HORIZONTAL)
370 self.vscroll = TK.Scrollbar(master, command=self._canvas.yview)
452 __forwardmethods(ScrolledCanvas, TK.Canvas, '_canvas')
455 class _Root(TK.Tk):
458 TK.Tk.__init__(self)
479 Canvas = TK.Canvas
494 img = TK.PhotoImage(width=1, height=1)
503 return TK.PhotoImage(file=filename)
510 else: # expected: ordinary TK.Canvas
552 capstyle = TK.ROUND)
598 except TK.TclError:
2146 s is a Tk color specification string, such as "red" or "yellow"
2183 s is a Tk color specification string, such as "red" or "yellow"
3872 done = mainloop = TK.mainloop