setExpression

open fun setExpression(expression: <Error class: unknown class>? = 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 property@ComboRow:factory is not set, or when property@ComboRow:use-subtitle is set to TRUE.

Parameters

expression

an expression