opc_ua/opcua_client_maker.py
branchwxPython4
changeset 3666 bf3b5f58c832
parent 3652 b5c6bb72bfc9
child 3667 49e6b73de505
equal deleted inserted replaced
3665:db7e4952b64f 3666:bf3b5f58c832
   148 
   148 
   149         for idx,(colname,width) in enumerate(zip(lstcolnames,lstcolwidths)):
   149         for idx,(colname,width) in enumerate(zip(lstcolnames,lstcolwidths)):
   150             self.dvc.AppendTextColumn(colname,  idx, width=width, mode=dv.DATAVIEW_CELL_EDITABLE)
   150             self.dvc.AppendTextColumn(colname,  idx, width=width, mode=dv.DATAVIEW_CELL_EDITABLE)
   151 
   151 
   152         DropTarget = NodeDropTarget(self)
   152         DropTarget = NodeDropTarget(self)
   153         self.dvc.SetDropTarget(DropTarget)
   153         self.SetDropTarget(DropTarget)
   154 
   154 
   155         self.Sizer = wx.BoxSizer(wx.VERTICAL)
   155         self.Sizer = wx.BoxSizer(wx.VERTICAL)
   156 
   156 
   157         self.direction =  direction
   157         self.direction =  direction
   158         titlestr = direction + " variables"
   158         titlestr = direction + " variables"