Logo Search packages:      
Sourcecode: inkscape version File versions  Download package

Glib::ustring Inkscape::Preferences::Entry::getEntryName (  ) const [inline]

Get the last component of the preference's path.

E.g. For "/options/some_group/some_option" it will return "some_option".

Definition at line 612 of file preferences.h.

Referenced by sp_pen_context_set().

{
    Glib::ustring path_base = _pref_path;
    path_base.erase(0, path_base.rfind('/') + 1);
    return path_base;
}

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index