DropDown.expression

gtk.expression.Expression expression() @property

Get expression property.

Returns

An expression to evaluate to obtain strings to match against the search

term.

See property@Gtk.DropDown:enable-search for how to enable search. If [gtk.drop_down.DropDown.factory] is not set, the expression is also used to bind strings to labels produced by a default factory.

void expression(gtk.expression.Expression propval) @property

Set expression property.

Parameters

propvalAn expression to evaluate to obtain strings to match against the search term. See property@Gtk.DropDown:enable-search for how to enable search. If [gtk.drop_down.DropDown.factory] is not set, the expression is also used to bind strings to labels produced by a default factory.