From noreply at rubyforge.org Thu Apr 21 08:26:15 2011 From: noreply at rubyforge.org (noreply at rubyforge.org) Date: Thu, 21 Apr 2011 08:26:15 -0400 (EDT) Subject: [wxruby-development] [ wxruby-Bugs-29139 ] display images of a site, click on a link in HtmlWindow Message-ID: <20110421122616.9802D185835A@rubyforge.org> 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====================
lien
========================================
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