brutal/Brutal.ImGui/Generated/PInvoke/TableGetColumnFlags.gen.cs
Rian Drake b578433e37 first
2026-10-15 17:10:50 +13:00

41 lines
2 KiB
C#

// <auto-generated/>
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
namespace Brutal.ImGuiApi
{
public partial class ImGui
{
public unsafe partial class PInvoke
{
/// <summary>
/// <para>
/// return column flags so you can query their Enabled/Visible/Sorted/Hovered status flags. Pass -1 to
/// use current column.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L936">imgui.h:936</see>
/// ,
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_tables.cpp#L1759">imgui_tables.cpp:1759</see>
/// <br/><c>ImGuiTableColumnFlags TableGetColumnFlags(int column_n = -1)</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Tables: Sorting &amp; Miscellaneous functions
/// - Sorting: call TableGetSortSpecs() to retrieve latest sort specs for the table. NULL when not sorting.
/// When 'sort_specs-&gt;SpecsDirty == true' you should sort your data. It will be true when sorting specs have
/// changed since last call, or the first time. Make sure to set 'SpecsDirty = false' after sorting,
/// else you may wastefully sort your data every frame!
/// - Functions args 'int column_n' treat the default value of -1 as the same as passing the current column index.
/// </code>
/// <para>
/// We allow querying for an extra column in order to poll the IsHovered state of the right-most section
/// </para>
/// </remarks>
[LibraryImport("imgui")]
public static unsafe partial ImGuiTableColumnFlags TableGetColumnFlags(int column_n);
}
}
}