Gtk.StringSorter.set_expression

### Method

# Gtk StringSorterset_expression

#### Declaration [src]

    void
    gtk_string_sorter_set_expression (
      GtkStringSorter* self,
      GtkExpression* expression
    )

#### Description [src]

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

The expression must have the type `G_TYPE_STRING`.

Sets property | `Gtk.StringSorter:expression`

#### Parameters

`expression`

  Type: `GtkExpression`

  A `GtkExpression`

  The argument can be `NULL`.
  The data is owned by the caller of the method.