#![doc = include_str!("../readme.md")]
#![allow(clippy::collapsible_else_if)]
#![allow(clippy::collapsible_if)]
#![allow(clippy::if_same_then_else)]
#![allow(clippy::clone_on_copy)]
#![allow(clippy::assigning_clones)]
pub mod event {
pub use rat_event::*;
pub use crate::button::event::ButtonOutcome;
pub use crate::calendar::event::CalOutcome;
pub use crate::checkbox::event::CheckOutcome;
pub use crate::choice::event::ChoiceOutcome;
pub use crate::file_dialog::event::FileOutcome;
pub use crate::pager::event::PagerOutcome;
pub use crate::radio::event::RadioOutcome;
pub use crate::slider::event::SliderOutcome;
pub use crate::tabbed::event::TabbedOutcome;
pub use rat_ftable::event::{DoubleClickOutcome, EditOutcome, TableOutcome};
pub use rat_menu::event::MenuOutcome;
pub use rat_popup::event::PopupOutcome;
pub use rat_scrolled::event::ScrollOutcome;
pub use rat_text::event::{ReadOnly, TextOutcome};
}
pub mod focus {
pub use rat_focus::{
handle_focus, impl_has_focus, match_focus, on_gained, on_lost, Focus, FocusBuilder,
FocusFlag, HasFocus, Navigation,
};
}
pub mod layout;
pub mod reloc {
pub use rat_reloc::{
impl_relocatable_state, relocate_area, relocate_areas, relocate_position,
relocate_positions, RelocatableState,
};
}
pub mod scrolled {
pub use rat_scrolled::{
Scroll, ScrollArea, ScrollAreaState, ScrollState, ScrollStyle, ScrollSymbols,
ScrollbarPolicy, SCROLLBAR_DOUBLE_HORIZONTAL, SCROLLBAR_DOUBLE_VERTICAL,
SCROLLBAR_HORIZONTAL, SCROLLBAR_VERTICAL,
};
}
pub mod text {
pub use rat_text::clipboard;
pub use rat_text::core;
pub use rat_text::undo_buffer;
pub use rat_text::{
impl_screen_cursor, ipos_type, screen_cursor, upos_type, Cursor, Glyph, Grapheme,
HasScreenCursor, Locale, TextError, TextFocusGained, TextFocusLost, TextPosition,
TextRange, TextStyle,
};
}
pub mod button;
pub mod calendar;
pub mod checkbox;
pub mod choice;
pub mod clipper;
pub mod date_input {
pub use rat_text::date_input::{
handle_events, handle_mouse_events, handle_readonly_events, DateInput, DateInputState,
};
}
pub mod file_dialog;
pub mod hover;
pub mod line_number {
pub use rat_text::line_number::{LineNumberState, LineNumberStyle, LineNumbers};
}
pub mod list;
pub mod menu {
pub use rat_menu::menubar::{Menubar, MenubarLine, MenubarPopup, MenubarState};
pub use rat_menu::menuitem::{MenuItem, Separator};
pub use rat_menu::menuline::{MenuLine, MenuLineState};
pub use rat_menu::popup_menu::{PopupConstraint, PopupMenu, PopupMenuState};
pub use rat_menu::{MenuBuilder, MenuStructure, MenuStyle, StaticMenu};
pub mod menubar {
pub use rat_menu::menubar::{handle_mouse_events, handle_popup_events};
}
pub mod menuline {
pub use rat_menu::menuline::{handle_events, handle_mouse_events};
}
pub mod popup_menu {
pub use rat_menu::popup_menu::{handle_mouse_events, handle_popup_events};
}
}
pub mod msgdialog;
pub mod number_input {
pub use rat_text::number_input::{
handle_events, handle_mouse_events, handle_readonly_events, NumberInput, NumberInputState,
};
}
pub mod pager;
pub mod paired;
pub mod paragraph;
pub mod popup {
pub use rat_popup::{Placement, PopupConstraint, PopupCore, PopupCoreState, PopupStyle};
}
pub mod radio;
pub mod shadow;
pub mod splitter;
pub mod statusline;
pub mod table {
pub use rat_ftable::{
edit, selection, textdata, Table, TableContext, TableData, TableDataIter, TableSelection,
TableState, TableStyle,
};
}
pub mod tabbed;
pub mod text_input {
pub use rat_text::text_input::{
handle_events, handle_mouse_events, handle_readonly_events, TextInput, TextInputState,
};
}
pub mod text_input_mask {
pub use rat_text::text_input_mask::{
handle_events, handle_mouse_events, handle_readonly_events, MaskedInput, MaskedInputState,
};
}
pub mod textarea {
pub use rat_text::text_area::{
handle_events, handle_mouse_events, handle_readonly_events, TextArea, TextAreaState,
};
}
pub mod range_op;
pub mod slider;
pub mod util;
pub mod view;
mod _private {
#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
pub struct NonExhaustive;
}