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

Method GetValue

src/widgets/MeterPanel.cpp:2200–2211  ·  view source on GitHub ↗

Returns a localized string representing the value for the object or child.

Source from the content-addressed store, hash-verified

2198// Returns a localized string representing the value for the object
2199// or child.
2200wxAccStatus MeterAx::GetValue(int WXUNUSED(childId), wxString* strValue)
2201{
2202 MeterPanel *m = wxDynamicCast(GetWindow(), MeterPanel);
2203
2204 if (!m || !m->mSlider)
2205 {
2206 return wxACC_NOT_IMPLEMENTED;
2207 }
2208
2209 *strValue = m->mSlider->GetStringValue();
2210 return wxACC_OK;
2211}
2212
2213#endif

Callers 1

OnPreferencesMethod · 0.45

Calls 1

GetStringValueMethod · 0.45

Tested by

no test coverage detected