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

35 lines
1.7 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>
/// begin/append a tooltip window if preceding item was hovered.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L838">imgui.h:838</see>
/// ,
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.cpp#L12443">imgui.cpp:12443</see>
/// <br/><c>bool BeginItemTooltip()</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Tooltips: helpers for showing a tooltip when hovering an item
/// - BeginItemTooltip() is a shortcut for the 'if (IsItemHovered(ImGuiHoveredFlags_ForTooltip) &amp;&amp; BeginTooltip())' idiom.
/// - SetItemTooltip() is a shortcut for the 'if (IsItemHovered(ImGuiHoveredFlags_ForTooltip)) { SetTooltip(...); }' idiom.
/// - Where 'ImGuiHoveredFlags_ForTooltip' itself is a shortcut to use 'style.HoverFlagsForTooltipMouse' or 'style.HoverFlagsForTooltipNav' depending on active input type. For mouse it defaults to 'ImGuiHoveredFlags_Stationary | ImGuiHoveredFlags_DelayShort'.
/// </code>
/// </remarks>
[LibraryImport("imgui")]
public static unsafe partial Bool8 BeginItemTooltip();
}
}
}