/[thuban]/branches/WIP-pyshapelib-bramz/Thuban/UI/controls.py
ViewVC logotype

Diff of /branches/WIP-pyshapelib-bramz/Thuban/UI/controls.py

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

revision 255 by bh, Wed Aug 14 15:08:01 2002 UTC revision 274 by bh, Thu Aug 22 16:25:46 2002 UTC
# Line 169  class RecordTable(wxPyGridTableBase): Line 169  class RecordTable(wxPyGridTableBase):
169      def SetValue(self, row, col, value):      def SetValue(self, row, col, value):
170          if row < self.num_rows:          if row < self.num_rows:
171              name = self.rows[row][0]              name = self.rows[row][0]
172              print "Set value of field %s to %s" % (name, value)              self.record[name] = value
173                self.table.write_record(self.record_index, {name: value})
174    
175      #      #
176      # Some optional methods      # Some optional methods

Legend:
Removed from v.255  
changed lines
  Added in v.274

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26