Import line: | Clutter = imports.gi.Clutter; |
GIR File: | Clutter-1.0.gir |
C documentation: | ClutterActorBox |
Struct : | ActorBox |
Show / Hide Inherited methods, properties and signals |
Properties | Defined By | |
---|---|---|
x1 : Number
|
Clutter.ActorBox | |
x2 : Number
|
Clutter.ActorBox | |
y1 : Number
|
Clutter.ActorBox | |
y2 : Number
|
Clutter.ActorBox |
Method / Constructor | Defined By | |
---|---|---|
new Clutter.ActorBox
()
Create a new Clutter.ActorBox
Create a new Clutter.ActorBox
|
||
Create a new Clutter.ActorBox
Create a new Clutter.ActorBox
|
||
clamp_to_pixel
()
:
none
Clamps the components of box to the nearest integer
Clamps the components of box to the nearest integer
|
Clutter.ActorBox | |
Clutter.ActorBox | ||
copy
()
:
Clutter.ActorBox
Copies box
Copies box
|
Clutter.ActorBox | |
Checks box_a and box_b for equality
Checks box_a and box_b for equality
|
Clutter.ActorBox | |
free
()
:
none
Frees a ClutterActorBox allocated using clutter_actor_box_new() or clutter_actor_box_copy()
Frees a ClutterActorBox allocated using clutter_actor_box_new() or clutter_actor_box_copy()
|
Clutter.ActorBox | |
from_vertices
(Array verts)
:
none
Calculates the bounding box represented by the four vertices; for details of the vertex array see clutter_actor_get_abs_allocation_vertices().
Calculates the bounding box represented by the four vertices; for details of the vertex array see clutter_actor_get_abs_allocation_vertices().
|
Clutter.ActorBox | |
get_area
()
:
Number
Retrieves the area of box
Retrieves the area of box
|
Clutter.ActorBox | |
get_height
()
:
Number
Retrieves the height of the box
Retrieves the height of the box
|
Clutter.ActorBox | |
get_origin
()
:
Object
|
Clutter.ActorBox | |
get_size
()
:
Object
|
Clutter.ActorBox | |
get_width
()
:
Number
Retrieves the width of the box
Retrieves the width of the box
|
Clutter.ActorBox | |
get_x
()
:
Number
Retrieves the X coordinate of the origin of box
Retrieves the X coordinate of the origin of box
|
Clutter.ActorBox | |
get_y
()
:
Number
Retrieves the Y coordinate of the origin of box
Retrieves the Y coordinate of the origin of box
|
Clutter.ActorBox | |
Interpolates between initial and final ClutterActorBoxes using progress
Interpolates between initial and final ClutterActorBoxes using progress
|
Clutter.ActorBox |
None |
Class / Namespace | Method / Signal / Properties |
---|---|
Clutter.Actor
Property |
allocation : Clutter.ActorBox
read only
The allocation for the actor, in pixels This is property is read-only, but you might monitor it to know when an actor moves or resizes
|
Clutter.Actor
Signal |
The ::allocation-changed signal is emitted when the ClutterActor:allocation property changes.
|
Clutter.Actor
Method |
allocate
(ActorBox box, AllocationFlags flags)
:
none
Called by the parent of an actor to assign the actor its size.
|
Clutter.Actor
Method |
get_allocation_box
()
:
Clutter.ActorBox
Gets the layout box an actor has been assigned.
|
Clutter.LayoutManager
Method |
Allocates the children of container given an area See also clutter_actor_allocate()
|