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

Method OnCellClicked

src/PluginDataViewCtrl.cpp:169–181  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

167
168private:
169 bool OnCellClicked(const wxRect&,
170 wxDataViewModel* model,
171 const wxDataViewItem& item,
172 unsigned col,
173 const wxMouseEvent*) override
174 {
175 if(!mValue.IsNull())
176 {
177 model->ChangeValue(!mValue.GetBool(), item, col);
178 return true;
179 }
180 return false;
181 }
182};
183#else
184class PluginDataViewStateRenderer final : public wxDataViewToggleRenderer

Callers

nothing calls this directly

Calls 2

IsNullMethod · 0.80
GetBoolMethod · 0.80

Tested by

no test coverage detected