Class

AdwClampScrollable

Description [src]

final class Adw.ClampScrollable : Gtk.Widget {
  /* No available fields */
}

A scrollable AdwClamp.

AdwClampScrollable is a variant of AdwClamp that implements the GtkScrollable interface.

The primary use case for AdwClampScrollable is clamping GtkListView.

Ancestors

  • GtkWidget
  • GInitiallyUnowned
  • GObject

Implements

  • GtkAccessible
  • GtkBuildable
  • GtkConstraintTarget
  • GtkOrientable
  • GtkScrollable

Constructors

adw_clamp_scrollable_new

Creates a new AdwClampScrollable.

Instance methods

adw_clamp_scrollable_get_child

Gets the child widget of self.

adw_clamp_scrollable_get_maximum_size

Gets the maximum size allocated to the child.

adw_clamp_scrollable_get_tightening_threshold

Gets the size above which the child is clamped.

adw_clamp_scrollable_get_unit

Gets the length unit for maximum size and tightening threshold.

Available since: 1.4

adw_clamp_scrollable_set_child

Sets the child widget of self.

adw_clamp_scrollable_set_maximum_size

Sets the maximum size allocated to the child.

adw_clamp_scrollable_set_tightening_threshold

Sets the size above which the child is clamped.

adw_clamp_scrollable_set_unit

Sets the length unit for maximum size and tightening threshold.

Available since: 1.4

Properties

Adw.ClampScrollable:child

The child widget of the AdwClampScrollable.

Adw.ClampScrollable:maximum-size

The maximum size allocated to the child.

Adw.ClampScrollable:tightening-threshold

The size above which the child is clamped.

Adw.ClampScrollable:unit

The length unit for maximum size and tightening threshold.

Available since: 1.4

Class structure

struct AdwClampScrollableClass {
  GtkWidgetClass parent_class;
  
}
Class members
parent_class
GtkWidgetClass
  No description available.