----- Original Message ----- 
From: Kero van Gelder <kero / d4050.upc-d.chello.nl>
To: ruby-talk ML <ruby-talk / ruby-lang.org>
Sent: Wednesday, July 11, 2001 2:26 AM
Subject: [ruby-talk:17639] Re: TkPhoto on a button


> It is really called TkPhotoImage; and you have to call new()
>    image = TkPhotoImage.new("file" => "some.gif")

Ahh, thanks, Kero.

Coding too late at night again! There was even an example
in the Pickaxe Book.

The "bottom" I referred to was taken from the larger context
of my code, by the way. It's just a TkFrame.

I'm finding that the book _Learning Perl/Tk_ is not as much
help as I had hoped... by that I mean, there are more differences
than I expected in Ruby/Tk and Perl/Tk. 

In their example, TkPhoto is a method (and I don't think there's 
a TkPhotoImage at all...)  Of course, Ruby is more OO than Perl...

Hal