Sha256: f3d8f905bb0374bbcfa48fc2f199f82f6ac0d3bcff2ff5f4c283aa70d033bb2c

Contents?: true

Size: 430 Bytes

Versions: 43

Compression:

Stored size: 430 Bytes

Contents

class Wx::HtmlWindow
  # imitate the in-built LoadFile method
  def load_file(file)
    set_page( File.read(file) )
  end
  
  # This is called from within wxWidgets whenever a URL is being
  # opened. The method may return true, to signal that the opening
  # should be permitted, false or nil to signal that it should be
  # blocked, or a string URL to which it should be redirected
  def on_opening_url(url)
    true
  end
end

Version data entries

43 entries across 43 versions & 3 rubygems

Version Path
wxruby64-2.0.1-x64-mingw32 lib/wx/classes/htmlwindow.rb
wxruby-ruby19-2.0.1-x86-mingw32 lib/wx/classes/htmlwindow.rb
wxruby-ruby19-2.0.1-x86-linux lib/wx/classes/htmlwindow.rb
wxruby-ruby19-2.0.1-x86-darwin-9 lib/wx/classes/htmlwindow.rb
wxruby-2.0.1-x86-mswin32-60 lib/wx/classes/htmlwindow.rb
wxruby-2.0.1-x86-mingw32 lib/wx/classes/htmlwindow.rb
wxruby-2.0.1-x86-linux lib/wx/classes/htmlwindow.rb
wxruby-2.0.1-universal-darwin-9 lib/wx/classes/htmlwindow.rb
wxruby-1.9.7-i386-mswin32 lib/wx/classes/htmlwindow.rb
wxruby-1.9.10-universal-darwin-9 lib/wx/classes/htmlwindow.rb
wxruby-1.9.10-x86-linux lib/wx/classes/htmlwindow.rb
wxruby-1.9.10-x86-mswin32-60 lib/wx/classes/htmlwindow.rb
wxruby-1.9.10-x86_64-linux lib/wx/classes/htmlwindow.rb
wxruby-1.9.10-x86-mingw32 lib/wx/classes/htmlwindow.rb
wxruby-1.9.6-universal-darwin-9 lib/wx/classes/htmlwindow.rb
wxruby-1.9.6-x86-linux lib/wx/classes/htmlwindow.rb
wxruby-1.9.6-x86-mswin32-60 lib/wx/classes/htmlwindow.rb
wxruby-1.9.6-x86-mingw32 lib/wx/classes/htmlwindow.rb
wxruby-1.9.7-universal-darwin-9 lib/wx/classes/htmlwindow.rb
wxruby-1.9.7-x86-mswin32-60 lib/wx/classes/htmlwindow.rb