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

Glib::RefPtr< Atk::Component > wrap ( AtkComponent *  object,
bool  take_copy = false 
) [related, inherited]

object The C instance
take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref.
A C++ instance that wraps this C instance.

Definition at line 51 of file component.cc.

  return Glib::RefPtr<Atk::Component>( dynamic_cast<Atk::Component*> (Glib::wrap_auto ((GObject*)(object), take_copy)) );
  //We use dynamic_cast<> in case of multiple inheritance.

Generated by  Doxygen 1.6.0   Back to index