def create_notebook_content(self, beans, optimization=False): treeview = PlaylistTreeControl(self.controls) if beans: if optimization: treeview.simple_append_all(beans) else: treeview.append_all(beans) return treeview
def create_notebook_tab(self, beans, optimization=False): treeview = PlaylistTreeControl(self.controls) self.set_active_tree(treeview) if beans: if optimization: treeview.simple_append_all(beans) else: treeview.append_all(beans) treeview.scroll.show_all() return treeview.scroll
def create_notebook_tab(self, beans, optimization=False): treeview = PlaylistTreeControl(self.controls) if beans: if optimization: treeview.simple_append_all(beans) else: treeview.append_all(beans) treeview.scroll.show_all() return treeview.scroll