Crate ux[−][src]
Modules
| canvas | |
| easing | |
| interpolate | |
| motion | |
| native | |
| physics | |
| prelude | |
| runtime | |
| svg | |
| tween | |
| web |
Structs
Enums
| ActorAlign | Controls how a |
| Align | Align: Start: Align at the beginning of the axis Middle: Align in the middle of the axis End: Align at the end of the axis |
| AlignAxis | Specifies the axis on which |
| AnimationMode | The animation modes used by |
| AutomaticScroll | |
| BaseLine | see https://developer.mozilla.org/ru/docs/Web/API/Canvas_API/Tutorial/Drawing_text |
| BinAlignment | |
| BindCoordinate | Specifies which property should be used in a binding |
| BoxAlignment | The alignment policies available on each axis of the |
| Color | |
| ColorError | |
| ContentGravity | Controls the alignment of the |
| Direction | |
| DisplayStyle | DisplayStyle: None: The actor is not displayed at all Inline: The actor is displayed as normal |
| DragAxis | The axis of the constraint that should be applied on the dragging action |
| EventType | Types of events. |
| FlowOrientation | The direction of the arrangement of the children inside
a |
| FocusDirection | |
| FocusHint | |
| FontWeight | FontWeight: Normal: Normal font weight Bold: Bold font weight Bolder: Bolder font weight Lighter: Lighter font weight |
| GestureTriggerEdge | Enum passed to the |
| GradientType | A representation of the RGB (Red, Green, Blue) color space. |
| GridPosition | Grid position modes. |
| ImageError | Error enumeration for |
| ImageScaleMode | ImageScaleMode: None: Do not apply any scaling and center the image within the allocation Fit: Scale the image, but maintain the aspect ratio so that it fits exactly within the allocation Crop: Scale and crop the image so that it covers the entire allocation while retaining the correct aspect ratio |
| InitError | Error conditions returned by |
| InputAxis | The type of axes Clutter recognizes on a |
| InputDeviceType | The types of input devices available. |
| InputMode | The mode for input devices available. |
| KineticScrollViewState | |
| LineCap | |
| LineJoin | |
| LongPressState | The states for the |
| Orientation | Represents the orientation of actors or layout managers. |
| PanAxis | The axis of the constraint that should be applied on the panning action |
| PathNodeType | Types of nodes in a |
| PatternExtend | |
| PickMode | Controls the paint cycle of the scene graph when in pick mode |
| PixelFormat | |
| Position | Position: Top: The top position Right: The right position Bottom: The bottom position Left: The left position |
| RequestMode | Specifies the type of requests for a |
| RotateAxis | Axis of a rotation. |
| RotateDirection | |
| ScalingFilter | The scaling filters to be used with the |
| ScriptError |
|
| ScrollDirection | Direction of a pointer scroll event. |
| ScrollPolicy | ScrollPolicy: None: Never scroll Horizontal: Only allow horizontal scrolling Vertical: Only allow vertical scrolling Both: Allow scrolling both horizontally and vertically Automatic: Automatically align scroll to horizontal or vertical direction or both depending on the drag angle. |
| ScrollSource | The scroll source determines the source of the scroll event. Keep in mind
that the source device |
| ShaderType | The type of GLSL shader program |
| SnapEdge | The edge to snap |
| StaticColor | Named colors, for accessing global colors defined by Clutter |
| StepMode | Change the value transition of a step function. |
| TextDirection | The text direction to be used by |
| TextStyle | |
| TextWeight | |
| TextureError | Error enumeration for |
| TimelineDirection | The direction of a |
| TouchpadGesturePhase | The phase of a touchpad gesture event. All gestures are guaranteed to
begin with an event of type |
| UnitType | The type of unit in which a value is expressed |
| VisibilityStyle | VisibilityStyle: Visible: The actor is visible Hidden: The actor is invisible (but is still allocated space) |
| WindowRotation | WindowRotation: Rotation0: Zero degrees of rotation Rotation90: 90 degrees of rotation Rotation180: 180 degrees of rotation Rotation270: 270 degrees of rotation |
| ZoomAxis | The axis of the constraint that should be applied by the zooming action. |
Traits
| ActorCanvasExt | Trait containing all |
| ActorExt | Trait containing all |
| ActorManagerExt | |
| ActorMetaExt | Trait containing all |
| AdjustmentExt | |
| AnimatableExt | Trait containing all |
| BehaviourEllipseExt | |
| BehaviourRotateExt | |
| BoxLayoutChildExt | |
| BoxLayoutExt | Trait containing all |
| ButtonExt | |
| ButtonGroupExt | |
| CanvasContext | |
| ChildMetaExt | Trait containing all |
| ClickActionExt | Trait containing all |
| ClipboardExt | |
| CloneExt | Trait containing all |
| ColorSpace | |
| ComboBoxExt | |
| ContainerExt | Trait containing all |
| ContentExt | Trait containing all |
| DeformEffectExt | Trait containing all |
| DeviceManagerExt | Trait containing all |
| DialogExt | |
| DragActionExt | Trait containing all |
| DropActionExt | Trait containing all |
| EffectExt | Trait containing all |
| EntryExt | |
| ExpanderExt | |
| FadeEffectExt | |
| FlowLayoutExt | Trait containing all |
| FocusManagerExt | |
| FromEvent | A helper trait implemented by all event subtypes. |
| GestureActionExt | Trait containing all |
| GridExt | |
| GridLayoutExt | Trait containing all |
| IconExt | |
| IconThemeExt | |
| IntervalExt | Trait containing all |
| ItemViewExt | |
| KeyframeTransitionExt | Trait containing all |
| KineticScrollViewExt | |
| LabelExt | |
| LayoutManagerExt | Trait containing all |
| LayoutMetaExt | Trait containing all |
| ListViewExt | |
| MediaExt | Trait containing all |
| MenuExt | |
| NotebookExt | |
| OffscreenEffectExt | Trait containing all |
| PagerExt | |
| PaintNodeExt | Trait containing all |
| PanActionExt | Trait containing all |
| PathBarExt | |
| PathExt | Trait containing all |
| ProgressBarExt | |
| PropertyTransitionExt | Trait containing all |
| PushActionExt | |
| RectangleExt | Trait containing all |
| RotateActionExt | Trait containing all |
| ScrollActorExt | Trait containing all |
| ScrollBarExt | |
| ScrollViewExt | |
| SettingsExt | |
| ShaderEffectExt | Trait containing all |
| SliderExt | |
| SpinnerExt | |
| StackChildExt | |
| StackExt | |
| StageExt | Trait containing all |
| StageManagerExt | Trait containing all |
| StyleExt | |
| SurfaceExt | |
| SwipeActionExt | Trait containing all |
| TableChildExt | |
| TableExt | |
| TapActionExt | Trait containing all |
| TextBufferExt | Trait containing all |
| TextExt | Trait containing all |
| TextureCacheExt | |
| TextureExt | Trait containing all |
| TimelineExt | Trait containing all |
| ToHexString | |
| ToggleExt | |
| ToolbarExt | |
| TooltipExt | |
| TransitionExt | Trait containing all |
| TransitionGroupExt | Trait containing all |
| Transparency | |
| ViewportExt | |
| WidgetExt | |
| WindowExt | |
| ZoomActionExt | Trait containing all |
Functions
| color_from_rgb_u32 | |
| color_from_rgba_u32 | |
| color_from_short_rgb_u16 | |
| color_from_short_rgba_u16 | |
| init | |
| normalize_hue | |
| percentage_to_fraction | |
| quit | |
| run | |
| set_initialized⚠ | Informs this crate that GDK has been initialized and the current thread is the main one. |
Type Definitions
| ActorCreateChildFunc | |
| BindingActionFunc | |
| Point | |
| Rect | |
| Size | |
| Transform | Alias for |
| Translation | Alias for |
| Vector |