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

Method SetValue

src/PluginDataModel.cpp:268–280  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

266}
267
268bool PluginDataModel::SetValue(const wxVariant& variant, const wxDataViewItem& item, unsigned col)
269{
270 if(col == ColumnState)
271 {
272 const auto index = GetRowIndex(item);
273 if(index < mPluginStateModel.size())
274 {
275 mPluginStateModel[index].second = variant.GetBool();
276 return true;
277 }
278 }
279 return false;
280}
281
282wxDataViewItem PluginDataModel::GetParent(const wxDataViewItem& item) const
283{

Callers 15

OnItemSelectedMethod · 0.45
OnEditParamsMethod · 0.45
OnUsePresetMethod · 0.45
SetCommandAndParamsMethod · 0.45
SetPluginsMethod · 0.45
UpdateStartMethod · 0.45
OnTimeText_StartMethod · 0.45
OnDatePicker_EndMethod · 0.45
OnTimeText_EndMethod · 0.45
UpdateTextBoxControlsMethod · 0.45
PopulateOrExchangeMethod · 0.45

Calls 3

GetRowIndexFunction · 0.85
GetBoolMethod · 0.80
sizeMethod · 0.45

Tested by 2

UpdateControlsMethod · 0.36
OnBrushButtonMethod · 0.36