[Bio] / PyGUI / Catalogpanel.py Repository:
ViewVC logotype

Diff of /PyGUI/Catalogpanel.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2, Thu Jul 31 15:54:29 2003 UTC revision 1.3, Fri Aug 1 15:33:39 2003 UTC
# Line 19  Line 19 
19          b=BssFactory()          b=BssFactory()
20          cpanel_list = b.getLsCat()          cpanel_list = b.getLsCat()
21    
22          for x in cpanel_list:         ##  for x in cpanel_list:
23              self.parent.catalog_listbox.Append(x[0], x[1])  ##             self.parent.catalog_listbox.Append(x[0], x[1])
24    
25    ##         EVT_LISTBOX(self.parent, self.parent.catalog_listbox.GetId(), self.onLeftClick)
26            #return
27    
28            self.parent.rootId = self.parent.catalog_tree.AddRoot("catalog item")
29    
         EVT_LISTBOX(self.parent, self.parent.catalog_listbox.GetId(), self.onLeftClick)  
         return  
30    
31      def onLeftClick(self,event):      def onLeftClick(self,event):
32          pt=self.parent.catalog_listbox.GetSelection()          pt=self.parent.catalog_listbox.GetSelection()

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3