Expand description
Reusable bite-gpui widgets shared by the FerroCAD shell and the bite-gpui
book.
window_chrome::window_framedraws client-side decorations (title bar and resize grips) where the compositor does not.text_field::TextInputis a single-line editable field that emitsChangeEventandSubmitEvent.text_area::TextAreaStateis a scrollable text area with a read-only prefix and an editable, possibly multi-line, tail (the console).text_buffer::TextBufferis the shared editing model underneath both.- [
menu] is the domain-free popover row list. - [
wheel] is the radial marking menu: a dielectric torus, wedge hit-testing and the semantic tone arcs, plus theWheelMenusidecar that owns the gesture (armed/latched, tap-vs-flick, hover, overlay and dismissal).
Re-exports§
pub use events::ChangeEvent;pub use events::SubmitEvent;pub use menu::MenuInfoRow;pub use menu::MenuRow;pub use text_area::TextAreaState;pub use text_buffer::TextBuffer;pub use text_field::TextInput;pub use wheel::WheelEvent;pub use wheel::WheelHit;pub use wheel::WheelMenu;pub use wheel::WheelSlot;pub use wheel::WheelTone;pub use wheel::slot_at;pub use wheel::slot_offset;pub use wheel::wheel;pub use window_chrome::window_frame;
Modules§
- events
- Events emitted by the editable widgets.
- menu
- A domain-free anchored menu: a column of read-only info rows and clickable command rows, dismissed by a press outside its panel.
- text_
area - A scrollable text area with a read-only prefix and an editable tail.
- text_
buffer - The shared text-editing model behind the input and text-area components.
- text_
field - A single-line editable field.
- wheel
- A radial marking menu: a dielectric torus split into wedge targets around a hollow cancel deadzone.
- window_
chrome - Client-side window decorations: a title bar and border resize grips.