Class: Gtk::CustomFilter
Instance Method Summary collapse
-
#initialize(match_func, user_data, user_destroy) ⇒ Gtk::CustomFilter
constructor
Creates a new filter using the given function to filter items.
-
#set_filter_func(match_func, user_data, user_destroy) ⇒ nil
Sets the function used for filtering items.
Methods inherited from Filter
Constructor Details
#initialize(match_func, user_data, user_destroy) ⇒ Gtk::CustomFilter
Creates a new filter using the given function to filter items.
If match_func is NULL, the filter matches all items.
If the filter func changes its filtering behavior,
[methodGtk.Filter.changed] needs to be called.
Instance Method Details
#set_filter_func(match_func, user_data, user_destroy) ⇒ nil
Sets the function used for filtering items.
If match_func is NULL, the filter matches all items.
If the filter func changes its filtering behavior,
[methodGtk.Filter.changed] needs to be called.
If a previous function was set, its user_destroy
will be called.