Lines Matching refs:tk
13 import Tkinter as tk namespace
49 for tag in self.text.tag_names(tk.CURRENT):
60 root = tk.Tk()
63 … self.win = win = tk.PanedWindow(root, orient=tk.HORIZONTAL, sashrelief=tk.RAISED, sashwidth=4)
64 self.win.pack(fill=tk.BOTH, expand=1)
66 left = tk.Frame(win)
67 right = tk.Frame(win)
71 scrollbar = tk.Scrollbar(left, orient=tk.VERTICAL)
72 self.demos_lb = demos_lb = tk.Listbox(left, yscrollcommand=scrollbar.set)
74 scrollbar.pack(side=tk.RIGHT, fill=tk.Y)
75 demos_lb.pack(side=tk.LEFT, fill=tk.BOTH, expand=1)
81 demos_lb.insert(tk.END, name)
85 self.cmd_entry = cmd_entry = tk.Entry(right)
87 run_btn = tk.Button(right, command=self.on_run, text='Run', width=8)
95 text.pack(fill='both', expand=1, side=tk.BOTTOM)
112 self.text.delete(1.0, tk.END)
116 self.cmd_entry.delete(0, tk.END)
141 count = tk.IntVar()
159 tk.mainloop()