dbusmenu_glib/lib.rs
1//! # bindings for glib part of libdbusmenu
2//!
3//! Rust bindings for the glib part of [libdbusmenu] that work with the [gtk-rs ecosystem].
4//!
5//! By using [`Server`], you can use this crate in desktop applications to expose a menu over DBus.
6//! For more information, including code examples, see [libdbusmenu].
7//!
8//! This crate also provides a UI-framework-independent interface to read them by using [`Client`].
9//! 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.
10//!
11//! [libdbusmenu]: https://github.com/AyatanaIndicators/libdbusmenu
12//! [gtk-rs ecosystem]: https://gtk-rs.org
13#[allow(unused_macros)]
14#[doc(hidden)]
15macro_rules! skip_assert_initialized {
16 () => {};
17}
18
19#[allow(unused_macros)]
20#[doc(hidden)]
21macro_rules! assert_initialized_main_thread {
22 () => {
23
24 };
25}
26
27mod auto;
28pub use auto::*;
29pub use ffi;