//
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
namespace Brutal.ImGuiApi
{
public partial class ImGui
{
public unsafe partial class PInvoke
{
///
///
/// if returning 'true' the header is open. doesn't indent nor push on ID stack. user doesn't have to
/// call TreePop().
///
///
/// C++:
/// imgui.h:762
/// ,
/// imgui_widgets.cpp:7070
///
bool CollapsingHeader(const char* label, ImGuiTreeNodeFlags flags = 0)
///
///
///
///
/// Widgets: Trees
/// - TreeNode functions return true when the node is open, in which case you need to also call TreePop() when you are finished displaying the tree node contents.
///
///
/// CollapsingHeader returns true when opened but do not indent nor push into the ID stack (because of the ImGuiTreeNodeFlags_NoTreePushOnOpen flag).
/// This is basically the same as calling TreeNodeEx(label, ImGuiTreeNodeFlags_CollapsingHeader). You can remove the _NoTreePushOnOpen flag if you want behavior closer to normal TreeNode().
///
///
[LibraryImport("imgui")]
public static unsafe partial Bool8 CollapsingHeader_0(byte* label, ImGuiTreeNodeFlags flags);
///
///
/// when 'p_visible != NULL': if '*p_visible==true' display an additional small close button on upper
/// right of the header which will set the bool to false when clicked, if '*p_visible==false' don't
/// display the header.
///
///
/// C++:
/// imgui.h:763
/// ,
/// imgui_widgets.cpp:7083
///
bool CollapsingHeader(const char* label, bool* p_visible, ImGuiTreeNodeFlags flags = 0)
///
///
///
///
/// Widgets: Trees
/// - TreeNode functions return true when the node is open, in which case you need to also call TreePop() when you are finished displaying the tree node contents.
///
///
/// p_visible == NULL : regular collapsing header
/// p_visible != NULL && *p_visible == true : show a small close button on the corner of the header, clicking the button will set *p_visible = false
/// p_visible != NULL && *p_visible == false : do not show the header at all
/// Do not mistake this with the Open state of the header itself, which you can adjust with SetNextItemOpen() or ImGuiTreeNodeFlags_DefaultOpen.
///
///
[LibraryImport("imgui")]
public static unsafe partial Bool8 CollapsingHeader_1(
byte* label,
Bool8* p_visible,
ImGuiTreeNodeFlags flags
);
}
}
}