MCPcopy Create free account
hub / github.com/davisking/dlib / name

Method name

dlib/gui_widgets/base_widgets.cpp:196–207  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

194// ----------------------------------------------------------------------------------------
195
196 const std::string button::
197 name (
198 ) const
199 {
200 auto_mutex M(m);
201 std::string temp = convert_wstring_to_mbstring(wname());
202 // do this to get rid of any reference counting that may be present in
203 // the std::string implementation.
204 char c = temp[0];
205 temp[0] = c;
206 return temp;
207 }
208
209 const std::wstring button::
210 wname (

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected