Constraint
Class
constructor
name
update_
allocation
update_
preferred_
size
GJS API Reference
Clutter-1.0
Clutter
ConstraintClass
Class ConstraintClass
The #ClutterConstraintClass structure contains only private data
record
Hierarchy
ConstraintClass
Index
Constructors
constructor
Properties
name
Methods
update_
allocation
update_
preferred_
size
Constructors
constructor
new
Constraint
Class
(
)
:
Clutter
.
ConstraintClass
Returns
Clutter
.
ConstraintClass
Properties
Static
name
name
:
string
Methods
update_
allocation
update_
allocation
(
constraint
:
Clutter
.
Constraint
, actor
:
Clutter
.
Actor
, allocation
:
ActorBox
)
:
void
Parameters
constraint:
Clutter
.
Constraint
actor:
Clutter
.
Actor
allocation:
ActorBox
Returns
void
update_
preferred_
size
update_
preferred_
size
(
constraint
:
Clutter
.
Constraint
, actor
:
Clutter
.
Actor
, direction
:
Clutter
.
Orientation
, for_size
:
number
, minimum_size
:
number
, natural_size
:
number
)
:
void
Parameters
constraint:
Clutter
.
Constraint
actor:
Clutter
.
Actor
direction:
Clutter
.
Orientation
for_size:
number
minimum_size:
number
natural_size:
number
Returns
void
Constraint
Class
constructor
name
update_
allocation
update_
preferred_
size
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJDbHV0dGVyXzFfMC5DbHV0dGVyLkNvbnN0cmFpbnRDbGFzcy5odG1sI2NvbnN0cnVjdG9yIiwibmFtZSI6ImNvbnN0cnVjdG9yIiwiY2hpbGRyZW4iOltdLCJpc0V4dGVybiI6ZmFsc2UsImlzSW50ZXJuIjp0cnVlfSx7ImNsYXNzTmFtZXMiOiJ0c2Qta2luZC1wcm9wZXJ0eSB0c2QtcGFyZW50LWtpbmQtY2xhc3MgdHNkLWlzLXN0YXRpYyIsImhyZWYiOiJDbHV0dGVyXzFfMC5DbHV0dGVyLkNvbnN0cmFpbnRDbGFzcy5odG1sI25hbWUiLCJuYW1lIjoibmFtZ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