pugl is a minimal portable API for embeddable GUIs https://gitlab.com/lv2/pugl/
This crate aims to provide crate bindings for Rust.
Basis for small light weight self contained GUI toolkits, especially to implement UIs of LV2 plugins. GUIs for LV2 plugins need to be self contained, i.e. they should be statically linked and must not dynamically link any other GUI toolkit. Otherwise symbols of the same GUI toolkit in different versions used by different plugins running in the same host would clash.
Beta testing stage. Not all features of pugl are available yet. Currently only tested on Linux/X11. Rust hackers interested in programming small embeddable GUIs are encouraged to try it out.
You need to have the following stuff installed
pugl
bindings are accessed through bindgen
cd
into it.pugl
submodule by git submodule update --init --recursive
cargo build
This crate does not have any examples. There is the pugl-ui crate that is a stub of a GUI toolkit implementing widget layout and event propagation. Check this out for very basic examples.
Make available the remaining features from pugl. Many of them are probably
quite easy, as only function call needs to be forwarded to PuglView
. I
usually implement features once I need them. PRs welcome.
Figure out how to distribute it via https://crates.io with all the build dependencies (python, waf)
For sure a lot mode