Arrangement.Constrained
Classes
Arrangement.Constrained
This arrangement shows featured cards that follow a irregular pattern in three different card sizes. The pattern is described using Emeus VFL (Visual Format Language).
NOTE that this arrangement design is still experimental therefore it visuals and behavior are subject to change.
This arrangement can be extended by programmers to implement other constrained arrangements by simply providing a VFL description and the number of cards.
To extend this class override the Arrangement.get_max_cards and Constrained.get_description.
Properties
fade-cards
Whether new cards should fade in gradually
- Type
- Boolean
- Default value
- False
halign
How to position in extra horizontal space
- Type
- GtkAlign
- Default value
- 0
valign
How to position in extra vertical space
- Type
- GtkAlign
- Default value
- 0
hexpand
Whether widget wants more horizontal space
- Type
- Boolean
- Default value
- False
vexpand
Whether widget wants more vertical space
- Type
- Boolean
- Default value
- False
expand
Whether widget wants to expand in both directions
- Type
- Boolean
- Default value
- False
Slots
card
- Multi
- yes
The results of the search are