You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@doutriaux1@chaosphere2112, here's another possible deprecation. Whether we're going to nuke it or implement it later, let me know and I'll update the docs.
The copyfontto() function is also called in Canvas.setdefaultfont().
>>>a=vcs.init()
>>>a.listelements('font') # show all font names
[...]
>>>a.copyfontto('Russian', 'Times')
---------------------------------------------------------------------------AttributeErrorTraceback (mostrecentcalllast)
<ipython-input-104-44742c8d0004>in<module>()
---->1a.copyfontto('Russian','Times')
/Users/brown308/anaconda/envs/2.8/lib/python2.7/site-packages/vcs/Canvas.pycincopyfontto(self, font1, font2)
5673"Error you must pass either a number or font name!, you passed for font 2: %s"%5674font2)
->5675returnself.canvas.copyfontto(*(index1, index2))
56765677defsetdefaultfont(self, font):
AttributeError: 'module'objecthasnoattribute'copyfontto'
The text was updated successfully, but these errors were encountered:
ghost
changed the title
Canvas.copyfontto() calls non-existent method
Canvas.copyfontto() calls non-existent function
Dec 12, 2016
@doutriaux1 @chaosphere2112, here's another possible deprecation. Whether we're going to nuke it or implement it later, let me know and I'll update the docs.
The copyfontto() function is also called in Canvas.setdefaultfont().
The text was updated successfully, but these errors were encountered: