Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
GI.Clutter.Objects.Clone
Description
The Clone
structure contains only private data
and should be accessed using the provided API
Since: 1.0
Synopsis
- newtype Clone = Clone (ManagedPtr Clone)
- class (GObject o, IsDescendantOf Clone o) => IsClone o
- toClone :: (MonadIO m, IsClone o) => o -> m Clone
- cloneGetSource :: (HasCallStack, MonadIO m, IsClone a) => a -> m Actor
- cloneNew :: (HasCallStack, MonadIO m, IsActor a) => a -> m Clone
- cloneSetSource :: (HasCallStack, MonadIO m, IsClone a, IsActor b) => a -> Maybe b -> m ()
- clearCloneSource :: (MonadIO m, IsClone o) => o -> m ()
- constructCloneSource :: (IsClone o, MonadIO m, IsActor a) => a -> m (GValueConstruct o)
- getCloneSource :: (MonadIO m, IsClone o) => o -> m Actor
- setCloneSource :: (MonadIO m, IsClone o, IsActor a) => o -> a -> m ()
Exported types
Memory-managed wrapper type.
Instances
Eq Clone Source # | |
GObject Clone Source # | |
Defined in GI.Clutter.Objects.Clone | |
ManagedPtrNewtype Clone Source # | |
Defined in GI.Clutter.Objects.Clone Methods toManagedPtr :: Clone -> ManagedPtr Clone | |
TypedObject Clone Source # | |
Defined in GI.Clutter.Objects.Clone | |
HasParentTypes Clone Source # | |
Defined in GI.Clutter.Objects.Clone | |
IsGValue (Maybe Clone) Source # | Convert |
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 # | |
Defined in GI.Clutter.Objects.Clone |
class (GObject o, IsDescendantOf Clone o) => IsClone o Source #
Instances
(GObject o, IsDescendantOf Clone o) => IsClone o Source # | |
Defined in GI.Clutter.Objects.Clone |
Methods
Click to display all available methods, including inherited ones
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
Arguments
:: (HasCallStack, MonadIO m, IsClone a) | |
=> a |
|
-> m Actor | Returns: the actor source for the clone |
Retrieves the source Actor
being cloned by self
.
Since: 1.0
new
Arguments
:: (HasCallStack, MonadIO m, IsActor a) | |
=> a | |
-> m Clone | Returns: the newly created |
Creates a new Actor
which clones source
/
Since: 1.0
setSource
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 ]