I just could not find any example code to asynchronously write a Glib::ustring (or simply a string for that matter) to a file using glibmm (Gio::File).
Can any one provide an example or link to one?
I just could not find any example code to asynchronously write a Glib::ustring (or simply a string for that matter) to a file using glibmm (Gio::File).
Can any one provide an example or link to one?
There's Gio::File::replace_contents_async()
which will write a string in the form of a const char*
or std::string&
.