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

Method postscript

Lib/tkinter/__init__.py:3214–3220  ·  view source on GitHub ↗

Print the contents of the canvas to a postscript file. Valid options: colormap, colormode, file, fontmap, height, pageanchor, pageheight, pagewidth, pagex, pagey, rotate, width, x, y.

(self, cnf={}, **kw)

Source from the content-addressed store, hash-verified

3212 self.tk.call(self._w, 'moveto', tagOrId, x, y)
3213
3214 def postscript(self, cnf={}, **kw):
3215 """Print the contents of the canvas to a postscript
3216 file. Valid options: colormap, colormode, file, fontmap,
3217 height, pageanchor, pageheight, pagewidth, pagex, pagey,
3218 rotate, width, x, y."""
3219 return self.tk.call((self._w, 'postscript') +
3220 self._options(cnf, kw))
3221
3222 def tag_raise(self, *args):
3223 """Raise an item TAGORID given in ARGS

Callers 1

saveMethod · 0.80

Calls 2

callMethod · 0.45
_optionsMethod · 0.45

Tested by

no test coverage detected