gi-clutter-1.0.3: clutter GObject bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.Clutter.Objects.Clone

Description

The Clone structure contains only private data and should be accessed using the provided API

Since: 1.0

Synopsis

Exported types

newtype Clone Source #

Memory-managed wrapper type.

Constructors

Clone (ManagedPtr Clone) 

Instances

Instances details
Eq Clone Source # 
Instance details

Defined in GI.Clutter.Objects.Clone

Methods

(==) :: Clone -> Clone -> Bool #

(/=) :: Clone -> Clone -> Bool #

GObject Clone Source # 
Instance details

Defined in GI.Clutter.Objects.Clone

ManagedPtrNewtype Clone Source # 
Instance details

Defined in GI.Clutter.Objects.Clone

Methods

toManagedPtr :: Clone -> ManagedPtr Clone

TypedObject Clone Source # 
Instance details

Defined in GI.Clutter.Objects.Clone

Methods

glibType :: IO GType

HasParentTypes Clone Source # 
Instance details

Defined in GI.Clutter.Objects.Clone

IsGValue (Maybe Clone) Source #

Convert Clone to and from GValue. See toGValue and fromGValue.

Instance details

Defined in GI.Clutter.Objects.Clone

Methods

gvalueGType_ :: IO GType

gvalueSet_ :: Ptr GValue -> Maybe Clone -> IO ()

gvalueGet_ :: Ptr GValue -> IO (Maybe Clone)

type ParentTypes Clone Source # 
Instance details

Defined in GI.Clutter.Objects.Clone

type ParentTypes Clone = '[Actor, Object, ImplementorIface, Animatable, Container, Scriptable]

class (GObject o, IsDescendantOf Clone o) => IsClone o Source #

Type class for types which can be safely cast to Clone, for instance with toClone.

Instances

Instances details
(GObject o, IsDescendantOf Clone o) => IsClone o Source # 
Instance details

Defined in GI.Clutter.Objects.Clone

toClone :: (MonadIO m, IsClone o) => o -> m Clone Source #

Cast to Clone, for types for which this is known to be safe. For general casts, use castTo.

Methods

Click to display all available methods, including inherited ones

Expand

Methods

addAction, addActionWithName, addActor, addChild, addConstraint, addConstraintWithName, addEffect, addEffectWithName, addTransition, allocate, allocateAlignFill, allocateAvailableSize, allocatePreferredSize, animateProperty, animateWithAlphav, animateWithTimelinev, animatev, applyRelativeTransformToPoint, applyTransformToPoint, bindModel, bindProperty, bindPropertyFull, childGetProperty, childNotify, childSetProperty, clearActions, clearConstraints, clearEffects, contains, continuePaint, createChildMeta, createPangoContext, createPangoLayout, destroy, destroyAllChildren, destroyChildMeta, detachAnimation, event, findChildByName, findProperty, forceFloating, foreach, foreachWithInternals, freezeNotify, getv, grabKeyFocus, hasActions, hasAllocation, hasClip, hasConstraints, hasEffects, hasKeyFocus, hasOverlaps, hasPointer, hide, hideAll, insertChildAbove, insertChildAtIndex, insertChildBelow, interpolateValue, isFloating, isInClonePaint, isMapped, isRealized, isRotated, isScaled, isVisible, lower, lowerBottom, lowerChild, map, moveAnchorPoint, moveAnchorPointFromGravity, moveBy, needsExpand, notify, notifyByPspec, paint, parseCustomNode, popInternal, pushInternal, queueRedraw, queueRedrawWithClip, queueRelayout, raise, raiseChild, raiseTop, realize, ref, refSink, removeAction, removeActionByName, removeActor, removeAllChildren, removeAllTransitions, removeChild, removeClip, removeConstraint, removeConstraintByName, removeEffect, removeEffectByName, removeTransition, reparent, replaceChild, restoreEasingState, runDispose, saveEasingState, shouldPickPaint, show, showAll, sortDepthOrder, stealData, stealQdata, thawNotify, transformStagePoint, unmap, unparent, unrealize, unref, unsetFlags, watchClosure.

Getters

