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

Glib::RefPtr< Gdk::Colormap > wrap ( GdkColormap *  object,
bool  take_copy = false 
) [related]

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 48 of file colormap.cc.

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