#gtk #bindings #api-bindings #libdbusmenu

dbusmenu-gtk3

Rust bindings to dbusmenu-gtk3

1 unstable release

0.1.0 Apr 5, 2023

#1032 in GUI

Download history 72/week @ 2024-03-14 84/week @ 2024-03-21 863/week @ 2024-03-28 952/week @ 2024-04-04 785/week @ 2024-04-11 793/week @ 2024-04-18 1070/week @ 2024-04-25 1490/week @ 2024-05-02 2305/week @ 2024-05-09 1757/week @ 2024-05-16 1607/week @ 2024-05-23 1666/week @ 2024-05-30 1717/week @ 2024-06-06 1720/week @ 2024-06-13 1655/week @ 2024-06-20 1408/week @ 2024-06-27

6,742 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
~446K SLoC