Class: Gtk::StringFilter

Inherits:
Filter
  • Object
show all
Defined in:
(unknown)

Instance Method Summary collapse

Methods inherited from Filter

#changed, #match, #strictness

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.

Parameters:

Instance Method Details

#expressionGtk::Expression

The expression to evaluate on item to get a string to compare with.

Returns:

#expression=(expression) ⇒ Gtk::Expression

The expression to evaluate on item to get a string to compare with.

Parameters:

Returns:

#ignore_caseBoolean

Returns whether the filter ignores case differences.

Returns:

  • (Boolean)

    true if the filter ignores case

#ignore_case=(ignore_case) ⇒ Boolean

If matching is case sensitive.

Parameters:

  • ignore_case (Boolean)

Returns:

  • (Boolean)

    ignore-case

  • (Boolean)

    ignore-case

#ignore_case?Boolean

If matching is case sensitive.

Returns:

  • (Boolean)

    ignore-case

#match_modeGtk::StringFilterMatchMode

If exact matches are necessary or if substrings are allowed.

Returns:

#match_mode=(match_mode) ⇒ Gtk::StringFilterMatchMode

If exact matches are necessary or if substrings are allowed.

Parameters:

Returns:

#searchString

The search term.

Returns:

  • (String)

    search

#search=(search) ⇒ String

The search term.

Parameters:

  • search (String)

Returns:

  • (String)

    search

  • (String)

    search