set_adaptive_width


Description:

public void set_adaptive_width (int width)

Set an adaptive width 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

width

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