noreply at rubyforge.org
2011-Apr-21 12:26 UTC
[wxruby-development] [ wxruby-Bugs-29139 ] display images of a site, click on a link in HtmlWindow
Bugs item #29139, was opened at 21/04/2011 12:26 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=218&aid=29139&group_id=35 Category: None Group: None Status: Open Resolution: None Priority: 3 Submitted By: marcel Bultez (bul) Assigned to: Nobody (None) Summary: display images of a site, click on a link in HtmlWindow Initial Comment: hello to all little problems with HtmlWindow wxRuby _ to display images of a site (local images ok) _ click on a link ( Unable to open requested document:...link... ) ====================test.rb===================# coding: utf-8 require ''wx'' include Wx class Applic < App def on_init frm=Wx::Frame.new( nil, -1, ''test HtmlWindow de WXRuby'', Wx::DEFAULT_POSITION, Wx::Size.new(450, 600) ) htm = Wx::HtmlWindow.new( frm, -1, Wx::DEFAULT_POSITION, Wx::DEFAULT_SIZE ) fic=File.new(''test.htm'',''r'') htm.append_to_page(fic.read(File.size(''test.htm''))) fic.close() frm.show() end end Applic.new.main_loop ====================test.htm===================<html> <body> <img src="http://......gif" /> <a href="http://www.....">lien</a> </body> </html> ======================================= I missed something somewhere? thank you in advance. (Sorry message translated by Google not very good but better than me) ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=218&aid=29139&group_id=35