Skip to content

Instantly share code, notes, and snippets.

@pravic
Last active May 14, 2017 05:52
Show Gist options
  • Save pravic/ae568cf52773b937f3c937dc90b0566a to your computer and use it in GitHub Desktop.
Save pravic/ae568cf52773b937f3c937dc90b0566a to your computer and use it in GitHub Desktop.
scwindemo
[package]
name = "scwindemo"
version = "0.1.0"
[dependencies]
sciter-rs = "0.4.16"
#![windows_subsystem="windows"]
extern crate sciter;
fn main() {
let html_code = br"<html><body>Hi there</body></html>";
let mut frame = sciter::Window::new();
frame.load_html(html_code, None);
frame.run_app();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment