Property

AdwLeaflet:fold-threshold-policy

since: 1.0

Declaration

property fold-threshold-policy: Adw.FoldThresholdPolicy [ read, write ]

Description [src]

Determines when the leaflet will fold.

If set to ADW_FOLD_THRESHOLD_POLICY_MINIMUM, it will only fold when the children cannot fit anymore. With ADW_FOLD_THRESHOLD_POLICY_NATURAL, it will fold as soon as children don’t get their natural size.

This can be useful if you have a long ellipsizing label and want to let it ellipsize instead of immediately folding.

Type:AdwFoldThresholdPolicy

Available since: 1.0

Default valueADW_FOLD_THRESHOLD_POLICY_MINIMUM
Getter methodadw_leaflet_get_fold_threshold_policy()
Setter methodadw_leaflet_set_fold_threshold_policy()

Flags

Readableyes
Writableyes
Constructno
Construct onlyno