Import line: | Clutter = imports.gi.Clutter; |
GIR File: | Clutter-1.0.gir |
C documentation: | ClutterActorBox |
Struct : | ActorBox |
Properties | Defined By | |
---|---|---|
x1 : gfloat
|
Clutter.ActorBox | |
x2 : gfloat
|
Clutter.ActorBox | |
y1 : gfloat
|
Clutter.ActorBox | |
y2 : gfloat
|
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 | |
Checks whether a point with x, y coordinates is contained
withing box |
Clutter.ActorBox | |
copy
()
:
Clutter.ActorBox
Copies box
clutter_actor_box_free() to free the allocated resources
Copies box
clutter_actor_box_free() to free the allocated resources
|
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
()
:
gfloat
Retrieves the area of box
Retrieves the area of box
|
Clutter.ActorBox | |
get_height
()
:
gfloat
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
()
:
gfloat
Retrieves the width of the box
Retrieves the width of the box
|
Clutter.ActorBox | |
get_x
()
:
gfloat
Retrieves the X coordinate of the origin of box
Retrieves the X coordinate of the origin of box
|
Clutter.ActorBox | |
get_y
()
:
gfloat
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 | |
Clutter.ActorBox | ||
Clutter.ActorBox | ||
union
(ActorBox b)
:
Clutter.ActorBox
|
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 |
allocate_align_fill
(ActorBox box, gdouble x_align, gdouble y_align, gboolean x_fill, gboolean y_fill, AllocationFlags flags)
:
none
|
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() |