#gtk #bindings #api-bindings #libdbusmenu

dbusmenu-gtk3

Rust bindings to dbusmenu-gtk3

1 unstable release

0.1.0 Apr 5, 2023

#740 in GUI

Download history 71/week @ 2024-01-03 56/week @ 2024-01-10 65/week @ 2024-01-17 62/week @ 2024-01-24 59/week @ 2024-01-31 62/week @ 2024-02-07 73/week @ 2024-02-14 79/week @ 2024-02-21 66/week @ 2024-02-28 64/week @ 2024-03-06 70/week @ 2024-03-13 86/week @ 2024-03-20 683/week @ 2024-03-27 1044/week @ 2024-04-03 773/week @ 2024-04-10 675/week @ 2024-04-17

3,187 downloads per month

LGPL-3.0-only

90KB
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 gtk part of libdbusmenu

Rust bindings for the gtk part of libdbusmenu that work with the gtk-rs ecosystem.

If you are looking to expose a menu over DBus (e.g. for a system tray icon), see [mod@dbusmenu_glib]. This crate provides Menu, a GTK widget which will show the contents of a menu exposed over DBus.

Dependencies

~16–25MB
~441K SLoC