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

Method utext

dlib/gui_widgets/widgets.cpp:381–391  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

379 }
380
381 const dlib::ustring label::
382 utext (
383 ) const
384 {
385 auto_mutex M(m);
386 dlib::ustring temp = text_;
387 // do this to get rid of any reference counting that may be present in
388 // the std::string implementation.
389 temp[0] = text_[0];
390 return temp;
391 }
392
393// ----------------------------------------------------------------------------------------
394

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected