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

Method grab_set

Lib/tkinter/__init__.py:1071–1076  ·  view source on GitHub ↗

Set grab for this widget. A grab directs all events to this and descendant widgets in the application.

(self)

Source from the content-addressed store, hash-verified

1069 self.tk.call('grab', 'release', self._w)
1070
1071 def grab_set(self):
1072 """Set grab for this widget.
1073
1074 A grab directs all events to this and descendant
1075 widgets in the application."""
1076 self.tk.call('grab', 'set', self._w)
1077
1078 def grab_set_global(self):
1079 """Set global grab for this widget.

Callers 9

goMethod · 0.80
goMethod · 0.80
__init__Method · 0.80
__init__Method · 0.80
__init__Method · 0.80
openMethod · 0.80
__init__Method · 0.80
__init__Method · 0.80
__init__Method · 0.80

Calls 1

callMethod · 0.45

Tested by

no test coverage detected