ComboRow.setExpression

void setExpression(gtk.expression.Expression expression = null)

Sets the expression used to obtain strings from items.

The expression must have a value type of G_TYPE_STRING.

It's used to bind strings to labels produced by the default factory if adw.combo_row.ComboRow.factory is not set, or when adw.combo_row.ComboRow.useSubtitle is set to TRUE.

Parameters

expressionan expression