Logo Search packages:      
Sourcecode: inkscape version File versions

void SPEventContext::enableGrDrag ( bool  enable = true  )  [inherited]

Enables/disables the SPEventContext's GrDrag.

Definition at line 808 of file event-context.cpp.

                                             {
    if (enable) {
        if (!_grdrag) {
            _grdrag = new GrDrag(desktop);
        }
    } else {
        if (_grdrag) {
            delete _grdrag;
            _grdrag = NULL;
        }
    }
}


Generated by  Doxygen 1.6.0   Back to index