def about_Tables(self): self.ab_win = Toplevel() self.ab_win.geometry('+100+350') self.ab_win.title('About TablesApp') import Table_images logo = Table_images.tableapp_logo() label = Label(self.ab_win, image=logo) label.image = logo label.grid(row=0, column=0, sticky='news', padx=4, pady=4) text = [ 'Tables Sample App ', 'Shows the use of Tablecanvas class for tkinter', 'Copyright (C) Damien Farrell 2008', 'This program is free software; you can redistribute it and/or', 'modify it under the terms of the GNU General Public License', 'as published by the Free Software Foundation; either version 2', 'of the License, or (at your option) any later version.' ] row = 1 for line in text: tmp = Label(self.ab_win, text=line) tmp.grid(row=row, column=0, sticky='news', padx=4) row = row + 1 return
def about_Tables(self): self.ab_win = Toplevel() self.ab_win.geometry("+100+350") self.ab_win.title("About TablesApp") import Table_images logo = Table_images.tableapp_logo() label = Label(self.ab_win, image=logo) label.image = logo label.grid(row=0, column=0, sticky="news", padx=4, pady=4) text = [ "Tables Sample App ", "Shows the use of Tablecanvas class for tkinter", "Copyright (C) Damien Farrell 2008", "This program is free software; you can redistribute it and/or", "modify it under the terms of the GNU General Public License", "as published by the Free Software Foundation; either version 2", "of the License, or (at your option) any later version.", ] row = 1 for line in text: tmp = Label(self.ab_win, text=line) tmp.grid(row=row, column=0, sticky="news", padx=4) row = row + 1 return