webkit.back_forward_list
Module for [BackForwardList] class
Types 3
List of visited pages.
WebKitBackForwardList maintains a list of visited pages used to navigate to recent pages. Items are inserted in the list in the order they are visited.
WebKitBackForwardList also maintains the notion of the current item (which is always at index 0), the preceding item (which is at index -1), and the following item (which is at index 1). Methods [webkit.web_view.WebView.goBack] and [webkit.web_view.WebView.goForward] move the current item backward or forward by one. Method [webkit.web_view.WebView.goToBackForwardListItem] sets the current item to the specified item. All other methods returning #WebKitBackForwardListItem<!-- -->s do not change the value of the current item, they just return the requested item or items.
BackForwardList self()Returns `this`, for use in `with` statements.BackForwardListGidBuilder builder()Get builder for [webkit.backforwardlist.BackForwardList] Returns: New builder objectwebkit.back_forward_list_item.BackForwardListItem getBackItem()Returns the item that precedes the current item. Returns: the #WebKitBackForwardListItem preceding the current item or null.webkit.back_forward_list_item.BackForwardListItem[] getBackList()Obtain the list of items preceding the current one. Returns: a #GList of items preceding the current item.webkit.back_forward_list_item.BackForwardListItem[] getBackListWithLimit(uint limit)Obtain a list up to some number of items preceding the current one.webkit.back_forward_list_item.BackForwardListItem getCurrentItem()Returns the current item in backforwardlist. Returns: a #WebKitBackForwardListItem or null if backforwardlist is empty.webkit.back_forward_list_item.BackForwardListItem getForwardItem()Returns the item that follows the current item. Returns: the #WebKitBackForwardListItem following the current item or null.webkit.back_forward_list_item.BackForwardListItem[] getForwardList()Obtain the list of items following the current one. Returns: a #GList of items following the current item.webkit.back_forward_list_item.BackForwardListItem[] getForwardListWithLimit(uint limit)Obtain a list up to some number of items following the current one.uint getLength()Obtain the amount of items in the list. Returns: the length of backforwardlist.webkit.back_forward_list_item.BackForwardListItem getNthItem(int index)Returns the item at a given index relative to the current item.gulong connectChanged(T)(T callback, Flag!"After" after = No.After) if (isCallable!T
&& is(ReturnType!T == void)
&& (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] : webkit.back_forward_list_item.BackForwardListItem)))
&& (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] == void *)))
&& (Parameters!T.length < 3 || (ParameterStorageClassTuple!T[2] == ParameterStorageClass.none && is(Parameters!T[2] : webkit.back_forward_list.BackForwardList)))
&& Parameters!T.length < 4)Connect to `Changed` signal.Fluent builder for [webkit.back_forward_list.BackForwardList]