set_expression


Description:

public void set_expression (Expression? expression)

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 [property@ComboRow:factory] is not set, or when [ property@ComboRow:use-subtitle] is set to `TRUE`.

Parameters:

this

a combo row

expression

an expression