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

void SPDesktop::set_active ( bool  new_active )

Set activate property of desktop; emit signal if changed.

Definition at line 572 of file desktop.cpp.

{
    if (new_active != _active) {
        _active = new_active;
        if (new_active) {
            _activate_signal.emit();
        } else {
            _deactivate_signal.emit();
        }
    }
}

Generated by  Doxygen 1.6.0   Back to index