gi-gobject-2.0.31: GObject bindings

Copyright | Will Thompson and Iñaki García Etxebarria
License | LGPL-2.1
Maintainer | Iñaki García Etxebarria
Safe Haskell | None
Language | Haskell2010

GI.GObject.Unions.Value_Data_Union_

Contents

- Exported types
- Methods
- Properties
  - vDouble
  - vFloat
  - vInt
  - vInt64
  - vLong
  - vPointer
  - vUint
  - vUint64
  - vUlong

Description

No description available in the introspection data.

Synopsis

- newtype Value_Data_Union_ = Value_Data_Union_ (ManagedPtr Value_Data_Union_)
- newZeroValue_Data_Union_ :: MonadIO m => m Value_Data_Union_
- getValue_Data_Union_VDouble :: MonadIO m => Value_Data_Union_ -> m Double
- setValue_Data_Union_VDouble :: MonadIO m => Value_Data_Union_ -> Double -> m ()
- getValue_Data_Union_VFloat :: MonadIO m => Value_Data_Union_ -> m Float
- setValue_Data_Union_VFloat :: MonadIO m => Value_Data_Union_ -> Float -> m ()
- getValue_Data_Union_VInt :: MonadIO m => Value_Data_Union_ -> m Int32
- setValue_Data_Union_VInt :: MonadIO m => Value_Data_Union_ -> Int32 -> m ()
- getValue_Data_Union_VInt64 :: MonadIO m => Value_Data_Union_ -> m Int64
- setValue_Data_Union_VInt64 :: MonadIO m => Value_Data_Union_ -> Int64 -> m ()
- getValue_Data_Union_VLong :: MonadIO m => Value_Data_Union_ -> m CLong
- setValue_Data_Union_VLong :: MonadIO m => Value_Data_Union_ -> CLong -> m ()
- clearValue_Data_Union_VPointer :: MonadIO m => Value_Data_Union_ -> m ()
- getValue_Data_Union_VPointer :: MonadIO m => Value_Data_Union_ -> m (Ptr ())
- setValue_Data_Union_VPointer :: MonadIO m => Value_Data_Union_ -> Ptr () -> m ()
- getValue_Data_Union_VUint :: MonadIO m => Value_Data_Union_ -> m Word32
- setValue_Data_Union_VUint :: MonadIO m => Value_Data_Union_ -> Word32 -> m ()
- getValue_Data_Union_VUint64 :: MonadIO m => Value_Data_Union_ -> m Word64
- setValue_Data_Union_VUint64 :: MonadIO m => Value_Data_Union_ -> Word64 -> m ()
- getValue_Data_Union_VUlong :: MonadIO m => Value_Data_Union_ -> m CULong
- setValue_Data_Union_VUlong :: MonadIO m => Value_Data_Union_ -> CULong -> m ()

# Exported types

newtype Value_Data_Union_ Source #

Memory-managed wrapper type.

Constructors

Value_Data_Union_ (ManagedPtr Value_Data_Union_) |

#### Instances

Instances details

Eq Value_Data_Union_ Source # |
Instance details Defined in GI.GObject.Unions.Value_Data_Union_ Methods (==) :: Value_Data_Union_ -> Value_Data_Union_ -> Bool Source # (/=) :: Value_Data_Union_ -> Value_Data_Union_ -> Bool Source #
BoxedPtr Value_Data_Union_ Source # |
Instance details Defined in GI.GObject.Unions.Value_Data_Union_ Methods boxedPtrCopy :: Value_Data_Union_ -> IO Value_Data_Union_ Source # boxedPtrFree :: Value_Data_Union_ -> IO () Source #
CallocPtr Value_Data_Union_ Source # |
Instance details Defined in GI.GObject.Unions.Value_Data_Union_ Methods boxedPtrCalloc :: IO (Ptr Value_Data_Union_) Source #
ManagedPtrNewtype Value_Data_Union_ Source # |
Instance details Defined in GI.GObject.Unions.Value_Data_Union_ Methods toManagedPtr :: Value_Data_Union_ -> ManagedPtr Value_Data_Union_ Source #
tag ~ 'AttrSet => Constructible Value_Data_Union_ tag Source # |
Instance details Defined in GI.GObject.Unions.Value_Data_Union_ Methods new :: MonadIO m => (ManagedPtr Value_Data_Union_ -> Value_Data_Union_) -> [AttrOp Value_Data_Union_ tag] -> m Value_Data_Union_ Source #

newZeroValue_Data_Union_ :: MonadIO m => m Value_Data_Union_ Source #

Construct a `Value_Data_Union_` struct initialized to zero.

# Methods

# Properties

## vDouble

No description available in the introspection data.

getValue_Data_Union_VDouble :: MonadIO m => Value_Data_Union_ -> m Double Source #

