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

Method open

Lib/idlelib/replace.py:55–67  ·  view source on GitHub ↗

Make dialog visible on top of others and ready to use. Also, set the search to include the current selection (self.ok). Args: text: Text widget being searched. searchphrase: String phrase to search.

(self, text, searchphrase=None, *, insert_tags=None)

Source from the content-addressed store, hash-verified

53 self.insert_tags = None
54
55 def open(self, text, searchphrase=None, *, insert_tags=None):
56 """Make dialog visible on top of others and ready to use.
57
58 Also, set the search to include the current selection
59 (self.ok).
60
61 Args:
62 text: Text widget being searched.
63 searchphrase: String phrase to search.
64 """
65 SearchDialogBase.open(self, text, searchphrase)
66 self.ok = True
67 self.insert_tags = insert_tags
68
69 def create_entries(self):
70 "Create base and additional label and text entry widgets."

Callers 1

replaceFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected