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
- Trait and widget for input completion.
Macros
Structs
- Blocking input dialog responder. This is used to send the message to a channel when the user answers the dialog.
- Builder to create a new dialog.
- Input dialog responder. This is used to specify which message to send to which widget when the user answers the dialog.
- 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.
Enums
- A directory or a file to create if it does not exist.
- 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.
Traits
- A Responder is a way to send back the answer of a dialog to the code that showed this dialog.
Functions
- Ask a question to the user and block until the user provides it (or cancel).
- Ask a question to the user and block until the user provides it (or cancel).
- Ask a multiple-choice question to the user and block until the user provides it (or cancel).
- Show a blocking yes/no question.
- Ask a question to the user.
- Parse a configuration file.
- Ask a multiple-choice question to the user.
- Show a yes/no question.
Type Definitions
- List of modes