Re: gtkmm 3.0: Removing ListHandle, SListHandle, etc
- From: Murray Cumming <murrayc murrayc com>
- To: gtkmm-list <gtkmm-list gnome org>
- Subject: Re: gtkmm 3.0: Removing ListHandle, SListHandle, etc
- Date: Fri, 28 Jan 2011 10:42:31 +0100
On Tue, 2010-05-18 at 21:41 +0200, Murray Cumming wrote:
> In gtkmm 3.0, I'd like to remove the intermediate container types
> because they just confuse people and make it necessary to read the
> documentation:
> http://library.gnome.org/devel/gtkmm-tutorial/unstable/sec-intermediate-types.html.en
>
> So, for instance, Gtk::FileChooser::get_uris() would return a
> std::list<> or std::vector instead of a Glib::SListhandle<>:
> http://library.gnome.org/devel/gtkmm/2.20/classGtk_1_1FileChooser.html#abe7450acc71c70b5f595f9e23224a24e
>
> I think people generally agree with me about this, but I'd like to hear
> about any objections.
>
> Also, should we use std::list or std::vector? I suspect that std::vector
> would be more useful.
Thanks to Krzesimir Nowak this is now done in gtkmm 3. We chose
std::vector.
You'll still see the old *Handle types in glibmm and pangomm, because we
have not done an ABI break there yet.
--
murrayc murrayc com
www.murrayc.com
www.openismus.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]