Skip to main content

Crate miniblink

Crate miniblink 

Source
Expand description

Rust safe bindings to miniblink49

It’s now under development, not ready for production.

The api in this crate may change in the future.

use miniblink::{app, webview::*};

fn main() {
    app::init("./mb.dll").unwrap();
    let view = WebView::default();
    view.on_close(|_| std::process::exit(0));
    view.load_url("https://miniblink.net/");
    view.show();

    app::run_message_loop();
}

Modules§

app
Wraps to global functions.
callback
Defines the content.
error
Defines the miniblink error types.
net_job
Defines the net.
params
Defines the params.
types
Defines the types.
webview
Wraps to mbWebView.

Functions§

call_api
Call the inner api. Use it to call unwrapped api.