Re-exports§
pub use crate::Disableable;pub use input::RopeExt;pub use input::RopeLines;pub use theme::*;
Modules§
- accordion
- alert
- animation
- avatar
- badge
- breadcrumb
- button
- calendar
- chart
- checkbox
- clipboard
- collapsible
- color_
picker - date_
picker - description_
list - dialog
- divider
- dock
- form
- group_
box - highlighter
- history
- input
- kbd
- label
- link
- list
- menu
- notification
- plot
- popover
- progress
- radio
- resizable
- scroll
- select
- sheet
- sidebar
- skeleton
- slider
- spinner
- styled_
ext_ reflection - Implements function reflection
- switch
- tab
- table
- tag
- text
- theme
- tooltip
- tree
Structs§
- DivInspector
- Icon
- Index
Path - Represents an index path in a list, which consists of a section index,
- 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 - Virtual
List - VirtualList component for rendering a large number of differently sized items.
- Virtual
List Scroll Handle - A scroll handle for
VirtualList. - Window
Border - Window border use to render a custom window border and shadow for Linux.
Enums§
- Icon
Name - The name of an icon in the asset bundle.
- Placement
- Side
- A enum for defining the side of the element.
- Size
- A size for elements.
Constants§
Traits§
- AxisExt
- Collapsible
- A trait for defining element that can be collapsed.
- Disableable
- A trait for defining element that can be disabled.
- Icon
Named - Interactive
Element Ext - Length
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. - Window
Ext - Extension trait for
Windowto add dialog, sheet .. functionality.
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 - 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.