1 unstable release
0.1.0 | Apr 5, 2023 |
---|
#738 in GUI
6,772 downloads per month
Used in dbusmenu-gtk3
91KB
1K
SLoC
dbusmenu-rs
This repository contains safe Rust bindings for libdbusmenu that work with the gtk-rs ecosystem. For more information, including examples, see the libdbusmenu repo.
Code Generation
Bindings are generated using gir.
In order to manage all the steps and fixes involved in code generation, they are built using Nix and symlinked to result
.
To generate them yourself, run nix build
.
License
This project licensed under LGPLv3.
lib.rs
:
bindings for glib part of libdbusmenu
Rust bindings for the glib part of libdbusmenu that work with the gtk-rs ecosystem.
By using Server
, you can use this crate in desktop applications to expose a menu over DBus.
For more information, including code examples, see libdbusmenu.
This crate also provides a UI-framework-independent interface to read them by using Client
.
However, if you are using GTK, it is recommended that you use dbusmenu-gtk3
, which handles most of the GTK glue required to show it.
Dependencies
~5.5MB
~120K SLoC