Method: TkcWindow.create
- Defined in:
- ext/lib/tk/canvas.rb
.create(canvas, *args) ⇒ Object
779 780 781 782 783 784 785 786 787 788 |
# File 'ext/lib/tk/canvas.rb', line 779 def self.create(canvas, *args) if args[-1].kind_of?(Hash) keys = _symbolkey2str(args.pop) win = keys['window'] # keys['window'] = win.epath if win.kind_of?(TkWindow) keys['window'] = _epath(win) if win args.push(keys) end super(canvas, *args) end |