Logo Search packages:      
Sourcecode: ardour version File versions

void Glib::ValueBase::init ( GType  type  )  [inherited]

Setup the GValue for storing the specified type. The contents will be initialized to the default value for this type. Note that init() should never be called twice.

init() is not implemented as constructor, to avoid the necessity to implement a forward constructor in each derived class.

Definition at line 37 of file value.cc.

Referenced by Glib::PropertyProxy< T >::get_value(), and Glib::PropertyProxy< T >::set_value().

{
  g_value_init(&gobject_, type);
}


Generated by  Doxygen 1.6.0   Back to index