//
// 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:3696
/// ,
/// imgui_widgets.cpp:7329
///
/// ImGuiTypingSelectRequest* GetTypingSelectRequest(ImGuiTypingSelectFlags flags = ImGuiTypingSelectFlags_None)
///
///
///
///
/// 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!)
///
///
/// [Experimental] Currently not exposed in public API.
/// Consume character inputs and return search request, if any.
/// This would typically only be called on the focused window or location you want to grab inputs for, e.g.
/// if (ImGui::IsWindowFocused(...))
/// if (ImGuiTypingSelectRequest* req = ImGui::GetTypingSelectRequest())
/// focus_idx = ImGui::TypingSelectFindMatch(req, my_items.size(), [](void*, int n) { return my_items[n]->Name; }, &my_items, -1);
/// However the code is written in a way where calling it from multiple locations is safe (e.g. to obtain buffer).
///
///
[LibraryImport("imgui")]
public static unsafe partial ImGuiTypingSelectRequest* GetTypingSelectRequest_internal(
ImGuiTypingSelectFlags flags
);
}
}