Improved/fixed how tkinter methods are applied to tkVFD display objects, which now respond the same as any other tkinter canvas object.
Previously tkinter methods had to be applied when either using .control()
or .char()
as this was when the canvas object was apparent. For example:
disp = tkVFD.seg7(root, height=200)
disp.char('8').pack(side=tk.LEFT)
Now a __getattr__
function has been defined which looks at the tkinter package for all methods not native to tkVFD. Thus tkinter methods can be applied at any time. For example:
disp = tkVFD.seg7(root, height=200)
disp.char('8')
disp.pack(side=tk.LEFT)