pugl-sys – a rust wrapper for pugl

pugl is a minimal portable API for embeddable GUIs https://gitlab.com/lv2/pugl/

This crate aims to provide crate bindings for Rust.

Goal

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.

Status

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.

How to use

Prerequisites

You need to have the following stuff installed

Build

Usage

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.

Todo