Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
gtk-layer-shell
Safe wrapper for gtk-layer-shell, generated from .gir file
Usage
The wrapper works just like described in gtk-layer-shell.h, except that you can use Rust types instead of pointers and such. Unfortunately I am struggling to auto-generate the docs.
Generate the wrapper
Generating the wrapper yourself is not necessary to be able to use it. If you want to do it anyways, just clone the repository and the submodule "gir-files" with
If you have a newer .gir file then drop it in ./gir-files and run
After this you can run
There should not have been any errors, just some warnings about unused stuff. Currently I am getting the error that the crate ffi can not be found. I manually added the following line to enums.rs and functions.rs.
;
This however is overwritten each time gir is ran again so it is a bit hacky. Let me know how I can do this properly
TODO
Auto-generate the documentation
Contributing
Pull requests are very welcome :)