From 1c8efb3cfbcb9a71a47376e8e2a4d379822c0c9c Mon Sep 17 00:00:00 2001 From: Aaron Bentley Date: Thu, 10 Mar 2005 02:36:51 +0000 Subject: Added Tk-based bug list --- beg | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 beg (limited to 'beg') diff --git a/beg b/beg new file mode 100755 index 0000000..55e537d --- /dev/null +++ b/beg @@ -0,0 +1,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() -- cgit