Copyright | Will Thompson, Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
Safe Haskell | None |
Language | Haskell2010 |
A #GtkTargetEntry represents a single type of data than can be supplied for by a widget for a selection or for supplied or received during drag-and-drop.
- newtype TargetEntry = TargetEntry (ForeignPtr TargetEntry)
- newZeroTargetEntry :: MonadIO m => m TargetEntry
- noTargetEntry :: Maybe TargetEntry
- data TargetEntryCopyMethodInfo
- targetEntryCopy :: MonadIO m => TargetEntry -> m TargetEntry
- data TargetEntryFreeMethodInfo
- targetEntryFree :: MonadIO m => TargetEntry -> m ()
- targetEntryNew :: MonadIO m => Text -> Word32 -> Word32 -> m TargetEntry
- targetEntryReadFlags :: TargetEntry -> IO Word32
- targetEntryReadInfo :: TargetEntry -> IO Word32
- targetEntryReadTarget :: TargetEntry -> IO Text
Exported types
newtype TargetEntry Source
BoxedObject TargetEntry Source | |
((~) * info (ResolveTargetEntryMethod t TargetEntry), MethodInfo * info TargetEntry p) => IsLabel t (TargetEntry -> p) Source | |
((~) * info (ResolveTargetEntryMethod t TargetEntry), MethodInfo * info TargetEntry p) => IsLabelProxy t (TargetEntry -> p) Source | |
((~) (TYPE Lifted) signature (m ()), MonadIO m) => MethodInfo (TYPE Lifted) TargetEntryFreeMethodInfo TargetEntry signature Source | |
((~) (TYPE Lifted) signature (m TargetEntry), MonadIO m) => MethodInfo (TYPE Lifted) TargetEntryCopyMethodInfo TargetEntry signature Source | |
newZeroTargetEntry :: MonadIO m => m TargetEntry Source
Construct a TargetEntry
struct initialized to zero.
Methods
targetEntryCopy
data TargetEntryCopyMethodInfo Source
((~) (TYPE Lifted) signature (m TargetEntry), MonadIO m) => MethodInfo (TYPE Lifted) TargetEntryCopyMethodInfo TargetEntry signature Source | |
targetEntryCopy :: MonadIO m => TargetEntry -> m TargetEntry Source
targetEntryFree
data TargetEntryFreeMethodInfo Source
((~) (TYPE Lifted) signature (m ()), MonadIO m) => MethodInfo (TYPE Lifted) TargetEntryFreeMethodInfo TargetEntry signature Source | |
targetEntryFree :: MonadIO m => TargetEntry -> m () Source
targetEntryNew
targetEntryNew :: MonadIO m => Text -> Word32 -> Word32 -> m TargetEntry Source