//
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
namespace Brutal.ImGuiApi
{
public partial class ImGui
{
public unsafe partial class PInvoke
{
///
///
/// Was the last item selection state toggled? Useful if you need the per-item information _before_
/// reaching EndMultiSelect(). We only returns toggle _event_ in order to handle clipping correctly.
///
///
/// C++:
/// imgui.h:783
/// ,
/// imgui.cpp:6371
///
bool IsItemToggledSelection()
///
///
///
///
/// Multi-selection system for Selectable(), Checkbox(), TreeNode() functions [BETA]
/// - This enables standard multi-selection/range-selection idioms (CTRL+Mouse/Keyboard, SHIFT+Mouse/Keyboard, etc.) in a way that also allow a clipper to be used.
/// - ImGuiSelectionUserData is often used to store your item index within the current view (but may store something else).
/// - Read comments near ImGuiMultiSelectIO for instructions/details and see 'Demo->Widgets->Selection State & Multi-Select' for demo.
/// - TreeNode() is technically supported but... using this correctly is more complicated. You need some sort of linear/random access to your tree,
/// which is suited to advanced trees setups already implementing filters and clipper. We will work simplifying the current demo.
/// - 'selection_size' and 'items_count' parameters are optional and used by a few features. If they are costly for you to compute, you may avoid them.
///
///
/// Call after a Selectable() or TreeNode() involved in multi-selection.
/// Useful if you need the per-item information before reaching EndMultiSelect(), e.g. for rendering purpose.
/// This is only meant to be called inside a BeginMultiSelect()/EndMultiSelect() block.
/// (Outside of multi-select, it would be misleading/ambiguous to report this signal, as widgets
/// return e.g. a pressed event and user code is in charge of altering selection in ways we cannot predict.)
///
///
[LibraryImport("imgui")]
public static unsafe partial Bool8 IsItemToggledSelection();
}
}
}