Message314032
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. |
|
Date |
User |
Action |
Args |
2018-03-18 09:09:11 | igor.yakovchenko | set | recipients:
+ igor.yakovchenko, gpolo, serhiy.storchaka |
2018-03-18 09:09:10 | igor.yakovchenko | set | messageid: <1521364150.91.0.467229070634.issue33096@psf.upfronthosting.co.za> |
2018-03-18 09:09:10 | igor.yakovchenko | link | issue33096 messages |
2018-03-18 09:09:10 | igor.yakovchenko | create | |
|