Blender V5.3
blender::ui::uiListNameFilter Class Reference

#include <UI_interface.hh>

Public Member Functions

 uiListNameFilter (uiList &list)
 ~uiListNameFilter ()
eUIListFilterResult operator() (const PointerRNA &itemptr, StringRefNull name, int index)

Detailed Description

Function object for UI list item filtering that does the default name comparison with '*' wildcards. Create an instance of this once and pass it to uilist_filter_and_sort_items(), do NOT create an instance for every item, this would be costly.

Definition at line 240 of file UI_interface.hh.

Constructor & Destructor Documentation

◆ uiListNameFilter()

blender::ui::uiListNameFilter::uiListNameFilter ( uiList & list)

◆ ~uiListNameFilter()

blender::ui::uiListNameFilter::~uiListNameFilter ( )

Definition at line 167 of file interface_template_list.cc.

Member Function Documentation

◆ operator()()

eUIListFilterResult blender::ui::uiListNameFilter::operator() ( const PointerRNA & itemptr,
StringRefNull name,
int index )

The documentation for this class was generated from the following files: