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

Method selection_present

Lib/tkinter/__init__.py:3384–3388  ·  view source on GitHub ↗

Return True if there are characters selected in the entry, False otherwise.

(self)

Source from the content-addressed store, hash-verified

3382 select_from = selection_from
3383
3384 def selection_present(self):
3385 """Return True if there are characters selected in the entry, False
3386 otherwise."""
3387 return self.tk.getboolean(
3388 self.tk.call(self._w, 'selection', 'present'))
3389
3390 select_present = selection_present
3391

Callers 2

Calls 2

getbooleanMethod · 0.45
callMethod · 0.45

Tested by 2