Expand description
High-level native window wrapper.
To create an instance of Sciter you will need either to create a new Sciter window or to attach (mix-in) the Sciter engine to an existing window.
The handle of the Sciter engine is defined as HWINDOW
type which is:
HWND
handle on Microsoft Windows.NSView*
– a pointer toNSView
instance that is a contentView of Sciter window on OS X.GtkWidget*
– a pointer toGtkWidget
instance that is a root widget of Sciter window on Linux/GTK.
Creation of a new window:
extern crate sciter;
fn main() {
let mut frame = sciter::Window::new();
frame.load_file("minimal.htm");
frame.run_app();
}
Also you can register a host and a DOM event handlers.
.
Structs
Builder pattern for window creation.
Generic rectangle struct.
NOTE that this is different from the RECT
type as it specifies width and height.
Sciter window.
Enums
Per-window Sciter engine options.
Window flags
Type Definitions
SCITER_CREATE_WINDOW_FLAGS
alias.