(self, action)
| 44 | def reset(self): |
| 45 | self.links = {} |
| 46 | def add(self, action): |
| 47 | # add an action to the manager. returns tags to use in |
| 48 | # associated text widget |
| 49 | tag = "link-%d" % len(self.links) |
| 50 | self.links[tag] = action |
| 51 | return "link", tag |
| 52 | |
| 53 | def _enter(self, event): |
| 54 | self.text.config(cursor="hand2") |
no outgoing calls
no test coverage detected