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

bool Inkscape::Preferences::getBool ( Glib::ustring const &  pref_path,
bool  def = false 
) [inline]

Retrieve a Boolean value.

Parameters:
pref_pathPath to the retrieved preference
defThe default value to return if the preference is not set

Definition at line 278 of file preferences.h.

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

Referenced by Inkscape::ObjectSnapper::_collectPaths(), SnapManager::_displaySnapsource(), Inkscape::Extension::ErrorFileNotice::ErrorFileNotice(), Inkscape::UI::Dialog::FileSaveDialogImplGtk::FileSaveDialogImplGtk(), Inkscape::Extension::get_file_save_path(), graphlayout(), Inkscape::UI::Dialogs::IconPreviewPanel::IconPreviewPanel(), SPDesktop::init(), Inkscape::UI::View::EditWidget::initStickyZoom(), node_handle_moved(), Inkscape::Extension::ParamBool::ParamBool(), Inkscape::Extension::ErrorFileNotice::run(), sp_canvas_paint_single_buffer(), sp_canvas_realize(), sp_create_window(), sp_desktop_apply_style_tool(), sp_desktop_get_font_size_tool(), sp_desktop_widget_init(), sp_desktop_widget_layout(), sp_dropper_toolbox_prep(), sp_eraser_toolbox_prep(), sp_event_context_private_root_handler(), sp_item_write_transform(), sp_lpetool_toolbox_prep(), sp_nodepath_new(), sp_nodepath_selected_nodes_move(), sp_pen_context_setup(), sp_pencil_context_setup(), sp_selection_set_mask(), sp_svg_write_color(), sp_transientize(), spdc_pen_set_angle_distance_status_message(), and Inkscape::UI::Dialog::Transformation::Transformation().

                                                               {
        return getEntry(pref_path).getBool(def);
    }

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