MCPcopy Index your code
hub / github.com/python/cpython / create_command_buttons

Method create_command_buttons

Lib/idlelib/replace.py:74–84  ·  view source on GitHub ↗

Create base and additional command buttons. The additional buttons are for Find, Replace, Replace+Find, and Replace All.

(self)

Source from the content-addressed store, hash-verified

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."

Callers

nothing calls this directly

Calls 1

make_buttonMethod · 0.80

Tested by

no test coverage detected