def __init__(self,parent, **kw):
     logger.info("Creating Manager")
     rl_paths.make_dirs()
     tk.Frame.__init__(self, parent, **kw)
     n = ttk.Notebook(self)
     f1 = tk.Frame(n)   # first page, which would get widgets gridded into it
     f2 = tk.Frame(n)   # second page
     n.add(f1, text='browse',sticky="nswe")
     #n.add(f2, text='add',sticky="nswe")
     n.pack(fill="both",expand=1)
     self.start_browse_mode(f1)
     #self.start_add_mode(f2)
     # if(self.tracked_replays.size() == 0):
     #     n.select(1)
     logger.info("Manager created")
     btk.recursive_widget_bind(self,"<Control-e>",lambda e : self.edit())
    def __init__(self,parent,**kw):
        self.headervars = []
        self.headers = []
        self.displaydata = None
        tk.Frame.__init__(self,parent,kw)
        
        self.mFont = tkFont.Font(family="Helvetica",size=14)
       

        #Table with tags on the side
        tableframe = tk.Frame(self)
        self.replay_header = tk.Frame(tableframe)
        self.table = ttk.Treeview(tableframe,selectmode="none")
        self.replay_header.grid(row=0,column=0,sticky="WNE")
        self.table.grid(row=1,column=0,sticky="N")
        tableframe.grid(row=0,column=0,sticky="N")
        self.make_table()
        #############################

        
        self.taglist = TagList(self,callback=tag_popup,text="Add Tag",button_underline=4)
        self.taglist.grid(row=0,column=1,rowspan=2,sticky="NSWE")
        btk.recursive_widget_bind(parent,"t",lambda e : tag_popup(self.taglist,self))

        
        self.grouplist = GroupList(self,callback=group_popup,text="Add Group",button_underline=4)
        self.grouplist.grid(row=0,column=2,rowspan=2,sticky="NSWE")
        btk.recursive_widget_bind(parent,"g",lambda e : group_popup(self.grouplist,self))

        self.note_frame = tk.Frame(self)
        scrollbar = ttk.Scrollbar(self.note_frame)
        self.note_body= tk.Text(self.note_frame,height=4,width=30,maxundo=15,undo=15)
        self.note_body.bind("<Control-A>", lambda e: self.note_select_all())
        self.note_body.bind("<Control-a>", lambda e: self.note_select_all())
        scrollbar.config(command=self.note_body.yview)

        self.note_body.config(yscrollcommand=scrollbar.set)
        self.note_body.grid(row=0,column=0,sticky="NSWE")
        scrollbar.grid(row=0,column=1,sticky="NSE")
        self.note_frame.grid_columnconfigure(0,weight=1)
        self.note_frame.grid(row=2,column=0,columnspan=3,sticky="NSWE")

        if self.headers:
            self.init()
        self.grid_rowconfigure(2,weight=1)
        self.grid_columnconfigure(0,weight=1)