Lines Matching defs:label

42   - How can I have multiple widgets with the same label or with an empty label? A primer on labels and the ID Stack.
451 - 2017/08/09 (1.51) - removed ValueColor() helpers, they are equivalent to calling Text(label) + SameLine() + ColorButton().
453 - changed prototype of 'ColorEdit4(const char* label, float col[4], bool show_alpha = true)' to 'ColorEdit4(const char* label, float col[4], ImGuiColorEditFlags flags = 0)', where passing flags = 0x01 is a safe no-op (hello dodgy backward compatibility!). - check and run the demo window, under "Color/Picker Widgets", to understand the various new options.
458 - 2016/11/06 (1.50) - BeginChild(const char*) now applies the stack id to the provided label, consistently with other functions as it should always have been. It shouldn't affect you unless (extremely unlikely) you were appending multiple times to a same child from different locations of the stack id. If that's the case, generate an id with GetId() and use it instead of passing string to BeginChild().
474 - 2016/05/01 (1.49) - obsoleted old signature of CollapsingHeader(const char* label, const char* str_id = NULL, bool display_frame = true, bool default_open = false) as extra parameters were badly designed and rarely used. You can replace the "default_open = true" flag in new API with CollapsingHeader(label, ImGuiTreeNodeFlags_DefaultOpen).
507 - 2015/06/14 (1.41) - changed Selectable() API from (label, selected, size) to (label, selected, flags, size). Size override should have been rarely be used. Sorry!
654 Q: How can I have multiple widgets with the same label or with an empty label?
655 Q: I have multiple widgets with the same label, and only the first one works. Why is that?
664 - Unique ID are often derived from a string label:
688 When passing a label you can optionally specify extra ID information within string itself.
699 - If you want to completely hide the label, but still need an ID:
701 Checkbox("##On", &b); // Label = "", ID = hash of (..., "##On") // No visible label, just a checkbox!
703 - Occasionally/rarely you might want change a label while preserving a constant ID. This allows
705 but windows are uniquely identified by their ID. Use "###" to pass a label that isn't part of ID:
708 Button("World###ID"); // Label = "World", ID = hash of (..., "###ID") // Same as above, even though the label looks different
1095 ItemInnerSpacing = ImVec2(4,4); // Horizontal and vertical spacing between within elements of a composed widget (e.g. a slider and its label)
1477 // We support a syntax of "label###id" where only "###id" is included in the hash, and only "label" gets displayed.
2027 bool ImGuiTextFilter::Draw(const char* label, float width)
2031 bool value_changed = ImGui::InputText(label, InputBuf, IM_ARRAYSIZE(InputBuf));
4863 // You can use the "##" or "###" markers to use the same label with different id, or same id with different label. See documentation at the top of this file.
8138 const char* label = window->Name;
8139 if (label == FindRenderedTextEnd(label))
8140 label = GetFallbackWindowNameForWindowingList(window);
8141 Selectable(label, g.NavWindowingTarget == window);
9301 static void NodeDrawList(ImGuiWindow* window, ImDrawList* draw_list, const char* label)
9303 bool node_open = ImGui::TreeNode(draw_list, "%s: '%s' %d vtx, %d indices, %d cmds", label, draw_list->_OwnerName ? draw_list->_OwnerName : "", draw_list->VtxBuffer.Size, draw_list->IdxBuffer.Size, draw_list->CmdBuffer.Size);
9372 static void NodeWindows(ImVector<ImGuiWindow*>& windows, const char* label)
9374 if (!ImGui::TreeNode(label, "%s (%d)", label, windows.Size))
9381 static void NodeWindow(ImGuiWindow* window, const char* label)
9383 if (!ImGui::TreeNode(window, "%s '%s', %d @ 0x%p", label, window->Name, window->Active || window->WasActive, window))