MCPcopy Create free account
hub / github.com/davidgiven/fluxengine / SetValue

Method SetValue

src/gui/filesystemmodel.cc:127–144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

125 }
126
127 bool SetValue(const wxVariant& value,
128 const wxDataViewItem& item,
129 unsigned column) override
130 {
131 auto node = Find(item);
132 if (!node || node->stub)
133 return false;
134
135 if ((column == 0) && (value.GetType() == "wxDataViewIconText"))
136 {
137 wxDataViewIconText dvit;
138 dvit << value;
139 node->newname = dvit.GetText();
140 return true;
141 }
142
143 return false;
144 }
145
146 unsigned GetChildren(const wxDataViewItem& item,
147 wxDataViewItemArray& children) const override

Callers 14

TextViewerWindowMethod · 0.80
OnGuessClockButtonMethod · 0.80
UpdateExplorerDataMethod · 0.80
SetProgressMethod · 0.80
TextEditorWindowMethod · 0.80
BrowserPanelGenMethod · 0.80
FileViewerWindowMethod · 0.80
UpdateSourcesMethod · 0.80
UpdateFormatOptionsMethod · 0.80
UpdateFilesystemDataMethod · 0.80
OnBrowserSaveButtonMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected