Class
AdwSqueezer
deprecated: 1.4
Description [src]
final class Adw.Squeezer : Gtk.Widget
implements Gtk.Accessible, Gtk.Buildable, Gtk.ConstraintTarget, Gtk.Orientable {
/* No available fields */
}
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 AdwSqueezer:transition-type
.
CSS nodes
AdwSqueezer
has a single CSS node with name squeezer
.
Deprecated since: 1.4
See the migration guide.
Instance methods
adw_squeezer_get_allow_none
Gets whether to allow squeezing beyond the last child’s minimum size.
deprecated: 1.4
adw_squeezer_get_homogeneous
Gets whether all children have the same size for the opposite orientation.
deprecated: 1.4
adw_squeezer_get_interpolate_size
Gets whether self
interpolates its size when changing the visible child.
deprecated: 1.4
adw_squeezer_get_transition_duration
Gets the transition animation duration for self
.
deprecated: 1.4
adw_squeezer_get_transition_running
Gets whether a transition is currently running for self
.
deprecated: 1.4
adw_squeezer_get_transition_type
Gets the type of animation used for transitions between children in self
.
deprecated: 1.4
adw_squeezer_set_allow_none
Sets whether to allow squeezing beyond the last child’s minimum size.
deprecated: 1.4
adw_squeezer_set_homogeneous
Sets whether all children have the same size for the opposite orientation.
deprecated: 1.4
adw_squeezer_set_interpolate_size
Sets whether self
interpolates its size when changing the visible child.
deprecated: 1.4
adw_squeezer_set_transition_duration
Sets the transition animation duration for self
.
deprecated: 1.4
adw_squeezer_set_transition_type
Sets the type of animation used for transitions between children in self
.
deprecated: 1.4
Methods inherited from GtkAccessible (20)
Methods inherited from GtkBuildable (1)
Methods inherited from GtkOrientable (2)
Properties
Adw.Squeezer:allow-none
Whether to allow squeezing beyond the last child’s minimum size.
deprecated: 1.4
Adw.Squeezer:homogeneous
Whether all children have the same size for the opposite orientation.
deprecated: 1.4
Adw.Squeezer:interpolate-size
Whether the squeezer interpolates its size when changing the visible child.
deprecated: 1.4
Adw.Squeezer:transition-duration
The transition animation duration, in milliseconds.
deprecated: 1.4
Adw.Squeezer:transition-type
The type of animation used for transitions between children.
deprecated: 1.4