(self, event)
| 288 | wxpg.PropertyGrid.Clear(self) |
| 289 | |
| 290 | def OnPropGridChange(self, event): |
| 291 | p = event.GetProperty() |
| 292 | attr = p.GetClientData() |
| 293 | if p.GetValue() == attr.value: |
| 294 | self.item.deleteOverride(attr) |
| 295 | p.SetModifiedStatus(False) |
| 296 | else: |
| 297 | self.item.setOverride(attr, p.GetValue()) |
| 298 | |
| 299 | self.itemView.updateItems() |
| 300 | |
| 301 | pyfalog.debug('{0} changed to "{1}"', p.GetName(), p.GetValueAsString()) |
| 302 | |
| 303 | def OnPropGridSelect(self, event): |
| 304 | pass |
nothing calls this directly
no test coverage detected