mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 20:48:24 +01:00
48 lines
2.8 KiB
C#
48 lines
2.8 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>
|
|
/// submit a row with headers cells based on data provided to TableSetupColumn() + submit context menu
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L922">imgui.h:922</see>
|
|
/// ,
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_tables.cpp#L3105">imgui_tables.cpp:3105</see>
|
|
/// <br/><c>void TableHeadersRow()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Tables: Headers & Columns declaration
|
|
/// - Use TableSetupColumn() to specify label, resizing policy, default width/weight, id, various other flags etc.
|
|
/// - Use TableHeadersRow() to create a header row and automatically submit a TableHeader() for each column.
|
|
/// Headers are required to perform: reordering, sorting, and opening the context menu.
|
|
/// The context menu can also be made available in columns body using ImGuiTableFlags_ContextMenuInBody.
|
|
/// - You may manually submit headers using TableNextRow() + TableHeader() calls, but this is only useful in
|
|
/// some advanced use cases (e.g. adding custom widgets in header row).
|
|
/// - Use TableSetupScrollFreeze() to lock columns/rows so they stay visible when scrolled.
|
|
/// </code>
|
|
/// <code>
|
|
/// [Public] This is a helper to output TableHeader() calls based on the column names declared in TableSetupColumn().
|
|
/// The intent is that advanced users willing to create customized headers would not need to use this helper
|
|
/// and can create their own! For example: TableHeader() may be preceded by Checkbox() or other custom widgets.
|
|
/// See 'Demo->Tables->Custom headers' for a demonstration of implementing a custom version of this.
|
|
/// This code is intentionally written to not make much use of internal functions, to give you better direction
|
|
/// if you need to write your own.
|
|
/// FIXME-TABLE: TableOpenContextMenu() and TableGetHeaderRowHeight() are not public.
|
|
/// </code>
|
|
/// </remarks>
|
|
[LibraryImport("imgui")]
|
|
public static unsafe partial void TableHeadersRow();
|
|
}
|
|
}
|
|
}
|