blob: 55e537d2318f045f0b1d233faca3a23ba3336cd3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
#!/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()
|