I'm not sure that I totally grok what you are trying to do, so forgive me if this is not helpful. But, you can use the adjustment's values to remember its position (or at least get it close). For an adjustment, adj, you have the following: adj.value (current value), adj.lower (lowest value), adj.higher (highest value), and adj.page_size (how the adjustment breaks up values in pages). So, if you want to remember where you are, and the overall size of your view in that context does not change, you can just save adj.value, and then call adj.set_value(v) to restore the position. Or, you can use all the available values to determine a relative value, if the view is shrinking and growing a lot.
_______________________________________________ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/