Skip to content
This repository was archived by the owner on May 15, 2026. It is now read-only.
pyrite-devPublic archive

About

Rust bindings for Milsko

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

Repository files navigation

milsko-rs

Safe bindings for the minimalist GUI library milsko to Rust.

Currently does not cover 100% of the library, but does cover enough widgets for example programs to be recreated. The build script also does not support Milsko's cross compilation features.

Usage

use milsko::prelude::*;

fn main() {
    let mut win = WindowBuilder::new().width(640).height(480).build();

    let text = LabelBuilder::new()
        .text("Hello world!")
        .x(0)
        .y(0)
        .width(640)
        .height(480)
        .build(&mut win);

    win.do_loop();
}
Image

More examples can be found in examples

About

Rust bindings for Milsko

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages