Class
HandySqueezer
Description [src]
final class Handy.Squeezer : Gtk.Container {
/* No available fields */
}
A best fit container.
The HdySqueezer
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 hdy_squeezer_set_transition_type()
.
CSS nodes
HdySqueezer
has a single CSS node with name squeezer
.
Available since: | 1.0 |
Instance methods
hdy_squeezer_get_interpolate_size
Gets whether self
should interpolate its size on visible child change.
Available since: 1.0
hdy_squeezer_get_transition_duration
Gets the amount of time that transitions between children will take.
Available since: 1.0
hdy_squeezer_get_transition_running
Gets whether a transition is currently running for self
.
Available since: 1.0
hdy_squeezer_get_transition_type
Gets the animation type that will be used for transitions between children.
Available since: 1.0
hdy_squeezer_set_homogeneous
Sets whether all children have the same size for the opposite orientation.
Available since: 1.0
hdy_squeezer_set_interpolate_size
Sets whether self
should interpolate its size on visible child change.
Available since: 1.0
hdy_squeezer_set_transition_duration
Sets the duration that transitions between children in self
will take.
Available since: 1.0
hdy_squeezer_set_transition_type
Sets the animation type that will be used for transitions between children.
Available since: 1.0
Properties
Handy.Squeezer:homogeneous
Whether all children have the same size for the opposite orientation.
Available since: 1.0
Handy.Squeezer:interpolate-size
Whether the squeezer interpolates its size when changing the visible child.
Available since: 1.0
Handy.Squeezer:transition-type
The type of animation used for transitions between children.
Available since: 1.0