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
- targetEntryFlags :: AttrLabelProxy "flags"
- targetEntryReadFlags :: MonadIO m => TargetEntry -> m Word32
- targetEntryWriteFlags :: MonadIO m => TargetEntry -> Word32 -> m ()
- targetEntryInfo :: AttrLabelProxy "info"
- targetEntryReadInfo :: MonadIO m => TargetEntry -> m Word32
- targetEntryWriteInfo :: MonadIO m => TargetEntry -> Word32 -> m ()
- targetEntryClearTarget :: MonadIO m => TargetEntry -> m ()
- targetEntryReadTarget :: MonadIO m => TargetEntry -> m (Maybe Text)
- targetEntryTarget :: AttrLabelProxy "target"
- targetEntryWriteTarget :: MonadIO m => TargetEntry -> CString -> m ()
Exported types
newtype TargetEntry Source
BoxedObject TargetEntry | |
(~) AttrOpTag tag AttrSet => Constructible TargetEntry tag | |
((~) * signature (m ()), MonadIO m) => MethodInfo * TargetEntryFreeMethodInfo TargetEntry signature | |
((~) * signature (m TargetEntry), MonadIO m) => MethodInfo * TargetEntryCopyMethodInfo TargetEntry signature | |
((~) * info (ResolveTargetEntryMethod t TargetEntry), MethodInfo * info TargetEntry p) => IsLabelProxy t (TargetEntry -> p) | |
type AttributeList TargetEntry |
newZeroTargetEntry :: MonadIO m => m TargetEntry Source
Construct a TargetEntry
struct initialized to zero.
Methods
targetEntryCopy
data TargetEntryCopyMethodInfo Source
((~) * signature (m TargetEntry), MonadIO m) => MethodInfo * TargetEntryCopyMethodInfo TargetEntry signature |
targetEntryCopy :: MonadIO m => TargetEntry -> m TargetEntry Source
targetEntryFree
data TargetEntryFreeMethodInfo Source
((~) * signature (m ()), MonadIO m) => MethodInfo * TargetEntryFreeMethodInfo TargetEntry signature |
targetEntryFree :: MonadIO m => TargetEntry -> m () Source
targetEntryNew
targetEntryNew :: MonadIO m => Text -> Word32 -> Word32 -> m TargetEntry Source
Properties
Flags
targetEntryFlags :: AttrLabelProxy "flags" Source
targetEntryReadFlags :: MonadIO m => TargetEntry -> m Word32 Source
targetEntryWriteFlags :: MonadIO m => TargetEntry -> Word32 -> m () Source
Info
targetEntryInfo :: AttrLabelProxy "info" Source
targetEntryReadInfo :: MonadIO m => TargetEntry -> m Word32 Source
targetEntryWriteInfo :: MonadIO m => TargetEntry -> Word32 -> m () Source
Target
targetEntryClearTarget :: MonadIO m => TargetEntry -> m () Source
targetEntryReadTarget :: MonadIO m => TargetEntry -> m (Maybe Text) Source
targetEntryTarget :: AttrLabelProxy "target" Source
targetEntryWriteTarget :: MonadIO m => TargetEntry -> CString -> m () Source