mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 20:48:24 +01:00
42 lines
2 KiB
C#
42 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>
|
|
/// lock columns/rows so they stay visible when scrolled.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L920">imgui.h:920</see>
|
|
/// ,
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_tables.cpp#L1660">imgui_tables.cpp:1660</see>
|
|
/// <br/><c>void TableSetupScrollFreeze(int cols, int rows)</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>
|
|
/// <para>
|
|
/// [Public]
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("imgui")]
|
|
public static unsafe partial void TableSetupScrollFreeze(int cols, int rows);
|
|
}
|
|
}
|
|
}
|