From: nagai@... Date: 2003-02-04T03:52:36+09:00 Subject: Re: How to save Tk canvas as picture/create image from canvas? Hi, From: Ralf Subject: Re: How to save Tk canvas as picture/create image from canvas? Date: Mon, 3 Feb 2003 18:13:19 +0900 Message-ID: <3e3e31d3$1@epflnews.epfl.ch> > > I think you can give a canvas widget path as a 'data' option value > > when you give 'window' as a 'format' option value. > This is what I tried first, but ... > $!: image format "window" is not supported 8( I thought your Tcl/Tk already supported the option. Well, first of all, you must let your Tcl/Tk supports the option. If the option is supported by Tcl/Tk ext library, you must load the library on your Ruby/Tk by TkPackage module. If the Tcl/Tk ext library only add support of new formats, probably you don't need to define new classes for Ruby/Tk. -- Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp)