Re-exports§
pub use crate::Disableable;pub use input::RopeExt;pub use input::RopeLines;pub use list::*;pub use theme::*;
Modules§
- accordion
- alert
- animation
- avatar
- badge
- breadcrumb
- button
- calendar
- chart
- checkbox
- clipboard
- color_
picker - date_
picker - description_
list - divider
- dock
- drawer
- dropdown
- form
- group_
box - highlighter
- history
- indicator
- input
- label
- link
- list
- menu
- modal
- notification
- plot
- popover
- progress
- radio
- resizable
- scroll
- sidebar
- skeleton
- slider
- styled_
ext_ reflection - Implements function reflection
- switch
- tab
- table
- tag
- text
- theme
- tooltip
Structs§
- DivInspector
- Icon
- Index
Path - Represents an index path in a list, which consists of a section index,
- Kbd
- A key binding tag
- Measure
- Root
- Root is a view for the App window for as the top level view (Must be the first view in the window).
- Rope
- A utf8 text rope.
- Title
Bar - TitleBar used to customize the appearance of the title bar.
- Title
BarElement - A TitleBar Element that can be move the window.
- Toggle
Inspector - Tree
- A tree view element that displays hierarchical data.
- Tree
Entry - A flat representation of a tree item with its depth.
- Tree
Item - A tree item with a label, children, and an expanded state.
- Tree
State - State for managing tree items.
- Virtual
List - VirtualList component for rendering a large number of differently sized items.
- Virtual
List Scroll Handle - Window
Border - Window border use to render a custom window border and shadow for Linux.
Enums§
Constants§
Traits§
- AxisExt
- Collapsible
- A trait for defining element that can be collapsed.
- Context
Modal - Extension trait for [
WindowContext] and [ViewContext] to add drawer functionality. - Disableable
- A trait for defining element that can be disabled.
- Icon
Named - Interactive
Element Ext - Pixels
Ext - A trait for converting
Pixelstof32andf64. - Selectable
- A trait for defining element that can be selected.
- Sizable
- A trait for setting the size of an element. Size::Medium is use by default.
- Style
Sized - Styled
Ext - Extends
gpui::Styledwith specific styling methods.
Functions§
- box_
shadow - Create a
BoxShadowlike CSS. - h_flex
- Returns a
Divas horizontal flex layout. - h_
virtual_ list - Create a
VirtualListin horizontal direction. - init
- Initialize the components.
- locale
- measure
- Measures the execution time.
- measure_
if - Measures the execution time of a function and logs it if
if_is true. - set_
locale - tree
- Create a
Tree. - v_flex
- Returns a
Divas vertical flex layout. - v_
virtual_ list - Create a
VirtualListin vertical direction. - window_
border - Create a new window border.
- window_
paddings - Get the window paddings.