MCPcopy Create free account
hub / github.com/audacity/audacity / IsSection

Function IsSection

libraries/lib-menus/MenuRegistry.h:197–201  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

195
196 template<typename RegistryTraits>
197 static inline bool IsSection(const GroupItem<RegistryTraits> &item) {
198 auto pProperties = dynamic_cast<const ItemProperties *>(&item);
199 return pProperties && pProperties->GetProperties() ==
200 ItemProperties::Section;
201 }
202
203 struct MenuItemData {
204 MenuItemData(TranslatableString title) : mTitle{ std::move(title) } {}

Callers 2

DoBeginGroupMethod · 0.85
DoEndGroupMethod · 0.85

Calls 1

GetPropertiesMethod · 0.45

Tested by

no test coverage detected