[gtkmm] RefPtr



Hello all,

When I have a RefPtr to a Widget how do I add() that to a container? 
For example;

RefPtr< Foo > p = Foo::create();


Gtk::Frame f;


f->add( *p ); <--- ????? (how can i do something like this )

where Foo is a class derived from some Gtk Widget. 

TIA,
Erwin

-- 
              Dipl.-Ing. Erwin Rol - Software Engineering
tel: +49-(0)8024-479377  gsm: +49-(0)171-6929198 fax: +49-(0)8024-479379
                        email: erwin muffin org

Attachment: signature.asc
Description: This is a digitally signed message part



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