parameters: (self)
docstring: Widget values are copied to object
docstring_summary: Widget values are copied to object
docstring_tokens: Widget values are copied to object
function: def apply(self):
          """
          Widget values are copied to object
          """
  
          # grid always updated
          # but there may be callback functions
          # which expects a return with current selection
          pass
          # self.ForceRefresh()
  
          col = self.GetGridCursorCol()
          row = self.GetGridCursorRow()
  
          table = self.GetTable()
          id, attrconf = table.get_id_attrconf(row, col)
  
          if self.func_apply is not None:
              wx.FutureCall(1, self.func_apply, table, id, None)
  
          #self.logw('grid.apply row%d col %d'%(row,col))
          if self.func_choose_id is not None:
              # call self.func_choose_id
              wx.FutureCall(1, self.func_choose_id, id, attrconf)
              return
  
          elif self.func_choose_attr is not None:
              # call self.func_choose_id
              wx.FutureCall(1, self.func_choose_attr, attrconf)
              return
function_tokens: def apply ( self ) : # grid always updated # but there may be callback functions # which expects a return with current selection pass # self.ForceRefresh() col = self . GetGridCursorCol ( ) row = self . GetGridCursorRow ( ) table = self . GetTable ( ) id , attrconf = table . get_id_attrconf ( row , col ) if self . func_apply is not None : wx . FutureCall ( 1 , self . func_apply , table , id , None ) #self.logw('grid.apply row%d col %d'%(row,col)) if self . func_choose_id is not None : # call self.func_choose_id wx . FutureCall ( 1 , self . func_choose_id , id , attrconf ) return elif self . func_choose_attr is not None : # call self.func_choose_id wx . FutureCall ( 1 , self . func_choose_attr , attrconf ) return