Skip to content

StViewport (custom grid, part 4)

Georges Basile Stavracas Neto requested to merge gbsneto/viewport into master

St has the regular abstractions to handle actors that are bigger than their parent could handle: StScrollable, StScrollView, and StAdjustment.

However, the only StScrollable implementation available currently is StBoxLayout, which forces a ClutterBoxLayout as the layout manager (and relies on it not being unset).

Introduce StViewport, which is a minimal StScrollable implementation that doesn't rely on any specific layout manager.

Edited by Georges Basile Stavracas Neto

Merge request reports