Re: Glibmm: list object property names

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...


On 29 October 2013 18:14, Murray Cumming <murrayc murrayc com> wrote:
You may at least use glibmm's .defs-generating code for this as

Murray Cumming
murrayc murrayc com

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]