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

Default value
False
Type
Boolean

halign

How to position in extra horizontal space

Default value
0
Type
GtkAlign

valign

How to position in extra vertical space

Default value
0
Type
GtkAlign

hexpand

Whether widget wants more horizontal space

Default value
False
Type
Boolean

vexpand

Whether widget wants more vertical space

Default value
False
Type
Boolean

expand

Whether widget wants to expand in both directions

Default value
False
Type
Boolean

Slots

card

Multi
yes

The results of the search are