Crate dbusmenu_glib

Source
Expand description

§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.

Re-exports§

pub use ffi;

Modules§

traits

Structs§

Client
Menuitem
MenuitemProxy
Server

Enums§

Status
Tracks how the menus should be presented to the user.
TextDirection
The direction of text that the strings that this server will be sending strings as.