RE: [gtkmm] How to copy Gtk::Widgets?



On Sat, 2003-03-29 at 14:29, Enrico Costanza wrote:
> I might just keep a collection of Gdk::PixBuf and create my Gtk::Images
> from there, but in this way I cannot use polymorphism when I deal with
> different kind of widgets. 
> What I have in mind is (something like):
> 
> Gtk::Widget aWidget = myCollectionOfWidgets[n];

Polymorphism requires pointers or references. That means pointers in a
data collection.

-- 
Murray Cumming
murray usa net
www.murrayc.com




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