glibmm 2.66.8
Glib::Value< bool > Class Reference

#include <glibmm/value_basictypes.h>

Inheritance diagram for Glib::Value< bool >:

Public Types

using CppType = bool
using CType = gboolean

Public Member Functions

void set (bool data)
bool 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 ()
Static Public Member Functions inherited from Glib::ValueBase_Boxed
static GType value_type ()

Additional Inherited Members

Protected Member Functions inherited from Glib::ValueBase_Boxed
void set_boxed (const void *data)
void * get_boxed () const
Protected Attributes inherited from Glib::ValueBase
GValue gobject_

Member Typedef Documentation

◆ CppType

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

◆ CType

using Glib::Value< bool >::CType = gboolean

Member Function Documentation

◆ get()

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

◆ set()

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

◆ value_type()

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