Searched refs:pref_path (Results 1 - 5 of 5) sorted by relevance

/inkscape/src/
H A Dpreferences.h297 * @param pref_path Path to the retrieved preference.
300 bool getBool(Glib::ustring const &pref_path, bool def=false) { argument
301 return getEntry(pref_path).getBool(def);
307 * @param pref_path Path to the retrieved preference.
310 int getInt(Glib::ustring const &pref_path, int def=0) { argument
311 return getEntry(pref_path).getInt(def);
320 * @param pref_path Path to the retrieved preference.
325 int getIntLimited(Glib::ustring const &pref_path, int def=0, int min=INT_MIN, int max=INT_MAX) { argument
326 return getEntry(pref_path).getIntLimited(def, min, max);
329 double getDouble(Glib::ustring const &pref_path, doubl argument
345 getDoubleLimited(Glib::ustring const &pref_path, double def=0.0, double min=DBL_MIN, double max=DBL_MAX, Glib::ustring const &unit = �) argument
354 getString(Glib::ustring const &pref_path) argument
363 getUnit(Glib::ustring const &pref_path) argument
367 getColor(Glib::ustring const &pref_path, guint32 def=0x000000ff) argument
377 getStyle(Glib::ustring const &pref_path) argument
391 getInheritedStyle(Glib::ustring const &pref_path) argument
[all...]
H A Dpreferences.cpp412 Preferences::Entry const Preferences::getEntry(Glib::ustring const &pref_path) argument
415 _getRawValue(pref_path, v);
416 return Entry(pref_path, v);
424 * @param pref_path Path of the preference to modify.
427 void Preferences::setBool(Glib::ustring const &pref_path, bool value) argument
432 _setRawValue(pref_path, ( value ? "1" : "0" ));
438 * @param pref_path Path of the preference to modify.
441 void Preferences::setInt(Glib::ustring const &pref_path, int value) argument
443 _setRawValue(pref_path, Glib::ustring::compose("%1",value));
449 * @param pref_path Pat
452 setDouble(Glib::ustring const &pref_path, double value) argument
464 setDoubleUnit(Glib::ustring const &pref_path, double value, Glib::ustring const &unit_abbr) argument
470 setColor(Glib::ustring const &pref_path, guint32 value) argument
483 setString(Glib::ustring const &pref_path, Glib::ustring const &value) argument
488 setStyle(Glib::ustring const &pref_path, SPCSSAttr *style) argument
495 mergeStyle(Glib::ustring const &pref_path, SPCSSAttr *style) argument
509 remove(Glib::ustring const &pref_path) argument
579 _findObserverNode(Glib::ustring const &pref_path, Glib::ustring &node_key, Glib::ustring &attr_key, bool create) argument
848 _keySplit(Glib::ustring const &pref_path, Glib::ustring &node_key, Glib::ustring &attr_key) argument
[all...]
H A Ddesktop.cpp1338 Glib::ustring pref_path = getLayoutPrefPath(this) + toolbar_name + "/state"; local
1340 gboolean visible = prefs->getBool(pref_path, true);
1341 prefs->setBool(pref_path, !visible);
/inkscape/src/extension/
H A Dinit.cpp124 * \param pref_path Preference path to update
129 update_pref(Glib::ustring const &pref_path, argument
132 Glib::ustring pref = Inkscape::Preferences::get()->getString(pref_path);
145 Inkscape::Preferences::get()->setString(pref_path, pref_default);
/inkscape/src/ui/
H A Dinterface.cpp551 Glib::ustring pref_path = getLayoutPrefPath( view ); local
552 pref_path += pref;
553 pref_path += "/state";
557 prefs->setBool(pref_path, checked);
565 Glib::ustring pref_path = getLayoutPrefPath( view ); local
566 pref_path += pref;
567 pref_path += "/state";
570 return prefs->getBool(pref_path, true);

Completed in 203 milliseconds