Class: Gtk::StringFilter
Instance Method Summary collapse
-
#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
Returns whether the filter ignores case differences.
-
#ignore_case=(ignore_case) ⇒ Boolean
If matching is case sensitive.
-
#ignore_case? ⇒ Boolean
If matching is case sensitive.
-
#initialize(expression) ⇒ Gtk::StringFilter
constructor
Creates a new string filter.
-
#match_mode ⇒ Gtk::StringFilterMatchMode
If exact matches are necessary or if substrings are allowed.
-
#match_mode=(match_mode) ⇒ Gtk::StringFilterMatchMode
If exact matches are necessary or if substrings are allowed.
-
#search ⇒ String
The search term.
-
#search=(search) ⇒ String
The search term.
Methods inherited from Filter
Constructor Details
#initialize(expression) ⇒ Gtk::StringFilter
Creates a new string filter.
You will want to set up the filter by providing a string to search for and by providing a property to look up on the item.
Instance Method Details
#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
Returns whether the filter ignores case differences.
#ignore_case=(ignore_case) ⇒ Boolean
If matching is case sensitive.
#ignore_case? ⇒ Boolean
If matching is case sensitive.
#match_mode ⇒ Gtk::StringFilterMatchMode
If exact matches are necessary or if substrings are allowed.
#match_mode=(match_mode) ⇒ Gtk::StringFilterMatchMode
If exact matches are necessary or if substrings are allowed.
#search ⇒ String
The search term.
#search=(search) ⇒ String
The search term.