Class: Gtk::StringSorter
Instance Method Summary collapse
-
#collation ⇒ Gtk::Collation
The collation method to use for sorting.
-
#collation=(collation) ⇒ Gtk::Collation
The collation method to use for sorting.
-
#expression ⇒ Gtk::Expression
The expression to evaluate on item to get a string to compare with.
-
#expression=(expression) ⇒ Gtk::Expression
The expression to evaluate on item to get a string to compare with.
-
#ignore_case ⇒ Boolean
Gets whether the sorter ignores case differences.
-
#ignore_case=(ignore_case) ⇒ Boolean
If sorting is case sensitive.
-
#ignore_case? ⇒ Boolean
If sorting is case sensitive.
-
#initialize(expression) ⇒ Gtk::StringSorter
constructor
Creates a new string sorter that compares items using the given expression.
Methods inherited from Sorter
Constructor Details
#initialize(expression) ⇒ Gtk::StringSorter
Creates a new string sorter that compares items using the given expression.
Unless an expression is set on it, this sorter will always compare items as invalid.
Instance Method Details
#collation ⇒ Gtk::Collation
The collation method to use for sorting.
The GTK_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_COLLATION_UNICODE, compares strings according
to the Unicode collation algorithm.
#collation=(collation) ⇒ Gtk::Collation
The collation method to use for sorting.
The GTK_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_COLLATION_UNICODE, compares strings according
to the Unicode collation algorithm.
#expression ⇒ Gtk::Expression
The expression to evaluate on item to get a string to compare with.
#expression=(expression) ⇒ Gtk::Expression
The expression to evaluate on item to get a string to compare with.
#ignore_case ⇒ Boolean
Gets whether the sorter ignores case differences.
#ignore_case=(ignore_case) ⇒ Boolean
If sorting is case sensitive.
#ignore_case? ⇒ Boolean
If sorting is case sensitive.