0

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?

1 Answers1

0

There's Gio::File::replace_contents_async() which will write a string in the form of a const char* or std::string&.

ptomato
  • 56,175
  • 13
  • 112
  • 165