Enums¶
Details¶
- class Clutter.ActorAlign(value)¶
Bases:
GObject.GEnumControls how a
Clutter.Actorshould align itself inside the extra space assigned to it during the allocation.Alignment only matters if the allocated space given to an actor is bigger than its natural size; for example, when the
Clutter.Actor:x-expandor theClutter.Actor:y-expandproperties ofClutter.Actorare set toTrue.New in version 1.10.
- FILL = 0¶
Stretch to cover the whole allocated space
- START = 1¶
Snap to left or top side, leaving space to the right or bottom. For horizontal layouts, in right-to-left locales this should be reversed.
- CENTER = 2¶
Center the actor inside the allocation
- END = 3¶
Snap to right or bottom side, leaving space to the left or top. For horizontal layouts, in right-to-left locales this should be reversed.
- class Clutter.AlignAxis(value)¶
Bases:
GObject.GEnumSpecifies the axis on which
Clutter.AlignConstraintshould maintain the alignment.New in version 1.4.
- X_AXIS = 0¶
Maintain the alignment on the X axis
- Y_AXIS = 1¶
Maintain the alignment on the Y axis
- BOTH = 2¶
Maintain the alignment on both the X and Y axis
- class Clutter.AnimationMode(value)¶
Bases:
GObject.GEnumThe animation modes used by
Clutter.AlphaandClutter.Animation. This enumeration can be expanded in later versions of Clutter.- Easing modes provided by Clutter
Every global alpha function registered using
Clutter.Alpha.register_func() orClutter.Alpha.register_func() will have a logical id greater thanClutter.AnimationMode.ANIMATION_LAST.New in version 1.0.
- CUSTOM_MODE = 0¶
custom progress function
- LINEAR = 1¶
linear tweening
- EASE_IN_OUT_QUART = 10¶
quartic tweening, combining
Clutter.AnimationMode.EASE_IN_QUARTandClutter.AnimationMode.EASE_OUT_QUART
- EASE_IN_QUINT = 11¶
quintic tweening
- EASE_OUT_QUINT = 12¶
quintic tweening, inverse of
Clutter.AnimationMode.EASE_IN_QUINT
- EASE_IN_OUT_QUINT = 13¶
fifth power tweening, combining
Clutter.AnimationMode.EASE_IN_QUINTandClutter.AnimationMode.EASE_OUT_QUINT
- EASE_IN_SINE = 14¶
sinusoidal tweening
- EASE_OUT_SINE = 15¶
sinusoidal tweening, inverse of
Clutter.AnimationMode.EASE_IN_SINE
- EASE_IN_OUT_SINE = 16¶
sine wave tweening, combining
Clutter.AnimationMode.EASE_IN_SINEandClutter.AnimationMode.EASE_OUT_SINE
- EASE_IN_EXPO = 17¶
exponential tweening
- EASE_OUT_EXPO = 18¶
exponential tweening, inverse of
Clutter.AnimationMode.EASE_IN_EXPO
- EASE_IN_OUT_EXPO = 19¶
exponential tweening, combining
Clutter.AnimationMode.EASE_IN_EXPOandClutter.AnimationMode.EASE_OUT_EXPO
- EASE_IN_QUAD = 2¶
quadratic tweening
- EASE_IN_CIRC = 20¶
circular tweening
- EASE_OUT_CIRC = 21¶
circular tweening, inverse of
Clutter.AnimationMode.EASE_IN_CIRC
- EASE_IN_OUT_CIRC = 22¶
circular tweening, combining
Clutter.AnimationMode.EASE_IN_CIRCandClutter.AnimationMode.EASE_OUT_CIRC
- EASE_IN_ELASTIC = 23¶
elastic tweening, with offshoot on start
- EASE_OUT_ELASTIC = 24¶
elastic tweening, with offshoot on end
- EASE_IN_OUT_ELASTIC = 25¶
elastic tweening with offshoot on both ends
- EASE_IN_BACK = 26¶
overshooting cubic tweening, with backtracking on start
- EASE_OUT_BACK = 27¶
overshooting cubic tweening, with backtracking on end
- EASE_IN_OUT_BACK = 28¶
overshooting cubic tweening, with backtracking on both ends
- EASE_IN_BOUNCE = 29¶
exponentially decaying parabolic (bounce) tweening, with bounce on start
- EASE_OUT_QUAD = 3¶
quadratic tweening, inverse of
Clutter.AnimationMode.EASE_IN_QUAD
- EASE_OUT_BOUNCE = 30¶
exponentially decaying parabolic (bounce) tweening, with bounce on end
- EASE_IN_OUT_BOUNCE = 31¶
exponentially decaying parabolic (bounce) tweening, with bounce on both ends
- STEPS = 32¶
parametrized step function; see
Clutter.Timeline.set_step_progress() for further details.New in version 1.12.
- STEP_START = 33¶
equivalent to
Clutter.AnimationMode.STEPSwith a number of steps equal to 1, and a step mode ofClutter.StepMode.START.New in version 1.12.
- STEP_END = 34¶
equivalent to
Clutter.AnimationMode.STEPSwith a number of steps equal to 1, and a step mode ofClutter.StepMode.END.New in version 1.12.
- CUBIC_BEZIER = 35¶
cubic bezier between (0, 0) and (1, 1) with two control points; see
Clutter.Timeline.set_cubic_bezier_progress().New in version 1.12.
- EASE = 36¶
equivalent to
Clutter.AnimationMode.CUBIC_BEZIERwith control points in (0.25, 0.1) and (0.25, 1.0).New in version 1.12.
- EASE_IN = 37¶
equivalent to
Clutter.AnimationMode.CUBIC_BEZIERwith control points in (0.42, 0) and (1.0, 1.0).New in version 1.12.
- EASE_OUT = 38¶
equivalent to
Clutter.AnimationMode.CUBIC_BEZIERwith control points in (0, 0) and (0.58, 1.0).New in version 1.12.
- EASE_IN_OUT = 39¶
equivalent to
Clutter.AnimationMode.CUBIC_BEZIERwith control points in (0.42, 0) and (0.58, 1.0).New in version 1.12.
- EASE_IN_OUT_QUAD = 4¶
quadratic tweening, combininig
Clutter.AnimationMode.EASE_IN_QUADandClutter.AnimationMode.EASE_OUT_QUAD
- ANIMATION_LAST = 40¶
last animation mode, used as a guard for registered global alpha functions
- EASE_IN_CUBIC = 5¶
cubic tweening
- EASE_OUT_CUBIC = 6¶
cubic tweening, invers of
Clutter.AnimationMode.EASE_IN_CUBIC
- EASE_IN_OUT_CUBIC = 7¶
cubic tweening, combining
Clutter.AnimationMode.EASE_IN_CUBICandClutter.AnimationMode.EASE_OUT_CUBIC
- EASE_IN_QUART = 8¶
quartic tweening
- EASE_OUT_QUART = 9¶
quartic tweening, inverse of
Clutter.AnimationMode.EASE_IN_QUART
- class Clutter.BinAlignment(value)¶
Bases:
GObject.GEnumThe alignment policies available on each axis for
Clutter.BinLayoutNew in version 1.2.
Deprecated since version 1.12: Use
Clutter.ActorAlignand theClutter.ActorAPI instead- FIXED = 0¶
Fixed position alignment; the
Clutter.BinLayoutwill honour the fixed position provided by the actors themselves when allocating them
- FILL = 1¶
Fill the allocation size
- START = 2¶
Position the actors at the top or left side of the container, depending on the axis
- END = 3¶
Position the actors at the bottom or right side of the container, depending on the axis
- CENTER = 4¶
Position the actors at the center of the container, depending on the axis
- class Clutter.BindCoordinate(value)¶
Bases:
GObject.GEnumSpecifies which property should be used in a binding
New in version 1.4.
- X = 0¶
Bind the X coordinate
- Y = 1¶
Bind the Y coordinate
- WIDTH = 2¶
Bind the width
- HEIGHT = 3¶
Bind the height
- POSITION = 4¶
Equivalent to to
Clutter.BindCoordinate.XandClutter.BindCoordinate.Y(added in Clutter 1.6)
- SIZE = 5¶
Equivalent to
Clutter.BindCoordinate.WIDTHandClutter.BindCoordinate.HEIGHT(added in Clutter 1.6)
- ALL = 6¶
Equivalent to
Clutter.BindCoordinate.POSITIONandClutter.BindCoordinate.SIZE(added in Clutter 1.10)
- class Clutter.BoxAlignment(value)¶
Bases:
GObject.GEnumThe alignment policies available on each axis of the
Clutter.BoxLayoutNew in version 1.2.
- START = 0¶
Align the child to the top or to to the left, depending on the used axis
- END = 1¶
Align the child to the bottom or to the right, depending on the used axis
- CENTER = 2¶
Align the child to the center
- class Clutter.ContentGravity(value)¶
Bases:
GObject.GEnumControls the alignment of the
Clutter.Contentinside aClutter.Actor.New in version 1.10.
- TOP_LEFT = 0¶
Align the content to the top left corner
- TOP = 1¶
Align the content to the top edge
- RESIZE_ASPECT = 10¶
Resize the content to remain within the allocation, while maintaining the aspect ratio
- TOP_RIGHT = 2¶
Align the content to the top right corner
- LEFT = 3¶
Align the content to the left edge
- CENTER = 4¶
Align the content to the center
- RIGHT = 5¶
Align the content to the right edge
- BOTTOM_LEFT = 6¶
Align the content to the bottom left corner
- BOTTOM = 7¶
Align the content to the bottom edge
- BOTTOM_RIGHT = 8¶
Align the content to the bottom right corner
- RESIZE_FILL = 9¶
Resize the content to fill the allocation
- class Clutter.DragAxis(value)¶
Bases:
GObject.GEnumThe axis of the constraint that should be applied on the dragging action
New in version 1.4.
- AXIS_NONE = 0¶
No constraint
- X_AXIS = 1¶
Set a constraint on the X axis
- Y_AXIS = 2¶
Set a constraint on the Y axis
- class Clutter.EventType(value)¶
Bases:
GObject.GEnumTypes of events.
New in version 0.4.
- NOTHING = 0¶
Empty event
- KEY_PRESS = 1¶
Key press event
- DESTROY_NOTIFY = 10¶
Destroy notification event
- CLIENT_MESSAGE = 11¶
Client message event
- DELETE = 12¶
Stage delete event
- TOUCH_BEGIN = 13¶
A new touch event sequence has started; event added in 1.10
- TOUCH_UPDATE = 14¶
A touch event sequence has been updated; event added in 1.10
- TOUCH_END = 15¶
A touch event sequence has finished; event added in 1.10
- TOUCH_CANCEL = 16¶
A touch event sequence has been canceled; event added in 1.10
- TOUCHPAD_PINCH = 17¶
A pinch gesture event, the current state is determined by its phase field; event added in 1.24
- TOUCHPAD_SWIPE = 18¶
A swipe gesture event, the current state is determined by its phase field; event added in 1.24
- EVENT_LAST = 19¶
Marks the end of the
Clutter.EventTypeenumeration; added in 1.10
- KEY_RELEASE = 2¶
Key release event
- MOTION = 3¶
Pointer motion event
- ENTER = 4¶
Actor enter event
- LEAVE = 5¶
Actor leave event
- BUTTON_PRESS = 6¶
Pointer button press event
- BUTTON_RELEASE = 7¶
Pointer button release event
- SCROLL = 8¶
Pointer scroll event
- STAGE_STATE = 9¶
Stage state change event
- class Clutter.FlowOrientation(value)¶
Bases:
GObject.GEnumThe direction of the arrangement of the children inside a
Clutter.FlowLayoutNew in version 1.2.
- HORIZONTAL = 0¶
Arrange the children of the flow layout horizontally first
- VERTICAL = 1¶
Arrange the children of the flow layout vertically first
- class Clutter.GestureTriggerEdge(value)¶
Bases:
GObject.GEnumEnum passed to the
Clutter.GestureAction.set_threshold_trigger_edge() function.New in version 1.18.
- NONE = 0¶
Tell
Clutter.GestureActionthat the gesture must begin immediately and there’s no drag limit that will cause its cancellation;
- AFTER = 1¶
Tell
Clutter.GestureActionthat it needs to wait until the drag threshold has been exceeded before considering that the gesture has begun;
- BEFORE = 2¶
Tell
Clutter.GestureActionthat the gesture must begin immediately and that it must be cancelled once the drag exceed the configured threshold.
- class Clutter.Gravity(value)¶
Bases:
GObject.GEnumGravity of the scaling operations. When a gravity different than
Clutter.Gravity.NONEis used, an actor is scaled keeping the position of the specified portion at the same coordinates.New in version 0.2.
Deprecated since version 1.22: Use the normalized
Clutter.Actorpivot point instead- NONE = 0¶
Do not apply any gravity
- NORTH = 1¶
Scale from topmost downwards
- NORTH_EAST = 2¶
Scale from the top right corner
- EAST = 3¶
Scale from the right side
- SOUTH_EAST = 4¶
Scale from the bottom right corner
- SOUTH = 5¶
Scale from the bottom upwards
- SOUTH_WEST = 6¶
Scale from the bottom left corner
- WEST = 7¶
Scale from the left side
- NORTH_WEST = 8¶
Scale from the top left corner
- CENTER = 9¶
Scale from the center.
- class Clutter.GridPosition(value)¶
Bases:
GObject.GEnumGrid position modes.
New in version 1.12.
- LEFT = 0¶
left position
- RIGHT = 1¶
right position
- TOP = 2¶
top position
- BOTTOM = 3¶
bottom position
- class Clutter.ImageError(value)¶
Bases:
GObject.GEnumError enumeration for
Clutter.Image.New in version 1.10.
- DATA = 0¶
Invalid data passed to the
Clutter.Image.set_data() function.
- class Clutter.InitError(value)¶
Bases:
GObject.GEnumError conditions returned by
Clutter.init() andClutter.init_with_args().New in version 0.2.
- ERROR_THREADS = -1¶
Thread initialisation failed
- ERROR_BACKEND = -2¶
Backend initialisation failed
- ERROR_INTERNAL = -3¶
Internal error
- ERROR_UNKNOWN = 0¶
Unknown error
- SUCCESS = 1¶
Initialisation successful
- class Clutter.InputAxis(value)¶
Bases:
GObject.GEnumThe type of axes Clutter recognizes on a
Clutter.InputDeviceNew in version 1.6.
- IGNORE = 0¶
Unused axis
- X = 1¶
The position on the X axis
- Y = 2¶
The position of the Y axis
- PRESSURE = 3¶
The pressure information
- XTILT = 4¶
The tilt on the X axis
- YTILT = 5¶
The tile on the Y axis
- WHEEL = 6¶
A wheel
- DISTANCE = 7¶
Distance
New in version 1.12.
- LAST = 8¶
Last value of the enumeration; this value is useful when iterating over the enumeration values
New in version 1.12.
- class Clutter.InputDeviceType(value)¶
Bases:
GObject.GEnumThe types of input devices available.
The
Clutter.InputDeviceTypeenumeration can be extended at later date; not every platform supports every input device type.New in version 1.0.
- POINTER_DEVICE = 0¶
A pointer device
- KEYBOARD_DEVICE = 1¶
A keyboard device
- N_DEVICE_TYPES = 10¶
The number of device types
- EXTENSION_DEVICE = 2¶
A generic extension device
- JOYSTICK_DEVICE = 3¶
A joystick device
- TABLET_DEVICE = 4¶
A tablet device
- TOUCHPAD_DEVICE = 5¶
A touchpad device
- TOUCHSCREEN_DEVICE = 6¶
A touch screen device
- PEN_DEVICE = 7¶
A pen device
- ERASER_DEVICE = 8¶
An eraser device
- CURSOR_DEVICE = 9¶
A cursor device
- class Clutter.InputMode(value)¶
Bases:
GObject.GEnumThe mode for input devices available.
New in version 1.6.
- MASTER = 0¶
A master, virtual device
- SLAVE = 1¶
A slave, physical device, attached to a master device
- FLOATING = 2¶
A slave, physical device, not attached to a master device
- class Clutter.Interpolation(value)¶
Bases:
GObject.GEnumThe mode of interpolation between key frames
New in version 1.2.
Deprecated since version 1.22.
- LINEAR = 0¶
linear interpolation
- CUBIC = 1¶
cubic interpolation
- class Clutter.LongPressState(value)¶
Bases:
GObject.GEnumThe states for the
Clutter.ClickAction::long-presssignal.New in version 1.8.
- QUERY = 0¶
Queries the action whether it supports long presses
- ACTIVATE = 1¶
Activates the action on a long press
- CANCEL = 2¶
The long press was cancelled
- class Clutter.Orientation(value)¶
Bases:
GObject.GEnumRepresents the orientation of actors or layout managers.
New in version 1.12.
- HORIZONTAL = 0¶
An horizontal orientation
- VERTICAL = 1¶
A vertical orientation
- class Clutter.PanAxis(value)¶
Bases:
GObject.GEnumThe axis of the constraint that should be applied on the panning action
New in version 1.12.
- AXIS_NONE = 0¶
No constraint
- X_AXIS = 1¶
Set a constraint on the X axis
- Y_AXIS = 2¶
Set a constraint on the Y axis
- AXIS_AUTO = 3¶
Constrain panning automatically based on initial movement (available since 1.24)
- class Clutter.PathNodeType(value)¶
Bases:
GObject.GEnumTypes of nodes in a
Clutter.Path.New in version 1.0.
- MOVE_TO = 0¶
jump to the given position
- LINE_TO = 1¶
create a line from the last node to the given position
- CURVE_TO = 2¶
bezier curve using the last position and three control points.
- CLOSE = 3¶
create a line from the last node to the last
Clutter.PathNodeType.MOVE_TOnode.
- REL_MOVE_TO = 32¶
same as
Clutter.PathNodeType.MOVE_TObut with coordinates relative to the last node.
- REL_LINE_TO = 33¶
same as
Clutter.PathNodeType.LINE_TObut with coordinates relative to the last node.
- REL_CURVE_TO = 34¶
same as
Clutter.PathNodeType.CURVE_TObut with coordinates relative to the last node.
- class Clutter.PickMode(value)¶
Bases:
GObject.GEnumControls the paint cycle of the scene graph when in pick mode
New in version 1.0.
- NONE = 0¶
Do not paint any actor
- REACTIVE = 1¶
Paint only the reactive actors
- ALL = 2¶
Paint all actors
- class Clutter.RequestMode(value)¶
Bases:
GObject.GEnumSpecifies the type of requests for a
Clutter.Actor.New in version 0.8.
- HEIGHT_FOR_WIDTH = 0¶
Height for width requests
- WIDTH_FOR_HEIGHT = 1¶
Width for height requests
- CONTENT_SIZE = 2¶
Use the preferred size of the
Clutter.Content, if it has any (available since 1.22)
- class Clutter.RotateAxis(value)¶
Bases:
GObject.GEnumAxis of a rotation.
New in version 0.4.
- X_AXIS = 0¶
Rotate around the X axis
- Y_AXIS = 1¶
Rotate around the Y axis
- Z_AXIS = 2¶
Rotate around the Z axis
- class Clutter.RotateDirection(value)¶
Bases:
GObject.GEnumDirection of a rotation.
New in version 0.4.
Deprecated since version 1.22.
- CW = 0¶
Clockwise rotation
- CCW = 1¶
Counter-clockwise rotation
- class Clutter.ScalingFilter(value)¶
Bases:
GObject.GEnumThe scaling filters to be used with the
Clutter.Actor:minification-filterandClutter.Actor:magnification-filterproperties.New in version 1.10.
- LINEAR = 0¶
Linear interpolation filter
- NEAREST = 1¶
Nearest neighbor interpolation filter
- TRILINEAR = 2¶
Trilinear minification filter, with mipmap generation; this filter linearly interpolates on every axis, as well as between mipmap levels.
- class Clutter.ScriptError(value)¶
Bases:
GObject.GEnumClutter.Scripterror enumeration.New in version 0.6.
- TYPE_FUNCTION = 0¶
Type function not found or invalid
- PROPERTY = 1¶
Property not found or invalid
- VALUE = 2¶
Invalid value
- class Clutter.ScrollDirection(value)¶
Bases:
GObject.GEnumDirection of a pointer scroll event.
The
Clutter.ScrollDirection.SMOOTHvalue implies that theClutter.ScrollEventhas precise scrolling delta information.New in version 0.4.
- UP = 0¶
Scroll up
- DOWN = 1¶
Scroll down
- LEFT = 2¶
Scroll left
- RIGHT = 3¶
Scroll right
- SMOOTH = 4¶
Precise scrolling delta (available in 1.10)
- class Clutter.ScrollSource(value)¶
Bases:
GObject.GEnumThe scroll source determines the source of the scroll event. Keep in mind that the source device
Clutter.InputDeviceTypeis not enough to infer the scroll source.New in version 1.26.
- UNKNOWN = 0¶
Source of scroll events is unknown.
- WHEEL = 1¶
The scroll event is originated by a mouse wheel.
- FINGER = 2¶
The scroll event is originated by one or more fingers on the device (eg. touchpads).
- CONTINUOUS = 3¶
The scroll event is originated by the motion of some device (eg. a scroll button is set).
- class Clutter.ShaderError(value)¶
Bases:
GObject.GEnumClutter.Shadererror enumerationNew in version 0.6.
Deprecated since version 1.8.
- NO_ASM = 0¶
No ASM shaders support
- NO_GLSL = 1¶
No GLSL shaders support
- COMPILE = 2¶
Compilation error
- class Clutter.ShaderType(value)¶
Bases:
GObject.GEnumThe type of GLSL shader program
New in version 1.4.
- VERTEX_SHADER = 0¶
a vertex shader
- FRAGMENT_SHADER = 1¶
a fragment shader
- class Clutter.SnapEdge(value)¶
Bases:
GObject.GEnumThe edge to snap
New in version 1.6.
- TOP = 0¶
the top edge
- RIGHT = 1¶
the right edge
- BOTTOM = 2¶
the bottom edge
- LEFT = 3¶
the left edge
- class Clutter.StaticColor(value)¶
Bases:
GObject.GEnumNamed colors, for accessing global colors defined by Clutter
New in version 1.6.
- WHITE = 0¶
White color (ffffffff)
- BLACK = 1¶
Black color (000000ff)
- MAGENTA = 10¶
Magenta color (ff00ffff)
- DARK_MAGENTA = 11¶
Dark magenta color (800080ff)
- YELLOW = 12¶
Yellow color (ffff00ff)
- DARK_YELLOW = 13¶
Dark yellow color (808000ff)
- GRAY = 14¶
Gray color (a0a0a4ff)
- DARK_GRAY = 15¶
Dark Gray color (808080ff)
- LIGHT_GRAY = 16¶
Light gray color (c0c0c0ff)
- BUTTER = 17¶
Butter color (edd400ff)
- BUTTER_LIGHT = 18¶
Light butter color (fce94fff)
- BUTTER_DARK = 19¶
Dark butter color (c4a000ff)
- RED = 2¶
Red color (ff0000ff)
- ORANGE = 20¶
Orange color (f57900ff)
- ORANGE_LIGHT = 21¶
Light orange color (fcaf3fff)
- ORANGE_DARK = 22¶
Dark orange color (ce5c00ff)
- CHOCOLATE = 23¶
Chocolate color (c17d11ff)
- CHOCOLATE_LIGHT = 24¶
Light chocolate color (e9b96eff)
- CHOCOLATE_DARK = 25¶
Dark chocolate color (8f5902ff)
- CHAMELEON = 26¶
Chameleon color (73d216ff)
- CHAMELEON_LIGHT = 27¶
Light chameleon color (8ae234ff)
- CHAMELEON_DARK = 28¶
Dark chameleon color (4e9a06ff)
- SKY_BLUE = 29¶
Sky color (3465a4ff)
- DARK_RED = 3¶
Dark red color (800000ff)
- SKY_BLUE_LIGHT = 30¶
Light sky color (729fcfff)
- SKY_BLUE_DARK = 31¶
Dark sky color (204a87ff)
- PLUM = 32¶
Plum color (75507bff)
- PLUM_LIGHT = 33¶
Light plum color (ad7fa8ff)
- PLUM_DARK = 34¶
Dark plum color (5c3566ff)
- SCARLET_RED = 35¶
Scarlet red color (cc0000ff)
- SCARLET_RED_LIGHT = 36¶
Light scarlet red color (ef2929ff)
- SCARLET_RED_DARK = 37¶
Dark scarlet red color (a40000ff)
- ALUMINIUM_1 = 38¶
Aluminium, first variant (eeeeecff)
- ALUMINIUM_2 = 39¶
Aluminium, second variant (d3d7cfff)
- GREEN = 4¶
Green color (00ff00ff)
- ALUMINIUM_3 = 40¶
Aluminium, third variant (babdb6ff)
- ALUMINIUM_4 = 41¶
Aluminium, fourth variant (888a85ff)
- ALUMINIUM_5 = 42¶
Aluminium, fifth variant (555753ff)
- ALUMINIUM_6 = 43¶
Aluminium, sixth variant (2e3436ff)
- TRANSPARENT = 44¶
Transparent color (00000000)
- DARK_GREEN = 5¶
Dark green color (008000ff)
- BLUE = 6¶
Blue color (0000ffff)
- DARK_BLUE = 7¶
Dark blue color (000080ff)
- CYAN = 8¶
Cyan color (00ffffff)
- DARK_CYAN = 9¶
Dark cyan color (008080ff)
- class Clutter.StepMode(value)¶
Bases:
GObject.GEnumChange the value transition of a step function.
See
Clutter.Timeline.set_step_progress().New in version 1.12.
- START = 0¶
The change in the value of a %CLUTTER_STEP progress mode should occur at the start of the transition
- END = 1¶
The change in the value of a %CLUTTER_STEP progress mode should occur at the end of the transition
- class Clutter.TableAlignment(value)¶
Bases:
GObject.GEnumThe alignment policies available on each axis of the
Clutter.TableLayoutNew in version 1.4.
Deprecated since version 1.22: Use the alignment properties of
Clutter.Actor- START = 0¶
Align the child to the top or to the left of a cell in the table, depending on the axis
- CENTER = 1¶
Align the child to the center of a cell in the table
- END = 2¶
Align the child to the bottom or to the right of a cell in the table, depending on the axis
- class Clutter.TextDirection(value)¶
Bases:
GObject.GEnumThe text direction to be used by
Clutter.ActorsNew in version 1.2.
- DEFAULT = 0¶
Use the default setting, as returned by
Clutter.get_default_text_direction()
- LTR = 1¶
Use left-to-right text direction
- RTL = 2¶
Use right-to-left text direction
- class Clutter.TextureError(value)¶
Bases:
GObject.GEnumError enumeration for
Clutter.TextureNew in version 0.4.
- OUT_OF_MEMORY = 0¶
OOM condition
- NO_YUV = 1¶
YUV operation attempted but no YUV support found
- BAD_FORMAT = 2¶
The requested format for
Clutter.Texture.set_from_rgb_dataorClutter.Texture.set_from_yuv_datais unsupported.
- class Clutter.TextureQuality(value)¶
Bases:
GObject.GEnumEnumaration controlling the texture quality.
New in version 0.8.
Deprecated since version 1.22: The
Clutter.Textureclass was the only used ot this API; useClutter.ImageandClutter.Actor.set_content_scaling_filters() instead.- LOW = 0¶
fastest rendering will use nearest neighbour interpolation when rendering. good setting.
- MEDIUM = 1¶
higher quality rendering without using extra resources.
- HIGH = 2¶
render the texture with the best quality available using extra memory.
- class Clutter.TimelineDirection(value)¶
Bases:
GObject.GEnumThe direction of a
Clutter.TimelineNew in version 0.6.
- FORWARD = 0¶
forward direction for a timeline
- BACKWARD = 1¶
backward direction for a timeline
- class Clutter.TouchpadGesturePhase(value)¶
Bases:
GObject.GEnumThe phase of a touchpad gesture event. All gestures are guaranteed to begin with an event of type
Clutter.TouchpadGesturePhase.BEGIN, followed by a number ofClutter.TouchpadGesturePhase.UPDATE(possibly 0).A finished gesture may have 2 possible outcomes, an event with phase
Clutter.TouchpadGesturePhase.ENDwill be emitted when the gesture is considered successful, this should be used as the hint to perform any permanent changes.Cancelled gestures may be so for a variety of reasons, due to hardware, or due to the gesture recognition layers hinting the gesture did not finish resolutely (eg. a 3rd finger being added during a pinch gesture). In these cases, the last event with report the phase
Clutter.TouchpadGesturePhase.CANCEL, this should be used as a hint to undo any visible/permanent changes that were done throughout the progress of the gesture.See also
Clutter.TouchpadPinchEventandClutter.TouchpadPinchEvent.New in version 1.24.
- BEGIN = 0¶
The gesture has begun.
- UPDATE = 1¶
The gesture has been updated.
- END = 2¶
The gesture was finished, changes should be permanently applied.
- CANCEL = 3¶
The gesture was cancelled, all changes should be undone.
- class Clutter.UnitType(value)¶
Bases:
GObject.GEnumThe type of unit in which a value is expressed
This enumeration might be expanded at later date
New in version 1.0.
- PIXEL = 0¶
Unit expressed in pixels (with subpixel precision)
- EM = 1¶
Unit expressed in em
- MM = 2¶
Unit expressed in millimeters
- POINT = 3¶
Unit expressed in points
- CM = 4¶
Unit expressed in centimeters
- class Clutter.ZoomAxis(value)¶
Bases:
GObject.GEnumThe axis of the constraint that should be applied by the zooming action.
New in version 1.12.
- X_AXIS = 0¶
Scale only on the X axis
- Y_AXIS = 1¶
Scale only on the Y axis
- BOTH = 2¶
Scale on both axis