[Python] modifying tag for the item in tkinter treeview

Discussão em 'Python' iniciado por Stack, Março 11, 2025.

  1. Stack

    Stack Membro Participativo

    is there any way I could modify the the tkinter treeview item tag? I know how to create item with tag with insert command, but when I:

    tree.set(tree.selection()[0],0,'some text in red', tags='red')


    I get TypeError: set() got an unexpected keyword argument 'tags'

    The ultimate goal is to change row or column colors... Thanks!

    Continue reading...

Compartilhe esta Página