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 #GtkTargetPair is used to represent the same information as a table of #GtkTargetEntry, but in an efficient form.
- newtype TargetPair = TargetPair (ForeignPtr TargetPair)
- newZeroTargetPair :: MonadIO m => m TargetPair
- noTargetPair :: Maybe TargetPair
- targetPairReadFlags :: TargetPair -> IO Word32
- targetPairReadInfo :: TargetPair -> IO Word32
- targetPairReadTarget :: TargetPair -> IO Atom
Exported types
newtype TargetPair Source
((~) * info (ResolveTargetPairMethod t TargetPair), MethodInfo * info TargetPair p) => IsLabel t (TargetPair -> p) Source | |
((~) * info (ResolveTargetPairMethod t TargetPair), MethodInfo * info TargetPair p) => IsLabelProxy t (TargetPair -> p) Source | |
newZeroTargetPair :: MonadIO m => m TargetPair Source
Construct a TargetPair
struct initialized to zero.
Properties
Flags
Info
Target
targetPairReadTarget :: TargetPair -> IO Atom Source