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 ScrollActor
structure contains only
private data, and should be accessed using the provided API.
Since: 1.12
Synopsis
- newtype ScrollActor = ScrollActor (ManagedPtr ScrollActor)
- class (GObject o, IsDescendantOf ScrollActor o) => IsScrollActor o
- toScrollActor :: (MonadIO m, IsScrollActor o) => o -> m ScrollActor
- scrollActorGetScrollMode :: (HasCallStack, MonadIO m, IsScrollActor a) => a -> m [ScrollMode]
- scrollActorNew :: (HasCallStack, MonadIO m) => m ScrollActor
- scrollActorScrollToPoint :: (HasCallStack, MonadIO m, IsScrollActor a) => a -> Point -> m ()
- scrollActorScrollToRect :: (HasCallStack, MonadIO m, IsScrollActor a) => a -> Rect -> m ()
- scrollActorSetScrollMode :: (HasCallStack, MonadIO m, IsScrollActor a) => a -> [ScrollMode] -> m ()
- constructScrollActorScrollMode :: (IsScrollActor o, MonadIO m) => [ScrollMode] -> m (GValueConstruct o)
- getScrollActorScrollMode :: (MonadIO m, IsScrollActor o) => o -> m [ScrollMode]
- setScrollActorScrollMode :: (MonadIO m, IsScrollActor o) => o -> [ScrollMode] -> m ()
Exported types
newtype ScrollActor Source #
Memory-managed wrapper type.
ScrollActor (ManagedPtr ScrollActor) |
Instances
Eq ScrollActor Source # | |
Defined in GI.Clutter.Objects.ScrollActor (==) :: ScrollActor -> ScrollActor -> Bool # (/=) :: ScrollActor -> ScrollActor -> Bool # | |
GObject ScrollActor Source # | |
Defined in GI.Clutter.Objects.ScrollActor | |
ManagedPtrNewtype ScrollActor Source # | |
Defined in GI.Clutter.Objects.ScrollActor toManagedPtr :: ScrollActor -> ManagedPtr ScrollActor | |
TypedObject ScrollActor Source # | |
Defined in GI.Clutter.Objects.ScrollActor | |
HasParentTypes ScrollActor Source # | |
Defined in GI.Clutter.Objects.ScrollActor | |
IsGValue (Maybe ScrollActor) Source # | Convert |
Defined in GI.Clutter.Objects.ScrollActor gvalueGType_ :: IO GType gvalueSet_ :: Ptr GValue -> Maybe ScrollActor -> IO () gvalueGet_ :: Ptr GValue -> IO (Maybe ScrollActor) | |
type ParentTypes ScrollActor Source # | |
Defined in GI.Clutter.Objects.ScrollActor type ParentTypes ScrollActor = '[Actor, Object, ImplementorIface, Animatable, Container, Scriptable] |
class (GObject o, IsDescendantOf ScrollActor o) => IsScrollActor o Source #
Type class for types which can be safely cast to ScrollActor
, for instance with toScrollActor
.
Instances
(GObject o, IsDescendantOf ScrollActor o) => IsScrollActor o Source # | |
Defined in GI.Clutter.Objects.ScrollActor |
toScrollActor :: (MonadIO m, IsScrollActor o) => o -> m ScrollActor Source #
Cast to ScrollActor
, 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
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, scrollToPoint, scrollToRect, 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, getScrollMode, 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, setScrollMode, setShader, setShaderParam, setShaderParamFloat, setShaderParamInt, setSize, setTextDirection, setTransform, setTranslation, setWidth, setX, setXAlign, setXExpand, setY, setYAlign, setYExpand, setZPosition, setZRotationFromGravity.
getScrollMode
scrollActorGetScrollMode Source #
:: (HasCallStack, MonadIO m, IsScrollActor a) | |
=> a |
|
-> m [ScrollMode] | Returns: the scrolling mode |
Retrieves the ScrollActor:scrollMode property
Since: 1.12
new
:: (HasCallStack, MonadIO m) | |
=> m ScrollActor | Returns: The newly created |
Creates a new ScrollActor
.
Since: 1.12
scrollToPoint
scrollActorScrollToPoint Source #
:: (HasCallStack, MonadIO m, IsScrollActor a) | |
=> a |
|
-> Point |
|
-> m () |
Scrolls the contents of actor
so that point
is the new origin
of the visible area.
The coordinates of point
must be relative to the actor
.
This function will use the currently set easing state of the actor
to transition from the current scroll origin to the new one.
Since: 1.12
scrollToRect
scrollActorScrollToRect Source #
:: (HasCallStack, MonadIO m, IsScrollActor a) | |
=> a |
|
-> Rect |
|
-> m () |
Scrolls actor
so that rect
is in the visible portion.
Since: 1.12
setScrollMode
scrollActorSetScrollMode Source #
:: (HasCallStack, MonadIO m, IsScrollActor a) | |
=> a |
|
-> [ScrollMode] |
|
-> m () |
Sets the ScrollActor:scrollMode property.
Since: 1.12
Properties
scrollMode
The scrollin direction.
Since: 1.12
constructScrollActorScrollMode :: (IsScrollActor o, MonadIO m) => [ScrollMode] -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “scroll-mode
” property. This is rarely needed directly, but it is used by new
.
getScrollActorScrollMode :: (MonadIO m, IsScrollActor o) => o -> m [ScrollMode] Source #
Get the value of the “scroll-mode
” property.
When overloading is enabled, this is equivalent to
get
scrollActor #scrollMode
setScrollActorScrollMode :: (MonadIO m, IsScrollActor o) => o -> [ScrollMode] -> m () Source #
Set the value of the “scroll-mode
” property.
When overloading is enabled, this is equivalent to
set
scrollActor [ #scrollMode:=
value ]