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 |
GI.WebKit.Objects.BackForwardListItem
Description
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.
Constructors
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 #
Arguments
:: (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 #
Arguments
:: (HasCallStack, MonadIO m, IsBackForwardListItem a) | |
=> a |
|
-> m Text | Returns: an empty string |
Deprecated: (Since version 2.44)
Since 2.44, page titles are no longer stored in history. This function now returns an empty string.
getUri
backForwardListItemGetUri Source #
Arguments
:: (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
.