Class

Adw.ClampScrollable

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.

Available since:1.0

Hierarchy

Ancestors

  • GtkWidget
  • GInitiallyUnowned
  • GObject

Implements

  • GtkAccessible
  • GtkBuildable
  • GtkConstraintTarget
  • GtkOrientable
  • GtkScrollable

Constructors

adw_clamp_scrollable_new

Creates a new AdwClampScrollable.

Available since: 1.0

Instance methods

adw_clamp_scrollable_get_child

Gets the child widget of self.

Available since: 1.0

adw_clamp_scrollable_get_maximum_size

Gets the maximum size allocated to the child.

Available since: 1.0

adw_clamp_scrollable_get_tightening_threshold

Gets the size above which the child is clamped.

Available since: 1.0

adw_clamp_scrollable_set_child

Sets the child widget of self.

Available since: 1.0

adw_clamp_scrollable_set_maximum_size

Sets the maximum size allocated to the child.

Available since: 1.0

adw_clamp_scrollable_set_tightening_threshold

Sets the size above which the child is clamped.

Available since: 1.0

Properties

Adw.ClampScrollable:child

The child widget of the AdwClampScrollable.

Available since: 1.0

Adw.ClampScrollable:maximum-size

The maximum size allocated to the child.

Available since: 1.0

Adw.ClampScrollable:tightening-threshold

The size above which the child is clamped.

Available since: 1.0

Class structure

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