Crate ux[][src]

Modules

canvas
colorspace
easing
flare
interpolate
lottie
motion
native
nima
path
physics
prelude
svg
tween
web

Structs

Action
Actor
ActorBox
ActorCanvas
ActorFlags
ActorManager
ActorMeta
Adjustment
AlignConstraint
AllocationFlags
Alpha
Animatable
Backend
Behaviour
BehaviourEllipse
BehaviourEllipseClass
BehaviourRotate
BinLayout
BindConstraint
BindingPool
BlurEffect
BorderImage

BorderImage: uri: uri of a supported image file top: top border slice width right: right border slice width bottom: bottom border slice width left: bottom border slice width

Box
BoxLayout
BoxLayoutChild
BrightnessContrastEffect
Button
ButtonEvent
ButtonGroup
Canvas
ChildMeta
ClickAction
ClipNode
ClipNodeClass
Clipboard
Clone
Color
ColorNode
ColorStop
ColorizeEffect
ComboBox
Constraint
Container
Content
ContentRepeat
CrossingEvent
DeformEffect
DesaturateEffect
DeviceManager
Dialog
DragAction
Drawable
DropAction
Effect
EffectPaintFlags
EllipseParams
EllipseResult
Entry
Event

A generic Clutter event.

EventFlags
EventSequence
Expander
FadeEffect
FeatureFlags
FixedLayout
FloatingWidget
FlowLayout
FocusManager
Focusable
Frame
Geometry
GestureAction
Gradient
Grid
GridLayout
Group
Icon
IconTheme
InputDevice
Interval
ItemFactory
ItemView
KeyEvent
KeyframeTransition
KineticScrollView
Knot
Label
LayoutManager
LayoutMeta
Line
LinearGradient
ListModel
ListView
Margin
Matrix
Media
Menu
Model
ModelIter
ModifierType
MotionEvent
Notebook
OffscreenEffect
OffscreenRedirect
Op
OpSet
Padding

Padding: top: padding from the top right: padding from the right bottom: padding from the bottom left: padding from the left

PageTurnEffect
Pager
PaintNode
PaintVolume
PanAction
Path
PathBar
PathConstraint
PathInfo
PathNode
Pattern
Perspective
PipelineNode
ProgressBar
PropertyTransition
PushAction
RadialGradient
Random
Rectangle
Renderer
RepaintFlags
RgbColor
RgbaColor
RotateAction
RoughCanvas
RoughConfig
RoughGenerator
RoughOptions
Score
ScrollActor
ScrollBar
ScrollEvent
ScrollFinishFlags
ScrollMode
ScrollView
ShaderEffect
ShaderFloat
ShaderInt
ShaderMatrix
Slider
SnapConstraint
Spinner
Stack
StackChild
Stage
StageManager
StageState
State
StateKey
Style
Surface
SwipeAction
SwipeDirection
Table
TableChild
TapAction
Text
TextBuffer
TextMetrics
TextNode
TextShadow

TextShadow: h_offset: horizontal shadow offset v_offset: vertical shadow offset blur: blur distance color: shadow color

Texture
TextureCache
TextureNode
Timeline
Toggle
Toolbar
Tooltip
TouchEvent
Transition
TransitionGroup
Units
Vertex
Viewport
Widget
Window
ZoomAction

Enums

ActorAlign

Controls how a Actor should align itself inside the extra space assigned to it during the allocation.

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 AlignConstraint should maintain the alignment.

AnimationMode

The animation modes used by Alpha and Animation. This enumeration can be expanded in later versions of Clutter.

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 BoxLayout

ContentGravity

Controls the alignment of the Content inside a Actor.

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

DrawableType
EventType

Types of events.

FlowOrientation

The direction of the arrangement of the children inside a FlowLayout

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 GestureActionExt::set_threshold_trigger_edge function.

GradientType

A representation of the RGB (Red, Green, Blue) color space.

GridPosition

Grid position modes.

ImageError

Error enumeration for Image.

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 clutter_init and clutter_init_with_args.

InputAxis

The type of axes Clutter recognizes on a InputDevice

InputDeviceType

The types of input devices available.

InputMode

The mode for input devices available.

KineticScrollViewState
LineCap
LineJoin
LongPressState

The states for the ClickAction::long-press signal.

OpSetType
OpType
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 Path.

PatternExtend
PickMode

Controls the paint cycle of the scene graph when in pick mode

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 Actor.

