Expand description
Useful utilities.
Macros
- Alias forCow::Borrowed, because that’s used a million times so shortening it is nice. Makes the code more readable.
- Example usage:
- CreateFooThemeWithstructs without having to deal with the verbose syntax.
- This macro has three arguments separator by commas.
Structs
- Theming properties for theAccordioncomponent.
- You can use this to change a theme for only one component, with thethemeproperty.
- Theming properties for theBodycomponent.
- You can use this to change a theme for only one component, with thethemeproperty.
- Theming properties for theButtoncomponent.
- You can use this to change a theme for only one component, with thethemeproperty.
- Theming properties for theCanvascomponent.
- You can use this to change a theme for only one component, with thethemeproperty.
- Theming properties for theDropdownItemcomponent.
- You can use this to change a theme for only one component, with thethemeproperty.
- Theming properties for theDropdowncomponent.
- You can use this to change a theme for only one component, with thethemeproperty.
- Create a configuration for aUseEditable.
- Theming properties for Fonts.
- You can use this to change a theme for only one component, with thethemeproperty. Theming properties for Fonts.
- Theming properties for theGraphcomponent.
- You can use this to change a theme for only one component, with thethemeproperty.
- Theming properties for theIconcomponent.
- You can use this to change a theme for only one component, with thethemeproperty.
- Theming properties for theInputcomponent.
- You can use this to change a theme for only one component, with thethemeproperty.
- A text line from a TextEditor
- Iterator over text lines.
- Theming properties for theLinkcomponent.
- You can use this to change a theme for only one component, with thethemeproperty.
- Theming properties for theLoadercomponent.
- You can use this to change a theme for only one component, with thethemeproperty.
- Theming properties for theNetworkImagecomponent.
- You can use this to change a theme for only one component, with thethemeproperty.
- Information about the platform.
- Theming properties for thePopupcomponent.
- You can use this to change a theme for only one component, with thethemeproperty.
- Theming properties for theProgressBarcomponent.
- You can use this to change a theme for only one component, with thethemeproperty.
- A utf8 text rope.
- TextEditor implementing a Rope
- Theming properties for theScrollBarcomponent.
- You can use this to change a theme for only one component, with thethemeproperty.
- Theming properties for theScrollViewcomponent. Also used byVirtualScrollView.
- You can use this to change a theme for only one component, with thethemeproperty. Also used byVirtualScrollView.
- Theming properties for theSidebarItemcomponent.
- You can use this to change a theme for only one component, with thethemeproperty.
- Theming properties for theSidebarcomponent.
- You can use this to change a theme for only one component, with thethemeproperty.
- Theming properties for theSlidercomponent.
- You can use this to change a theme for only one component, with thethemeproperty.
- Theming properties for theSwitchcomponent.
- You can use this to change a theme for only one component, with thethemeproperty.
- Theming properties for theTablecomponent.
- You can use this to change a theme for only one component, with thethemeproperty.
- Holds the position of a cursor in a text
- Events for TextEditor
- Theming properties for theTooltipcomponent.
- You can use this to change a theme for only one component, with thethemeproperty.
- Pass uniform values to a Shader.
- Animate your elements. Useuse_animationto use this.
- Holds a rendering hook callback that allows to render to the Canvas.
- Manage an editable content.
- Manage the focus operations of given Node
Enums
- Controls the direction of the animation.
- A clone-on-write smart pointer.
- Events emitted to theUseEditable.
- How the editable content must behave.
- Uniform value to be passed to a Shader.
Constants
Traits
- A trait for giving a type a useful default value.
- Common trait for editable texts
Functions
- Animate your elements easily.
- Register a rendering hook to gain access to the Canvas.
- Create a virtual text editor with it’s own cursor and rope.
- Create a focus manager for a node.
- Sync both the Focus shared state and the platform accessibility focus
- Provide the defaultTheme.
- Provide a customTheme.
- Subscribe to a Node layout changes.
- Get a signal to read the latest layout from a Node.
- Get access to information and features of the platform.
- Subscribe toThemechanges.
Type Aliases
Derive Macros
- Derive macro generating an impl of the traitDefault.