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 |
The Group
structure contains only private data
and should be accessed using the provided API
Since: 0.2
Synopsis
- newtype Group = Group (ManagedPtr Group)
- class (GObject o, IsDescendantOf Group o) => IsGroup o
- toGroup :: (MonadIO m, IsGroup o) => o -> m Group
- groupGetNChildren :: (HasCallStack, MonadIO m, IsGroup a) => a -> m Int32
- groupGetNthChild :: (HasCallStack, MonadIO m, IsGroup a) => a -> Int32 -> m Actor
- groupNew :: (HasCallStack, MonadIO m) => m Group
- groupRemoveAll :: (HasCallStack, MonadIO m, IsGroup a) => a -> m ()
Exported types
Memory-managed wrapper type.
Instances
Eq Group Source # | |
GObject Group Source # | |
Defined in GI.Clutter.Objects.Group | |
ManagedPtrNewtype Group Source # | |
Defined in GI.Clutter.Objects.Group toManagedPtr :: Group -> ManagedPtr Group | |
TypedObject Group Source # | |
Defined in GI.Clutter.Objects.Group | |
HasParentTypes Group Source # | |
Defined in GI.Clutter.Objects.Group | |
IsGValue (Maybe Group) Source # | Convert |
Defined in GI.Clutter.Objects.Group gvalueGType_ :: IO GType gvalueSet_ :: Ptr GValue -> Maybe Group -> IO () gvalueGet_ :: Ptr GValue -> IO (Maybe Group) | |
type ParentTypes Group Source # | |
Defined in GI.Clutter.Objects.Group |
class (GObject o, IsDescendantOf Group o) => IsGroup o Source #
Instances
(GObject o, IsDescendantOf Group o) => IsGroup o Source # | |
Defined in GI.Clutter.Objects.Group |
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, removeAll, 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, getNthChild, 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, 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, setTextDirection, setTransform, setTranslation, setWidth, setX, setXAlign, setXExpand, setY, setYAlign, setYExpand, setZPosition, setZRotationFromGravity.
getNChildren
:: (HasCallStack, MonadIO m, IsGroup a) | |
=> a |
|
-> m Int32 | Returns: The number of child actors held in the group. |
Deprecated: (Since version 1.10)Use actorGetNChildren
instead.
Gets the number of actors held in the group.
Since: 0.2
getNthChild
:: (HasCallStack, MonadIO m, IsGroup a) | |
=> a |
|
-> Int32 |
|
-> m Actor | Returns: A Clutter actor, or |
Deprecated: (Since version 1.10)Use actorGetChildAtIndex
instead.
Gets a groups child held at index_
in stack.
Since: 0.2
new
:: (HasCallStack, MonadIO m) | |
=> m Group | Returns: the newly created |
removeAll
:: (HasCallStack, MonadIO m, IsGroup a) | |
=> a |
|
-> m () |
Deprecated: (Since version 1.10)Use actorRemoveAllChildren
instead.
Removes all children actors from the Group
.