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

43 lines
2.1 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 hovered column. return -1 when table is not hovered. return columns_count if the unused space
/// at the right of visible columns is hovered. Can also use (TableGetColumnFlags() &amp;
/// ImGuiTableColumnFlags_IsHovered) instead.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L938">imgui.h:938</see>
/// ,
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_tables.cpp#L1801">imgui_tables.cpp:1801</see>
/// <br/><c>int TableGetHoveredColumn()</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>
/// Return -1 when table is not hovered. return columns_count if hovering the unused space at the right
/// of the right-most visible column.
/// </para>
/// </remarks>
[LibraryImport("imgui")]
public static unsafe partial int TableGetHoveredColumn();
}
}
}