Re: Re: Deprecating Gtk::Main



Application.h is missing from gtkmm 3.0 right now, I assume it'll be put back in in later releases of your distro.

http://osdir.com/ml/commits.gnome/2011-11/msg06140.html

I spent all yesterday infact trying to understand what the situation is.

On , Andy Gilman <amgilman myfairpoint net> wrote:
> I am not sure how to get the header file.  When I #include , I receive a fatal error, so it is clearly not part of my existing library.  Is there a library update?  Can I download the file separately?
>
>
>
> Thanks.
>
>
>
> Andy Gilman
>
>
>
> On 12-03-02 04:12 PM, Murray Cumming wrote:
>
>
> 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().
>
>
>
>
> _______________________________________________
>
> gtkmm-list mailing list
>
> gtkmm-list gnome org
>
> http://mail.gnome.org/mailman/listinfo/gtkmm-list
>
>

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