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

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

transition-duration

The animation duration, in milliseconds

Default value
200
Type
Number

transition-type

The type of animation used to transition

Default value
0
Type
GtkStackTransitionType

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