Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
One item of the BackForwardList
.
A history item is part of the BackForwardList
and consists
out of a title and a URI.
Synopsis
- newtype BackForwardListItem = BackForwardListItem (ManagedPtr BackForwardListItem)
- class (GObject o, IsDescendantOf BackForwardListItem o) => IsBackForwardListItem o
- toBackForwardListItem :: (MonadIO m, IsBackForwardListItem o) => o -> m BackForwardListItem
- backForwardListItemGetOriginalUri :: (HasCallStack, MonadIO m, IsBackForwardListItem a) => a -> m Text
- backForwardListItemGetTitle :: (HasCallStack, MonadIO m, IsBackForwardListItem a) => a -> m Text
- backForwardListItemGetUri :: (HasCallStack, MonadIO m, IsBackForwardListItem a) => a -> m Text
Exported types
newtype BackForwardListItem Source #
Memory-managed wrapper type.
BackForwardListItem (ManagedPtr BackForwardListItem) |
Instances
class (GObject o, IsDescendantOf BackForwardListItem o) => IsBackForwardListItem o Source #
Type class for types which can be safely cast to BackForwardListItem
, for instance with toBackForwardListItem
.
Instances
(GObject o, IsDescendantOf BackForwardListItem o) => IsBackForwardListItem o Source # | |
Defined in GI.WebKit.Objects.BackForwardListItem |
toBackForwardListItem :: (MonadIO m, IsBackForwardListItem o) => o -> m BackForwardListItem Source #
Cast to BackForwardListItem
, for types for which this is known to be safe. For general casts, use castTo
.
Methods
Click to display all available methods, including inherited ones
Methods
bindProperty, bindPropertyFull, forceFloating, freezeNotify, getv, isFloating, notify, notifyByPspec, ref, refSink, runDispose, stealData, stealQdata, thawNotify, unref, watchClosure.
Getters
getData, getOriginalUri, getProperty, getQdata, getTitle, getUri.
Setters
getOriginalUri
backForwardListItemGetOriginalUri Source #
:: (HasCallStack, MonadIO m, IsBackForwardListItem a) | |
=> a |
|
-> m Text | Returns: the original URI of |
Obtain the original URI of the item.
See also backForwardListItemGetUri
.
getTitle
backForwardListItemGetTitle Source #
:: (HasCallStack, MonadIO m, IsBackForwardListItem a) | |
=> a |
|
-> m Text | Returns: the page title of |
Obtain the title of the item.
getUri
backForwardListItemGetUri Source #
:: (HasCallStack, MonadIO m, IsBackForwardListItem a) | |
=> a |
|
-> m Text | Returns: the URI of |
Obtain the URI of the item.
This URI may differ from the original URI if the page was,
for example, redirected to a new location.
See also backForwardListItemGetOriginalUri
.