Skip to main content Crate woocraft Copy item path Source pub use i18n::SUPPORTED_LOCALES ;pub use i18n::WOOCRAFT_I18N_DOMAIN ;pub use i18n::available_locales ;pub use i18n::extend_locale ;pub use i18n::load_locale ;pub use i18n::locale ;pub use i18n::locale_display_name ;pub use i18n::set_locale ;pub use i18n::translate ;pub use i18n::translate_in_locale ;pub use i18n::translate_woocraft ;pub use i18n::translate_woocraft_in_locale ;pub use i18n::try_translate ;pub use i18n::try_translate_in_locale ;pub use i18n::try_translate_woocraft ;pub use i18n::try_translate_woocraft_in_locale ;pub use i18n::woocraft_key ;pub use base ::*;actions base i18n available_locales_macro Get available locales t Get I18n text tkv A macro that generates a translation key and corresponding value pair from a given input value. AnyDrag AppMenuBar The application menu bar, for Windows and Linux. AreaChart Assets Embedded application assets for woocraft. Avatar User profile picture component with image, initial, or icon display. AvatarGroup AxisPrepaintState Backspace Badge Small notification or status indicator badge. BarChart Breadcrumb Navigation breadcrumb trail showing document hierarchy. BreadcrumbItem Single item in a breadcrumb trail. Button Interactive button element with configurable styling, state, and event
handling. Calendar Interactive calendar widget for date selection. CalendarState Internal state management for the calendar component. CandlestickChart Checkbox Checkbox input for boolean/toggled selection. ClosePanel CodeEditor Editor element bind to an InputState . ColorPicker Interactive color picker component with popover interface. ColorPickerHsla HSLA color representation for the color picker. ColorPickerOklch Oklch color representation for the color picker (default internal space). ColorPickerRgba RGBA color representation for the color picker. ColorPickerState State management for the color picker. ColorPickerValue Complete color value with all color space representations. Column Represents a column in a table, used for initializing table columns. CombinedSource A source that queries multiple asset sources in order. ContextMenu A context menu that can be shown on right-click. ContextMenuState Copy Cut DatePicker A DatePicker element. DatePickerState Internal state management for the date picker component. DateRangePreset Quick-select preset button for date picker. Delete DeleteToNextWordEnd DeleteToPreviousWordStart Diagnostic DiagnosticSet DiagnosticSummary Dialog A centered modal/non-modal dialog that renders above all other content. DialogState Retained state for a Dialog element. DismissButton Divider Visual separator line (horizontal or vertical). Dock The Dock is a fixed container that places at left, bottom, right of the
Windows. DockArea The main area of the dock. DockAreaState Used to serialize and deserialize the DockArea DockState Used to serialize and deserialize the Dock DragDrop DragMoving DragResizing EditorBackendCapabilities EditorBackendEditRequest EditorBackendEditResult EditorLine EditorState InputState to keep editing state of the [super::Input]. EditorTextChange EmbeddedSource Adapter that turns any RustEmbed type into a gpui::AssetSource . Enter Escape Field Form HighlightTheme Theme for Tree-sitter Highlight from JSON theme file. HighlightThemeStyle History The History is used to keep track of changes to a model and to allow undo
and redo operations. IconLabel Input InputState Internal state management for text input field. ItemSizeLayout Kbd Visual keyboard key or shortcut display. Label LanguageConfig LanguageRegistry Registry for code highlighter languages. LineChart Link List The List element. ListItem ListSeparatorItem ListSettings Settings for List. ListState The state for List. Lsp LSP ServerCapabilities MoveEnd MoveHome MoveLeft MoveRight MoveToNextWord MoveToPreviousWord Notification A single notification description used to create notifications. NotificationCenter NotificationState NumberInput OtpInput OtpState Pagination PanelRegistry PanelState Used to serialize and deserialize the DockerItem Paste PieChart Popover PopoverState PopupMenu Position Position in a text document expressed as zero-based line and character offset.
A position is between two characters like an ‘insert’ cursor in a editor. PrepaintState Progress Linear progress bar showing completion percentage. ProgressCircle Redo ResizablePanel ResizablePanelGroup ResizableState Rope A utf8 text rope. RopeBufferBackend RopeEditorSnapshot Scrollable ScrollableMask Scrollbar SelectAll SelectLeft SelectRight Slider SliderState Internal state management for slider control. Spinner Animated rotating icon indicating loading or processing state. StackPanel StatusColors Switch Animated toggle switch for boolean on/off selection. SyntaxColors Theme for Tree-sitter Highlight SyntaxHighlighter A syntax highlighter that supports incremental parsing, multiline text,
and caching of highlight results. Tab A Tab element for the super::TabBar . TabBar A TabBar element that contains multiple Tab items. TabPanel TabSize Table A high-performance table element with virtual scrolling and cell selection. TableState The state for Table . TableVisibleRange The visible range of the rows and columns. Tag Styled label/chip component for categorization and status indication. ThemeStyle TileItem TileItem is a moveable and resizable panel that can be added to a Tiles
view. TileMeta Tiles Tiles is a canvas that can contain multiple panels, each of which can be
dragged and resized. TitleBar TitleStyle ToggleZoom Tooltip Tree TreeState Undo VirtualList VirtualList component for rendering a large number of differently sized
items. VirtualListFrameState Frame state used by the [VirtualItem]. VirtualListScrollHandle A scroll handle for VirtualList . WidgetGroup WindowBorder ButtonRounded Border radius style for button corners. ButtonVariant Semantic button style variants with color and behavior differences. CalendarEvent Events emitted by the calendar component. ColorPickerEvent Event emitted when the selected color changes. ColumnFixed ColumnSort The sorting behavior of a column. DatePickerEvent Events emitted by the DatePicker. DateRangePresetValue Preset value for date range selection. DiagnosticSeverity DialogMode Controls how the dialog backdrop interacts with user input. DividerStyle Line style for divider rendering. DockEvent DockItem DockItem is a tree structure that represents the layout of the dock. EditorEditError EditorEvent EditorPointerButton EditorUserAction FieldBuilder FontStyle FontWeightContent HighlightsMatch InputEvent Language ListEvent MaskPattern NotificationPlacement Where the notification center will be placed on screen. NotificationType Semantic type of a notification. NumberInputEvent PanelControl PanelEvent PanelInfo PanelStyle PopupMenuItem An menu item in a popup menu. ResizablePanelEvent ScrollableMaskAxis ScrollbarAxis Side SliderEvent Events emitted by the slider when value changes. SliderScale Numeric scale type for slider value calculation. SliderValue Numeric value type for slider: single value or range. StepAction SwitchVariant Color variant for switch control. TableEvent The Table event. TagVariant Color variant for the tag/label component. TreeEvent Events emitted by the tree component. WidgetGroupChild BUILTIN_ASSET_PREFIX DEFAULT_FONT_FAMILY ButtonVariants Convenience trait for types that support button variant styling. CodeActionProvider CompletionProvider A trait for providing code completions based on the current input state and
context. ContextMenuExt A extension trait for adding a context menu to an element. DefinitionProvider Definition provider DocumentColorProvider DropdownMenu A dropdown menu trait for buttons and other interactive elements EditorActionSink EditorBackend EditorContextMenuProvider EditorHighlighter EditorHighlighterProvider EditorSnapshot HistoryItem A HistoryItem represents a single change in the history.
It must implement Clone and PartialEq to be used in the History. HoverProvider Hover provider ListDelegate A delegate for the List. Panel The Panel trait used to define the panel. PanelView The PanelView trait used to define the panel view. RopeExt An extension trait for Rope to provide additional utility methods. ScrollableElement ScrollbarHandle SwitchVariants Convenience trait for types that support switch variant styling. TableDelegate A delegate trait for providing data and rendering for a table. TableThemeExt field h_form h_resizable h_virtual_list Create a VirtualList in horizontal direction. has_asset has_icon init list_assets list_icons register_fonts register_panel Register the Panel init by panel_name to global registry. resizable_panel tree Create a tree with built-in rendering: tree_with Create a tree and override center content rendering while keeping built-in
affordances. v_form v_resizable v_virtual_list Create a VirtualList in vertical direction. window_border window_paddings CodeDescription DiagnosticRelatedInformation DiagnosticTag DismissHandler RelatedInformation