StringSorter.collation

Get collation property.

  1. gtk.types.Collation collation [@property getter]
    class StringSorter
    @property
    collation
    ()
  2. gtk.types.Collation collation [@property setter]

Return Value

Type: gtk.types.Collation

The collation method to use for sorting.

The gtk.types.Collation.None value is useful when the expression already returns collation keys, or strings that need to be compared byte-by-byte.

The default value, gtk.types.Collation.Unicode, compares strings according to the Unicode collation algorithm.