Re: Regarding creating Directory in gtkmm



A quick search indicates to me that you can construct a Gio::File holding the desired name of the new directory
https://developer.gnome.org/glibmm/stable/classGio_1_1File.html#a1b1a4553b226689d50b9525488223e25

and then call make_directory() to actually create it
https://developer.gnome.org/glibmm/stable/classGio_1_1File.html#abfa05e23e95e77cabac289ab4e294a58

See a real-life example at
https://github.com/synfig/synfig/blob/master/synfig-core/src/synfig/filesystemnative.cpp#L101


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]