Re: Restoring a List View's position
- From: Kevin Ryde <user42 zip com au>
- To: gtk-perl-list gnome org
- Subject: Re: Restoring a List View's position
- Date: Sun, 29 Mar 2009 11:56:11 +1100
Matthew Braid <ptkperl mdb id au> writes:
$pos = $adj->upper - $adj->page_size ## Set the top position correctly
if $pos > $adj->upper - $adj->page_size; # In case the list has shrunk since
I guess $adj->clamp_page is close to that, but doing it after storing
might end up emitting two signals instead of one.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]