//
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
namespace Brutal.ImGuiApi.Internal
{
public unsafe partial class PInvoke
{
///
///
/// C++:
/// imgui_internal.h:3697
/// ,
/// imgui_widgets.cpp:7439
///
/// int TypingSelectFindMatch(ImGuiTypingSelectRequest* req, int items_count, const char* (*get_item_name_func)(void*, int), void* user_data, int nav_item_idx)
///
///
///
///
/// Typing-Select API
/// (provide Windows Explorer style "select items by typing partial name" + "cycle through items by typing same letter" feature)
/// (this is currently not documented nor used by main library, but should work. See "widgets_typingselect" in imgui_test_suite for usage code. Please let us know if you use this!)
///
///
/// Default handler for finding a result for typing-select. You may implement your own.
/// You might want to display a tooltip to visualize the current request SearchBuffer
/// When SingleCharMode is set:
/// - it is better to NOT display a tooltip of other on-screen display indicator.
/// - the index of the currently focused item is required.
/// if your SetNextItemSelectionUserData() values are indices, you can obtain it from ImGuiMultiSelectIO::NavIdItem, otherwise from g.NavLastValidSelectionUserData.
///
///
[LibraryImport("imgui")]
public static unsafe partial int TypingSelectFindMatch_internal(
ImGuiTypingSelectRequest* req,
int items_count,
nint get_item_name_func,
void* user_data,
int nav_item_idx
);
}
}