[12:7] extends: object
Determines whether to include items with a callback.
GtkCustomFilter (match_func = null, user_data = null, user_destroy = null)
Creates a new filter using the given function to filter items. If
is NULL, the filter matches all items. If the filter func changes its filtering behavior, [method@Gtk.Filter.changed] needs to be called.match_func is function to filter items.user_data is user data to pass to @match_func.user_destroy is destroy notify for @user_data.toNativeHandle (Source)
Normalizes a constructor argument into a raw pointer carrier. Accepts a raw NativeHandle, a raw NativeBuffer returned from
fn.call(...), another generated wrapper exposinghandle(), or null. Returns null when the argument carries no pointer.
Source is the raw handle, raw buffer, wrapper, or null.A raw pointer carrier or null when no pointer is present.getLib ()
Returns the opened native library for this generated wrapper.
The opened native library.handle ()
Returns the wrapped NativeHandle.
The wrapped NativeHandle.isNull ()
Returns true when the wrapped handle is null.
A bool.describe ()
Returns a small string for debugging generated wrappers.
A string.asFilter ()
Wraps this handle as
GtkFilter.
A GtkFilter object.set_filter_func (object user_destroy)
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, [method@Gtk.Filter.changed] needs to be called. If a previous function was set, its @user_destroy will be called.
match_func is function to filter items.user_data is user data to pass to @match_func.user_destroy is destroy notify for @user_data.None.