rofi_plugin_sys/
view.rs

1//! Functions related to Rofi’s menu view.
2//!
3//! This corresponds to `view.h`.
4//!
5//! WARNING: This is an undocumented API!
6//! See <https://github.com/davatorium/rofi/blob/next/include/view.h> for the header file itself.
7//! As such, the only functions bound here are functions with explicit conformation from the author
8//! that they are public.
9
10extern "C" {
11    /// Indicate the current view needs to reload its data.
12    /// This can only be done when *more* information is available.
13    ///
14    /// The reloading happens 'lazy', multiple calls might be handled at once.
15    ///
16    /// See [this
17    /// comment](https://github.com/davatorium/rofi/discussions/1654#discussioncomment-3120858)
18    /// that confirms this function can be used.
19    #[link_name = "rofi_view_reload"]
20    pub fn reload();
21}