[webkit-gtk] Displaying a specific item in history

Manuel Quiñones manuq at laptop.org
Tue Dec 6 02:52:20 PST 2011


Hi,

I would like to display a specific item in a WebView.

I get it's history doing webkit_web_view_get_back_forward_list () .
Then I use webkit_web_back_forward_list_go_to_item () and the history
is updated, but not the WebView.

Or am I doing wrong and I should use webkit_web_view_go_back () or
webkit_web_view_go_forward () a number of times to get to the item I
want?  It works but it doesn't sound like a good approach.

This is for implementing the storing/restoring of WebView's navigation
history between sessions for the Sugar Browse activity [1].

Thanks,

[1] http://git.sugarlabs.org/browse/
-- 
.. manuq ..


More information about the webkit-gtk mailing list