Recent Posts by Thomas Wieczorek
|
Jan 14, 2008
Thomas Wiecz...
5 posts
|
Topic: FXRuby / Layout problems with FXSwitcher Great, I just read about |
|
Jan 13, 2008
Thomas Wiecz...
5 posts
|
Topic: FXRuby / Layout problems with FXSwitcher I finished chapter 5.4 and I run into a strange problem which I cannot fathom out on my own. Did someone experience the same behaviour? Regards, Thomas |
|
Jan 12, 2008
Thomas Wiecz...
5 posts
|
Topic: FXRuby / Problem with understanding the PhotoView class It’s a great book and I like how you go through the iterations. IMHO it is more readable, when I add |
|
Jan 11, 2008
Thomas Wiecz...
5 posts
|
Topic: FXRuby / Problem with understanding the PhotoView class All right, I get it! Sorry for the ruckus |
|
Jan 11, 2008
Thomas Wiecz...
5 posts
|
Topic: FXRuby / Problem with understanding the PhotoView class I finished the third chapter and I am right now starting the fourth, but I don’t get one thing. Where does the PhotoView class gets its knowlegde of the
class PhotoView < FXImageFrame
def initialize(p, photo)
super(p, nil)
load_image(photo.path)
end
def load_image(path)
File.open(path, "rb") do |file|
# I don't get it why "app" works!
self.image = FXJPGImage.new(app, file.read)
end
end
end
|
5 posts
