| 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 |
GI.Atk.Interfaces.Component
Contents
Description
- newtype Component = Component (ForeignPtr Component)
- noComponent :: Maybe Component
- class ForeignPtrNewtype a => IsComponent a
- data ComponentContainsMethodInfo
- componentContains :: (MonadIO m, IsComponent a) => a -> Int32 -> Int32 -> CoordType -> m Bool
- data ComponentGetAlphaMethodInfo
- componentGetAlpha :: (MonadIO m, IsComponent a) => a -> m Double
- data ComponentGetExtentsMethodInfo
- componentGetExtents :: (MonadIO m, IsComponent a) => a -> Int32 -> Int32 -> Int32 -> Int32 -> CoordType -> m ()
- data ComponentGetLayerMethodInfo
- componentGetLayer :: (MonadIO m, IsComponent a) => a -> m Layer
- data ComponentGetMdiZorderMethodInfo
- componentGetMdiZorder :: (MonadIO m, IsComponent a) => a -> m Int32
- data ComponentGetPositionMethodInfo
- componentGetPosition :: (MonadIO m, IsComponent a) => a -> Int32 -> Int32 -> CoordType -> m ()
- data ComponentGetSizeMethodInfo
- componentGetSize :: (MonadIO m, IsComponent a) => a -> Int32 -> Int32 -> m ()
- data ComponentGrabFocusMethodInfo
- componentGrabFocus :: (MonadIO m, IsComponent a) => a -> m Bool
- data ComponentRefAccessibleAtPointMethodInfo
- componentRefAccessibleAtPoint :: (MonadIO m, IsComponent a) => a -> Int32 -> Int32 -> CoordType -> m (Maybe Object)
- data ComponentRemoveFocusHandlerMethodInfo
- componentRemoveFocusHandler :: (MonadIO m, IsComponent a) => a -> Word32 -> m ()
- data ComponentSetExtentsMethodInfo
- componentSetExtents :: (MonadIO m, IsComponent a) => a -> Int32 -> Int32 -> Int32 -> Int32 -> CoordType -> m Bool
- data ComponentSetPositionMethodInfo
- componentSetPosition :: (MonadIO m, IsComponent a) => a -> Int32 -> Int32 -> CoordType -> m Bool
- data ComponentSetSizeMethodInfo
- componentSetSize :: (MonadIO m, IsComponent a) => a -> Int32 -> Int32 -> m Bool
- type ComponentBoundsChangedCallback = Rectangle -> IO ()
- type ComponentBoundsChangedCallbackC = Ptr () -> Ptr Rectangle -> Ptr () -> IO ()
- data ComponentBoundsChangedSignalInfo
- afterComponentBoundsChanged :: (GObject a, MonadIO m) => a -> ComponentBoundsChangedCallback -> m SignalHandlerId
- componentBoundsChangedCallbackWrapper :: ComponentBoundsChangedCallback -> Ptr () -> Ptr Rectangle -> Ptr () -> IO ()
- componentBoundsChangedClosure :: ComponentBoundsChangedCallback -> IO Closure
- mkComponentBoundsChangedCallback :: ComponentBoundsChangedCallbackC -> IO (FunPtr ComponentBoundsChangedCallbackC)
- noComponentBoundsChangedCallback :: Maybe ComponentBoundsChangedCallback
- onComponentBoundsChanged :: (GObject a, MonadIO m) => a -> ComponentBoundsChangedCallback -> m SignalHandlerId
Exported types
Constructors
| Component (ForeignPtr Component) |
Instances
| IsComponent Component Source # | |
| ((~) * info (ResolveComponentMethod t Component), MethodInfo * info Component p) => IsLabel t (Component -> p) Source # | |
| ((~) * info (ResolveComponentMethod t Component), MethodInfo * info Component p) => IsLabelProxy t (Component -> p) Source # | |
| HasAttributeList * Component Source # | |
| type SignalList Component Source # | |
| type AttributeList Component Source # | |
class ForeignPtrNewtype a => IsComponent a Source #
Methods
componentContains
componentContains :: (MonadIO m, IsComponent a) => a -> Int32 -> Int32 -> CoordType -> m Bool Source #
componentGetAlpha
data ComponentGetAlphaMethodInfo Source #
Instances
| ((~) * signature (m Double), MonadIO m, IsComponent a) => MethodInfo * ComponentGetAlphaMethodInfo a signature Source # | |
componentGetAlpha :: (MonadIO m, IsComponent a) => a -> m Double Source #
componentGetExtents
componentGetExtents :: (MonadIO m, IsComponent a) => a -> Int32 -> Int32 -> Int32 -> Int32 -> CoordType -> m () Source #
componentGetLayer
data ComponentGetLayerMethodInfo Source #
Instances
| ((~) * signature (m Layer), MonadIO m, IsComponent a) => MethodInfo * ComponentGetLayerMethodInfo a signature Source # | |
componentGetLayer :: (MonadIO m, IsComponent a) => a -> m Layer Source #
componentGetMdiZorder
data ComponentGetMdiZorderMethodInfo Source #
Instances
| ((~) * signature (m Int32), MonadIO m, IsComponent a) => MethodInfo * ComponentGetMdiZorderMethodInfo a signature Source # | |
componentGetMdiZorder :: (MonadIO m, IsComponent a) => a -> m Int32 Source #
componentGetPosition
data ComponentGetPositionMethodInfo Source #
Instances
| ((~) * signature (Int32 -> Int32 -> CoordType -> m ()), MonadIO m, IsComponent a) => MethodInfo * ComponentGetPositionMethodInfo a signature Source # | |
componentGetPosition :: (MonadIO m, IsComponent a) => a -> Int32 -> Int32 -> CoordType -> m () Source #
Deprecated: Since 2.12. Use atk_component_get_extents() instead.
componentGetSize
data ComponentGetSizeMethodInfo Source #
Instances
| ((~) * signature (Int32 -> Int32 -> m ()), MonadIO m, IsComponent a) => MethodInfo * ComponentGetSizeMethodInfo a signature Source # | |
componentGetSize :: (MonadIO m, IsComponent a) => a -> Int32 -> Int32 -> m () Source #
Deprecated: Since 2.12. Use atk_component_get_extents() instead.
componentGrabFocus
data ComponentGrabFocusMethodInfo Source #
Instances
| ((~) * signature (m Bool), MonadIO m, IsComponent a) => MethodInfo * ComponentGrabFocusMethodInfo a signature Source # | |
componentGrabFocus :: (MonadIO m, IsComponent a) => a -> m Bool Source #
componentRefAccessibleAtPoint
componentRefAccessibleAtPoint :: (MonadIO m, IsComponent a) => a -> Int32 -> Int32 -> CoordType -> m (Maybe Object) Source #
componentRemoveFocusHandler
data ComponentRemoveFocusHandlerMethodInfo Source #
Instances
| ((~) * signature (Word32 -> m ()), MonadIO m, IsComponent a) => MethodInfo * ComponentRemoveFocusHandlerMethodInfo a signature Source # | |
componentRemoveFocusHandler :: (MonadIO m, IsComponent a) => a -> Word32 -> m () Source #
Deprecated: (Since version 2.9.4)If you need to track when an object gains orlose the focus, use the #AtkObject::state-change "focused" notification instead.
componentSetExtents
componentSetExtents :: (MonadIO m, IsComponent a) => a -> Int32 -> Int32 -> Int32 -> Int32 -> CoordType -> m Bool Source #
componentSetPosition
componentSetPosition :: (MonadIO m, IsComponent a) => a -> Int32 -> Int32 -> CoordType -> m Bool Source #
componentSetSize
data ComponentSetSizeMethodInfo Source #
Instances
| ((~) * signature (Int32 -> Int32 -> m Bool), MonadIO m, IsComponent a) => MethodInfo * ComponentSetSizeMethodInfo a signature Source # | |
componentSetSize :: (MonadIO m, IsComponent a) => a -> Int32 -> Int32 -> m Bool Source #
Signals
BoundsChanged
type ComponentBoundsChangedCallback = Rectangle -> IO () Source #
data ComponentBoundsChangedSignalInfo Source #
Instances
| SignalInfo ComponentBoundsChangedSignalInfo Source # | |
| type HaskellCallbackType ComponentBoundsChangedSignalInfo Source # | |
afterComponentBoundsChanged :: (GObject a, MonadIO m) => a -> ComponentBoundsChangedCallback -> m SignalHandlerId Source #
componentBoundsChangedCallbackWrapper :: ComponentBoundsChangedCallback -> Ptr () -> Ptr Rectangle -> Ptr () -> IO () Source #
componentBoundsChangedClosure :: ComponentBoundsChangedCallback -> IO Closure Source #
mkComponentBoundsChangedCallback :: ComponentBoundsChangedCallbackC -> IO (FunPtr ComponentBoundsChangedCallbackC) Source #
onComponentBoundsChanged :: (GObject a, MonadIO m) => a -> ComponentBoundsChangedCallback -> m SignalHandlerId Source #