string relative_file(filename);

Use this method to get an absolute pathname corresponding to a relative pathname specified by the filename passed. The method uses the directory of the XML file with which the GladeXML object is associated, as the base.

If filename is an absolute pathname, then the original filename is returned.