Converting a Glib::ValueBase to a derived type
- From: José Alburquerque <jaalburquerque cox net>
- To: gtkmm-list <gtkmm-list gnome org>
- Subject: Converting a Glib::ValueBase to a derived type
- Date: Tue, 29 Jan 2008 23:48:14 -0500
I'm wondering, would anyone know how to convert a Glib::ValueBase to one
of its derived types (such as Glib::Value<int>) assuming the derived
type has been returned from a function as the base class
Glib::ValueBase? I'm writing some code that would conveniently return a
derived Glib::ValueBase as a Glib::ValueBase and really don't know how
to convert it back to the derived type once it's been returned. Thanks.
-Jose
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]