set_adaptive_height


Description:

public void set_adaptive_height (int height)

Set an adaptive height threshold.

When widget is resized to value or lower, an [signal@ClapperGtk.Container:ClapperGtkContainer:adapt] signal will be emitted with true to notify implementation about mobile adaptation request, otherwise false when both threshold values are exceeded.

Parameters:

this

a Container

height

a threshold on which adapt signal should be triggered or -1 to disable.