Package ch.bailu.gtk.gtk
Interface CustomFilter.OnCustomFilterFunc
- Enclosing class:
- CustomFilter
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
onCustomFilterFunc
(CallbackHandler __self, Pointer item, Pointer user_data) User function that is called to determine if the @item should be matched.
-
Method Details
-
onCustomFilterFunc
boolean onCustomFilterFunc(CallbackHandler __self, @Nonnull Pointer item, @Nullable Pointer user_data) User function that is called to determine if the @item should be matched.
If the filter matches the item, this function must return %TRUE. If the
item should be filtered out, %FALSE must be returned.- Parameters:
item
- The item to be matcheduser_data
- user data- Returns:
- %TRUE to keep the item around
-