Deprecating Gtk::Main



Now that we have Gtk::Application
http://developer.gnome.org/gtkmm/unstable/classGtk_1_1Application.html
I think we should deprecate Gtk::Main:
http://developer.gnome.org/gtkmm/unstable/classGtk_1_1Main.html
It's an easy change in application code. For instance:
http://git.gnome.org/browse/gtkmm-documentation/commit/examples/book/base/base.cc?id=6cff5753413949cd79d5bf27d91b306fe5f9bfc1
though it can do much more.


Note that there was never a GtkMain or any GTK+ equivalent of
Gtk::Main::run(window). However, GtkApplication is like that and more,
which makes Gtk::Application a good replacement for Gtk::Main.

We just need to add some non-Main API to replace Main::pending() and
Main::iteration(). 

-- 
murrayc murrayc com
www.murrayc.com
www.openismus.com



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