glibmm 2.80.0
Public Types | Public Member Functions | Static Public Member Functions | List of all members
Glib::Value< float > Class Reference

#include <glibmm/value_basictypes.h>

Inheritance diagram for Glib::Value< float >:
Inheritance graph

Public Types

using CppType = float

Public Member Functions

void set (float data)
float get () const
- Public Member Functions inherited from Glib::ValueBase
 ValueBase ()
 Initializes the GValue, but without a type.
 ValueBase (const ValueBase &other)
ValueBaseoperator= (const ValueBase &other)
 ~ValueBase () noexcept
void init (GType type)
 Setup the GValue for storing the specified type.
void init (const GValue * value)
 Setup the GValue storing the type and value of the specified value.
void reset ()
 Reset contents to the default value of its type.
GValue * gobj ()
const GValue * gobj () const

Static Public Member Functions

static GType value_type ()

Additional Inherited Members

- Protected Attributes inherited from Glib::ValueBase
GValue gobject_

Member Typedef Documentation

◆ CppType

using Glib::Value< float >::CppType = float

Member Function Documentation

◆ get()

float Glib::Value< float >::get ( ) const

◆ set()

void Glib::Value< float >::set ( float  data)

◆ value_type()

static GType Glib::Value< float >::value_type ( )