blob: 55e537d2318f045f0b1d233faca3a23ba3336cd3 (
plain) (
tree)
|
|
#!/usr/bin/env python
import table
from Tkinter import *
from libbe import bugdir
tk = Tk()
Label(tk, text="Bug list").pack()
mlb = table.MultiListbox(tk, (('Severity', 4), ('Creator', 8), ('Summary', 40)))
for bug in [b for b in bugdir.tree_root(".").list() if b.active]:
mlb.insert(END, (bug.severity, bug.creator, bug.summary))
mlb.pack(expand=YES,fill=BOTH)
tk.mainloop()
|