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 |
The GParameter struct is an auxiliary structure used to hand parameter name/value pairs to g_object_newv().
- newtype Parameter = Parameter (ForeignPtr Parameter)
- newZeroParameter :: MonadIO m => m Parameter
- noParameter :: Maybe Parameter
- parameterClearName :: MonadIO m => Parameter -> m ()
- parameterName :: AttrLabelProxy "name"
- parameterReadName :: MonadIO m => Parameter -> m (Maybe Text)
- parameterWriteName :: MonadIO m => Parameter -> CString -> m ()
- parameterClearValue :: MonadIO m => Parameter -> m ()
- parameterReadValue :: MonadIO m => Parameter -> m (Maybe GValue)
- parameterValue :: AttrLabelProxy "value"
- parameterWriteValue :: MonadIO m => Parameter -> Ptr GValue -> m ()
Exported types
WrappedPtr Parameter | |
(~) AttrOpTag tag AttrSet => Constructible Parameter tag | |
((~) * info (ResolveParameterMethod t Parameter), MethodInfo * info Parameter p) => IsLabelProxy t (Parameter -> p) | |
type AttributeList Parameter |
newZeroParameter :: MonadIO m => m Parameter Source
Construct a Parameter
struct initialized to zero.
Properties
Name
parameterClearName :: MonadIO m => Parameter -> m () Source
parameterName :: AttrLabelProxy "name" Source
parameterWriteName :: MonadIO m => Parameter -> CString -> m () Source
Value
parameterClearValue :: MonadIO m => Parameter -> m () Source
parameterValue :: AttrLabelProxy "value" Source