NumericSorter.setExpression
void setExpression(gtk.expression.Expression expression = null)Sets the expression that is evaluated to obtain numbers from items.
Unless an expression is set on self, the sorter will always compare items as invalid.
The expression must have a return type that can be compared numerically, such as G_TYPE_INT or G_TYPE_DOUBLE.
Parameters
expression | a [gtk.expression.Expression] |