webkit-0.11.0: Binding to the Webkit library.Source codeContentsIndex
Graphics.UI.Gtk.WebKit.WebHistoryItem
Portabilityportable (depends on GHC)
Stabilityprovisional
Maintainergtk2hs-users@lists.sourceforge.net
Contents
Types
Constructors
Attributes
Methods
Description
One item of the WebBackForwardList and or global history
Synopsis
data WebHistoryItem
webHistoryItemNew :: IO WebHistoryItem
webHistoryItemNewWithData :: String -> String -> IO WebHistoryItem
webHistoryItemTitle :: WebHistoryItemClass self => ReadAttr self (Maybe String)
webHistoryItemAlternateTitle :: WebHistoryItemClass self => Attr self (Maybe String)
webHistoryItemUri :: WebHistoryItemClass self => ReadAttr self (Maybe String)
webHistoryItemOriginalUri :: WebHistoryItemClass self => ReadAttr self (Maybe String)
webHistoryItemLastVisitedTime :: WebHistoryItemClass self => ReadAttr self Double
webHistoryItemGetTitle :: WebHistoryItemClass self => self -> IO (Maybe String)
webHistoryItemGetAlternateTitle :: WebHistoryItemClass self => self -> IO (Maybe String)
webHistoryItemSetAlternateTitle :: WebHistoryItemClass self => self -> Maybe String -> IO ()
webHistoryItemGetUri :: WebHistoryItemClass self => self -> IO (Maybe String)
webHistoryItemGetOriginalUri :: WebHistoryItemClass self => self -> IO (Maybe String)
webHistoryItemGetLastVisitedTime :: WebHistoryItemClass self => self -> IO Double
Types
data WebHistoryItem Source
Constructors
webHistoryItemNew :: IO WebHistoryItemSource

Create a new WebHistoryItem instance.

A history item consists out of a title and a uri, it can be part of the WebBackForwardList and the global history.

The global history is used for coloring the links of visited sites. WebHistoryItem constructed with webHistoryItemNew are automatically added to the global history.

webHistoryItemNewWithDataSource
:: Stringuri - the uri of the item
-> Stringtitle - the title of the item
-> IO WebHistoryItem

Create a new WebHistoryItem instance with the given uri and title.

WebHistoryItem constructed with webHistoryItemNewWithData are automatically added to the global history.

Attributes
webHistoryItemTitle :: WebHistoryItemClass self => ReadAttr self (Maybe String)Source

The title of the WebHistoryItem

Default value: Nothing

webHistoryItemAlternateTitle :: WebHistoryItemClass self => Attr self (Maybe String)Source

The alternate title of the history item.

Default value: Nothing

webHistoryItemUri :: WebHistoryItemClass self => ReadAttr self (Maybe String)Source

The URI of the history item.

Default value: Nothing

webHistoryItemOriginalUri :: WebHistoryItemClass self => ReadAttr self (Maybe String)Source

The original URI of the history item.

Default value: Nothing

webHistoryItemLastVisitedTime :: WebHistoryItemClass self => ReadAttr self DoubleSource

The time at which the history item was last visited.

Allowed values: >= 0

Default value: 0

Methods
webHistoryItemGetTitleSource
:: WebHistoryItemClass self
=> selfthe title or Nothing in case failed.
-> IO (Maybe String)
Return the title of WebHistoryItem.
webHistoryItemGetAlternateTitleSource
:: WebHistoryItemClass self
=> selfthe alternate title or Nothing in case failed.
-> IO (Maybe String)
Return the alternate title of WebHistoryItem.
webHistoryItemSetAlternateTitleSource
:: WebHistoryItemClass self
=> selftitle - the alternate title for this history item.
-> Maybe String
-> IO ()
Set an alternate title for WebHistoryItem.
webHistoryItemGetUriSource
:: WebHistoryItemClass self
=> selfthe URI or Nothing in case failed.
-> IO (Maybe String)
Return the URI of WebHistoryItem.
webHistoryItemGetOriginalUriSource
:: WebHistoryItemClass self
=> selfthe URI or Nothing in case failed
-> IO (Maybe String)
Return the original URI of WebHistoryItem.
webHistoryItemGetLastVisitedTimeSource
:: WebHistoryItemClass self
=> selfthe last visited time of this history item.
-> IO Double
Return the last visited time of WebHistoryItem.
Produced by Haddock version 2.6.0