Getting GValue* from Glib::Value
- From: p sun fun gmail com
- To: gtkmm-list <gtkmm-list gnome org>
- Subject: Getting GValue* from Glib::Value
- Date: Mon, 22 Apr 2019 23:14:44 -0500
Hi,
I have
Glib::Value<Foo> data;
data.init(Glib::Value<Foo>::value_type());
How can I get pure C GValue*? I need it to use with the C API.
data.gobj() returns C++ based type, which is not acceptable by C API. I
see protected gobject_ in the base class. Does it make sense to have an
API, e.g. const GValue* Glib::ValueBase::get_gvalue() to fetch thepointer for underlying GValue?
Any other suggestion?
Thanks.
--
- Pavlo Solntsev
---------------------------------------------
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html
Sent from Evolution on GNU/Debian <www.debian.org>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]