Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | None |
Language | Haskell2010 |
No description available in the introspection data.
Synopsis
- newtype SwipeGroup = SwipeGroup (ManagedPtr SwipeGroup)
- class (GObject o, IsDescendantOf SwipeGroup o) => IsSwipeGroup o
- toSwipeGroup :: (MonadIO m, IsSwipeGroup o) => o -> m SwipeGroup
- swipeGroupAddSwipeable :: (HasCallStack, MonadIO m, IsSwipeGroup a, IsSwipeable b) => a -> b -> m ()
- swipeGroupGetSwipeables :: (HasCallStack, MonadIO m, IsSwipeGroup a) => a -> m [Swipeable]
- swipeGroupNew :: (HasCallStack, MonadIO m) => m SwipeGroup
- swipeGroupRemoveSwipeable :: (HasCallStack, MonadIO m, IsSwipeGroup a, IsSwipeable b) => a -> b -> m ()
Exported types
newtype SwipeGroup Source #
Memory-managed wrapper type.
SwipeGroup (ManagedPtr SwipeGroup) |
Instances
Eq SwipeGroup Source # | |
Defined in GI.Handy.Objects.SwipeGroup (==) :: SwipeGroup -> SwipeGroup -> Bool (/=) :: SwipeGroup -> SwipeGroup -> Bool | |
GObject SwipeGroup Source # | |
Defined in GI.Handy.Objects.SwipeGroup | |
ManagedPtrNewtype SwipeGroup Source # | |
Defined in GI.Handy.Objects.SwipeGroup toManagedPtr :: SwipeGroup -> ManagedPtr SwipeGroup | |
TypedObject SwipeGroup Source # | |
Defined in GI.Handy.Objects.SwipeGroup glibType :: IO GType | |
IsGValue SwipeGroup Source # | Convert |
Defined in GI.Handy.Objects.SwipeGroup toGValue :: SwipeGroup -> IO GValue fromGValue :: GValue -> IO SwipeGroup | |
HasParentTypes SwipeGroup Source # | |
Defined in GI.Handy.Objects.SwipeGroup | |
type ParentTypes SwipeGroup Source # | |
Defined in GI.Handy.Objects.SwipeGroup type ParentTypes SwipeGroup = '[Object, Buildable] |
class (GObject o, IsDescendantOf SwipeGroup o) => IsSwipeGroup o Source #
Type class for types which can be safely cast to SwipeGroup
, for instance with toSwipeGroup
.
Instances
(GObject o, IsDescendantOf SwipeGroup o) => IsSwipeGroup o Source # | |
Defined in GI.Handy.Objects.SwipeGroup |
toSwipeGroup :: (MonadIO m, IsSwipeGroup o) => o -> m SwipeGroup Source #
Cast to SwipeGroup
, for types for which this is known to be safe. For general casts, use castTo
.
Methods
Overloaded methods
addSwipeable
swipeGroupAddSwipeable Source #
:: (HasCallStack, MonadIO m, IsSwipeGroup a, IsSwipeable b) | |
=> a |
|
-> b |
|
-> m () |
When the widget is destroyed or no longer referenced elsewhere, it will be removed from the swipe group.
Since: 0.0.12
getSwipeables
swipeGroupGetSwipeables Source #
:: (HasCallStack, MonadIO m, IsSwipeGroup a) | |
=> a |
|
-> m [Swipeable] | Returns: a |
Returns the list of swipeables associated with self
.
Since: 0.0.12
new
:: (HasCallStack, MonadIO m) | |
=> m SwipeGroup | Returns: The newly created |
Create a new SwipeGroup
object.
Since: 0.0.12
removeSwipeable
swipeGroupRemoveSwipeable Source #
:: (HasCallStack, MonadIO m, IsSwipeGroup a, IsSwipeable b) | |
=> a |
|
-> b |
|
-> m () |
Removes a widget from a SwipeGroup
.
Since: 0.0.12