Logo Search packages:      
Sourcecode: inkscape version File versions

void Inkscape::Extension::Plugin::PrefAdjustment::val_changed ( void   ) 

A function to respond to the value_changed signal from the adjustment.

This function just grabs the value from the adjustment and writes it to the parameter. Very simple, but yet beautiful.

Definition at line 190 of file grid.cpp.

References _ext, _pref, and Inkscape::Extension::Extension::set_param_float().

{
    // std::cout << "Value Changed to: " << this->get_value() << std::endl;
    _ext->set_param_float(_pref, this->get_value());
    return;
}


Generated by  Doxygen 1.6.0   Back to index