ContentGroup.ContentGroup

Classes

ContentGroup.ContentGroup

Properties

factory-id

Module ID

Type
String
Default value

factory-path

Path indicating where a module comes from in the app.json

Type
String
Default value

orientation

The orientation of the orientable

Type
GtkOrientation
Default value
0

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

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

Type
Boolean
Default value
False

cards-per-page

Number of cards to be displayed per page

Type
Number
Default value
10

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.

Type
String
Default value

Slots

arrangement

Required
yes

selection

Required
yes

title

Required
yes

trigger

Required
yes

no-results

Required
yes

The results of the search are