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

Method wm_iconposition

Lib/tkinter/__init__.py:2396–2400  ·  view source on GitHub ↗

Set the position of the icon of this widget to X and Y. Return a tuple of the current values of X and X if None is given.

(self, x=None, y=None)

Source from the content-addressed store, hash-verified

2394 iconphoto = wm_iconphoto
2395
2396 def wm_iconposition(self, x=None, y=None):
2397 """Set the position of the icon of this widget to X and Y. Return
2398 a tuple of the current values of X and X if None is given."""
2399 return self._getints(self.tk.call(
2400 'wm', 'iconposition', self._w, x, y))
2401
2402 iconposition = wm_iconposition
2403

Callers

nothing calls this directly

Calls 2

_getintsMethod · 0.80
callMethod · 0.45

Tested by

no test coverage detected