RotateAxis

Axis of a rotation.

RotateDirection
ScalingFilter

The scaling filters to be used with the Actor:minification-filter and Actor:magnification-filter properties.

ScriptError

Script error enumeration.

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 InputDeviceType is not enough to infer the scroll source.

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 Actors

TextStyle
TextWeight
TextureError

Error enumeration for Texture

TimelineDirection

The direction of a Timeline

TouchpadGesturePhase

The phase of a touchpad gesture event. All gestures are guaranteed to begin with an event of type TouchpadGesturePhase::Begin, followed by a number of TouchpadGesturePhase::Update (possibly 0).

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.

Constants

SVGNS

Traits

ActorCanvasExt

Trait containing all Canvas methods.

ActorExt

Trait containing all Actor methods.

ActorManagerExt
ActorMetaExt

Trait containing all ActorMeta methods.

AdjustmentExt
AdvancedShapesExt
AnimatableExt

Trait containing all Animatable methods.

BehaviourEllipseExt
BehaviourRotateExt
BoxLayoutChildExt
BoxLayoutExt

Trait containing all BoxLayout methods.

ButtonExt
ButtonGroupExt
CanvasContext
ChildMetaExt

Trait containing all ChildMeta methods.

ClickActionExt

Trait containing all ClickAction methods.

ClipboardExt
CloneExt

Trait containing all Clone methods.

ComboBoxExt
ContainerExt

Trait containing all Container methods.

ContentExt

Trait containing all Content methods.

DeformEffectExt

Trait containing all DeformEffect methods.

DeviceManagerExt

Trait containing all DeviceManager methods.

DialogExt
DragActionExt

Trait containing all DragAction methods.

DropActionExt

Trait containing all DropAction methods.

EffectExt

Trait containing all Effect methods.

EntryExt
ExpanderExt
FadeEffectExt
FlowLayoutExt

Trait containing all FlowLayout methods.

FocusManagerExt
FromEvent

A helper trait implemented by all event subtypes.

GestureActionExt

Trait containing all GestureAction methods.

GridExt
GridLayoutExt

Trait containing all GridLayout methods.

IconExt
IconThemeExt
IntervalExt

Trait containing all Interval methods.

ItemViewExt
KeyframeTransitionExt

Trait containing all KeyframeTransition methods.

KineticScrollViewExt
LabelExt
LayoutManagerExt

Trait containing all LayoutManager methods.

LayoutMetaExt

Trait containing all LayoutMeta methods.

ListViewExt
MediaExt

Trait containing all Media methods.

MenuExt
NotebookExt
OffscreenEffectExt

Trait containing all OffscreenEffect methods.

Opacity
PagerExt
PaintNodeExt

Trait containing all PaintNode methods.

PanActionExt

Trait containing all PanAction methods.

PathBarExt
PathExt

Trait containing all Path methods.

PatternFiller
ProgressBarExt
PropertyTransitionExt

Trait containing all PropertyTransition methods.

PushActionExt
RectangleExt

Trait containing all Rectangle methods.

RenderHelper
RotateActionExt

Trait containing all RotateAction methods.

ScrollActorExt

Trait containing all ScrollActor methods.

ScrollBarExt
ScrollViewExt
SettingsExt
ShaderEffectExt

Trait containing all ShaderEffect methods.

SliderExt
SpinnerExt
StackChildExt
StackExt
StageExt

Trait containing all Stage methods.

StageManagerExt

Trait containing all StageManager methods.

StyleExt
SurfaceExt
SwipeActionExt

Trait containing all SwipeAction methods.

TableChildExt
TableExt
TapActionExt

Trait containing all TapAction methods.

TextBufferExt

Trait containing all TextBuffer methods.

TextExt

Trait containing all Text methods.

TextureCacheExt
TextureExt

Trait containing all Texture methods.

TimelineExt

Trait containing all Timeline methods.

ToggleExt
ToolbarExt
TooltipExt
TransitionExt

Trait containing all Transition methods.

TransitionGroupExt

Trait containing all TransitionGroup methods.

ViewportExt
WidgetExt
WindowExt
ZoomActionExt

Trait containing all ZoomAction methods.

Functions

get_filler
init
interval

Adds a closure to be called by the default main loop at regular intervals with millisecond granularity.

quit
random_seed
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 euclid::default::Transform2D

Translation

Alias for euclid::default::Translation2D

Vector