MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / grab_set

Method grab_set

tools/python-3.11.9-amd64/Lib/tkinter/__init__.py:958–963  ·  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

956 self.tk.call('grab', 'release', self._w)
957
958 def grab_set(self):
959 """Set grab for this widget.
960
961 A grab directs all events to this and descendant
962 widgets in the application."""
963 self.tk.call('grab', 'set', self._w)
964
965 def grab_set_global(self):
966 """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.80

Tested by

no test coverage detected