Clutter.ScrollActor¶
- Subclasses:
None
Methods¶
- Inherited:
Clutter.Actor (238), GObject.Object (37), Clutter.Animatable (5), Clutter.Container (17), Clutter.Scriptable (4)
- Structs:
class |
|
|
|
|
|
|
Virtual Methods¶
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w |
The scrolling direction |
Signals¶
- Inherited:
Clutter.Actor (26), GObject.Object (1), Clutter.Container (3)
Fields¶
- Inherited:
Clutter.Actor (26), GObject.Object (1), Clutter.Container (3)
Name |
Type |
Access |
Description |
---|---|---|---|
parent_instance |
r |
Class Details¶
- class Clutter.ScrollActor(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
The
Clutter.ScrollActor
structure contains only private data, and should be accessed using the provided API.New in version 1.12.
- classmethod new()¶
- Returns:
The newly created
Clutter.ScrollActor
instance.- Return type:
Creates a new
Clutter.ScrollActor
.New in version 1.12.
- get_scroll_mode()¶
- Returns:
the scrolling mode
- Return type:
Retrieves the
Clutter.ScrollActor
:scroll-mode
propertyNew in version 1.12.
- scroll_to_point(point)¶
- Parameters:
point (
Clutter.Point
) – aClutter.Point
Scrolls the contents of self so that point is the new origin of the visible area.
The coordinates of point must be relative to the self.
This function will use the currently set easing state of the self to transition from the current scroll origin to the new one.
New in version 1.12.
- scroll_to_rect(rect)¶
- Parameters:
rect (
Clutter.Rect
) – aClutter.Rect
Scrolls self so that rect is in the visible portion.
New in version 1.12.
- set_scroll_mode(mode)¶
- Parameters:
mode (
Clutter.ScrollMode
) – aClutter.ScrollMode
Sets the
Clutter.ScrollActor
:scroll-mode
property.New in version 1.12.
Property Details¶
- Clutter.ScrollActor.props.scroll_mode¶
- Name:
scroll-mode
- Type:
- Default Value:
Clutter.ScrollMode.HORIZONTALLY
|Clutter.ScrollMode.VERTICALLY
|Clutter.ScrollMode.BOTH
- Flags:
The scrollin direction.
New in version 1.12.