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 |
No description available in the introspection data.
Synopsis
- newtype BackForwardList = BackForwardList (ManagedPtr BackForwardList)
- class (GObject o, IsDescendantOf BackForwardList o) => IsBackForwardList o
- toBackForwardList :: (MonadIO m, IsBackForwardList o) => o -> m BackForwardList
- backForwardListGetBackItem :: (HasCallStack, MonadIO m, IsBackForwardList a) => a -> m (Maybe BackForwardListItem)
- backForwardListGetBackList :: (HasCallStack, MonadIO m, IsBackForwardList a) => a -> m [BackForwardListItem]
- backForwardListGetBackListWithLimit :: (HasCallStack, MonadIO m, IsBackForwardList a) => a -> Word32 -> m [BackForwardListItem]
- backForwardListGetCurrentItem :: (HasCallStack, MonadIO m, IsBackForwardList a) => a -> m (Maybe BackForwardListItem)
- backForwardListGetForwardItem :: (HasCallStack, MonadIO m, IsBackForwardList a) => a -> m (Maybe BackForwardListItem)
- backForwardListGetForwardList :: (HasCallStack, MonadIO m, IsBackForwardList a) => a -> m [BackForwardListItem]
- backForwardListGetForwardListWithLimit :: (HasCallStack, MonadIO m, IsBackForwardList a) => a -> Word32 -> m [BackForwardListItem]
- backForwardListGetLength :: (HasCallStack, MonadIO m, IsBackForwardList a) => a -> m Word32
- backForwardListGetNthItem :: (HasCallStack, MonadIO m, IsBackForwardList a) => a -> Int32 -> m (Maybe BackForwardListItem)
- type BackForwardListChangedCallback = Maybe BackForwardListItem -> Ptr () -> IO ()
- afterBackForwardListChanged :: (IsBackForwardList a, MonadIO m) => a -> ((?self :: a) => BackForwardListChangedCallback) -> m SignalHandlerId
- onBackForwardListChanged :: (IsBackForwardList a, MonadIO m) => a -> ((?self :: a) => BackForwardListChangedCallback) -> m SignalHandlerId
Exported types
newtype BackForwardList Source #
Memory-managed wrapper type.
Instances
Eq BackForwardList Source # | |
Defined in GI.WebKit2.Objects.BackForwardList (==) :: BackForwardList -> BackForwardList -> Bool # (/=) :: BackForwardList -> BackForwardList -> Bool # | |
GObject BackForwardList Source # | |
Defined in GI.WebKit2.Objects.BackForwardList | |
ManagedPtrNewtype BackForwardList Source # | |
Defined in GI.WebKit2.Objects.BackForwardList | |
TypedObject BackForwardList Source # | |
Defined in GI.WebKit2.Objects.BackForwardList | |
HasParentTypes BackForwardList Source # | |
Defined in GI.WebKit2.Objects.BackForwardList | |
IsGValue (Maybe BackForwardList) Source # | Convert |
Defined in GI.WebKit2.Objects.BackForwardList gvalueGType_ :: IO GType # gvalueSet_ :: Ptr GValue -> Maybe BackForwardList -> IO () # gvalueGet_ :: Ptr GValue -> IO (Maybe BackForwardList) # | |
type ParentTypes BackForwardList Source # | |
Defined in GI.WebKit2.Objects.BackForwardList |
class (GObject o, IsDescendantOf BackForwardList o) => IsBackForwardList o Source #
Type class for types which can be safely cast to BackForwardList
, for instance with toBackForwardList
.
Instances
(GObject o, IsDescendantOf BackForwardList o) => IsBackForwardList o Source # | |
Defined in GI.WebKit2.Objects.BackForwardList |
toBackForwardList :: (MonadIO m, IsBackForwardList o) => o -> m BackForwardList Source #
Cast to BackForwardList
, 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
getBackItem, getBackList, getBackListWithLimit, getCurrentItem, getData, getForwardItem, getForwardList, getForwardListWithLimit, getLength, getNthItem, getProperty, getQdata.
Setters
getBackItem
backForwardListGetBackItem Source #
:: (HasCallStack, MonadIO m, IsBackForwardList a) | |
=> a |
|
-> m (Maybe BackForwardListItem) | Returns: the |
Returns the item that precedes the current item.
getBackList
backForwardListGetBackList Source #
:: (HasCallStack, MonadIO m, IsBackForwardList a) | |
=> a |
|
-> m [BackForwardListItem] | Returns: a |
No description available in the introspection data.
getBackListWithLimit
backForwardListGetBackListWithLimit Source #
:: (HasCallStack, MonadIO m, IsBackForwardList a) | |
=> a |
|
-> Word32 |
|
-> m [BackForwardListItem] | Returns: a |
No description available in the introspection data.
getCurrentItem
backForwardListGetCurrentItem Source #
:: (HasCallStack, MonadIO m, IsBackForwardList a) | |
=> a |
|
-> m (Maybe BackForwardListItem) | Returns: a |
Returns the current item in backForwardList
.
getForwardItem
backForwardListGetForwardItem Source #
:: (HasCallStack, MonadIO m, IsBackForwardList a) | |
=> a |
|
-> m (Maybe BackForwardListItem) | Returns: the |
Returns the item that follows the current item.
getForwardList
backForwardListGetForwardList Source #
:: (HasCallStack, MonadIO m, IsBackForwardList a) | |
=> a |
|
-> m [BackForwardListItem] | Returns: a |
No description available in the introspection data.
getForwardListWithLimit
backForwardListGetForwardListWithLimit Source #
:: (HasCallStack, MonadIO m, IsBackForwardList a) | |
=> a |
|
-> Word32 |
|
-> m [BackForwardListItem] | Returns: a |
No description available in the introspection data.
getLength
backForwardListGetLength Source #
:: (HasCallStack, MonadIO m, IsBackForwardList a) | |
=> a |
|
-> m Word32 | Returns: the length of |
No description available in the introspection data.
getNthItem
backForwardListGetNthItem Source #
:: (HasCallStack, MonadIO m, IsBackForwardList a) | |
=> a |
|
-> Int32 |
|
-> m (Maybe BackForwardListItem) | Returns: the |
Returns the item at a given index relative to the current item.
Signals
changed
type BackForwardListChangedCallback Source #
= Maybe BackForwardListItem |
|
-> Ptr () |
|
-> IO () |
This signal is emitted when backForwardList
changes. This happens
when the current item is updated, a new item is added or one or more
items are removed. Note that both itemAdded
and itemsRemoved
can
Nothing
when only the current item is updated. Items are only removed
when the list is cleared or the maximum items limit is reached.
afterBackForwardListChanged :: (IsBackForwardList a, MonadIO m) => a -> ((?self :: a) => BackForwardListChangedCallback) -> m SignalHandlerId Source #
Connect a signal handler for the changed signal, to be run after the default handler. When overloading is enabled, this is equivalent to
after
backForwardList #changed callback
By default the object invoking the signal is not passed to the callback.
If you need to access it, you can use the implit ?self
parameter.
Note that this requires activating the ImplicitParams
GHC extension.
onBackForwardListChanged :: (IsBackForwardList a, MonadIO m) => a -> ((?self :: a) => BackForwardListChangedCallback) -> m SignalHandlerId Source #
Connect a signal handler for the changed signal, to be run before the default handler. When overloading is enabled, this is equivalent to
on
backForwardList #changed callback