Parent

Files

Wx::HtmlWindow

Public Instance Methods

load_file(file) click to toggle source

imitate the in-built LoadFile method

# File wx/classes/htmlwindow.rb, line 3
  def load_file(file)
    set_page( File.read(file) )
  end
on_opening_url(url) click to toggle source

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

# File wx/classes/htmlwindow.rb, line 11
  def on_opening_url(url)
    true
  end

Disabled; run with $DEBUG to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.