Squeezer
A best fit container.
The AdwSqueezer
widget is a container which only shows the first of its children that fits in the available size. It is convenient to offer different widgets to represent the same data with different levels of detail, making the widget seem to squeeze itself to fit in the available space.
Transitions between children can be animated as fades. This can be controlled with property@Squeezer:transition-type.
CSS nodes
AdwSqueezer
has a single CSS node with name squeezer
.
Constructors
Properties
Whether all children have the same size for the opposite orientation.
Whether the squeezer interpolates its size when changing the visible child.
The switch threshold policy.
The transition animation duration, in milliseconds.
Whether a transition is currently running.
The type of animation used for transitions between children.
The currently visible child.
Functions
Adds a child to @self.
Gets whether to allow squeezing beyond the last child's minimum size.
Gets whether all children have the same size for the opposite orientation.
Gets whether @self interpolates its size when changing the visible child.
Returns the class@SqueezerPage object for @child.
Gets the switch threshold policy for @self.
Gets the transition animation duration for @self.
Gets whether a transition is currently running for @self.
Gets the type of animation used for transitions between children in @self.
Gets the currently visible child of @self.
Sets whether to allow squeezing beyond the last child's minimum size.
Sets whether all children have the same size for the opposite orientation.
Sets whether @self interpolates its size when changing the visible child.
Sets the switch threshold policy for @self.
Sets the transition animation duration for @self.
Sets the type of animation used for transitions between children in @self.