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 |
- Exported types
- Methods
- Unsupported methods
- objectBindProperty
- objectBindPropertyFull
- objectCompatControl
- objectForceFloating
- objectFreezeNotify
- objectGetData
- objectGetProperty
- objectGetQdata
- objectInterfaceFindProperty
- objectInterfaceInstallProperty
- objectIsFloating
- objectNew
- objectNotify
- objectNotifyByPspec
- objectRef
- objectRefSink
- objectReplaceData
- objectReplaceQdata
- objectRunDispose
- objectSetData
- objectSetProperty
- objectStealData
- objectStealQdata
- objectThawNotify
- objectUnref
- objectWatchClosure
- Signals
- newtype Object = Object (ForeignPtr Object)
- class GObject o => ObjectK o
- toObject :: ObjectK o => o -> IO Object
- noObject :: Maybe Object
- data ObjectInterfaceListPropertiesMethodInfo
- data ObjectBindPropertyMethodInfo
- objectBindProperty :: (MonadIO m, ObjectK a, ObjectK b) => a -> Text -> b -> Text -> [BindingFlags] -> m Binding
- data ObjectBindPropertyFullMethodInfo
- objectBindPropertyFull :: (MonadIO m, ObjectK a, ObjectK b) => a -> Text -> b -> Text -> [BindingFlags] -> Closure -> Closure -> m Binding
- objectCompatControl :: MonadIO m => Word64 -> Ptr () -> m Word64
- data ObjectForceFloatingMethodInfo
- objectForceFloating :: (MonadIO m, ObjectK a) => a -> m ()
- data ObjectFreezeNotifyMethodInfo
- objectFreezeNotify :: (MonadIO m, ObjectK a) => a -> m ()
- data ObjectGetDataMethodInfo
- objectGetData :: (MonadIO m, ObjectK a) => a -> Text -> m (Ptr ())
- data ObjectGetPropertyMethodInfo
- objectGetProperty :: (MonadIO m, ObjectK a) => a -> Text -> GValue -> m ()
- data ObjectGetQdataMethodInfo
- objectGetQdata :: (MonadIO m, ObjectK a) => a -> Word32 -> m (Ptr ())
- objectInterfaceFindProperty :: MonadIO m => Ptr () -> Text -> m GParamSpec
- objectInterfaceInstallProperty :: MonadIO m => Ptr () -> GParamSpec -> m ()
- data ObjectIsFloatingMethodInfo
- objectIsFloating :: (MonadIO m, ObjectK a) => a -> m Bool
- objectNew :: MonadIO m => GType -> [Parameter] -> m Object
- data ObjectNotifyMethodInfo
- objectNotify :: (MonadIO m, ObjectK a) => a -> Text -> m ()
- data ObjectNotifyByPspecMethodInfo
- objectNotifyByPspec :: (MonadIO m, ObjectK a) => a -> GParamSpec -> m ()
- data ObjectRefMethodInfo
- objectRef :: (MonadIO m, ObjectK a) => a -> m Object
- data ObjectRefSinkMethodInfo
- objectRefSink :: (MonadIO m, ObjectK a) => a -> m Object
- data ObjectReplaceDataMethodInfo
- objectReplaceData :: (MonadIO m, ObjectK a) => a -> Text -> Ptr () -> Ptr () -> Maybe DestroyNotify -> Maybe DestroyNotify -> m Bool
- data ObjectReplaceQdataMethodInfo
- objectReplaceQdata :: (MonadIO m, ObjectK a) => a -> Word32 -> Ptr () -> Ptr () -> Maybe DestroyNotify -> Maybe DestroyNotify -> m Bool
- data ObjectRunDisposeMethodInfo
- objectRunDispose :: (MonadIO m, ObjectK a) => a -> m ()
- data ObjectSetDataMethodInfo
- objectSetData :: (MonadIO m, ObjectK a) => a -> Text -> Ptr () -> m ()
- data ObjectSetPropertyMethodInfo
- objectSetProperty :: (MonadIO m, ObjectK a) => a -> Text -> GValue -> m ()
- data ObjectStealDataMethodInfo
- objectStealData :: (MonadIO m, ObjectK a) => a -> Text -> m (Ptr ())
- data ObjectStealQdataMethodInfo
- objectStealQdata :: (MonadIO m, ObjectK a) => a -> Word32 -> m (Ptr ())
- data ObjectThawNotifyMethodInfo
- objectThawNotify :: (MonadIO m, ObjectK a) => a -> m ()
- data ObjectUnrefMethodInfo
- objectUnref :: (MonadIO m, ObjectK a) => a -> m ()
- data ObjectWatchClosureMethodInfo
- objectWatchClosure :: (MonadIO m, ObjectK a) => a -> Closure -> m ()
- type ObjectNotifyCallback = GParamSpec -> IO ()
- type ObjectNotifyCallbackC = Ptr () -> Ptr GParamSpec -> Ptr () -> IO ()
- data ObjectNotifySignalInfo
- afterObjectNotify :: (GObject a, MonadIO m) => a -> ObjectNotifyCallback -> m SignalHandlerId
- mkObjectNotifyCallback :: ObjectNotifyCallbackC -> IO (FunPtr ObjectNotifyCallbackC)
- noObjectNotifyCallback :: Maybe ObjectNotifyCallback
- objectNotifyCallbackWrapper :: ObjectNotifyCallback -> Ptr () -> Ptr GParamSpec -> Ptr () -> IO ()
- objectNotifyClosure :: ObjectNotifyCallback -> IO Closure
- onObjectNotify :: (GObject a, MonadIO m) => a -> ObjectNotifyCallback -> m SignalHandlerId
Exported types
GObject Object | |
((~) * info (ResolveObjectMethod t Object), MethodInfo * info Object p) => IsLabelProxy t (Object -> p) | |
type ParentTypes Object | |
type AttributeList Object | |
type SignalList Object |
Methods
Unsupported methods
data ObjectInterfaceListPropertiesMethodInfo Source
((~) * p (), (~) * o (MethodResolutionFailed "interfaceListProperties" Object)) => MethodInfo * ObjectInterfaceListPropertiesMethodInfo o p |
objectBindProperty
data ObjectBindPropertyMethodInfo Source
((~) * signature (Text -> b -> Text -> [BindingFlags] -> m Binding), MonadIO m, ObjectK a, ObjectK b) => MethodInfo * ObjectBindPropertyMethodInfo a signature |
objectBindProperty :: (MonadIO m, ObjectK a, ObjectK b) => a -> Text -> b -> Text -> [BindingFlags] -> m Binding Source
objectBindPropertyFull
data ObjectBindPropertyFullMethodInfo Source
((~) * signature (Text -> b -> Text -> [BindingFlags] -> Closure -> Closure -> m Binding), MonadIO m, ObjectK a, ObjectK b) => MethodInfo * ObjectBindPropertyFullMethodInfo a signature |
objectBindPropertyFull :: (MonadIO m, ObjectK a, ObjectK b) => a -> Text -> b -> Text -> [BindingFlags] -> Closure -> Closure -> m Binding Source
objectCompatControl
objectForceFloating
data ObjectForceFloatingMethodInfo Source
((~) * signature (m ()), MonadIO m, ObjectK a) => MethodInfo * ObjectForceFloatingMethodInfo a signature |
objectForceFloating :: (MonadIO m, ObjectK a) => a -> m () Source
objectFreezeNotify
data ObjectFreezeNotifyMethodInfo Source
((~) * signature (m ()), MonadIO m, ObjectK a) => MethodInfo * ObjectFreezeNotifyMethodInfo a signature |
objectFreezeNotify :: (MonadIO m, ObjectK a) => a -> m () Source
objectGetData
data ObjectGetDataMethodInfo Source
((~) * signature (Text -> m (Ptr ())), MonadIO m, ObjectK a) => MethodInfo * ObjectGetDataMethodInfo a signature |
objectGetProperty
data ObjectGetPropertyMethodInfo Source
((~) * signature (Text -> GValue -> m ()), MonadIO m, ObjectK a) => MethodInfo * ObjectGetPropertyMethodInfo a signature |
objectGetQdata
data ObjectGetQdataMethodInfo Source
((~) * signature (Word32 -> m (Ptr ())), MonadIO m, ObjectK a) => MethodInfo * ObjectGetQdataMethodInfo a signature |
objectInterfaceFindProperty
objectInterfaceFindProperty :: MonadIO m => Ptr () -> Text -> m GParamSpec Source
objectInterfaceInstallProperty
objectInterfaceInstallProperty :: MonadIO m => Ptr () -> GParamSpec -> m () Source
objectIsFloating
data ObjectIsFloatingMethodInfo Source
((~) * signature (m Bool), MonadIO m, ObjectK a) => MethodInfo * ObjectIsFloatingMethodInfo a signature |
objectIsFloating :: (MonadIO m, ObjectK a) => a -> m Bool Source
objectNew
objectNotify
data ObjectNotifyMethodInfo Source
((~) * signature (Text -> m ()), MonadIO m, ObjectK a) => MethodInfo * ObjectNotifyMethodInfo a signature |
objectNotify :: (MonadIO m, ObjectK a) => a -> Text -> m () Source
objectNotifyByPspec
data ObjectNotifyByPspecMethodInfo Source
((~) * signature (GParamSpec -> m ()), MonadIO m, ObjectK a) => MethodInfo * ObjectNotifyByPspecMethodInfo a signature |
objectNotifyByPspec :: (MonadIO m, ObjectK a) => a -> GParamSpec -> m () Source
objectRef
data ObjectRefMethodInfo Source
((~) * signature (m Object), MonadIO m, ObjectK a) => MethodInfo * ObjectRefMethodInfo a signature |
objectRefSink
data ObjectRefSinkMethodInfo Source
((~) * signature (m Object), MonadIO m, ObjectK a) => MethodInfo * ObjectRefSinkMethodInfo a signature |
objectRefSink :: (MonadIO m, ObjectK a) => a -> m Object Source
objectReplaceData
data ObjectReplaceDataMethodInfo Source
((~) * signature (Text -> Ptr () -> Ptr () -> Maybe DestroyNotify -> Maybe DestroyNotify -> m Bool), MonadIO m, ObjectK a) => MethodInfo * ObjectReplaceDataMethodInfo a signature |
objectReplaceData :: (MonadIO m, ObjectK a) => a -> Text -> Ptr () -> Ptr () -> Maybe DestroyNotify -> Maybe DestroyNotify -> m Bool Source
objectReplaceQdata
data ObjectReplaceQdataMethodInfo Source
((~) * signature (Word32 -> Ptr () -> Ptr () -> Maybe DestroyNotify -> Maybe DestroyNotify -> m Bool), MonadIO m, ObjectK a) => MethodInfo * ObjectReplaceQdataMethodInfo a signature |
objectReplaceQdata :: (MonadIO m, ObjectK a) => a -> Word32 -> Ptr () -> Ptr () -> Maybe DestroyNotify -> Maybe DestroyNotify -> m Bool Source
objectRunDispose
data ObjectRunDisposeMethodInfo Source
((~) * signature (m ()), MonadIO m, ObjectK a) => MethodInfo * ObjectRunDisposeMethodInfo a signature |
objectRunDispose :: (MonadIO m, ObjectK a) => a -> m () Source
objectSetData
data ObjectSetDataMethodInfo Source
((~) * signature (Text -> Ptr () -> m ()), MonadIO m, ObjectK a) => MethodInfo * ObjectSetDataMethodInfo a signature |
objectSetProperty
data ObjectSetPropertyMethodInfo Source
((~) * signature (Text -> GValue -> m ()), MonadIO m, ObjectK a) => MethodInfo * ObjectSetPropertyMethodInfo a signature |
objectStealData
data ObjectStealDataMethodInfo Source
((~) * signature (Text -> m (Ptr ())), MonadIO m, ObjectK a) => MethodInfo * ObjectStealDataMethodInfo a signature |
objectStealQdata
data ObjectStealQdataMethodInfo Source
((~) * signature (Word32 -> m (Ptr ())), MonadIO m, ObjectK a) => MethodInfo * ObjectStealQdataMethodInfo a signature |
objectThawNotify
data ObjectThawNotifyMethodInfo Source
((~) * signature (m ()), MonadIO m, ObjectK a) => MethodInfo * ObjectThawNotifyMethodInfo a signature |
objectThawNotify :: (MonadIO m, ObjectK a) => a -> m () Source
objectUnref
data ObjectUnrefMethodInfo Source
((~) * signature (m ()), MonadIO m, ObjectK a) => MethodInfo * ObjectUnrefMethodInfo a signature |
objectUnref :: (MonadIO m, ObjectK a) => a -> m () Source
objectWatchClosure
data ObjectWatchClosureMethodInfo Source
((~) * signature (Closure -> m ()), MonadIO m, ObjectK a) => MethodInfo * ObjectWatchClosureMethodInfo a signature |
objectWatchClosure :: (MonadIO m, ObjectK a) => a -> Closure -> m () Source
Signals
Notify
type ObjectNotifyCallback = GParamSpec -> IO () Source
type ObjectNotifyCallbackC = Ptr () -> Ptr GParamSpec -> Ptr () -> IO () Source
afterObjectNotify :: (GObject a, MonadIO m) => a -> ObjectNotifyCallback -> m SignalHandlerId Source
objectNotifyCallbackWrapper :: ObjectNotifyCallback -> Ptr () -> Ptr GParamSpec -> Ptr () -> IO () Source
onObjectNotify :: (GObject a, MonadIO m) => a -> ObjectNotifyCallback -> m SignalHandlerId Source