#gtk #api-bindings

dbusmenu-gtk3

Rust bindings to dbusmenu-gtk3

1 unstable release

0.1.0 Apr 5, 2023

#621 in GUI

Download history 993/week @ 2024-07-29 883/week @ 2024-08-05 1034/week @ 2024-08-12 1128/week @ 2024-08-19 1041/week @ 2024-08-26 1107/week @ 2024-09-02 1083/week @ 2024-09-09 1108/week @ 2024-09-16 1100/week @ 2024-09-23 1191/week @ 2024-09-30 1209/week @ 2024-10-07 1513/week @ 2024-10-14 1363/week @ 2024-10-21 1607/week @ 2024-10-28 1588/week @ 2024-11-04 1609/week @ 2024-11-11

6,385 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–23MB
~436K SLoC