Maintainer | gtk2hs-users@lists.sourceforge.net |
---|---|
Stability | provisional |
Portability | portable (depends on GHC) |
Safe Haskell | None |
Language | Haskell98 |
One item of the WebBackForwardList
and or global history
- data WebHistoryItem
- class GObjectClass o => WebHistoryItemClass o
- webHistoryItemNew :: IO WebHistoryItem
- webHistoryItemNewWithData :: GlibString string => string -> string -> IO WebHistoryItem
- webHistoryItemTitle :: (WebHistoryItemClass self, GlibString string) => ReadAttr self (Maybe string)
- webHistoryItemAlternateTitle :: (WebHistoryItemClass self, GlibString string) => Attr self (Maybe string)
- webHistoryItemUri :: (WebHistoryItemClass self, GlibString string) => ReadAttr self (Maybe string)
- webHistoryItemOriginalUri :: (WebHistoryItemClass self, GlibString string) => ReadAttr self (Maybe string)
- webHistoryItemLastVisitedTime :: WebHistoryItemClass self => ReadAttr self Double
- webHistoryItemGetTitle :: (WebHistoryItemClass self, GlibString string) => self -> IO (Maybe string)
- webHistoryItemGetAlternateTitle :: (WebHistoryItemClass self, GlibString string) => self -> IO (Maybe string)
- webHistoryItemSetAlternateTitle :: (WebHistoryItemClass self, GlibString string) => self -> Maybe string -> IO ()
- webHistoryItemGetUri :: (WebHistoryItemClass self, GlibString string) => self -> IO (Maybe string)
- webHistoryItemGetOriginalUri :: (WebHistoryItemClass self, GlibString string) => self -> IO (Maybe string)
- webHistoryItemGetLastVisitedTime :: WebHistoryItemClass self => self -> IO Double
- webHistoryItemCopy :: WebHistoryItemClass self => self -> IO WebHistoryItem
Description
A history item consists out of a title and a uri. It can be part of the WebKitWebBackForwardList and
the global history. The global history is used for coloring the links of visited
sites. WebKitWebHistoryItem's constructed with webHistoryItemNew
and
webHistoryItemNewWithData
are automatically added to the global history.
Types
data WebHistoryItem Source
Constructors
webHistoryItemNew :: IO WebHistoryItem Source
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.
webHistoryItemNewWithData Source
:: GlibString string | |
=> string |
|
-> string |
|
-> 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, GlibString string) => ReadAttr self (Maybe string) Source
The title of the WebHistoryItem
Default value: Nothing
webHistoryItemAlternateTitle :: (WebHistoryItemClass self, GlibString string) => Attr self (Maybe string) Source
The alternate title of the history item.
Default value: Nothing
webHistoryItemUri :: (WebHistoryItemClass self, GlibString string) => ReadAttr self (Maybe string) Source
The URI of the history item.
Default value: Nothing
webHistoryItemOriginalUri :: (WebHistoryItemClass self, GlibString string) => ReadAttr self (Maybe string) Source
The original URI of the history item.
Default value: Nothing
webHistoryItemLastVisitedTime :: WebHistoryItemClass self => ReadAttr self Double Source
The time at which the history item was last visited.
Allowed values: >= 0
Default value: 0
Methods
:: (WebHistoryItemClass self, GlibString string) | |
=> self | |
-> IO (Maybe string) | the title or |
Return the title of WebHistoryItem
.
webHistoryItemGetAlternateTitle Source
:: (WebHistoryItemClass self, GlibString string) | |
=> self | |
-> IO (Maybe string) | the alternate title or |
Return the alternate title of WebHistoryItem.
webHistoryItemSetAlternateTitle Source
:: (WebHistoryItemClass self, GlibString string) | |
=> self | |
-> Maybe string |
|
-> IO () |
Set an alternate title for WebHistoryItem.
:: (WebHistoryItemClass self, GlibString string) | |
=> self | |
-> IO (Maybe string) | the URI or |
Return the URI of WebHistoryItem.
webHistoryItemGetOriginalUri Source
:: (WebHistoryItemClass self, GlibString string) | |
=> self | |
-> IO (Maybe string) | the URI or |
Return the original URI of WebHistoryItem.
webHistoryItemGetLastVisitedTime Source
:: WebHistoryItemClass self | |
=> self | |
-> IO Double | the last visited time of this history item. |
Return the last visited time of WebHistoryItem.
webHistoryItemCopy :: WebHistoryItemClass self => self -> IO WebHistoryItem Source
Makes a copy of the item for use with other WebView objects.
- Since 1.1.18