// // Generated by Brutal.ImGui.Generator; do not edit by hand. #nullable enable namespace Brutal.ImGuiApi { public partial class ImGui { public unsafe partial class PInvoke { /// /// /// C++: /// imgui.h:2726 /// , /// imgui_widgets.cpp:4274 ///
void DeleteChars(int pos, int bytes_count) ///
///
/// /// /// Helper functions for text manipulation. /// Use those function to benefit from the CallbackResize behaviors. Calling those function reset the selection. /// /// /// Public API to manipulate UTF-8 text from within a callback. /// FIXME: The existence of this rarely exercised code path is a bit of a nuisance. /// Historically they existed because STB_TEXTEDIT_INSERTCHARS() etc. worked on our ImWchar /// buffer, but nowadays they both work on UTF-8 data. Should aim to merge both. /// /// [LibraryImport("imgui")] public static unsafe partial void ImGuiInputTextCallbackData_DeleteChars( ImGuiInputTextCallbackData* target, int pos, int bytes_count ); /// /// /// C++: /// imgui.h:2727 /// , /// imgui_widgets.cpp:4290 ///
void InsertChars(int pos, const char* text, const char* text_end = NULL) ///
///
/// /// /// Helper functions for text manipulation. /// Use those function to benefit from the CallbackResize behaviors. Calling those function reset the selection. /// /// [LibraryImport("imgui")] public static unsafe partial void ImGuiInputTextCallbackData_InsertChars( ImGuiInputTextCallbackData* target, int pos, byte* text, byte* text_end ); /// /// /// C++: /// imgui.h:2728 ///
void SelectAll() ///
///
/// /// /// Helper functions for text manipulation. /// Use those function to benefit from the CallbackResize behaviors. Calling those function reset the selection. /// /// [LibraryImport("imgui")] public static unsafe partial void ImGuiInputTextCallbackData_SelectAll(ImGuiInputTextCallbackData* target); /// /// /// C++: /// imgui.h:2729 ///
void ClearSelection() ///
///
/// /// /// Helper functions for text manipulation. /// Use those function to benefit from the CallbackResize behaviors. Calling those function reset the selection. /// /// [LibraryImport("imgui")] public static unsafe partial void ImGuiInputTextCallbackData_ClearSelection( ImGuiInputTextCallbackData* target ); /// /// /// C++: /// imgui.h:2730 ///
bool HasSelection() const ///
///
/// /// /// Helper functions for text manipulation. /// Use those function to benefit from the CallbackResize behaviors. Calling those function reset the selection. /// /// [LibraryImport("imgui")] public static unsafe partial Bool8 ImGuiInputTextCallbackData_HasSelection( ImGuiInputTextCallbackData* target ); } } }