Logo Search packages:      
Sourcecode: inkscape version File versions

void Inkscape::Verb::delete_all_view ( SPView *  view  )  [static, inherited]

A function to delete a view from all verbs.

view Which view's actions should be removed.
This function first looks through _base_verbs and deteles the view from all of those views. If _verbs is not empty then all of the entries in that table have all of the views deleted also.

Definition at line 581 of file verbs.cpp.

References Inkscape::Verb::_base_verbs, Inkscape::Verb::_verbs, and Inkscape::Verb::delete_view().

    for (int i = 0; i <= SP_VERB_LAST; i++) {

    if (!_verbs.empty()) {
        for (VerbTable::iterator thisverb = _verbs.begin();
             thisverb != _verbs.end(); thisverb++) {
            Inkscape::Verb * verbpntr = thisverb->second;
            // std::cout << "Delete In Verb: " << verbpntr->_name << std::endl;


Generated by  Doxygen 1.6.0   Back to index