Method

Gtk.DropDown.set_expression

Declaration [src]

void
gtk_drop_down_set_expression (
  GtkDropDown* self,
  GtkExpression* expression
)

Description [src]

Sets the expression that gets evaluated to obtain strings from items.

This is used for search in the popup. The expression must have a value type of G_TYPE_STRING.

Parameters

expression GtkExpression
 

a GtkExpression, or NULL

 Can be NULL
 Ownership is not transferred to the callee