
This class exposes the relation constraint and allows addition of new boxes and removal of existing ones.
Public Member Functions |
|
| tuple< bool, int, int > | GetBoxPosition () |
| Get a box position in the GUI. |
|
| FBConstraintRelation (str pName) | |
| Constructor. |
|
| FBBox | ConstrainObject (FBBox pConstrainedObject) |
| Create a receiver box. |
|
| FBBox | CreateFunctionBox (str pGroup, str pName) |
| Create a function box. |
|
| FBBox | SetAsSource (FBBox pSource) |
| Create a sender box. |
|
| bool | SetBoxPosition (FBBox pBox, int pX, int pY) |
| Set a box position in the GUI. |
|
Public Attributes |
|
| FBListBox | Boxes |
| List: Boxes used in this constraint.
|
|
| FBConstraintRelation | ( | str | pName | ) |
Constructor.
| pName | Name of constraint. |
Create a function box.
Ask the constraint to create new function box.
| pGroup | Name of the group under which the function is located in the Constraint Relation GUI (case-sensitive!). | |
| pName | Name of the function, as seen in the GUI (case-sensitive!). |
Set a box position in the GUI.
Set the position of a box within the constraint layout view.
| pBox | Box which needs to be moved. | |
| pX | New X position. | |
| pY | New Y position. |
| FBListBox Boxes |
List: Boxes used in this constraint.
1.5.3