Expand description
Minimal UI library based on GTK+.
Re-exports§
pub use app::Msg::Alert;pub use app::Msg::AppClose;pub use app::Msg::CloseWin;pub use app::Msg::Completers;pub use app::Msg::CompletionViewChange;pub use app::Msg::CustomCommand;pub use app::Msg::CustomDialog;pub use app::Msg::DarkTheme;pub use app::Msg::DeleteCompletionItem;pub use app::Msg::Error;pub use app::Msg::Info;pub use app::Msg::Message;pub use app::Msg::ModeChanged;pub use app::Msg::Question;pub use app::Msg::SetMode;pub use app::Msg::SetSetting;pub use app::Msg::SettingChanged;pub use app::Msg::StatusBarVisible;pub use app::Msg::Title;pub use app::Msg::Variables;pub use app::Msg::Warning;pub use app::status_bar::ItemMsg::Color;pub use app::status_bar::ItemMsg::Text;
Modules§
- completion
- Trait and widget for input completion.
Macros§
Structs§
- Blocking
Input Dialog - Blocking input dialog responder. This is used to send the message to a channel when the user answers the dialog.
- Dialog
Builder - Builder to create a new dialog.
- Input
Dialog - Input dialog responder. This is used to specify which message to send to which widget when the user answers the dialog.
- Mg
- Mode
- A mode contains a prefix (i.e. “i”) and a name (i.e. “insert”). It can only specify whether a count can be shown for it.
- Status
Bar - Status
BarItem
Enums§
- Default
Config - A directory or a file to create if it does not exist.
- Dialog
Result - Struct representing a dialog result. A dialog result is either what the user typed in the input (Answer) or the string associated with the shortcut.
- Foreground
Color
Traits§
- Responder
- A Responder is a way to send back the answer of a dialog to the code that showed this dialog.
Functions§
- blocking_
dialog - Ask a question to the user and block until the user provides it (or cancel).
- blocking_
input - Ask a question to the user and block until the user provides it (or cancel).
- blocking_
question - Ask a multiple-choice question to the user and block until the user provides it (or cancel).
- blocking_
yes_ no_ question - Show a blocking yes/no question.
- input
- Ask a question to the user.
- parse_
config - Parse a configuration file.
- question
- Ask a multiple-choice question to the user.
- yes_
no_ question - Show a yes/no question.
Type Aliases§
- Modes
- List of modes