Ben Sprinkle
January 7th, 2007, 06:03 PM
In C++ using gtkmm:
title = file_open_dialog.get_filename().c_str();
set_title(title);
title is a ustring, how can I trim the filename to just show the ending file like hi.txt not /home/hi.txt etc.?
title = file_open_dialog.get_filename().c_str();
set_title(title);
title is a ustring, how can I trim the filename to just show the ending file like hi.txt not /home/hi.txt etc.?