[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gtkmm
Subject:    Re: [gtkmm] Scrolled Window
From:       Paul Davis <pbd () Op ! Net>
Date:       2002-01-25 16:51:16
[Download RAW message or body]

>> >     wnd . set_vadjustment( s -> get_vadjustment( ));
>> >     wnd . set_hadjustment( s -> get_hadjustment( ));

this can be deeply dangerous. the GTK+ 1.2 scrolled window does not
correctly handle having vadjustment+hadjustment set in this way, and
at configure time for the widget, you can get an infinite loop as the
window, and the adjustments, and the adjustment owners all try to
balance their sizes. 

its not normally necessary, but it sometimes takes a little while to
figure out the alternative.

--p


_______________________________________________
to unsubscribe or change your subscription parameters :
https://lists.sourceforge.net/lists/listinfo/gtkmm-main
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic