//
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
namespace Brutal.ImGuiApi
{
public partial class ImGui
{
public unsafe partial class PInvoke
{
///
///
/// 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)
///
///
/// C++:
/// imgui.h:937
/// ,
/// imgui_tables.cpp:1741
///
void TableSetColumnEnabled(int column_n, bool v)
///
///
///
///
/// 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.
///
///
/// 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.
///
///
[LibraryImport("imgui")]
public static unsafe partial void TableSetColumnEnabled(int column_n, Bool8 v);
}
}
}