[gtkmm] how to access the underlying object of a Glib::RefPtr ?



hi
how to access the underlying object of a Glib::RefPtr ?

cause i'd like to copy an object to a refPtr like so :

Glib::RefPtr<Gdk::Bitmap> refBitmap = Gdk::Bitmap::create(window,
data, width, height);
Gdk::Bitmap* underlying = *refBitmap; //Syntax error - will not compile.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]