Lines Matching refs:sel
517 sel = tree.selection()
518 if not sel:
525 desc.insert("end", _info_str(_id_to_node[sel[0]]))
933 sel = tree.focus()
934 if sel:
935 node = _id_to_node[sel]
937 if tree.get_children(sel):
938 _tree_toggle_open(sel)
952 sel = tree.focus()
953 if sel:
954 node = _id_to_node[sel]
960 elif tree.get_children(sel):
961 _tree_toggle_open(sel)
980 sel = _tree.focus()
981 if sel:
982 node = _id_to_node[sel]
1037 sel = event.widget.focus()
1038 if sel:
1039 sc = _id_to_node[sel].item
1067 sel = _tree.selection()
1068 _menupath["text"] = _menu_path_info(_id_to_node[sel[0]]) if sel else ""
1606 sel = _tree.selection()
1607 if sel and _tree.bbox(sel[0]):
1608 return sel[0]
1768 sel = tree.selection()
1769 if not sel:
1772 node = _id_to_node[sel[0]]