getAbsAllocationVertices, getAccessible, getAction, getActions, getAllocationBox, getAllocationGeometry, getAllocationVertices, getAnchorPoint, getAnchorPointGravity, getAnimation, getBackgroundColor, getChildAtIndex, getChildMeta, getChildTransform, getChildren, getClip, getClipToAllocation, getConstraint, getConstraints, getContent, getContentBox, getContentGravity, getContentRepeat, getContentScalingFilters, getData, getDefaultPaintVolume, getDepth, getEasingDelay, getEasingDuration, getEasingMode, getEffect, getEffects, getFirstChild, getFixedPositionSet, getFlags, getGeometry, getGid, getHeight, getId, getInitialState, getLastChild, getLayoutManager, getMargin, getMarginBottom, getMarginLeft, getMarginRight, getMarginTop, getNChildren, getName, getNextSibling, getOffscreenRedirect, getOpacity, getPaintBox, getPaintOpacity, getPaintVisibility, getPaintVolume, getPangoContext, getParent, getPivotPoint, getPivotPointZ, getPosition, getPreferredHeight, getPreferredSize, getPreferredWidth, getPreviousSibling, getProperty, getQdata, getReactive, getRequestMode, getRotation, getRotationAngle, getScale, getScaleCenter, getScaleGravity, getScaleZ, getShader, getSize, getSource, getStage, getTextDirection, getTransform, getTransformationMatrix, getTransformedPaintVolume, getTransformedPosition, getTransformedSize, getTransition, getTranslation, getWidth, getX, getXAlign, getXExpand, getY, getYAlign, getYExpand, getZPosition, getZRotationGravity.

Setters

setAllocation, setAnchorPoint, setAnchorPointFromGravity, setBackgroundColor, setChildAboveSibling, setChildAtIndex, setChildBelowSibling, setChildTransform, setClip, setClipToAllocation, setContent, setContentGravity, setContentRepeat, setContentScalingFilters, setCustomProperty, setData, setDataFull, setDepth, setEasingDelay, setEasingDuration, setEasingMode, setFinalState, setFixedPositionSet, setFlags, setGeometry, setHeight, setId, setLayoutManager, setMargin, setMarginBottom, setMarginLeft, setMarginRight, setMarginTop, setName, setOffscreenRedirect, setOpacity, setParent, setPivotPoint, setPivotPointZ, setPosition, setProperty, setReactive, setRequestMode, setRotation, setRotationAngle, setScale, setScaleFull, setScaleWithGravity, setScaleZ, setShader, setShaderParam, setShaderParamFloat, setShaderParamInt, setSize, setSource, setTextDirection, setTransform, setTranslation, setWidth, setX, setXAlign, setXExpand, setY, setYAlign, setYExpand, setZPosition, setZRotationFromGravity.

getSource

cloneGetSource Source #

Arguments

:: (HasCallStack, MonadIO m, IsClone a) 
=> a

self: a Clone

-> m Actor

Returns: the actor source for the clone

Retrieves the source Actor being cloned by self.

Since: 1.0

new

cloneNew Source #

Arguments

:: (HasCallStack, MonadIO m, IsActor a) 
=> a

source: a Actor, or Nothing

-> m Clone

Returns: the newly created Clone

Creates a new Actor which clones source/

Since: 1.0

setSource

cloneSetSource Source #

Arguments

:: (HasCallStack, MonadIO m, IsClone a, IsActor b) 
=> a

self: a Clone

-> Maybe b

source: a Actor, or Nothing

-> m () 

Sets source as the source actor to be cloned by self.

Since: 1.0

Properties

source

This property specifies the source actor being cloned.

Since: 1.0

clearCloneSource :: (MonadIO m, IsClone o) => o -> m () Source #

Set the value of the “source” property to Nothing. When overloading is enabled, this is equivalent to

clear #source

constructCloneSource :: (IsClone o, MonadIO m, IsActor a) => a -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “source” property. This is rarely needed directly, but it is used by new.

getCloneSource :: (MonadIO m, IsClone o) => o -> m Actor Source #

Get the value of the “source” property. When overloading is enabled, this is equivalent to

get clone #source

setCloneSource :: (MonadIO m, IsClone o, IsActor a) => o -> a -> m () Source #

Set the value of the “source” property. When overloading is enabled, this is equivalent to

set clone [ #source := value ]