Logo Search packages:      
Sourcecode: ardour version File versions

template<class T>
void Glib::PropertyProxy< T >::set_value ( const PropertyType &  data  )  [inline]

Set the value of this property.

Parameters:
data The new value for the property.

Definition at line 138 of file propertyproxy.h.

References Glib::ValueBase::init(), and Glib::Value< T >::set().

{
  Glib::Value<T> value;
  value.init(Glib::Value<T>::value_type());

  value.set(data);
  set_property_(value);
}


Generated by  Doxygen 1.6.0   Back to index