#dbusmenu #gtk #api-bindings #gtk3

dbusmenu-gtk3

Rust bindings to dbusmenu-gtk3

1 unstable release

0.1.0 Apr 5, 2023

#931 in GUI

Download history 117/week @ 2023-11-02 216/week @ 2023-11-09 133/week @ 2023-11-16 90/week @ 2023-11-23 92/week @ 2023-11-30 71/week @ 2023-12-07 75/week @ 2023-12-14 68/week @ 2023-12-21 89/week @ 2023-12-28 104/week @ 2024-01-04 79/week @ 2024-01-11 94/week @ 2024-01-18 89/week @ 2024-01-25 83/week @ 2024-02-01 93/week @ 2024-02-08 101/week @ 2024-02-15

381 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–26MB
~450K SLoC