wgpui-component 0.8.1

UI components for building desktop applications with wgpui (Longbridge gpui-component v0.8.1 adaptor).
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! A command palette: a search field over a filtered list of commands, with
//! groups, Action keybinding hints and keyboard navigation.
//!
//! [`Command`] owns the entries and rendering policy; [`CommandState`] holds
//! interaction state such as the query, focus, selection, and scrolling.
#[allow(clippy::module_inception)]
mod command;
mod item;
mod state;

pub use command::Command;
pub use item::{CommandEntry, CommandGroup, CommandItem};
pub use state::CommandState;

pub(crate) use state::init;