RE: Question concerning changes in Gtk::Adjustment from gtkmm-2.4 vs. gtkmm-3.0



Thanks, Murray. I'll just have my gtkmm-2.4 version go back to my original approach then.

Jim

-----Original Message-----
From: Murray Cumming [mailto:murrayc murrayc com] 
Sent: Friday, January 06, 2012 2:06 PM
To: Tilton, James C. (GSFC-6063)
Cc: gtkmm-list gnome org
Subject: Re: Question concerning changes in Gtk::Adjustment from gtkmm-2.4 vs. gtkmm-3.0

On Fri, 2012-01-06 at 10:14 -0600, Tilton, James C. (GSFC-6063) wrote:
[snip]
> I tried to mimic this in my new gtkmm-2.4 code as follows:
> 
>  
> 
>     Glib::RefPtr<Gtk::Adjustment>
> local_hadjustment((scrolled_Window.get_hadjustment()));
> 
>     Glib::RefPtr<Gtk::Adjustment>
> local_vadjustment((scrolled_Window.get_vadjustment())); 
[snip]

That's just not a good idea. You cannot use Gtk::Adjustment via RefPtr
in gtkmm-2.4.

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



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