webkit-0.12.5.1: Binding to the Webkit library.

Portabilityportable (depends on GHC)
Stabilityprovisional
Maintainergtk2hs-users@lists.sourceforge.net
Safe HaskellNone

Graphics.UI.Gtk.WebKit.WebBackForwardList

Contents

Description

The history of a WebView

Synopsis

Types

Constructors

webBackForwardListNewWithWebView :: WebViewClass webview => webview -> IO WebBackForwardListSource

Create an WebBackForwardList with a controlling WebView.

Methods

webBackForwardListGoForward :: WebBackForwardListClass self => self -> IO ()Source

Steps forward in the back forward list.

webBackForwardListGoBack :: WebBackForwardListClass self => self -> IO ()Source

Steps back in the back forward list.

webBackForwardListContainsItem :: (WebBackForwardListClass self, WebHistoryItemClass item) => self -> item -> IO BoolSource

Check if an history item in the back forward list.

webBackForwardListGoToItem :: (WebBackForwardListClass self, WebHistoryItemClass item) => self -> item -> IO ()Source

Go to the specified history item in the back forward list.

webBackForwardListGetBackItemSource

Arguments

:: WebBackForwardListClass self 
=> self 
-> IO (Maybe WebHistoryItem)

A WebHistoryItem or Nothing if there is nothing precedes the current item.

Return the history item that precedes the current history item.

webBackForwardListGetCurrentItem :: WebBackForwardListClass self => self -> IO WebHistoryItemSource

Return the current history item of the back forward list

webBackForwardListGetForwardItemSource

Arguments

:: WebBackForwardListClass self 
=> self 
-> IO (Maybe WebHistoryItem)

A WebHistoryItem or Nothing if there is nothing succeeds the current item.

Return the item that succeeds the current item

webBackForwardListGetNthItemSource

Arguments

:: WebBackForwardListClass self 
=> self

webbackforwardlist - a WebBackForwardList

-> Int

index - the index of the item

-> IO WebHistoryItem 

Return the history item at a given index relative to the current item.

webBackForwardListGetBackLength :: WebBackForwardListClass self => self -> IO IntSource

Return the number of items that preced the current item.

webBackForwardListGetForwardLength :: WebBackForwardListClass self => self -> IO IntSource

Return the number of items that succeed the current item.

webBackForwardListGetLimit :: WebBackForwardListClass self => self -> IO IntSource

Return the maximum limit of the back forward list.

webBackForwardListSetLimit :: WebBackForwardListClass self => self -> Int -> IO ()Source

Set the maximum limit of the back forward list.

if the back forward list exceeds its capacity, items will be removed everytime a new item had been added.

webBackForwardListAddItem :: (WebBackForwardListClass self, WebHistoryItemClass item) => self -> item -> IO ()Source

Add the item to the back forward list.

webBackForwardListGetForwardListWithLimitSource

Arguments

:: WebBackForwardListClass self 
=> self 
-> Int

the number of items to retrieve

-> IO [WebHistoryItem]

a List of items succeeding the current item, limited by limit.

Return a list of items that succeed the current item, limited by limit.

webBackForwardListGetBackListWithLimitSource

Arguments

:: WebBackForwardListClass self 
=> self 
-> Int

the number of items to retrieve

-> IO [WebHistoryItem]

a List of items preceding the current item, limited by limit

Return a list of items that preced the current item. limited by limit.