On Sun, 2012-12-16 at 11:16 +0100, Kjell Ahlstedt wrote: > 2012-12-15 21:07, Marge Coahran skrev: > > Hello, > > > > I have an application built with gtkmm 2.4, which uses the deprecated > > Ruler class. I have two related questions, one of which may not be right > > for this list, but any help here would be appreciated. > > > > First, is there a recommended way for me to upgrade to gtkmm 3.0 and > > still continue to use the ruler in my application? For example, would it > > work for me to download the most recent Ruler source from somewhere and > > incorporate that into my application? > > > That's what the documentation suggests. You will need the source of both > the C code in gtk+ and the C++ code in gtkmm. You should be able to find > the source code you need in tarballs at > > http://ftp.gnome.org/pub/GNOME/sources/gtk+/2.24/ > http://ftp.gnome.org/pub/GNOME/sources/gtkmm/2.24/
With some effort, I used GimpRuler, with small changes to the C code: http://git.gnome.org/browse/glom/tree/glom/utility_widgets/gimpruler It's generally better anyway. It's LGPL, so you should not copy the code into your project unless your project is LGPL or GPL. Murray Cumming [email protected] www.murrayc.com www.openismus.com _______________________________________________ gtkmm-list mailing list [email protected] https://mail.gnome.org/mailman/listinfo/gtkmm-list
