Logo Search packages:      
Sourcecode: ardour version File versions

Glib::RefPtr< Gdk::Drawable > wrap ( GdkDrawable *  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 86 of file drawable.cc.

  return Glib::RefPtr<Gdk::Drawable>( dynamic_cast<Gdk::Drawable*> (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