mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 20:48:24 +01:00
47 lines
2.9 KiB
C#
47 lines
2.9 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>
|
|
/// change user accessible enabled/disabled state of a column. Set to false to hide the column. User can
|
|
/// use the context menu to change this themselves (right-click in headers, or right-click in columns
|
|
/// body with ImGuiTableFlags_ContextMenuInBody)
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L937">imgui.h:937</see>
|
|
/// ,
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_tables.cpp#L1741">imgui_tables.cpp:1741</see>
|
|
/// <br/><c>void TableSetColumnEnabled(int column_n, bool v)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Tables: Sorting & Miscellaneous functions
|
|
/// - Sorting: call TableGetSortSpecs() to retrieve latest sort specs for the table. NULL when not sorting.
|
|
/// When 'sort_specs->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>
|
|
/// <code>
|
|
/// Change user accessible enabled/disabled state of a column (often perceived as "showing/hiding" from users point of view)
|
|
/// Note that end-user can use the context menu to change this themselves (right-click in headers, or right-click in columns body with ImGuiTableFlags_ContextMenuInBody)
|
|
/// - Require table to have the ImGuiTableFlags_Hideable flag because we are manipulating user accessible state.
|
|
/// - Request will be applied during next layout, which happens on the first call to TableNextRow() after BeginTable().
|
|
/// - For the getter you can test (TableGetColumnFlags() & ImGuiTableColumnFlags_IsEnabled) != 0.
|
|
/// - Alternative: the ImGuiTableColumnFlags_Disabled is an overriding/master disable flag which will also hide the column from context menu.
|
|
/// </code>
|
|
/// </remarks>
|
|
[LibraryImport("imgui")]
|
|
public static unsafe partial void TableSetColumnEnabled(int column_n, Bool8 v);
|
|
}
|
|
}
|
|
}
|