This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author igor.yakovchenko
Recipients gpolo, igor.yakovchenko, serhiy.storchaka
Date 2018-03-18.09:09:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1521364150.91.0.467229070634.issue33096@psf.upfronthosting.co.za>
In-reply-to
Content
ttk.Treeview.insert(... iid=None, ...) method has a check:
        if iid:
            res = self.tk.call(self._w, "insert", parent, index,
                "-id", iid, *opts)
        else:
            res = self.tk.call(self._w, "insert", parent, index, *opts)

Documentation says that "If iid is specified, it is used as the item identifier", but as you can see from code, iid is used only if it's "True". It means that you cannot use iids like 0, 0.0 etc.
History
Date User Action Args
2018-03-18 09:09:11igor.yakovchenkosetrecipients: + igor.yakovchenko, gpolo, serhiy.storchaka
2018-03-18 09:09:10igor.yakovchenkosetmessageid: <1521364150.91.0.467229070634.issue33096@psf.upfronthosting.co.za>
2018-03-18 09:09:10igor.yakovchenkolinkissue33096 messages
2018-03-18 09:09:10igor.yakovchenkocreate