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

SPCSSAttr* Inkscape::Preferences::getStyle ( Glib::ustring const &  pref_path) [inline]

Retrieve a CSS style.

Parameters:
pref_pathPath to the retrieved preference
Returns:
A CSS style that has to be unrefed after use.

Definition at line 346 of file preferences.h.

References getEntry(), and Inkscape::Preferences::Entry::getStyle().

Referenced by SPDesktop::init(), mergeStyle(), and Inkscape::UI::Widget::StyleSwatch::ToolObserver::notify().

                                                      {
        return getEntry(pref_path).getStyle();
    }

Here is the call graph for this function:

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index