| 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.Gst.Objects.Device
Contents
Description
- newtype Device = Device (ForeignPtr Device)
- class GObject o => DeviceK o
- toDevice :: DeviceK o => o -> IO Device
- noDevice :: Maybe Device
- data DeviceCreateElementMethodInfo
- deviceCreateElement :: (MonadIO m, DeviceK a) => a -> Maybe Text -> m Element
- data DeviceGetCapsMethodInfo
- deviceGetCaps :: (MonadIO m, DeviceK a) => a -> m Caps
- data DeviceGetDeviceClassMethodInfo
- deviceGetDeviceClass :: (MonadIO m, DeviceK a) => a -> m Text
- data DeviceGetDisplayNameMethodInfo
- deviceGetDisplayName :: (MonadIO m, DeviceK a) => a -> m Text
- data DeviceGetPropertiesMethodInfo
- deviceGetProperties :: (MonadIO m, DeviceK a) => a -> m Structure
- data DeviceHasClassesMethodInfo
- deviceHasClasses :: (MonadIO m, DeviceK a) => a -> Text -> m Bool
- data DeviceHasClassesvMethodInfo
- deviceHasClassesv :: (MonadIO m, DeviceK a) => a -> [Text] -> m Bool
- data DeviceReconfigureElementMethodInfo
- deviceReconfigureElement :: (MonadIO m, DeviceK a, ElementK b) => a -> b -> m Bool
- data DeviceCapsPropertyInfo
- constructDeviceCaps :: Caps -> IO ([Char], GValue)
- getDeviceCaps :: (MonadIO m, DeviceK o) => o -> m Caps
- data DeviceDeviceClassPropertyInfo
- constructDeviceDeviceClass :: Text -> IO ([Char], GValue)
- getDeviceDeviceClass :: (MonadIO m, DeviceK o) => o -> m Text
- data DeviceDisplayNamePropertyInfo
- constructDeviceDisplayName :: Text -> IO ([Char], GValue)
- getDeviceDisplayName :: (MonadIO m, DeviceK o) => o -> m Text
- data DevicePropertiesPropertyInfo
- constructDeviceProperties :: Structure -> IO ([Char], GValue)
- getDeviceProperties :: (MonadIO m, DeviceK o) => o -> m Structure
- type DeviceRemovedCallback = IO ()
- type DeviceRemovedCallbackC = Ptr () -> Ptr () -> IO ()
- data DeviceRemovedSignalInfo
- afterDeviceRemoved :: (GObject a, MonadIO m) => a -> DeviceRemovedCallback -> m SignalHandlerId
- deviceRemovedCallbackWrapper :: DeviceRemovedCallback -> Ptr () -> Ptr () -> IO ()
- deviceRemovedClosure :: DeviceRemovedCallback -> IO Closure
- mkDeviceRemovedCallback :: DeviceRemovedCallbackC -> IO (FunPtr DeviceRemovedCallbackC)
- noDeviceRemovedCallback :: Maybe DeviceRemovedCallback
- onDeviceRemoved :: (GObject a, MonadIO m) => a -> DeviceRemovedCallback -> m SignalHandlerId
Exported types
Constructors
| Device (ForeignPtr Device) |
Instances
| GObject Device Source | |
| ((~) * info (ResolveDeviceMethod t Device), MethodInfo * info Device p) => IsLabel t (Device -> p) Source | |
| ((~) * info (ResolveDeviceMethod t Device), MethodInfo * info Device p) => IsLabelProxy t (Device -> p) Source | |
| type ParentTypes Device Source | |
| type AttributeList Device Source | |
| type SignalList Device Source | |
class GObject o => DeviceK o Source
Instances
| (GObject o, IsDescendantOf Device o) => DeviceK o Source | |
Methods
deviceCreateElement
deviceGetCaps
data DeviceGetCapsMethodInfo Source
Instances
| ((~) (TYPE Lifted) signature (m Caps), MonadIO m, DeviceK a) => MethodInfo (TYPE Lifted) DeviceGetCapsMethodInfo a signature Source | |
deviceGetCaps :: (MonadIO m, DeviceK a) => a -> m Caps Source
deviceGetDeviceClass
data DeviceGetDeviceClassMethodInfo Source
Instances
| ((~) (TYPE Lifted) signature (m Text), MonadIO m, DeviceK a) => MethodInfo (TYPE Lifted) DeviceGetDeviceClassMethodInfo a signature Source | |
deviceGetDeviceClass :: (MonadIO m, DeviceK a) => a -> m Text Source
deviceGetDisplayName
data DeviceGetDisplayNameMethodInfo Source
Instances
| ((~) (TYPE Lifted) signature (m Text), MonadIO m, DeviceK a) => MethodInfo (TYPE Lifted) DeviceGetDisplayNameMethodInfo a signature Source | |
deviceGetDisplayName :: (MonadIO m, DeviceK a) => a -> m Text Source
deviceGetProperties
data DeviceGetPropertiesMethodInfo Source
Instances
| ((~) (TYPE Lifted) signature (m Structure), MonadIO m, DeviceK a) => MethodInfo (TYPE Lifted) DeviceGetPropertiesMethodInfo a signature Source | |
deviceGetProperties :: (MonadIO m, DeviceK a) => a -> m Structure Source
deviceHasClasses
deviceHasClassesv
deviceReconfigureElement
Properties
Caps
data DeviceCapsPropertyInfo Source
Instances
| AttrInfo DeviceCapsPropertyInfo Source | |
| type AttrLabel DeviceCapsPropertyInfo = "caps" Source | |
| type AttrGetType DeviceCapsPropertyInfo = Caps Source | |
| type AttrBaseTypeConstraint DeviceCapsPropertyInfo = DeviceK Source | |
| type AttrSetTypeConstraint DeviceCapsPropertyInfo = TYPE Lifted ~ Caps Source | |
| type AttrAllowedOps DeviceCapsPropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag)) Source | |
getDeviceCaps :: (MonadIO m, DeviceK o) => o -> m Caps Source
DeviceClass
data DeviceDeviceClassPropertyInfo Source
Instances
| AttrInfo DeviceDeviceClassPropertyInfo Source | |
| type AttrLabel DeviceDeviceClassPropertyInfo = "device-class" Source | |
| type AttrGetType DeviceDeviceClassPropertyInfo = Text Source | |
| type AttrBaseTypeConstraint DeviceDeviceClassPropertyInfo = DeviceK Source | |
| type AttrSetTypeConstraint DeviceDeviceClassPropertyInfo = TYPE Lifted ~ Text Source | |
| type AttrAllowedOps DeviceDeviceClassPropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag)) Source | |
getDeviceDeviceClass :: (MonadIO m, DeviceK o) => o -> m Text Source
DisplayName
data DeviceDisplayNamePropertyInfo Source
Instances
| AttrInfo DeviceDisplayNamePropertyInfo Source | |
| type AttrLabel DeviceDisplayNamePropertyInfo = "display-name" Source | |
| type AttrGetType DeviceDisplayNamePropertyInfo = Text Source | |
| type AttrBaseTypeConstraint DeviceDisplayNamePropertyInfo = DeviceK Source | |
| type AttrSetTypeConstraint DeviceDisplayNamePropertyInfo = TYPE Lifted ~ Text Source | |
| type AttrAllowedOps DeviceDisplayNamePropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag)) Source | |
getDeviceDisplayName :: (MonadIO m, DeviceK o) => o -> m Text Source
Properties
data DevicePropertiesPropertyInfo Source
Instances
getDeviceProperties :: (MonadIO m, DeviceK o) => o -> m Structure Source
Signals
Removed
type DeviceRemovedCallback = IO () Source
type DeviceRemovedCallbackC = Ptr () -> Ptr () -> IO () Source
afterDeviceRemoved :: (GObject a, MonadIO m) => a -> DeviceRemovedCallback -> m SignalHandlerId Source
deviceRemovedCallbackWrapper :: DeviceRemovedCallback -> Ptr () -> Ptr () -> IO () Source
onDeviceRemoved :: (GObject a, MonadIO m) => a -> DeviceRemovedCallback -> m SignalHandlerId Source