![]() ![]() select_row ( index ) def deselect ( self, index ): self. update_row ( index, data ) def select ( self, index ): self. delete_row ( index ) def update ( self, index, data ): self. insert_row ( data, index ) def delete ( self, index ): self. _multicolumn_listbox, index ) def insert ( self, data, index = None ): self. row_data ( index ) def get ( self, index ): return Row ( self. _multicolumn_listbox = multicolumn_listbox def data ( self, index ): return self. number_of_rows class Multicolumn_Listbox ( object ): _style_index = 0 class List_Of_Rows ( object ): def _init_ ( self, multicolumn_listbox ): self. data ()) def _len_ ( self ): return self. _index, data ) def _str_ ( self ): return str ( self. ![]() _index ) def update ( self, data ): self. _index = index def data ( self ): return self. number_of_columns class Column ( object ): def _init_ ( self, table, index ): self. _index ) def _str_ ( self ): return str ( self. _index, data ) def select ( self ): self. # Version: 2.3 # Author: Miguel Martinez Lopez # Uncomment the next line to see my email # print("Author's email: %s"%"61706c69636163696f6e616d656469646140676d61696c2e636f6d".decode("hex")) import platform try : from Tkinter import Frame, BOTH, N, E, S, W, CENTER, Entry, Canvas, Label from tkFont import Font, nametofont from ttk import Treeview, Scrollbar, Style except ImportError : from tkinter import Frame, BOTH, N, E, S, W, CENTER, Entry, Canvas, Label from tkinter.font import Font, nametofont from tkinter.ttk import Treeview, Scrollbar, Style # Python 3 compatibility try : basestring except NameError : basestring = str class Row ( object ): def _init_ ( self, table, index ): self.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |