private igCollapsingHeader ( string label, string str_id, bool display_frame, bool default_open ) : bool | ||
label | string | |
str_id | string | |
display_frame | bool | |
default_open | bool | |
Résultat | bool |
public static unsafe bool CollapsingHeader(string label, TreeNodeFlags flags) { fixed(byte *bytes = System.Text.Encoding.UTF8.GetBytes(label)) { return(ImGuiNative.igCollapsingHeader(bytes, flags)); } }
public static bool CollapsingHeader(string label, TreeNodeFlags flags) { return(ImGuiNative.igCollapsingHeader(label, flags)); }
//obsolete! public static bool CollapsingHeader(string label, string id, bool displayFrame, bool defaultOpen) { TreeNodeFlags default_open_flags = TreeNodeFlags.DefaultOpen; return(ImGuiNative.igCollapsingHeader(label, (defaultOpen ? default_open_flags : 0))); }
public static bool CollapsingHeader(string label, string id, bool displayFrame, bool defaultOpen) { return(ImGuiNative.igCollapsingHeader(label, id, displayFrame, defaultOpen)); }
public static bool CollapsingHeader(string label, ImGuiTreeNodeFlags flags = 0) => ImGuiNative.igCollapsingHeader(label, flags);