glibmm 2.66.8
Glib::Container_Helpers::TypeTraits< Glib::RefPtr< Gio::Drive > > Struct Reference

This specialization of TypeTraits exists because the default use of Glib::wrap(GObject*), instead of a specific Glib::wrap(GSomeInterface*), would not return a wrapper for an interface. More...

#include <giomm/drive.h>

Public Types

using CppType = Glib::RefPtr<Gio::Drive>
using CType = GDrive*
using CTypeNonConst = GDrive*

Static Public Member Functions

static CType to_c_type (const CppType & item)
static CppType to_cpp_type (const CType & item)
static void release_c_type (CType item)

Detailed Description

This specialization of TypeTraits exists because the default use of Glib::wrap(GObject*), instead of a specific Glib::wrap(GSomeInterface*), would not return a wrapper for an interface.

Member Typedef Documentation

◆ CppType

◆ CType

◆ CTypeNonConst

using Glib::Container_Helpers::TypeTraits< Glib::RefPtr< Gio::Drive > >::CTypeNonConst = GDrive*

Member Function Documentation

◆ release_c_type()

void Glib::Container_Helpers::TypeTraits< Glib::RefPtr< Gio::Drive > >::release_c_type ( CType item)
inlinestatic

◆ to_c_type()

CType Glib::Container_Helpers::TypeTraits< Glib::RefPtr< Gio::Drive > >::to_c_type ( const CppType & item)
inlinestatic

◆ to_cpp_type()

CppType Glib::Container_Helpers::TypeTraits< Glib::RefPtr< Gio::Drive > >::to_cpp_type ( const CType & item)
inlinestatic