On Sat, 2009-03-07 at 14:39 -0500, Hubert Figuiere wrote:
> On 03/07/2009 02:30 PM, Eddie Carle wrote:
> > My question is: is the
> > heavy reliance on dynamic allocation common in the gui toolkit world?
> 
> Qt and QObject heavily relies on dynamic allocation too (see: 
> http://doc.trolltech.com/4.5/object.html ). And Qt is designed for C++, 
> while Gtkmm is constrained somewhat to Gtk+ design.

And both Qt and gtkmm are used in real-world consumer devices.

It's common for all kinds of toolkits. As soon as a problem gets
complicated enough then you need dynamic allocation to handle the
lifetime issues.

I've used a (bad and proprietary) embedded UI toolkit that tried to do
mostly static allocation but this restriction stopped it from evolving
into a good toolkit.

-- 
Murray Cumming
murr...@murrayc.com
www.murrayc.com
www.openismus.com


_______________________________________________
gtkmm-list mailing list
gtkmm-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtkmm-list

Reply via email to