tv.item() takes 2 arguments, selected & values.You can view that by using the print function. tv.focus() hold the row number of the selected item in Treeview & the value for the same is stored in a variable named selected.In this code, please pay attention to the update_item function. We will understand this with an example wherein the salary of the selected employee will be incremented by 5% of the current.This will return all the values in the selected item. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |