Pager.ParallaxBackground

Classes

Pager.ParallaxBackground

FIXME: if GTK gains support for the 'vmax' CSS unit, then we can move this effect to pure CSS and get rid of this module and its extra disk I/O. https://developer.mozilla.org/en-US/docs/Web/CSS/length

CSS classes: PagerParallaxBackground--center - when on the appropriate page PagerParallaxBackground--landscape - when the window is sized to a wider ratio than the background image PagerParallaxBackground--left - when on the appropriate page PagerParallaxBackground--parallax - when parallax animations are enabled PagerParallaxBackground--portrait - when the window is sized to a taller ratio than the background image PagerParallaxBackground--right - when on the appropriate page

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

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

transition-duration

The animation duration, in milliseconds

Type
Number
Default value
200

transition-type

The type of animation used to transition

Type
GtkStackTransitionType
Default value
0

Slots

all-sets-page

Required
yes

article-page

Required
yes

home-page

Required
yes

search-page

Required
yes

set-page

Required
yes

subset-page

Required
yes

The results of the search are