controls/LibraryPanel.py
changeset 1744 69dfdb26f600
parent 1742 92932cd370a4
child 1745 f9d32913bad4
equal deleted inserted replaced
1743:c3c3d1318130 1744:69dfdb26f600
   317         if item is not None and item.IsOk():
   317         if item is not None and item.IsOk():
   318             # Select tree item found
   318             # Select tree item found
   319             self.Tree.SelectItem(item)
   319             self.Tree.SelectItem(item)
   320             self.Tree.EnsureVisible(item)
   320             self.Tree.EnsureVisible(item)
   321 
   321 
   322     def FindTreeItem(self, item, name, inputs = None):
   322     def FindTreeItem(self, item, name, inputs=None):
   323         """
   323         """
   324         Find Tree item corresponding to block informations given
   324         Find Tree item corresponding to block informations given
   325         Function is recursive
   325         Function is recursive
   326         @param item: Item to test
   326         @param item: Item to test
   327         @param name: Block type name
   327         @param name: Block type name