Re: Glibmm: list object property names
- From: Dirk Van Haerenborgh <vhdirk gmail com>
- To: Murray Cumming <murrayc murrayc com>
- Cc: Marcin Kolny <marcin kolny gmail com>, gtkmm-list <gtkmm-list gnome org>
- Subject: Re: Glibmm: list object property names
- Date: Wed, 30 Oct 2013 15:34:14 +0100
That's indeed what I ended up doing.
Nevertheless, I think there's a lot of power in the GObject system concerning runtime type information that is currently lost when using the mm bindings.
Most importantly, there seem to be no wrappers for GParamSpec at all. Also, Glib::Interface is not as flexible as GTypeInterface, in that it does not allow casting any Glib::Object to an interface instance. Gst::Interface in combination with Gst::ElementInterfaced seems like something that worked, but they are no longer available with the removal of gst_implements_interface.
In its simplest form, wrapping GParamSpec would probably look something like Glib::Value, though I guess there would be a lot of overlap with Glib::Property, which is part of the reason I am not too keen on attempting this.
Would there be a need for something like Glib::ObjectInterfaced<T,T,..,T>? I for one would certrainly like an alternative to Gst::Interface/Gst::ElementInterfaced.
If there is, I might give it a try sometime...
Cheers,
-Dirk
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]