Changeset 969 for inundation/ga/storm_surge/pmesh/visualmesh.py
- Timestamp:
- Feb 28, 2005, 4:30:52 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inundation/ga/storm_surge/pmesh/visualmesh.py
r407 r969 211 211 212 212 def editWindow_int(self, canvas, selMeshObject): 213 ask_int = askinteger("Edit Segment", " Marker",214 minvalue=0, initialvalue= selMeshObject. marker)213 ask_int = askinteger("Edit Segment", "Tag", 214 minvalue=0, initialvalue= selMeshObject.tag) 215 215 if ask_int >= 0: 216 selMeshObject. marker= ask_int216 selMeshObject.tag = ask_int 217 217 218 218 def editWindow(self, canvas, selMeshObject, userMeshChanged): 219 ask_string = askstring("Edit Segment Tag", " Marker",220 initialvalue= str(selMeshObject. marker))219 ask_string = askstring("Edit Segment Tag", "Tag", 220 initialvalue= str(selMeshObject.tag)) 221 221 if ask_string != None: 222 selMeshObject. marker= ask_string222 selMeshObject.tag = ask_string 223 223 userMeshChanged = True 224 224 return userMeshChanged 225 225 226 226 def defaultWindow(self, canvas): 227 ask_string = askstring("Edit Default Segment Tag", " Marker",227 ask_string = askstring("Edit Default Segment Tag", "Tag", 228 228 initialvalue= str(self.association.get_default_tag())) 229 229 if ask_string != None:
Note: See TracChangeset
for help on using the changeset viewer.