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