Clear the value attribute of a control. As a result, the affected control will not be successful until a value is subsequently set. AttributeError is raised on readonly controls.
(self,
name=None, type=None, kind=None, id=None, nr=None, label=None)
| 2994 | control.clear() |
| 2995 | |
| 2996 | def clear(self, |
| 2997 | name=None, type=None, kind=None, id=None, nr=None, label=None): |
| 2998 | """Clear the value attribute of a control. |
| 2999 | |
| 3000 | As a result, the affected control will not be successful until a value |
| 3001 | is subsequently set. AttributeError is raised on readonly controls. |
| 3002 | |
| 3003 | """ |
| 3004 | c = self.find_control(name, type, kind, id, label=label, nr=nr) |
| 3005 | c.clear() |
| 3006 | |
| 3007 | |
| 3008 | #--------------------------------------------------- |
nothing calls this directly
no test coverage detected