def display(self, item, buttons): Render.clear() Render.header(self.header) item_info = LL_API.get_info(item) Render.indent_info_window(item_info) Render.tool_bar(buttons) Render.the_border()
def display(self, item): Render.clear() Render.header(self.header) item_info = LL_API.get_info(item) Render.the_info_window(item_info) if self.edit_window != None: Render.tool_bar(BUTTONS) Render.the_border()