Create base and additional command buttons. The additional buttons are for Find, Replace, Replace+Find, and Replace All.
(self)
| 72 | self.replent = self.make_entry("Replace with:", self.replvar)[0] |
| 73 | |
| 74 | def create_command_buttons(self): |
| 75 | """Create base and additional command buttons. |
| 76 | |
| 77 | The additional buttons are for Find, Replace, |
| 78 | Replace+Find, and Replace All. |
| 79 | """ |
| 80 | SearchDialogBase.create_command_buttons(self) |
| 81 | self.make_button("Find", self.find_it) |
| 82 | self.make_button("Replace", self.replace_it) |
| 83 | self.make_button("Replace+Find", self.default_command, isdef=True) |
| 84 | self.make_button("Replace All", self.replace_all) |
| 85 | |
| 86 | def find_it(self, event=None): |
| 87 | "Handle the Find button." |
nothing calls this directly
no test coverage detected