Get the value of the “`v_double`” field. When overloading is enabled, this is equivalent to

    get value_Data_Union_ #vDouble

setValue_Data_Union_VDouble :: MonadIO m => Value_Data_Union_ -> Double -> m () Source #

Set the value of the “`v_double`” field. When overloading is enabled, this is equivalent to

    set value_Data_Union_ [ #vDouble := value ]

## vFloat

No description available in the introspection data.

getValue_Data_Union_VFloat :: MonadIO m => Value_Data_Union_ -> m Float Source #

Get the value of the “`v_float`” field. When overloading is enabled, this is equivalent to

    get value_Data_Union_ #vFloat

setValue_Data_Union_VFloat :: MonadIO m => Value_Data_Union_ -> Float -> m () Source #

Set the value of the “`v_float`” field. When overloading is enabled, this is equivalent to

    set value_Data_Union_ [ #vFloat := value ]

## vInt

No description available in the introspection data.

getValue_Data_Union_VInt :: MonadIO m => Value_Data_Union_ -> m Int32 Source #

Get the value of the “`v_int`” field. When overloading is enabled, this is equivalent to

    get value_Data_Union_ #vInt

setValue_Data_Union_VInt :: MonadIO m => Value_Data_Union_ -> Int32 -> m () Source #

Set the value of the “`v_int`” field. When overloading is enabled, this is equivalent to

    set value_Data_Union_ [ #vInt := value ]

## vInt64

No description available in the introspection data.

getValue_Data_Union_VInt64 :: MonadIO m => Value_Data_Union_ -> m Int64 Source #

Get the value of the “`v_int64`” field. When overloading is enabled, this is equivalent to

    get value_Data_Union_ #vInt64

setValue_Data_Union_VInt64 :: MonadIO m => Value_Data_Union_ -> Int64 -> m () Source #

Set the value of the “`v_int64`” field. When overloading is enabled, this is equivalent to

    set value_Data_Union_ [ #vInt64 := value ]

## vLong

No description available in the introspection data.

getValue_Data_Union_VLong :: MonadIO m => Value_Data_Union_ -> m CLong Source #

Get the value of the “`v_long`” field. When overloading is enabled, this is equivalent to

    get value_Data_Union_ #vLong

setValue_Data_Union_VLong :: MonadIO m => Value_Data_Union_ -> CLong -> m () Source #

Set the value of the “`v_long`” field. When overloading is enabled, this is equivalent to

    set value_Data_Union_ [ #vLong := value ]

## vPointer

No description available in the introspection data.

clearValue_Data_Union_VPointer :: MonadIO m => Value_Data_Union_ -> m () Source #

Set the value of the “`v_pointer`” field to `Nothing`. When overloading is enabled, this is equivalent to

    clear #vPointer

getValue_Data_Union_VPointer :: MonadIO m => Value_Data_Union_ -> m (Ptr ()) Source #

Get the value of the “`v_pointer`” field. When overloading is enabled, this is equivalent to

    get value_Data_Union_ #vPointer

setValue_Data_Union_VPointer :: MonadIO m => Value_Data_Union_ -> Ptr () -> m () Source #

Set the value of the “`v_pointer`” field. When overloading is enabled, this is equivalent to

    set value_Data_Union_ [ #vPointer := value ]

## vUint

No description available in the introspection data.

getValue_Data_Union_VUint :: MonadIO m => Value_Data_Union_ -> m Word32 Source #

Get the value of the “`v_uint`” field. When overloading is enabled, this is equivalent to

    get value_Data_Union_ #vUint

setValue_Data_Union_VUint :: MonadIO m => Value_Data_Union_ -> Word32 -> m () Source #

Set the value of the “`v_uint`” field. When overloading is enabled, this is equivalent to

    set value_Data_Union_ [ #vUint := value ]

## vUint64

No description available in the introspection data.

getValue_Data_Union_VUint64 :: MonadIO m => Value_Data_Union_ -> m Word64 Source #

Get the value of the “`v_uint64`” field. When overloading is enabled, this is equivalent to

    get value_Data_Union_ #vUint64

setValue_Data_Union_VUint64 :: MonadIO m => Value_Data_Union_ -> Word64 -> m () Source #

Set the value of the “`v_uint64`” field. When overloading is enabled, this is equivalent to

    set value_Data_Union_ [ #vUint64 := value ]

## vUlong

No description available in the introspection data.

getValue_Data_Union_VUlong :: MonadIO m => Value_Data_Union_ -> m CULong Source #

Get the value of the “`v_ulong`” field. When overloading is enabled, this is equivalent to

    get value_Data_Union_ #vUlong

setValue_Data_Union_VUlong :: MonadIO m => Value_Data_Union_ -> CULong -> m () Source #

Set the value of the “`v_ulong`” field. When overloading is enabled, this is equivalent to

    set value_Data_Union_ [ #vUlong := value ]