summaryrefslogtreecommitdiff
path: root/clutter/clutter-constraint.c
Commit message (Collapse)AuthorAgeFilesLines
* constraint: Fix update_allocation()'s return valueEmmanuele Bassi2014-12-161-1/+1
| | | | | The update_allocation() method returns TRUE if the allocation was changed.
* constraint: Add the ability to update the preferred sizeEmmanuele Bassi2014-12-161-0/+29
| | | | | | | | Constraints can only update an existing allocation, which means they live only halfway through the layout management system used by Clutter; this limitation makes it impossible, for instance, to query the preferred size of an actor, if the actor is only using constraints to manage its own size.
* constraint: Add a private headerEmmanuele Bassi2014-12-161-8/+48
| | | | | | | | And move the only private ClutterConstraint method to it. This commit also sneaks in a change that makes sense for the debugging of the update_allocation() method, which checks if the allocation was effectively changed.
* docs: Move to markdownEmmanuele Bassi2014-03-171-119/+88
| | | | We're removing docbook tags in favour of the markdown syntax.
* Move examples from tests/interactive to a new top-levelEmmanuele Bassi2012-05-011-1/+3
| | | | | | | | | The example code that is meant to be XIncluded into the API reference should not be part of the interactive test suite: it's code that it is meant to be used as a reference implementation - whereas the interactive test suite should be allowed to be lean and test behaviour even in nasty ways. In short: the test suite should not be the place where we show off idiomatic code for educational purposes.
* Fixes for the API referenceEmmanuele Bassi2012-04-271-1/+1
| | | | Typos, missing symbols, and missing documentation.
* Fix missing/redundant declarationsEmmanuele Bassi2012-03-071-0/+1
|
* constraint: Queue a relayout on :enabled changesEmmanuele Bassi2011-03-011-0/+23
| | | | | | | ClutterConstraint should queue a relayout if the :enabled property of its parent class ClutterActorMeta changes. http://bugzilla.clutter-project.org/show_bug.cgi?id=2587
* docs: Fix some wrong function/signal/property namesEmmanuele Bassi2010-11-181-2/+2
|
* docs: Move the constraints example picture about the source codeEmmanuele Bassi2010-11-171-3/+3
|
* docs: Fix closing tagEmmanuele Bassi2010-11-171-1/+1
|
* docs: Break down the constraints exampleEmmanuele Bassi2010-11-171-0/+34
|
* docs: Add introductory section on ConstraintsEmmanuele Bassi2010-11-151-1/+58
| | | | Use the snap-constraint code for the example code and screenshot.
* docs: Add sub-classing notes on ActorMeta and ConstraintEmmanuele Bassi2010-09-171-0/+26
|
* constraint: Add ::update_allocation()Emmanuele Bassi2010-09-171-2/+27
| | | | | | | The Constraint should plug directly into the allocation mechanism, and modify the allocation of the actor to which they are applied to. This is similar to the mechanism used by the Effect class to modify the paint sequence of an actor.
* docs: Description fixes for Action and ConstraintEmmanuele Bassi2010-05-261-1/+5
|
* Miscellaneous documentation fixesEmmanuele Bassi2010-05-191-0/+12
|
* constraint: Add ClutterConstraint base classEmmanuele Bassi2010-05-191-0/+21
The Constraint base, abstract class should be used to implement Actor modifiers that affect the way an actor is sized or positioned inside a fixed layout manager.