ContentGroup.ContentGroup

Classes

ContentGroup.ContentGroup

Properties

orientation

The orientation of the orientable

Default value
0
Type
GtkOrientation

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

paginate

Use this property to turn on pagination. If this property is set, a 'See more' button will appear at the bottom of the content group, which will allow user to page in more results manually. The number of results that get paged in on each click is determined by cards-per-page

Default value
False
Type
Boolean

cards-per-page

Number of cards to be displayed per page

Default value
10
Type
Number

paginate-label

If the paginate property is enabled, then a button will show below the content group when there is more content to load. This property controls the text with which this button is labelled.

The default is to show "See more" translated into the user's locale. Set it to something else if you require a more specific text in your application.

Default value
Type
String

Slots

arrangement

Required
yes

selection

Required
yes

title

Required
yes

trigger

Required
yes

no-results

Required
yes

The results of the search are